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: Beruf type: STRING - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: Nachname type: STRING - name: Notizen type: STRING - name: Vorname type: STRING An existing Patient entity should be loaded from the relative URL: "/PatientService/patient/{id}" (HTTP-GET) If a new Patient entity has been created, the new entity should be posted to the relative URL: "/PatientService/patient" (HTTP-POST) If an existing Patient entity has been updated, the modified entity should be sent to the relative URL: "/PatientService/patient/{id}" (HTTP-PUT) If an existing Patient entity has to be deleted, the following relative URL should be called: "/PatientService/patient/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kurantrag columns: - column: Notizen - column: GewuenschterKurtyp - column: Rechtsgrundlage - column: Antragsdatum - column: Arzt - column: KostentraegerTyp - column: Patient - column: Krankenkasse The table should have the title "Kurantrags" und the data must be loaded from the server with the following relative URL: "/KrankenkasseService/kurantrag/patient/{id}" Add a HTML table to the view with the following Kur columns: - column: Startdatum - column: DauerTage - column: Genehmigt - column: Arzt - column: Rechtsgrundlage - column: Name - column: RehaMassnahme - column: Ziel - column: Krankenkasse - column: KostentraegerTyp - column: Kurtyp - column: Patient - column: Anwendungsart - column: Kureinrichtung - column: Beschreibung - column: Enddatum The table should have the title "Kurs" und the data must be loaded from the server with the following relative URL: "/KurService/kur/patient/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum