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: Notizen type: STRING - name: Person type: LONG - name: Primaerversicherung type: LONG An existing Patient entity should be loaded from the relative URL: "/GesetzService/patient/{id}" (HTTP-GET) If a new Patient entity has been created, the new entity should be posted to the relative URL: "/GesetzService/patient" (HTTP-POST) If an existing Patient entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/patient/{id}" (HTTP-PUT) If an existing Patient entity has to be deleted, the following relative URL should be called: "/GesetzService/patient/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlungsfall columns: - column: Infektionskrankheit - column: DiagnoseText - column: Heilpraktiker - column: MeldepflichtigeKrankheit - column: Notizen - column: EmpfehlungArztbesuch - column: Patient - column: Beginn - column: Ende The table should have the title "Behandlungsfalls" und the data must be loaded from the server with the following relative URL: "/GesetzService/behandlungsfall/patient/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum