Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BundeslandApp
Please create a React-JS application for the BundeslandModule. The application has to offer the following views for the user interface: 1. AbteilungArtView 2. BundeslandView 3. OpsView 4. ProzedurView 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 AbteilungArtView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: IstChirurgisch type: BOOL - name: IstInternistisch type: BOOL - name: IstPaediatrisch type: BOOL - name: IstPsychiatrisch type: BOOL An existing AbteilungArt entity should be loaded from the relative URL: "/BundeslandService/abteilungart/{id}" (HTTP-GET) If a new AbteilungArt entity has been created, the new entity should be posted to the relative URL: "/BundeslandService/abteilungart" (HTTP-POST) If an existing AbteilungArt entity has been updated, the modified entity should be sent to the relative URL: "/BundeslandService/abteilungart/{id}" (HTTP-PUT) If an existing AbteilungArt entity has to be deleted, the following relative URL should be called: "/BundeslandService/abteilungart/{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/abteilungart/{id}" 2. 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: "/LandService/land" (HTTP-GET) An existing Bundesland entity should be loaded from the relative URL: "/BundeslandService/bundesland/{id}" (HTTP-GET) If a new Bundesland entity has been created, the new entity should be posted to the relative URL: "/BundeslandService/bundesland" (HTTP-POST) If an existing Bundesland entity has been updated, the modified entity should be sent to the relative URL: "/BundeslandService/bundesland/{id}" (HTTP-PUT) If an existing Bundesland entity has to be deleted, the following relative URL should be called: "/BundeslandService/bundesland/{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/bundesland/{id}" 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: "/LandService/stadt/bundesland/{id}" 3. The OpsView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING An existing Ops entity should be loaded from the relative URL: "/BundeslandService/ops/{id}" (HTTP-GET) If a new Ops entity has been created, the new entity should be posted to the relative URL: "/BundeslandService/ops" (HTTP-POST) If an existing Ops entity has been updated, the modified entity should be sent to the relative URL: "/BundeslandService/ops/{id}" (HTTP-PUT) If an existing Ops entity has to be deleted, the following relative URL should be called: "/BundeslandService/ops/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Prozedur columns: - column: Beschreibung - column: IstHauptprozedur - column: Fall - column: Ops - column: ProzedurDatum The table should have the title "Prozedurs" und the data must be loaded from the server with the following relative URL: "/BundeslandService/prozedur/ops/{id}" 4. The ProzedurView must contain the following fields: - name: Beschreibung type: STRING - name: Fall type: Fall - name: IstHauptprozedur type: BOOL - name: Ops type: Ops - name: ProzedurDatum type: STRING The data source for the [Ops] select control should be loaded from the relative URL: "/BundeslandService/ops" (HTTP-GET) The data source for the [Fall] select control should be loaded from the relative URL: "/FallService/fall" (HTTP-GET) An existing Prozedur entity should be loaded from the relative URL: "/BundeslandService/prozedur/{id}" (HTTP-GET) If a new Prozedur entity has been created, the new entity should be posted to the relative URL: "/BundeslandService/prozedur" (HTTP-POST) If an existing Prozedur entity has been updated, the modified entity should be sent to the relative URL: "/BundeslandService/prozedur/{id}" (HTTP-PUT) If an existing Prozedur entity has to be deleted, the following relative URL should be called: "/BundeslandService/prozedur/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum