Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PatientApp
Please create a React-JS application for the PatientModule. The application has to offer the following views for the user interface: 1. BehandlungView 2. BehandlungsleistungView 3. NichtmedizinischesPersonalView 4. PatientView 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 BehandlungView must contain the following fields: - name: Arzt type: Arzt - name: Behandlungsart type: STRING - name: Behandlungszeit type: DATE - name: Notizen type: STRING - name: Patient type: Patient - name: Praxis type: Praxis - name: Termin type: Termin The data source for the [Arzt] select control should be loaded from the relative URL: "/PersonService/arzt" (HTTP-GET) 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: "/PersonService/termin" (HTTP-GET) The data source for the [Praxis] select control should be loaded from the relative URL: "/PraxisService/praxis" (HTTP-GET) An existing Behandlung entity should be loaded from the relative URL: "/PatientService/behandlung/{id}" (HTTP-GET) If a new Behandlung entity has been created, the new entity should be posted to the relative URL: "/PatientService/behandlung" (HTTP-POST) If an existing Behandlung entity has been updated, the modified entity should be sent to the relative URL: "/PatientService/behandlung/{id}" (HTTP-PUT) If an existing Behandlung entity has to be deleted, the following relative URL should be called: "/PatientService/behandlung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlungsleistung columns: - column: DurchgefuehrtVonArzt - column: Behandlung - column: Gebuehrenposition - column: DurchgefuehrtVonPersonal - column: Menge - column: Multiplikator The table should have the title "Behandlungsleistungs" und the data must be loaded from the server with the following relative URL: "/PatientService/behandlungsleistung/behandlung/{id}" 2. The BehandlungsleistungView must contain the following fields: - name: Behandlung type: Behandlung - name: DurchgefuehrtVonArzt type: Arzt - name: DurchgefuehrtVonPersonal type: NichtmedizinischesPersonal - name: Gebuehrenposition type: Gebuehrenposition - name: Menge type: INT - name: Multiplikator type: STRING The data source for the [Behandlung] select control should be loaded from the relative URL: "/PatientService/behandlung" (HTTP-GET) The data source for the [DurchgefuehrtVonPersonal] select control should be loaded from the relative URL: "/PatientService/nichtmedizinischespersonal" (HTTP-GET) The data source for the [DurchgefuehrtVonArzt] select control should be loaded from the relative URL: "/PersonService/arzt" (HTTP-GET) The data source for the [Gebuehrenposition] select control should be loaded from the relative URL: "/GebuehrenpositionService/gebuehrenposition" (HTTP-GET) An existing Behandlungsleistung entity should be loaded from the relative URL: "/PatientService/behandlungsleistung/{id}" (HTTP-GET) If a new Behandlungsleistung entity has been created, the new entity should be posted to the relative URL: "/PatientService/behandlungsleistung" (HTTP-POST) If an existing Behandlungsleistung entity has been updated, the modified entity should be sent to the relative URL: "/PatientService/behandlungsleistung/{id}" (HTTP-PUT) If an existing Behandlungsleistung entity has to be deleted, the following relative URL should be called: "/PatientService/behandlungsleistung/{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/behandlungsleistung/{id}" 3. The NichtmedizinischesPersonalView must contain the following fields: - name: Berufsbezeichnung type: STRING - name: Person type: Person The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing NichtmedizinischesPersonal entity should be loaded from the relative URL: "/PatientService/nichtmedizinischespersonal/{id}" (HTTP-GET) If a new NichtmedizinischesPersonal entity has been created, the new entity should be posted to the relative URL: "/PatientService/nichtmedizinischespersonal" (HTTP-POST) If an existing NichtmedizinischesPersonal entity has been updated, the modified entity should be sent to the relative URL: "/PatientService/nichtmedizinischespersonal/{id}" (HTTP-PUT) If an existing NichtmedizinischesPersonal entity has to be deleted, the following relative URL should be called: "/PatientService/nichtmedizinischespersonal/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlungsleistung columns: - column: DurchgefuehrtVonArzt - column: Behandlung - column: Gebuehrenposition - column: DurchgefuehrtVonPersonal - column: Menge - column: Multiplikator The table should have the title "Behandlungsleistungs" und the data must be loaded from the server with the following relative URL: "/PatientService/behandlungsleistung/durchgefuehrtvonpersonal/{id}" 4. The PatientView must contain the following fields: - name: IstObdachlos type: BOOL - name: IstSelbstzahler type: BOOL - name: Person type: Person - name: Versicherungsnummer type: STRING The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing Patient entity should be loaded from the relative URL: "/PatientService/patient/{id}" (HTTP-GET) If a new Patient entity has been created, the new entity should be posted to the relative URL: "/PatientService/patient" (HTTP-POST) If an existing Patient entity has been updated, the modified entity should be sent to the relative URL: "/PatientService/patient/{id}" (HTTP-PUT) If an existing Patient entity has to be deleted, the following relative URL should be called: "/PatientService/patient/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Termin columns: - column: Arzt - column: Praxis - column: DauerMinuten - column: IstTelemedizin - column: Terminzeit - column: Status - column: Patient The table should have the title "Termins" und the data must be loaded from the server with the following relative URL: "/PersonService/termin/patient/{id}" Add a HTML table to the view with the following Behandlung columns: - column: Notizen - column: Praxis - column: Arzt - column: Termin - column: Patient - column: Behandlungsart - column: Behandlungszeit The table should have the title "Behandlungs" und the data must be loaded from the server with the following relative URL: "/PatientService/behandlung/patient/{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/patient/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum