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. DiagnoseView 2. FallView 3. IcdView 4. KrankenhausArtView 5. MedikamentView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The DiagnoseView must contain the following fields: - name: Beschreibung type: STRING - name: Fall type: Fall - name: Icd type: Icd - name: IstHauptdiagnose type: BOOL The data source for the [Fall] select control should be loaded from the relative URL: "/FallService/fall" (HTTP-GET) The data source for the [Icd] select control should be loaded from the relative URL: "/FallService/icd" (HTTP-GET) An existing Diagnose entity should be loaded from the relative URL: "/FallService/diagnose/{id}" (HTTP-GET) If a new Diagnose entity has been created, the new entity should be posted to the relative URL: "/FallService/diagnose" (HTTP-POST) If an existing Diagnose entity has been updated, the modified entity should be sent to the relative URL: "/FallService/diagnose/{id}" (HTTP-PUT) If an existing Diagnose entity has to be deleted, the following relative URL should be called: "/FallService/diagnose/{id}" (HTTP-DELETE) 2. The FallView must contain the following fields: - name: Abteilung type: Abteilung - name: Aufnahme type: Aufnahme - name: FallBeginn type: STRING - name: FallEnde type: STRING - name: FallNummer type: STRING - name: Medikament type: Medikament The data source for the [Abteilung] select control should be loaded from the relative URL: "/StationService/abteilung" (HTTP-GET) The data source for the [Aufnahme] select control should be loaded from the relative URL: "/KrankenhausService/aufnahme" (HTTP-GET) The data source for the [Medikament] select control should be loaded from the relative URL: "/FallService/medikament" (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 Bewegung columns: - column: BisDatum - column: VonDatum - column: Station - column: Fall - column: Bett 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: Fall - column: Icd - column: IstHauptdiagnose - column: Beschreibung The table should have the title "Diagnoses" und the data must be loaded from the server with the following relative URL: "/FallService/diagnose/fall/{id}" Add a HTML table to the view with the following FallAbrechnung columns: - column: BetragPatient - column: BetragGesamt - column: BetragKostentraeger - column: RechnungsDatum - column: RechnungsNummer - column: Fall - column: Kostentraeger The table should have the title "FallAbrechnungs" und the data must be loaded from the server with the following relative URL: "/AufnahmeArtService/fallabrechnung/fall/{id}" 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/fall/{id}" 3. The IcdView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING An existing Icd entity should be loaded from the relative URL: "/FallService/icd/{id}" (HTTP-GET) If a new Icd entity has been created, the new entity should be posted to the relative URL: "/FallService/icd" (HTTP-POST) If an existing Icd entity has been updated, the modified entity should be sent to the relative URL: "/FallService/icd/{id}" (HTTP-PUT) If an existing Icd entity has to be deleted, the following relative URL should be called: "/FallService/icd/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Diagnose columns: - column: Fall - column: Icd - column: IstHauptdiagnose - column: Beschreibung The table should have the title "Diagnoses" und the data must be loaded from the server with the following relative URL: "/FallService/diagnose/icd/{id}" 4. The KrankenhausArtView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: IstAkut type: BOOL - name: IstReha type: BOOL An existing KrankenhausArt entity should be loaded from the relative URL: "/FallService/krankenhausart/{id}" (HTTP-GET) If a new KrankenhausArt entity has been created, the new entity should be posted to the relative URL: "/FallService/krankenhausart" (HTTP-POST) If an existing KrankenhausArt entity has been updated, the modified entity should be sent to the relative URL: "/FallService/krankenhausart/{id}" (HTTP-PUT) If an existing KrankenhausArt entity has to be deleted, the following relative URL should be called: "/FallService/krankenhausart/{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/krankenhausart/{id}" 5. The MedikamentView must contain the following fields: - name: Basisfallwert type: STRING - name: Beschreibung type: STRING - name: Code type: STRING An existing Medikament entity should be loaded from the relative URL: "/FallService/medikament/{id}" (HTTP-GET) If a new Medikament entity has been created, the new entity should be posted to the relative URL: "/FallService/medikament" (HTTP-POST) If an existing Medikament entity has been updated, the modified entity should be sent to the relative URL: "/FallService/medikament/{id}" (HTTP-PUT) If an existing Medikament entity has to be deleted, the following relative URL should be called: "/FallService/medikament/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fall columns: - column: Abteilung - column: Aufnahme - column: FallBeginn - column: Medikament - column: FallNummer - column: FallEnde The table should have the title "Falls" und the data must be loaded from the server with the following relative URL: "/FallService/fall/medikament/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum