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: Krankenversicherungstyp type: Krankenversicherungstyp - name: Land type: Land - name: Nachname type: STRING - name: Vorname type: STRING The data source for the [Krankenversicherungstyp] select control should be loaded from the relative URL: "/ZahnarztpraxisService/krankenversicherungstyp" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Patient entity should be loaded from the relative URL: "/ZahnarztpraxisService/patient/{id}" (HTTP-GET) If a new Patient entity has been created, the new entity should be posted to the relative URL: "/ZahnarztpraxisService/patient" (HTTP-POST) If an existing Patient entity has been updated, the modified entity should be sent to the relative URL: "/ZahnarztpraxisService/patient/{id}" (HTTP-PUT) If an existing Patient entity has to be deleted, the following relative URL should be called: "/ZahnarztpraxisService/patient/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlungsfall columns: - column: Beginn - column: IstKieferorthopaedisch - column: Ende - column: Zahnarztpraxis - column: Patient - column: Zahnarzt - column: IstNotfall The table should have the title "Behandlungsfalls" und the data must be loaded from the server with the following relative URL: "/ZahnarztpraxisService/behandlungsfall/patient/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum