Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
VertragsmodellApp
Please create a React-JS application for the VertragsmodellModule. The application has to offer the following views for the user interface: 1. AbrechnungsfallView 2. PraxisvertragView 3. VertragsmodellView 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 AbrechnungsfallView must contain the following fields: - name: Abrechnungsdatum type: DATE - name: Kostentraeger type: Kostentraeger - name: Patient type: Patient - name: Praxis type: Praxis - name: Rechnungsnummer type: STRING - name: Status type: STRING - name: Vertragsmodell type: Vertragsmodell - name: ZeitraumEnde type: DATE - name: ZeitraumStart type: DATE The data source for the [Patient] select control should be loaded from the relative URL: "/PatientService/patient" (HTTP-GET) The data source for the [Kostentraeger] select control should be loaded from the relative URL: "/LandRegionService/kostentraeger" (HTTP-GET) The data source for the [Praxis] select control should be loaded from the relative URL: "/PraxisService/praxis" (HTTP-GET) The data source for the [Vertragsmodell] select control should be loaded from the relative URL: "/VertragsmodellService/vertragsmodell" (HTTP-GET) An existing Abrechnungsfall entity should be loaded from the relative URL: "/VertragsmodellService/abrechnungsfall/{id}" (HTTP-GET) If a new Abrechnungsfall entity has been created, the new entity should be posted to the relative URL: "/VertragsmodellService/abrechnungsfall" (HTTP-POST) If an existing Abrechnungsfall entity has been updated, the modified entity should be sent to the relative URL: "/VertragsmodellService/abrechnungsfall/{id}" (HTTP-PUT) If an existing Abrechnungsfall entity has to be deleted, the following relative URL should be called: "/VertragsmodellService/abrechnungsfall/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abrechnungsposten columns: - column: Menge - column: Multiplikator - column: Einzelpreis - column: Gebuehrenposition - column: Gesamtbetrag - column: Behandlungsleistung - column: Abrechnungsfall The table should have the title "Abrechnungspostens" und the data must be loaded from the server with the following relative URL: "/GebuehrenpositionService/abrechnungsposten/abrechnungsfall/{id}" 2. The PraxisvertragView must contain the following fields: - name: Enddatum type: DATE - name: IstAktiv type: BOOL - name: Kostentraeger type: Kostentraeger - name: Praxis type: Praxis - name: Startdatum type: DATE - name: Vertragsmodell type: Vertragsmodell - name: Vertragsnummer type: STRING The data source for the [Kostentraeger] select control should be loaded from the relative URL: "/LandRegionService/kostentraeger" (HTTP-GET) The data source for the [Praxis] select control should be loaded from the relative URL: "/PraxisService/praxis" (HTTP-GET) The data source for the [Vertragsmodell] select control should be loaded from the relative URL: "/VertragsmodellService/vertragsmodell" (HTTP-GET) An existing Praxisvertrag entity should be loaded from the relative URL: "/VertragsmodellService/praxisvertrag/{id}" (HTTP-GET) If a new Praxisvertrag entity has been created, the new entity should be posted to the relative URL: "/VertragsmodellService/praxisvertrag" (HTTP-POST) If an existing Praxisvertrag entity has been updated, the modified entity should be sent to the relative URL: "/VertragsmodellService/praxisvertrag/{id}" (HTTP-PUT) If an existing Praxisvertrag entity has to be deleted, the following relative URL should be called: "/VertragsmodellService/praxisvertrag/{id}" (HTTP-DELETE) 3. The VertragsmodellView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Vertragsmodell entity should be loaded from the relative URL: "/VertragsmodellService/vertragsmodell/{id}" (HTTP-GET) If a new Vertragsmodell entity has been created, the new entity should be posted to the relative URL: "/VertragsmodellService/vertragsmodell" (HTTP-POST) If an existing Vertragsmodell entity has been updated, the modified entity should be sent to the relative URL: "/VertragsmodellService/vertragsmodell/{id}" (HTTP-PUT) If an existing Vertragsmodell entity has to be deleted, the following relative URL should be called: "/VertragsmodellService/vertragsmodell/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Praxisvertrag columns: - column: Kostentraeger - column: Startdatum - column: IstAktiv - column: Enddatum - column: Vertragsmodell - column: Praxis - column: Vertragsnummer The table should have the title "Praxisvertrags" und the data must be loaded from the server with the following relative URL: "/VertragsmodellService/praxisvertrag/vertragsmodell/{id}" Add a HTML table to the view with the following Abrechnungsfall columns: - column: Praxis - column: ZeitraumEnde - column: Vertragsmodell - column: Kostentraeger - column: Rechnungsnummer - column: Status - column: Abrechnungsdatum - column: Patient - column: ZeitraumStart The table should have the title "Abrechnungsfalls" und the data must be loaded from the server with the following relative URL: "/VertragsmodellService/abrechnungsfall/vertragsmodell/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum