Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RehaMassnahmeView
Please create a React-JS view called "RehaMassnahmeView" for the fields of the RehaMassnahme entity. The RehaMassnahmeView must contain the following fields: - name: Beschreibung type: STRING - name: DauerTage type: INT - name: Name type: STRING - name: Ziel type: STRING An existing RehaMassnahme entity should be loaded from the relative URL: "/PatientService/rehamassnahme/{id}" (HTTP-GET) If a new RehaMassnahme entity has been created, the new entity should be posted to the relative URL: "/PatientService/rehamassnahme" (HTTP-POST) If an existing RehaMassnahme entity has been updated, the modified entity should be sent to the relative URL: "/PatientService/rehamassnahme/{id}" (HTTP-PUT) If an existing RehaMassnahme entity has to be deleted, the following relative URL should be called: "/PatientService/rehamassnahme/{id}" (HTTP-DELETE) 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/rehamassnahme/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum