Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StationApp
Please create a React-JS application for the StationModule. The application has to offer the following views for the user interface: 1. AbteilungView 2. BettView 3. BewegungView 4. StationView 5. TraegerArtView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The AbteilungView must contain the following fields: - name: AbteilungArt type: AbteilungArt - name: IstBettenfuehrend type: BOOL - name: IstDiagnostisch type: BOOL - 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) The data source for the [AbteilungArt] select control should be loaded from the relative URL: "/BundeslandService/abteilungart" (HTTP-GET) An existing Abteilung entity should be loaded from the relative URL: "/StationService/abteilung/{id}" (HTTP-GET) If a new Abteilung entity has been created, the new entity should be posted to the relative URL: "/StationService/abteilung" (HTTP-POST) If an existing Abteilung entity has been updated, the modified entity should be sent to the relative URL: "/StationService/abteilung/{id}" (HTTP-PUT) If an existing Abteilung entity has to be deleted, the following relative URL should be called: "/StationService/abteilung/{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/abteilung/{id}" Add a HTML table to the view with the following Station columns: - column: Etage - column: Abteilung - column: Name - column: Bettenanzahl The table should have the title "Stations" und the data must be loaded from the server with the following relative URL: "/StationService/station/abteilung/{id}" 2. The BettView must contain the following fields: - name: Bettnummer type: STRING - name: IstIntensiv type: BOOL - name: IstIsolation type: BOOL - name: Station type: Station The data source for the [Station] select control should be loaded from the relative URL: "/StationService/station" (HTTP-GET) An existing Bett entity should be loaded from the relative URL: "/StationService/bett/{id}" (HTTP-GET) If a new Bett entity has been created, the new entity should be posted to the relative URL: "/StationService/bett" (HTTP-POST) If an existing Bett entity has been updated, the modified entity should be sent to the relative URL: "/StationService/bett/{id}" (HTTP-PUT) If an existing Bett entity has to be deleted, the following relative URL should be called: "/StationService/bett/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Bewegung columns: - column: BisDatum - column: VonDatum - column: Station - column: Fall - column: Bett The table should have the title "Bewegungs" und the data must be loaded from the server with the following relative URL: "/StationService/bewegung/bett/{id}" 3. The BewegungView must contain the following fields: - name: Bett type: Bett - name: BisDatum type: STRING - name: Fall type: Fall - name: Station type: Station - name: VonDatum type: STRING The data source for the [Station] select control should be loaded from the relative URL: "/StationService/station" (HTTP-GET) The data source for the [Fall] select control should be loaded from the relative URL: "/FallService/fall" (HTTP-GET) The data source for the [Bett] select control should be loaded from the relative URL: "/StationService/bett" (HTTP-GET) An existing Bewegung entity should be loaded from the relative URL: "/StationService/bewegung/{id}" (HTTP-GET) If a new Bewegung entity has been created, the new entity should be posted to the relative URL: "/StationService/bewegung" (HTTP-POST) If an existing Bewegung entity has been updated, the modified entity should be sent to the relative URL: "/StationService/bewegung/{id}" (HTTP-PUT) If an existing Bewegung entity has to be deleted, the following relative URL should be called: "/StationService/bewegung/{id}" (HTTP-DELETE) 4. The StationView must contain the following fields: - name: Abteilung type: Abteilung - name: Bettenanzahl type: LONG - name: Etage type: STRING - name: Name type: STRING The data source for the [Abteilung] select control should be loaded from the relative URL: "/StationService/abteilung" (HTTP-GET) An existing Station entity should be loaded from the relative URL: "/StationService/station/{id}" (HTTP-GET) If a new Station entity has been created, the new entity should be posted to the relative URL: "/StationService/station" (HTTP-POST) If an existing Station entity has been updated, the modified entity should be sent to the relative URL: "/StationService/station/{id}" (HTTP-PUT) If an existing Station entity has to be deleted, the following relative URL should be called: "/StationService/station/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Bewegung columns: - column: BisDatum - column: VonDatum - column: Station - column: Fall - column: Bett The table should have the title "Bewegungs" und the data must be loaded from the server with the following relative URL: "/StationService/bewegung/station/{id}" Add a HTML table to the view with the following Bett columns: - column: IstIsolation - column: IstIntensiv - column: Station - column: Bettnummer The table should have the title "Betts" und the data must be loaded from the server with the following relative URL: "/StationService/bett/station/{id}" Add a HTML table to the view with the following Dienst columns: - column: Mitarbeiter - column: BisDatumZeit - column: DienstArt - column: Station - column: VonDatumZeit The table should have the title "Diensts" und the data must be loaded from the server with the following relative URL: "/DienstArtService/dienst/station/{id}" 5. The TraegerArtView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing TraegerArt entity should be loaded from the relative URL: "/StationService/traegerart/{id}" (HTTP-GET) If a new TraegerArt entity has been created, the new entity should be posted to the relative URL: "/StationService/traegerart" (HTTP-POST) If an existing TraegerArt entity has been updated, the modified entity should be sent to the relative URL: "/StationService/traegerart/{id}" (HTTP-PUT) If an existing TraegerArt entity has to be deleted, the following relative URL should be called: "/StationService/traegerart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Krankenhaus columns: - column: BettenTatsaechlich - column: Stadt - column: KrankenhausArt - column: Postleitzahl - column: Gruendungsjahr - column: Versorgungsstufe - column: Strasse - column: Kurzname - column: Traeger - column: BettenGeplant - column: Name - column: Bundesland - column: TraegerArt - column: Land - column: IstUniversitaetsklinikum The table should have the title "Krankenhauss" und the data must be loaded from the server with the following relative URL: "/KrankenhausService/krankenhaus/traegerart/{id}" Add a HTML table to the view with the following Traeger columns: - column: Rechtsform - column: Name - column: SitzStadt - column: TraegerArt - column: SitzLand - column: IstGewinnorientiert The table should have the title "Traegers" und the data must be loaded from the server with the following relative URL: "/LandService/traeger/traegerart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum