Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
VersicherungApp
Please create a React-JS application for the VersicherungModule. The application has to offer the following views for the user interface: 1. RechnungView 2. RechnungspositionView 3. TarifView 4. 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 4 views are defined below. 1. The RechnungView must contain the following fields: - name: AbrechnungszeitraumBis type: DATE - name: AbrechnungszeitraumVon type: DATE - name: Faelligkeitsdatum type: DATE - name: Gesamtbetrag type: STRING - name: Klient type: Klient - name: Pflegedienst type: Pflegedienst - name: Rechnungsdatum type: DATE - name: Rechnungsnummer type: STRING - name: Rechnungsstatus type: STRING - name: Versicherung type: Versicherung The data source for the [Pflegedienst] select control should be loaded from the relative URL: "/PflegedienstService/pflegedienst" (HTTP-GET) The data source for the [Versicherung] select control should be loaded from the relative URL: "/VersicherungService/versicherung" (HTTP-GET) The data source for the [Klient] select control should be loaded from the relative URL: "/PflegedienstService/klient" (HTTP-GET) An existing Rechnung entity should be loaded from the relative URL: "/VersicherungService/rechnung/{id}" (HTTP-GET) If a new Rechnung entity has been created, the new entity should be posted to the relative URL: "/VersicherungService/rechnung" (HTTP-POST) If an existing Rechnung entity has been updated, the modified entity should be sent to the relative URL: "/VersicherungService/rechnung/{id}" (HTTP-PUT) If an existing Rechnung entity has to be deleted, the following relative URL should be called: "/VersicherungService/rechnung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Rechnungsposition columns: - column: EinsatzLeistung - column: LeistungskatalogEintrag - column: Rechnung - column: Einzelpreis - column: Menge - column: Betrag - column: Beschreibung The table should have the title "Rechnungspositions" und the data must be loaded from the server with the following relative URL: "/VersicherungService/rechnungsposition/rechnung/{id}" 2. The RechnungspositionView must contain the following fields: - name: Beschreibung type: STRING - name: Betrag type: STRING - name: EinsatzLeistung type: Einsatz - name: Einzelpreis type: STRING - name: LeistungskatalogEintrag type: LeistungskatalogEintrag - name: Menge type: STRING - name: Rechnung type: Rechnung The data source for the [LeistungskatalogEintrag] select control should be loaded from the relative URL: "/LeistungskatalogEintragService/leistungskatalogeintrag" (HTTP-GET) The data source for the [Rechnung] select control should be loaded from the relative URL: "/VersicherungService/rechnung" (HTTP-GET) The data source for the [EinsatzLeistung] select control should be loaded from the relative URL: "/EinsatzService/einsatz" (HTTP-GET) An existing Rechnungsposition entity should be loaded from the relative URL: "/VersicherungService/rechnungsposition/{id}" (HTTP-GET) If a new Rechnungsposition entity has been created, the new entity should be posted to the relative URL: "/VersicherungService/rechnungsposition" (HTTP-POST) If an existing Rechnungsposition entity has been updated, the modified entity should be sent to the relative URL: "/VersicherungService/rechnungsposition/{id}" (HTTP-PUT) If an existing Rechnungsposition entity has to be deleted, the following relative URL should be called: "/VersicherungService/rechnungsposition/{id}" (HTTP-DELETE) 3. The TarifView must contain the following fields: - name: Einheit type: STRING - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: LeistungskatalogEintrag type: LeistungskatalogEintrag - name: Preis type: STRING - name: Tarifname type: STRING - name: Versicherung type: Versicherung The data source for the [Versicherung] select control should be loaded from the relative URL: "/VersicherungService/versicherung" (HTTP-GET) The data source for the [LeistungskatalogEintrag] select control should be loaded from the relative URL: "/LeistungskatalogEintragService/leistungskatalogeintrag" (HTTP-GET) An existing Tarif entity should be loaded from the relative URL: "/VersicherungService/tarif/{id}" (HTTP-GET) If a new Tarif entity has been created, the new entity should be posted to the relative URL: "/VersicherungService/tarif" (HTTP-POST) If an existing Tarif entity has been updated, the modified entity should be sent to the relative URL: "/VersicherungService/tarif/{id}" (HTTP-PUT) If an existing Tarif entity has to be deleted, the following relative URL should be called: "/VersicherungService/tarif/{id}" (HTTP-DELETE) 4. The VersicherungView must contain the following fields: - name: AbrechnungsportalUrl type: STRING - name: EMailAdresse type: STRING - name: Kurzname type: STRING - name: OffiziellerName type: STRING - name: Ort type: Ort - name: Telefonnummer type: STRING - name: Versicherungstyp type: STRING The data source for the [Ort] select control should be loaded from the relative URL: "/OrtService/ort" (HTTP-GET) An existing Versicherung entity should be loaded from the relative URL: "/VersicherungService/versicherung/{id}" (HTTP-GET) If a new Versicherung entity has been created, the new entity should be posted to the relative URL: "/VersicherungService/versicherung" (HTTP-POST) If an existing Versicherung entity has been updated, the modified entity should be sent to the relative URL: "/VersicherungService/versicherung/{id}" (HTTP-PUT) If an existing Versicherung entity has to be deleted, the following relative URL should be called: "/VersicherungService/versicherung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KlientVersicherung columns: - column: GueltigBis - column: IstPrimaer - column: Versicherungsnummer - column: Versicherungsart - column: Klient - column: GueltigVon - column: Versicherung The table should have the title "KlientVersicherungs" und the data must be loaded from the server with the following relative URL: "/RechtsformService/klientversicherung/versicherung/{id}" Add a HTML table to the view with the following KlientVersicherung columns: - column: GueltigBis - column: IstPrimaer - column: Versicherungsnummer - column: Versicherungsart - column: Klient - column: GueltigVon - column: Versicherung The table should have the title "KlientVersicherungs" und the data must be loaded from the server with the following relative URL: "/RechtsformService/klientversicherung/versicherungsnummer/{id}" Add a HTML table to the view with the following KlientVersicherung columns: - column: GueltigBis - column: IstPrimaer - column: Versicherungsnummer - column: Versicherungsart - column: Klient - column: GueltigVon - column: Versicherung The table should have the title "KlientVersicherungs" und the data must be loaded from the server with the following relative URL: "/RechtsformService/klientversicherung/versicherungsart/{id}" Add a HTML table to the view with the following Tarif columns: - column: Versicherung - column: GueltigBis - column: Einheit - column: Tarifname - column: Preis - column: GueltigVon - column: LeistungskatalogEintrag The table should have the title "Tarifs" und the data must be loaded from the server with the following relative URL: "/VersicherungService/tarif/versicherung/{id}" Add a HTML table to the view with the following Rechnung columns: - column: Rechnungsdatum - column: AbrechnungszeitraumBis - column: Rechnungsnummer - column: AbrechnungszeitraumVon - column: Gesamtbetrag - column: Pflegedienst - column: Klient - column: Versicherung - column: Faelligkeitsdatum - column: Rechnungsstatus The table should have the title "Rechnungs" und the data must be loaded from the server with the following relative URL: "/VersicherungService/rechnung/versicherung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum