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. AufnahmeArtView 2. BettView 3. BewegungView 4. StationView 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 AufnahmeArtView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: IstAmbulant type: BOOL - name: IstStationaer type: BOOL - name: IstTeilstationaer type: BOOL An existing AufnahmeArt entity should be loaded from the relative URL: "/StationService/aufnahmeart/{id}" (HTTP-GET) If a new AufnahmeArt entity has been created, the new entity should be posted to the relative URL: "/StationService/aufnahmeart" (HTTP-POST) If an existing AufnahmeArt entity has been updated, the modified entity should be sent to the relative URL: "/StationService/aufnahmeart/{id}" (HTTP-PUT) If an existing AufnahmeArt entity has to be deleted, the following relative URL should be called: "/StationService/aufnahmeart/{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/aufnahmeart/{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: VonDatum - column: Station - column: BisDatum - column: Bett - column: Fall 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: "/AbteilungService/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 Dienst columns: - column: Station - column: VonDatumZeit - column: DienstArt - column: BisDatumZeit - column: Mitarbeiter The table should have the title "Diensts" und the data must be loaded from the server with the following relative URL: "/MitarbeiterRolleService/dienst/station/{id}" Add a HTML table to the view with the following Bewegung columns: - column: VonDatum - column: Station - column: BisDatum - column: Bett - column: Fall 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: Station - column: Bettnummer - column: IstIntensiv - column: IstIsolation 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}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum