Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BehandlungsfallApp
Please create a React-JS application for the BehandlungsfallModule. The application has to offer the following views for the user interface: 1. BehandlungsfallView 2. HeilpraktikerView 3. PatientView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The BehandlungsfallView must contain the following fields: - name: Beginn type: DATE - name: DiagnoseText type: STRING - name: EmpfehlungArztbesuch type: BOOL - name: Ende type: DATE - name: Heilpraktiker type: Heilpraktiker - name: Infektionskrankheit type: BOOL - name: MeldepflichtigeKrankheit type: BOOL - name: Notizen type: STRING - name: Patient type: Patient The data source for the [Heilpraktiker] select control should be loaded from the relative URL: "/BehandlungsfallService/heilpraktiker" (HTTP-GET) The data source for the [Patient] select control should be loaded from the relative URL: "/BehandlungsfallService/patient" (HTTP-GET) An existing Behandlungsfall entity should be loaded from the relative URL: "/BehandlungsfallService/behandlungsfall/{id}" (HTTP-GET) If a new Behandlungsfall entity has been created, the new entity should be posted to the relative URL: "/BehandlungsfallService/behandlungsfall" (HTTP-POST) If an existing Behandlungsfall entity has been updated, the modified entity should be sent to the relative URL: "/BehandlungsfallService/behandlungsfall/{id}" (HTTP-PUT) If an existing Behandlungsfall entity has to be deleted, the following relative URL should be called: "/BehandlungsfallService/behandlungsfall/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BehandlungsfallMethode columns: - column: Behandlungsmethode - column: AnzahlSitzungen - column: Behandlungsfall - column: Notizen The table should have the title "BehandlungsfallMethodes" und the data must be loaded from the server with the following relative URL: "/BehandlungsmethodeService/behandlungsfallmethode/behandlungsfall/{id}" Add a HTML table to the view with the following Behandlungsvertrag columns: - column: Vertragstext - column: Vertragsart - column: Gesetz - column: Behandlungsfall - column: Honorarvereinbarung - column: DatumUnterschrift - column: NutztGoaeAnalog - column: UeberschreitetGebuehrenrahmen - column: DatumBeendigung - column: NutztGebuehrenverzeichnis The table should have the title "Behandlungsvertrags" und the data must be loaded from the server with the following relative URL: "/VertragsartService/behandlungsvertrag/behandlungsfall/{id}" 2. The HeilpraktikerView must contain the following fields: - name: BeginnTaetigkeit type: DATE - name: EndeTaetigkeit type: DATE - name: HatVolleErlaubnis type: BOOL - name: Hauptland type: Land - name: Person type: Person - name: Praxisbeschreibung type: STRING - name: SchwerpunktPhysiotherapie type: BOOL - name: SchwerpunktPsychotherapie type: BOOL The data source for the [Hauptland] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/BerufService/person" (HTTP-GET) An existing Heilpraktiker entity should be loaded from the relative URL: "/BehandlungsfallService/heilpraktiker/{id}" (HTTP-GET) If a new Heilpraktiker entity has been created, the new entity should be posted to the relative URL: "/BehandlungsfallService/heilpraktiker" (HTTP-POST) If an existing Heilpraktiker entity has been updated, the modified entity should be sent to the relative URL: "/BehandlungsfallService/heilpraktiker/{id}" (HTTP-PUT) If an existing Heilpraktiker entity has to be deleted, the following relative URL should be called: "/BehandlungsfallService/heilpraktiker/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlungsfall columns: - column: Patient - column: Heilpraktiker - column: Beginn - column: Ende - column: DiagnoseText - column: EmpfehlungArztbesuch - column: Infektionskrankheit - column: MeldepflichtigeKrankheit - column: Notizen The table should have the title "Behandlungsfalls" und the data must be loaded from the server with the following relative URL: "/BehandlungsfallService/behandlungsfall/heilpraktiker/{id}" 3. 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: "/BehandlungsfallService/patient/{id}" (HTTP-GET) If a new Patient entity has been created, the new entity should be posted to the relative URL: "/BehandlungsfallService/patient" (HTTP-POST) If an existing Patient entity has been updated, the modified entity should be sent to the relative URL: "/BehandlungsfallService/patient/{id}" (HTTP-PUT) If an existing Patient entity has to be deleted, the following relative URL should be called: "/BehandlungsfallService/patient/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlungsfall columns: - column: Patient - column: Heilpraktiker - column: Beginn - column: Ende - column: DiagnoseText - column: EmpfehlungArztbesuch - column: Infektionskrankheit - column: MeldepflichtigeKrankheit - column: Notizen The table should have the title "Behandlungsfalls" und the data must be loaded from the server with the following relative URL: "/BehandlungsfallService/behandlungsfall/patient/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum