Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LandApp
Please create a React-JS application for the LandModule. The application has to offer the following views for the user interface: 1. LandView 2. PatientView 3. StadtView 4. TraegerView 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 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: "/LandService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/LandService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/LandService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/LandService/land/{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/land/{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/sitzland/{id}" 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: "/BundeslandService/bundesland/land/{id}" 2. 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: "/LandService/patient/{id}" (HTTP-GET) If a new Patient entity has been created, the new entity should be posted to the relative URL: "/LandService/patient" (HTTP-POST) If an existing Patient entity has been updated, the modified entity should be sent to the relative URL: "/LandService/patient/{id}" (HTTP-PUT) If an existing Patient entity has to be deleted, the following relative URL should be called: "/LandService/patient/{id}" (HTTP-DELETE) 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/patient/{id}" 3. The StadtView must contain the following fields: - name: Bundesland type: Bundesland - name: Name type: STRING The data source for the [Bundesland] select control should be loaded from the relative URL: "/BundeslandService/bundesland" (HTTP-GET) An existing Stadt entity should be loaded from the relative URL: "/LandService/stadt/{id}" (HTTP-GET) If a new Stadt entity has been created, the new entity should be posted to the relative URL: "/LandService/stadt" (HTTP-POST) If an existing Stadt entity has been updated, the modified entity should be sent to the relative URL: "/LandService/stadt/{id}" (HTTP-PUT) If an existing Stadt entity has to be deleted, the following relative URL should be called: "/LandService/stadt/{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/stadt/{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/sitzstadt/{id}" 4. The TraegerView must contain the following fields: - name: IstGewinnorientiert type: BOOL - name: Name type: STRING - name: Rechtsform type: STRING - name: SitzLand type: Land - name: SitzStadt type: Stadt - name: TraegerArt type: TraegerArt The data source for the [TraegerArt] select control should be loaded from the relative URL: "/StationService/traegerart" (HTTP-GET) The data source for the [SitzStadt] select control should be loaded from the relative URL: "/LandService/stadt" (HTTP-GET) The data source for the [SitzLand] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Traeger entity should be loaded from the relative URL: "/LandService/traeger/{id}" (HTTP-GET) If a new Traeger entity has been created, the new entity should be posted to the relative URL: "/LandService/traeger" (HTTP-POST) If an existing Traeger entity has been updated, the modified entity should be sent to the relative URL: "/LandService/traeger/{id}" (HTTP-PUT) If an existing Traeger entity has to be deleted, the following relative URL should be called: "/LandService/traeger/{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/traeger/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum