Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PatientView
Please create a React-JS view called "PatientView" for the fields of the Patient entity. The PatientView must contain the following fields: - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: Land type: STRING - name: Nachname type: STRING - name: PatientenNummerExtern type: STRING - name: Postleitzahl type: STRING - name: Stadt type: STRING - name: Strasse type: STRING - name: Vorname type: STRING An existing Patient entity should be loaded from the relative URL: "/KrankenhausService/patient/{id}" (HTTP-GET) If a new Patient entity has been created, the new entity should be posted to the relative URL: "/KrankenhausService/patient" (HTTP-POST) If an existing Patient entity has been updated, the modified entity should be sent to the relative URL: "/KrankenhausService/patient/{id}" (HTTP-PUT) If an existing Patient entity has to be deleted, the following relative URL should be called: "/KrankenhausService/patient/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Aufnahme columns: - column: AufnahmeDatum - column: EntlassZiel - column: Patient - column: UeberwiesenVon - column: AufnahmeArt - column: Krankenhaus - column: IstNotfall - column: EntlassDatum The table should have the title "Aufnahmes" und the data must be loaded from the server with the following relative URL: "/FallService/aufnahme/patient/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum