Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FallApp
Please create a React-JS application for the FallModule. The application has to offer the following views for the user interface: 1. AufnahmeView 2. FallView 3. 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 3 views are defined below. 1. The AufnahmeView must contain the following fields: - name: AufnahmeArt type: AufnahmeArt - name: AufnahmeDatum type: STRING - name: EntlassDatum type: STRING - name: EntlassZiel type: STRING - name: IstNotfall type: BOOL - name: Krankenhaus type: Krankenhaus - name: Patient type: Patient - name: UeberwiesenVon 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 [AufnahmeArt] select control should be loaded from the relative URL: "/StationService/aufnahmeart" (HTTP-GET) The data source for the [Patient] select control should be loaded from the relative URL: "/KrankenhausService/patient" (HTTP-GET) An existing Aufnahme entity should be loaded from the relative URL: "/FallService/aufnahme/{id}" (HTTP-GET) If a new Aufnahme entity has been created, the new entity should be posted to the relative URL: "/FallService/aufnahme" (HTTP-POST) If an existing Aufnahme entity has been updated, the modified entity should be sent to the relative URL: "/FallService/aufnahme/{id}" (HTTP-PUT) If an existing Aufnahme entity has to be deleted, the following relative URL should be called: "/FallService/aufnahme/{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/aufnahme/{id}" 2. The FallView must contain the following fields: - name: Abteilung type: Abteilung - name: Aufnahme type: Aufnahme - name: Drg type: Drg - name: FallBeginn type: STRING - name: FallEnde type: STRING - name: FallNummer type: STRING The data source for the [Abteilung] select control should be loaded from the relative URL: "/AbteilungService/abteilung" (HTTP-GET) The data source for the [Aufnahme] select control should be loaded from the relative URL: "/FallService/aufnahme" (HTTP-GET) The data source for the [Drg] select control should be loaded from the relative URL: "/AbteilungService/drg" (HTTP-GET) An existing Fall entity should be loaded from the relative URL: "/FallService/fall/{id}" (HTTP-GET) If a new Fall entity has been created, the new entity should be posted to the relative URL: "/FallService/fall" (HTTP-POST) If an existing Fall entity has been updated, the modified entity should be sent to the relative URL: "/FallService/fall/{id}" (HTTP-PUT) If an existing Fall entity has to be deleted, the following relative URL should be called: "/FallService/fall/{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/fall/{id}" Add a HTML table to the view with the following FallAbrechnung columns: - column: RechnungsDatum - column: Kostentraeger - column: RechnungsNummer - column: BetragKostentraeger - column: Fall - column: BetragGesamt - column: BetragPatient The table should have the title "FallAbrechnungs" und the data must be loaded from the server with the following relative URL: "/KrankenhausArtService/fallabrechnung/fall/{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/fall/{id}" Add a HTML table to the view with the following Diagnose columns: - column: IstHauptdiagnose - column: Fall - column: Beschreibung - column: Icd The table should have the title "Diagnoses" und the data must be loaded from the server with the following relative URL: "/IcdService/diagnose/fall/{id}" 3. 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: "/AbteilungService/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: "/FallService/prozedur/{id}" (HTTP-GET) If a new Prozedur entity has been created, the new entity should be posted to the relative URL: "/FallService/prozedur" (HTTP-POST) If an existing Prozedur entity has been updated, the modified entity should be sent to the relative URL: "/FallService/prozedur/{id}" (HTTP-PUT) If an existing Prozedur entity has to be deleted, the following relative URL should be called: "/FallService/prozedur/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum