Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BehandlungsmethodeApp
Please create a React-JS application for the BehandlungsmethodeModule. The application has to offer the following views for the user interface: 1. BehandlungsfallMethodeView 2. BehandlungsmethodeView 3. VersicherungView 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 BehandlungsfallMethodeView must contain the following fields: - name: AnzahlSitzungen type: LONG - name: Behandlungsfall type: Behandlungsfall - name: Behandlungsmethode type: Behandlungsmethode - name: Notizen type: STRING The data source for the [Behandlungsfall] select control should be loaded from the relative URL: "/GesetzService/behandlungsfall" (HTTP-GET) The data source for the [Behandlungsmethode] select control should be loaded from the relative URL: "/BehandlungsmethodeService/behandlungsmethode" (HTTP-GET) An existing BehandlungsfallMethode entity should be loaded from the relative URL: "/BehandlungsmethodeService/behandlungsfallmethode/{id}" (HTTP-GET) If a new BehandlungsfallMethode entity has been created, the new entity should be posted to the relative URL: "/BehandlungsmethodeService/behandlungsfallmethode" (HTTP-POST) If an existing BehandlungsfallMethode entity has been updated, the modified entity should be sent to the relative URL: "/BehandlungsmethodeService/behandlungsfallmethode/{id}" (HTTP-PUT) If an existing BehandlungsfallMethode entity has to be deleted, the following relative URL should be called: "/BehandlungsmethodeService/behandlungsfallmethode/{id}" (HTTP-DELETE) 2. The BehandlungsmethodeView must contain the following fields: - name: Beschreibung type: STRING - name: Kategorie type: STRING - name: Name type: STRING - name: WissenschaftlichAnerkannt type: BOOL An existing Behandlungsmethode entity should be loaded from the relative URL: "/BehandlungsmethodeService/behandlungsmethode/{id}" (HTTP-GET) If a new Behandlungsmethode entity has been created, the new entity should be posted to the relative URL: "/BehandlungsmethodeService/behandlungsmethode" (HTTP-POST) If an existing Behandlungsmethode entity has been updated, the modified entity should be sent to the relative URL: "/BehandlungsmethodeService/behandlungsmethode/{id}" (HTTP-PUT) If an existing Behandlungsmethode entity has to be deleted, the following relative URL should be called: "/BehandlungsmethodeService/behandlungsmethode/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Versicherungsleistung columns: - column: Beruf - column: Bedingungen - column: Behandlungsmethode - column: Versicherungstarif - column: ErstattungssatzProzent - column: MaxErstattungProJahr The table should have the title "Versicherungsleistungs" und the data must be loaded from the server with the following relative URL: "/BerufService/versicherungsleistung/behandlungsmethode/{id}" Add a HTML table to the view with the following BehandlungsfallMethode columns: - column: Notizen - column: Behandlungsfall - column: Behandlungsmethode - column: AnzahlSitzungen The table should have the title "BehandlungsfallMethodes" und the data must be loaded from the server with the following relative URL: "/BehandlungsmethodeService/behandlungsfallmethode/behandlungsmethode/{id}" 3. The VersicherungView must contain the following fields: - name: Beschreibung type: STRING - name: Land type: Land - name: Name type: STRING - name: Versicherungsart type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Versicherung entity should be loaded from the relative URL: "/BehandlungsmethodeService/versicherung/{id}" (HTTP-GET) If a new Versicherung entity has been created, the new entity should be posted to the relative URL: "/BehandlungsmethodeService/versicherung" (HTTP-POST) If an existing Versicherung entity has been updated, the modified entity should be sent to the relative URL: "/BehandlungsmethodeService/versicherung/{id}" (HTTP-PUT) If an existing Versicherung entity has to be deleted, the following relative URL should be called: "/BehandlungsmethodeService/versicherung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Versicherungstarif columns: - column: Name - column: Beschreibung - column: Versicherung - column: IstZusatzversicherung The table should have the title "Versicherungstarifs" und the data must be loaded from the server with the following relative URL: "/BerufService/versicherungstarif/versicherung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum