Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AufnahmeView
Please create a React-JS view called "AufnahmeView" for the fields of the Aufnahme entity. 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}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum