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. AmbulanzView 2. AufnahmeView 3. InstitutView 4. KrankenhausView 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: "/KrankenhausService/ambulanz/{id}" (HTTP-GET) If a new Ambulanz entity has been created, the new entity should be posted to the relative URL: "/KrankenhausService/ambulanz" (HTTP-POST) If an existing Ambulanz entity has been updated, the modified entity should be sent to the relative URL: "/KrankenhausService/ambulanz/{id}" (HTTP-PUT) If an existing Ambulanz entity has to be deleted, the following relative URL should be called: "/KrankenhausService/ambulanz/{id}" (HTTP-DELETE) 2. The AufnahmeView must contain the following fields: - name: AufnahmeArt type: AufnahmeArt - name: AufnahmeDatum type: STRING - name: EntlassDatum type: STRING - name: EntlassZiel type: STRING - name: IstNotfall type: BOOL - name: Krankenhaus type: Krankenhaus - name: Patient type: Patient - name: UeberwiesenVon type: STRING The data source for the [Krankenhaus] select control should be loaded from the relative URL: "/KrankenhausService/krankenhaus" (HTTP-GET) The data source for the [AufnahmeArt] select control should be loaded from the relative URL: "/AufnahmeArtService/aufnahmeart" (HTTP-GET) The data source for the [Patient] select control should be loaded from the relative URL: "/LandService/patient" (HTTP-GET) An existing Aufnahme entity should be loaded from the relative URL: "/KrankenhausService/aufnahme/{id}" (HTTP-GET) If a new Aufnahme entity has been created, the new entity should be posted to the relative URL: "/KrankenhausService/aufnahme" (HTTP-POST) If an existing Aufnahme entity has been updated, the modified entity should be sent to the relative URL: "/KrankenhausService/aufnahme/{id}" (HTTP-PUT) If an existing Aufnahme entity has to be deleted, the following relative URL should be called: "/KrankenhausService/aufnahme/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fall columns: - column: Abteilung - column: Aufnahme - column: FallBeginn - column: Medikament - column: FallNummer - column: FallEnde The table should have the title "Falls" und the data must be loaded from the server with the following relative URL: "/FallService/fall/aufnahme/{id}" 3. The InstitutView must contain the following fields: - name: InstitutArt 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 Institut entity should be loaded from the relative URL: "/KrankenhausService/institut/{id}" (HTTP-GET) If a new Institut entity has been created, the new entity should be posted to the relative URL: "/KrankenhausService/institut" (HTTP-POST) If an existing Institut entity has been updated, the modified entity should be sent to the relative URL: "/KrankenhausService/institut/{id}" (HTTP-PUT) If an existing Institut entity has to be deleted, the following relative URL should be called: "/KrankenhausService/institut/{id}" (HTTP-DELETE) 4. 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: "/StationService/traegerart" (HTTP-GET) The data source for the [KrankenhausArt] select control should be loaded from the relative URL: "/FallService/krankenhausart" (HTTP-GET) The data source for the [Bundesland] select control should be loaded from the relative URL: "/BundeslandService/bundesland" (HTTP-GET) The data source for the [Stadt] select control should be loaded from the relative URL: "/LandService/stadt" (HTTP-GET) The data source for the [Traeger] select control should be loaded from the relative URL: "/LandService/traeger" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/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 Abteilung columns: - column: Krankenhaus - column: IstBettenfuehrend - column: IstDiagnostisch - column: Name - column: AbteilungArt The table should have the title "Abteilungs" und the data must be loaded from the server with the following relative URL: "/StationService/abteilung/krankenhaus/{id}" Add a HTML table to the view with the following Ambulanz columns: - column: Fachgebiet - column: Krankenhaus - column: Name The table should have the title "Ambulanzs" und the data must be loaded from the server with the following relative URL: "/KrankenhausService/ambulanz/krankenhaus/{id}" Add a HTML table to the view with the following Notaufnahme columns: - column: IstTraumaZentrum - column: Name - column: Krankenhaus - column: HatHelipad The table should have the title "Notaufnahmes" und the data must be loaded from the server with the following relative URL: "/AufnahmeArtService/notaufnahme/krankenhaus/{id}" Add a HTML table to the view with the following Mitarbeiter columns: - column: IstPflege - column: Nachname - column: Einstellungsdatum - column: Krankenhaus - column: IstArzt - column: Vorname - column: MitarbeiterRolle - column: Beruf The table should have the title "Mitarbeiters" und the data must be loaded from the server with the following relative URL: "/DienstArtService/mitarbeiter/krankenhaus/{id}" Add a HTML table to the view with the following Institut columns: - column: InstitutArt - column: Name - column: Krankenhaus The table should have the title "Instituts" und the data must be loaded from the server with the following relative URL: "/KrankenhausService/institut/krankenhaus/{id}" Add a HTML table to the view with the following Aufnahme columns: - column: UeberwiesenVon - column: EntlassDatum - column: AufnahmeArt - column: EntlassZiel - column: Patient - column: AufnahmeDatum - column: Krankenhaus - column: IstNotfall The table should have the title "Aufnahmes" und the data must be loaded from the server with the following relative URL: "/KrankenhausService/aufnahme/krankenhaus/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum