Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KrankenhausApp
Please create a React-JS application for the KrankenhausModule. The application has to offer the following views for the user interface: 1. BundeslandView 2. KrankenhausView 3. LandView 4. PatientView 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 BundeslandView must contain the following fields: - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/KrankenhausService/land" (HTTP-GET) An existing Bundesland entity should be loaded from the relative URL: "/KrankenhausService/bundesland/{id}" (HTTP-GET) If a new Bundesland entity has been created, the new entity should be posted to the relative URL: "/KrankenhausService/bundesland" (HTTP-POST) If an existing Bundesland entity has been updated, the modified entity should be sent to the relative URL: "/KrankenhausService/bundesland/{id}" (HTTP-PUT) If an existing Bundesland entity has to be deleted, the following relative URL should be called: "/KrankenhausService/bundesland/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stadt columns: - column: Bundesland - column: Name The table should have the title "Stadts" und the data must be loaded from the server with the following relative URL: "/TraegerArtService/stadt/bundesland/{id}" 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/bundesland/{id}" 2. The KrankenhausView must contain the following fields: - name: BettenGeplant type: LONG - name: BettenTatsaechlich type: LONG - name: Bundesland type: Bundesland - name: Gruendungsjahr type: LONG - name: IstUniversitaetsklinikum type: BOOL - name: KrankenhausArt type: KrankenhausArt - name: Kurzname type: STRING - name: Land type: Land - name: Name type: STRING - name: Postleitzahl type: STRING - name: Stadt type: Stadt - name: Strasse type: STRING - name: Traeger type: Traeger - name: TraegerArt type: TraegerArt - name: Versorgungsstufe type: STRING The data source for the [TraegerArt] select control should be loaded from the relative URL: "/TraegerArtService/traegerart" (HTTP-GET) The data source for the [KrankenhausArt] select control should be loaded from the relative URL: "/KrankenhausArtService/krankenhausart" (HTTP-GET) The data source for the [Bundesland] select control should be loaded from the relative URL: "/KrankenhausService/bundesland" (HTTP-GET) The data source for the [Stadt] select control should be loaded from the relative URL: "/TraegerArtService/stadt" (HTTP-GET) The data source for the [Traeger] select control should be loaded from the relative URL: "/TraegerArtService/traeger" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/KrankenhausService/land" (HTTP-GET) An existing Krankenhaus entity should be loaded from the relative URL: "/KrankenhausService/krankenhaus/{id}" (HTTP-GET) If a new Krankenhaus entity has been created, the new entity should be posted to the relative URL: "/KrankenhausService/krankenhaus" (HTTP-POST) If an existing Krankenhaus entity has been updated, the modified entity should be sent to the relative URL: "/KrankenhausService/krankenhaus/{id}" (HTTP-PUT) If an existing Krankenhaus entity has to be deleted, the following relative URL should be called: "/KrankenhausService/krankenhaus/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Notaufnahme columns: - column: Name - column: Krankenhaus - column: HatHelipad - column: IstTraumaZentrum The table should have the title "Notaufnahmes" und the data must be loaded from the server with the following relative URL: "/IcdService/notaufnahme/krankenhaus/{id}" Add a HTML table to the view with the following Ambulanz columns: - column: Fachgebiet - column: Name - column: Krankenhaus The table should have the title "Ambulanzs" und the data must be loaded from the server with the following relative URL: "/KrankenhausArtService/ambulanz/krankenhaus/{id}" Add a HTML table to the view with the following Institut columns: - column: InstitutArt - column: Krankenhaus - column: Name The table should have the title "Instituts" und the data must be loaded from the server with the following relative URL: "/IcdService/institut/krankenhaus/{id}" Add a HTML table to the view with the following Aufnahme columns: - column: AufnahmeDatum - column: EntlassZiel - column: Patient - column: UeberwiesenVon - column: AufnahmeArt - column: Krankenhaus - column: IstNotfall - column: EntlassDatum The table should have the title "Aufnahmes" und the data must be loaded from the server with the following relative URL: "/FallService/aufnahme/krankenhaus/{id}" Add a HTML table to the view with the following Abteilung columns: - column: IstBettenfuehrend - column: IstDiagnostisch - column: Name - column: Krankenhaus - column: AbteilungArt The table should have the title "Abteilungs" und the data must be loaded from the server with the following relative URL: "/AbteilungService/abteilung/krankenhaus/{id}" Add a HTML table to the view with the following Mitarbeiter columns: - column: IstPflege - column: Einstellungsdatum - column: MitarbeiterRolle - column: Krankenhaus - column: Nachname - column: Vorname - column: IstArzt - column: Beruf The table should have the title "Mitarbeiters" und the data must be loaded from the server with the following relative URL: "/MitarbeiterRolleService/mitarbeiter/krankenhaus/{id}" 3. The LandView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING An existing Land entity should be loaded from the relative URL: "/KrankenhausService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/KrankenhausService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/KrankenhausService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/KrankenhausService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Bundesland columns: - column: Land - column: Name The table should have the title "Bundeslands" und the data must be loaded from the server with the following relative URL: "/KrankenhausService/bundesland/land/{id}" Add a HTML table to the view with the following Traeger columns: - column: IstGewinnorientiert - column: SitzLand - column: SitzStadt - column: Name - column: Rechtsform - column: TraegerArt The table should have the title "Traegers" und the data must be loaded from the server with the following relative URL: "/TraegerArtService/traeger/sitzland/{id}" 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/land/{id}" 4. The PatientView must contain the following fields: - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: Land type: STRING - name: Nachname type: STRING - name: PatientenNummerExtern type: STRING - name: Postleitzahl type: STRING - name: Stadt type: STRING - name: Strasse type: STRING - name: Vorname type: STRING An existing Patient entity should be loaded from the relative URL: "/KrankenhausService/patient/{id}" (HTTP-GET) If a new Patient entity has been created, the new entity should be posted to the relative URL: "/KrankenhausService/patient" (HTTP-POST) If an existing Patient entity has been updated, the modified entity should be sent to the relative URL: "/KrankenhausService/patient/{id}" (HTTP-PUT) If an existing Patient entity has to be deleted, the following relative URL should be called: "/KrankenhausService/patient/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Aufnahme columns: - column: AufnahmeDatum - column: EntlassZiel - column: Patient - column: UeberwiesenVon - column: AufnahmeArt - column: Krankenhaus - column: IstNotfall - column: EntlassDatum The table should have the title "Aufnahmes" und the data must be loaded from the server with the following relative URL: "/FallService/aufnahme/patient/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum