Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LeistungApp
Please create a React-JS application for the LeistungModule. The application has to offer the following views for the user interface: 1. BehandlungsSitzungView 2. BehandlungsSitzungDiagnoseView 3. LeistungView 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 BehandlungsSitzungView must contain the following fields: - name: DauerMinuten type: LONG - name: DurchgefuehrtAm type: DATE - name: FolgeTerminNoetig type: BOOL - name: Leistung type: Leistung - name: Mitarbeiter type: Mitarbeiter - name: Notizen type: STRING - name: Patient type: Patient - name: Termin type: Termin The data source for the [Patient] select control should be loaded from the relative URL: "/PatientService/patient" (HTTP-GET) The data source for the [Termin] select control should be loaded from the relative URL: "/PraxisStandortService/termin" (HTTP-GET) The data source for the [Leistung] select control should be loaded from the relative URL: "/LeistungService/leistung" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) An existing BehandlungsSitzung entity should be loaded from the relative URL: "/LeistungService/behandlungssitzung/{id}" (HTTP-GET) If a new BehandlungsSitzung entity has been created, the new entity should be posted to the relative URL: "/LeistungService/behandlungssitzung" (HTTP-POST) If an existing BehandlungsSitzung entity has been updated, the modified entity should be sent to the relative URL: "/LeistungService/behandlungssitzung/{id}" (HTTP-PUT) If an existing BehandlungsSitzung entity has to be deleted, the following relative URL should be called: "/LeistungService/behandlungssitzung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BehandlungsSitzungDiagnose columns: - column: Notizen - column: BehandlungsSitzung - column: Diagnose The table should have the title "BehandlungsSitzungDiagnoses" und the data must be loaded from the server with the following relative URL: "/LeistungService/behandlungssitzungdiagnose/behandlungssitzung/{id}" 2. The BehandlungsSitzungDiagnoseView must contain the following fields: - name: BehandlungsSitzung type: BehandlungsSitzung - name: Diagnose type: Diagnose - name: Notizen type: STRING The data source for the [BehandlungsSitzung] select control should be loaded from the relative URL: "/LeistungService/behandlungssitzung" (HTTP-GET) The data source for the [Diagnose] select control should be loaded from the relative URL: "/DiagnoseService/diagnose" (HTTP-GET) An existing BehandlungsSitzungDiagnose entity should be loaded from the relative URL: "/LeistungService/behandlungssitzungdiagnose/{id}" (HTTP-GET) If a new BehandlungsSitzungDiagnose entity has been created, the new entity should be posted to the relative URL: "/LeistungService/behandlungssitzungdiagnose" (HTTP-POST) If an existing BehandlungsSitzungDiagnose entity has been updated, the modified entity should be sent to the relative URL: "/LeistungService/behandlungssitzungdiagnose/{id}" (HTTP-PUT) If an existing BehandlungsSitzungDiagnose entity has to be deleted, the following relative URL should be called: "/LeistungService/behandlungssitzungdiagnose/{id}" (HTTP-DELETE) 3. The LeistungView must contain the following fields: - name: BasisPreis type: DOUBLE - name: Beschreibung type: STRING - name: DauerMinuten type: LONG - name: IstAktiv type: BOOL - name: IstMedizinisch type: BOOL - name: LeistungsKategorie type: LeistungsKategorie - name: Name type: STRING The data source for the [LeistungsKategorie] select control should be loaded from the relative URL: "/AusstattungService/leistungskategorie" (HTTP-GET) An existing Leistung entity should be loaded from the relative URL: "/LeistungService/leistung/{id}" (HTTP-GET) If a new Leistung entity has been created, the new entity should be posted to the relative URL: "/LeistungService/leistung" (HTTP-POST) If an existing Leistung entity has been updated, the modified entity should be sent to the relative URL: "/LeistungService/leistung/{id}" (HTTP-PUT) If an existing Leistung entity has to be deleted, the following relative URL should be called: "/LeistungService/leistung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BehandlungsSitzung columns: - column: Leistung - column: Notizen - column: DauerMinuten - column: Mitarbeiter - column: DurchgefuehrtAm - column: Termin - column: Patient - column: FolgeTerminNoetig The table should have the title "BehandlungsSitzungs" und the data must be loaded from the server with the following relative URL: "/LeistungService/behandlungssitzung/leistung/{id}" Add a HTML table to the view with the following RechnungsPosition columns: - column: Beschreibung - column: SteuerSatz - column: Menge - column: BetragNetto - column: Leistung - column: EinzelPreis - column: Rechnung - column: BetragSteuer - column: BetragBrutto The table should have the title "RechnungsPositions" und the data must be loaded from the server with the following relative URL: "/RechnungService/rechnungsposition/leistung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum