Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AbteilungApp
Please create a React-JS application for the AbteilungModule. The application has to offer the following views for the user interface: 1. AbteilungView 2. AbteilungArtView 3. DrgView 4. OpsView 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 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: "/AbteilungService/abteilungart" (HTTP-GET) An existing Abteilung entity should be loaded from the relative URL: "/AbteilungService/abteilung/{id}" (HTTP-GET) If a new Abteilung entity has been created, the new entity should be posted to the relative URL: "/AbteilungService/abteilung" (HTTP-POST) If an existing Abteilung entity has been updated, the modified entity should be sent to the relative URL: "/AbteilungService/abteilung/{id}" (HTTP-PUT) If an existing Abteilung entity has to be deleted, the following relative URL should be called: "/AbteilungService/abteilung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Station columns: - column: Bettenanzahl - column: Abteilung - column: Etage - column: Name 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}" Add a HTML table to the view with the following Fall columns: - column: FallNummer - column: Drg - column: Aufnahme - column: Abteilung - column: FallEnde - column: FallBeginn 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}" 2. 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: "/AbteilungService/abteilungart/{id}" (HTTP-GET) If a new AbteilungArt entity has been created, the new entity should be posted to the relative URL: "/AbteilungService/abteilungart" (HTTP-POST) If an existing AbteilungArt entity has been updated, the modified entity should be sent to the relative URL: "/AbteilungService/abteilungart/{id}" (HTTP-PUT) If an existing AbteilungArt entity has to be deleted, the following relative URL should be called: "/AbteilungService/abteilungart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abteilung columns: - column: IstBettenfuehrend - column: IstDiagnostisch - column: Name - column: Krankenhaus - column: AbteilungArt The table should have the title "Abteilungs" und the data must be loaded from the server with the following relative URL: "/AbteilungService/abteilung/abteilungart/{id}" 3. The DrgView must contain the following fields: - name: Basisfallwert type: STRING - name: Beschreibung type: STRING - name: Code type: STRING An existing Drg entity should be loaded from the relative URL: "/AbteilungService/drg/{id}" (HTTP-GET) If a new Drg entity has been created, the new entity should be posted to the relative URL: "/AbteilungService/drg" (HTTP-POST) If an existing Drg entity has been updated, the modified entity should be sent to the relative URL: "/AbteilungService/drg/{id}" (HTTP-PUT) If an existing Drg entity has to be deleted, the following relative URL should be called: "/AbteilungService/drg/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fall columns: - column: FallNummer - column: Drg - column: Aufnahme - column: Abteilung - column: FallEnde - column: FallBeginn The table should have the title "Falls" und the data must be loaded from the server with the following relative URL: "/FallService/fall/drg/{id}" 4. 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: "/AbteilungService/ops/{id}" (HTTP-GET) If a new Ops entity has been created, the new entity should be posted to the relative URL: "/AbteilungService/ops" (HTTP-POST) If an existing Ops entity has been updated, the modified entity should be sent to the relative URL: "/AbteilungService/ops/{id}" (HTTP-PUT) If an existing Ops entity has to be deleted, the following relative URL should be called: "/AbteilungService/ops/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Prozedur columns: - column: ProzedurDatum - column: Fall - column: Ops - column: IstHauptprozedur - column: Beschreibung The table should have the title "Prozedurs" und the data must be loaded from the server with the following relative URL: "/FallService/prozedur/ops/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum