Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
VersicherungstraegerApp
Please create a React-JS application for the VersicherungstraegerModule. The application has to offer the following views for the user interface: 1. AbrechnungView 2. AbrechnungstypView 3. BerufsunfallversicherungView 4. VersicherungstraegerView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AbrechnungView must contain the following fields: - name: Abrechnungstyp type: Abrechnungstyp - name: Behandlungsfall type: Behandlungsfall - name: Betrag type: STRING - name: IstErstattet type: BOOL - name: Versicherungstraeger type: Versicherungstraeger - name: Waehrung type: STRING The data source for the [Abrechnungstyp] select control should be loaded from the relative URL: "/VersicherungstraegerService/abrechnungstyp" (HTTP-GET) The data source for the [Behandlungsfall] select control should be loaded from the relative URL: "/ZahnarztService/behandlungsfall" (HTTP-GET) The data source for the [Versicherungstraeger] select control should be loaded from the relative URL: "/VersicherungstraegerService/versicherungstraeger" (HTTP-GET) An existing Abrechnung entity should be loaded from the relative URL: "/VersicherungstraegerService/abrechnung/{id}" (HTTP-GET) If a new Abrechnung entity has been created, the new entity should be posted to the relative URL: "/VersicherungstraegerService/abrechnung" (HTTP-POST) If an existing Abrechnung entity has been updated, the modified entity should be sent to the relative URL: "/VersicherungstraegerService/abrechnung/{id}" (HTTP-PUT) If an existing Abrechnung entity has to be deleted, the following relative URL should be called: "/VersicherungstraegerService/abrechnung/{id}" (HTTP-DELETE) 2. The AbrechnungstypView must contain the following fields: - name: Beschreibung type: STRING - name: IstGesetzlich type: BOOL - name: Land type: Land - name: Name type: STRING - name: Rechtsgrundlage type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Abrechnungstyp entity should be loaded from the relative URL: "/VersicherungstraegerService/abrechnungstyp/{id}" (HTTP-GET) If a new Abrechnungstyp entity has been created, the new entity should be posted to the relative URL: "/VersicherungstraegerService/abrechnungstyp" (HTTP-POST) If an existing Abrechnungstyp entity has been updated, the modified entity should be sent to the relative URL: "/VersicherungstraegerService/abrechnungstyp/{id}" (HTTP-PUT) If an existing Abrechnungstyp entity has to be deleted, the following relative URL should be called: "/VersicherungstraegerService/abrechnungstyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abrechnung columns: - column: IstErstattet - column: Waehrung - column: Abrechnungstyp - column: Versicherungstraeger - column: Behandlungsfall - column: Betrag The table should have the title "Abrechnungs" und the data must be loaded from the server with the following relative URL: "/VersicherungstraegerService/abrechnung/abrechnungstyp/{id}" 3. The BerufsunfallversicherungView must contain the following fields: - name: Beginn type: DATE - name: Deckungsart type: STRING - name: Ende type: DATE - name: IstPflicht type: BOOL - name: Versicherungstraeger type: Versicherungstraeger - name: Zahnarzt type: Zahnarzt The data source for the [Zahnarzt] select control should be loaded from the relative URL: "/ZahnarztService/zahnarzt" (HTTP-GET) The data source for the [Versicherungstraeger] select control should be loaded from the relative URL: "/VersicherungstraegerService/versicherungstraeger" (HTTP-GET) An existing Berufsunfallversicherung entity should be loaded from the relative URL: "/VersicherungstraegerService/berufsunfallversicherung/{id}" (HTTP-GET) If a new Berufsunfallversicherung entity has been created, the new entity should be posted to the relative URL: "/VersicherungstraegerService/berufsunfallversicherung" (HTTP-POST) If an existing Berufsunfallversicherung entity has been updated, the modified entity should be sent to the relative URL: "/VersicherungstraegerService/berufsunfallversicherung/{id}" (HTTP-PUT) If an existing Berufsunfallversicherung entity has to be deleted, the following relative URL should be called: "/VersicherungstraegerService/berufsunfallversicherung/{id}" (HTTP-DELETE) 4. The VersicherungstraegerView must contain the following fields: - name: Land type: Land - name: Name type: STRING - name: Traegertyp type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Versicherungstraeger entity should be loaded from the relative URL: "/VersicherungstraegerService/versicherungstraeger/{id}" (HTTP-GET) If a new Versicherungstraeger entity has been created, the new entity should be posted to the relative URL: "/VersicherungstraegerService/versicherungstraeger" (HTTP-POST) If an existing Versicherungstraeger entity has been updated, the modified entity should be sent to the relative URL: "/VersicherungstraegerService/versicherungstraeger/{id}" (HTTP-PUT) If an existing Versicherungstraeger entity has to be deleted, the following relative URL should be called: "/VersicherungstraegerService/versicherungstraeger/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Berufsunfallversicherung columns: - column: Ende - column: Deckungsart - column: Versicherungstraeger - column: Beginn - column: IstPflicht - column: Zahnarzt The table should have the title "Berufsunfallversicherungs" und the data must be loaded from the server with the following relative URL: "/VersicherungstraegerService/berufsunfallversicherung/versicherungstraeger/{id}" Add a HTML table to the view with the following Abrechnung columns: - column: IstErstattet - column: Waehrung - column: Abrechnungstyp - column: Versicherungstraeger - column: Behandlungsfall - column: Betrag The table should have the title "Abrechnungs" und the data must be loaded from the server with the following relative URL: "/VersicherungstraegerService/abrechnung/versicherungstraeger/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum