Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ZahnarztpraxisApp
Please create a React-JS application for the ZahnarztpraxisModule. The application has to offer the following views for the user interface: 1. BehandlungsfallView 2. KrankenversicherungstypView 3. PatientView 4. ZahnarztpraxisView 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 BehandlungsfallView must contain the following fields: - name: Beginn type: DATE - name: Ende type: DATE - name: IstKieferorthopaedisch type: BOOL - name: IstNotfall type: BOOL - name: Patient type: Patient - name: Zahnarzt type: Zahnarzt - name: Zahnarztpraxis type: Zahnarztpraxis The data source for the [Zahnarzt] select control should be loaded from the relative URL: "/ZahnarztService/zahnarzt" (HTTP-GET) The data source for the [Patient] select control should be loaded from the relative URL: "/ZahnarztpraxisService/patient" (HTTP-GET) The data source for the [Zahnarztpraxis] select control should be loaded from the relative URL: "/ZahnarztpraxisService/zahnarztpraxis" (HTTP-GET) An existing Behandlungsfall entity should be loaded from the relative URL: "/ZahnarztpraxisService/behandlungsfall/{id}" (HTTP-GET) If a new Behandlungsfall entity has been created, the new entity should be posted to the relative URL: "/ZahnarztpraxisService/behandlungsfall" (HTTP-POST) If an existing Behandlungsfall entity has been updated, the modified entity should be sent to the relative URL: "/ZahnarztpraxisService/behandlungsfall/{id}" (HTTP-PUT) If an existing Behandlungsfall entity has to be deleted, the following relative URL should be called: "/ZahnarztpraxisService/behandlungsfall/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abrechnung columns: - column: Abrechnungstyp - column: Behandlungsfall - column: Betrag - column: Versicherungstraeger - column: IstErstattet - column: Waehrung The table should have the title "Abrechnungs" und the data must be loaded from the server with the following relative URL: "/VersicherungstraegerService/abrechnung/behandlungsfall/{id}" 2. The KrankenversicherungstypView must contain the following fields: - name: IstGesetzlich type: BOOL - name: IstPrivat type: BOOL - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Krankenversicherungstyp entity should be loaded from the relative URL: "/ZahnarztpraxisService/krankenversicherungstyp/{id}" (HTTP-GET) If a new Krankenversicherungstyp entity has been created, the new entity should be posted to the relative URL: "/ZahnarztpraxisService/krankenversicherungstyp" (HTTP-POST) If an existing Krankenversicherungstyp entity has been updated, the modified entity should be sent to the relative URL: "/ZahnarztpraxisService/krankenversicherungstyp/{id}" (HTTP-PUT) If an existing Krankenversicherungstyp entity has to be deleted, the following relative URL should be called: "/ZahnarztpraxisService/krankenversicherungstyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Patient columns: - column: Land - column: Nachname - column: Geburtsdatum - column: Vorname - column: Krankenversicherungstyp The table should have the title "Patients" und the data must be loaded from the server with the following relative URL: "/ZahnarztpraxisService/patient/krankenversicherungstyp/{id}" 3. The PatientView must contain the following fields: - name: Geburtsdatum type: DATE - name: Krankenversicherungstyp type: Krankenversicherungstyp - name: Land type: Land - name: Nachname type: STRING - name: Vorname type: STRING The data source for the [Krankenversicherungstyp] select control should be loaded from the relative URL: "/ZahnarztpraxisService/krankenversicherungstyp" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Patient entity should be loaded from the relative URL: "/ZahnarztpraxisService/patient/{id}" (HTTP-GET) If a new Patient entity has been created, the new entity should be posted to the relative URL: "/ZahnarztpraxisService/patient" (HTTP-POST) If an existing Patient entity has been updated, the modified entity should be sent to the relative URL: "/ZahnarztpraxisService/patient/{id}" (HTTP-PUT) If an existing Patient entity has to be deleted, the following relative URL should be called: "/ZahnarztpraxisService/patient/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlungsfall columns: - column: Beginn - column: IstKieferorthopaedisch - column: Ende - column: Zahnarztpraxis - column: Patient - column: Zahnarzt - column: IstNotfall The table should have the title "Behandlungsfalls" und the data must be loaded from the server with the following relative URL: "/ZahnarztpraxisService/behandlungsfall/patient/{id}" 4. The ZahnarztpraxisView must contain the following fields: - name: EigentuemerZahnarzt type: LONG - name: IstMedizinischesVersorgungszentrum type: BOOL - name: Land type: Land - name: Name type: STRING - name: Praxistyp type: Praxistyp - name: Stadt type: STRING The data source for the [Praxistyp] select control should be loaded from the relative URL: "/PraxistypService/praxistyp" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Zahnarztpraxis entity should be loaded from the relative URL: "/ZahnarztpraxisService/zahnarztpraxis/{id}" (HTTP-GET) If a new Zahnarztpraxis entity has been created, the new entity should be posted to the relative URL: "/ZahnarztpraxisService/zahnarztpraxis" (HTTP-POST) If an existing Zahnarztpraxis entity has been updated, the modified entity should be sent to the relative URL: "/ZahnarztpraxisService/zahnarztpraxis/{id}" (HTTP-PUT) If an existing Zahnarztpraxis entity has to be deleted, the following relative URL should be called: "/ZahnarztpraxisService/zahnarztpraxis/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ZahnarztBeschaeftigung columns: - column: Ende - column: Zahnarztpraxis - column: Rollentyp - column: Beginn - column: Beschaeftigungstyp - column: IstEigentuemer - column: Zahnarzt The table should have the title "ZahnarztBeschaeftigungs" und the data must be loaded from the server with the following relative URL: "/BeschaeftigungstypService/zahnarztbeschaeftigung/zahnarztpraxis/{id}" Add a HTML table to the view with the following Behandlungsfall columns: - column: Beginn - column: IstKieferorthopaedisch - column: Ende - column: Zahnarztpraxis - column: Patient - column: Zahnarzt - column: IstNotfall The table should have the title "Behandlungsfalls" und the data must be loaded from the server with the following relative URL: "/ZahnarztpraxisService/behandlungsfall/zahnarztpraxis/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum