Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KrankenhausArtApp
Please create a React-JS application for the KrankenhausArtModule. The application has to offer the following views for the user interface: 1. AmbulanzView 2. FallAbrechnungView 3. KostentraegerView 4. KrankenhausArtView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AmbulanzView must contain the following fields: - name: Fachgebiet type: STRING - name: Krankenhaus type: Krankenhaus - name: Name type: STRING The data source for the [Krankenhaus] select control should be loaded from the relative URL: "/KrankenhausService/krankenhaus" (HTTP-GET) An existing Ambulanz entity should be loaded from the relative URL: "/KrankenhausArtService/ambulanz/{id}" (HTTP-GET) If a new Ambulanz entity has been created, the new entity should be posted to the relative URL: "/KrankenhausArtService/ambulanz" (HTTP-POST) If an existing Ambulanz entity has been updated, the modified entity should be sent to the relative URL: "/KrankenhausArtService/ambulanz/{id}" (HTTP-PUT) If an existing Ambulanz entity has to be deleted, the following relative URL should be called: "/KrankenhausArtService/ambulanz/{id}" (HTTP-DELETE) 2. The FallAbrechnungView must contain the following fields: - name: BetragGesamt type: STRING - name: BetragKostentraeger type: STRING - name: BetragPatient type: STRING - name: Fall type: Fall - name: Kostentraeger type: Kostentraeger - name: RechnungsDatum type: DATE - name: RechnungsNummer type: STRING The data source for the [Fall] select control should be loaded from the relative URL: "/FallService/fall" (HTTP-GET) The data source for the [Kostentraeger] select control should be loaded from the relative URL: "/KrankenhausArtService/kostentraeger" (HTTP-GET) An existing FallAbrechnung entity should be loaded from the relative URL: "/KrankenhausArtService/fallabrechnung/{id}" (HTTP-GET) If a new FallAbrechnung entity has been created, the new entity should be posted to the relative URL: "/KrankenhausArtService/fallabrechnung" (HTTP-POST) If an existing FallAbrechnung entity has been updated, the modified entity should be sent to the relative URL: "/KrankenhausArtService/fallabrechnung/{id}" (HTTP-PUT) If an existing FallAbrechnung entity has to be deleted, the following relative URL should be called: "/KrankenhausArtService/fallabrechnung/{id}" (HTTP-DELETE) 3. The KostentraegerView must contain the following fields: - name: Art type: STRING - name: Name type: STRING An existing Kostentraeger entity should be loaded from the relative URL: "/KrankenhausArtService/kostentraeger/{id}" (HTTP-GET) If a new Kostentraeger entity has been created, the new entity should be posted to the relative URL: "/KrankenhausArtService/kostentraeger" (HTTP-POST) If an existing Kostentraeger entity has been updated, the modified entity should be sent to the relative URL: "/KrankenhausArtService/kostentraeger/{id}" (HTTP-PUT) If an existing Kostentraeger entity has to be deleted, the following relative URL should be called: "/KrankenhausArtService/kostentraeger/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FallAbrechnung columns: - column: RechnungsDatum - column: Kostentraeger - column: RechnungsNummer - column: BetragKostentraeger - column: Fall - column: BetragGesamt - column: BetragPatient The table should have the title "FallAbrechnungs" und the data must be loaded from the server with the following relative URL: "/KrankenhausArtService/fallabrechnung/kostentraeger/{id}" 4. The KrankenhausArtView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: IstAkut type: BOOL - name: IstReha type: BOOL An existing KrankenhausArt entity should be loaded from the relative URL: "/KrankenhausArtService/krankenhausart/{id}" (HTTP-GET) If a new KrankenhausArt entity has been created, the new entity should be posted to the relative URL: "/KrankenhausArtService/krankenhausart" (HTTP-POST) If an existing KrankenhausArt entity has been updated, the modified entity should be sent to the relative URL: "/KrankenhausArtService/krankenhausart/{id}" (HTTP-PUT) If an existing KrankenhausArt entity has to be deleted, the following relative URL should be called: "/KrankenhausArtService/krankenhausart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Krankenhaus columns: - column: Name - column: Postleitzahl - column: TraegerArt - column: Land - column: Gruendungsjahr - column: Kurzname - column: BettenGeplant - column: KrankenhausArt - column: IstUniversitaetsklinikum - column: Bundesland - column: Traeger - column: Strasse - column: BettenTatsaechlich - column: Stadt - column: Versorgungsstufe The table should have the title "Krankenhauss" und the data must be loaded from the server with the following relative URL: "/KrankenhausService/krankenhaus/krankenhausart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum