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. IndikationView 2. KurIndikationView 3. PatientView 4. RehaMassnahmeView 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 IndikationView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Indikation entity should be loaded from the relative URL: "/PatientService/indikation/{id}" (HTTP-GET) If a new Indikation entity has been created, the new entity should be posted to the relative URL: "/PatientService/indikation" (HTTP-POST) If an existing Indikation entity has been updated, the modified entity should be sent to the relative URL: "/PatientService/indikation/{id}" (HTTP-PUT) If an existing Indikation entity has to be deleted, the following relative URL should be called: "/PatientService/indikation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KurIndikation columns: - column: Indikation - column: Kur - column: Prioritaet The table should have the title "KurIndikations" und the data must be loaded from the server with the following relative URL: "/PatientService/kurindikation/indikation/{id}" 2. The KurIndikationView must contain the following fields: - name: Indikation type: Indikation - name: Kur type: Kur - name: Prioritaet type: INT The data source for the [Indikation] select control should be loaded from the relative URL: "/PatientService/indikation" (HTTP-GET) The data source for the [Kur] select control should be loaded from the relative URL: "/KurService/kur" (HTTP-GET) An existing KurIndikation entity should be loaded from the relative URL: "/PatientService/kurindikation/{id}" (HTTP-GET) If a new KurIndikation entity has been created, the new entity should be posted to the relative URL: "/PatientService/kurindikation" (HTTP-POST) If an existing KurIndikation entity has been updated, the modified entity should be sent to the relative URL: "/PatientService/kurindikation/{id}" (HTTP-PUT) If an existing KurIndikation entity has to be deleted, the following relative URL should be called: "/PatientService/kurindikation/{id}" (HTTP-DELETE) 3. The PatientView must contain the following fields: - name: Beruf type: STRING - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: Nachname type: STRING - name: Notizen type: STRING - name: Vorname type: STRING 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 Kurantrag columns: - column: Notizen - column: GewuenschterKurtyp - column: Rechtsgrundlage - column: Antragsdatum - column: Arzt - column: KostentraegerTyp - column: Patient - column: Krankenkasse The table should have the title "Kurantrags" und the data must be loaded from the server with the following relative URL: "/KrankenkasseService/kurantrag/patient/{id}" Add a HTML table to the view with the following Kur columns: - column: Startdatum - column: DauerTage - column: Genehmigt - column: Arzt - column: Rechtsgrundlage - column: Name - column: RehaMassnahme - column: Ziel - column: Krankenkasse - column: KostentraegerTyp - column: Kurtyp - column: Patient - column: Anwendungsart - column: Kureinrichtung - column: Beschreibung - column: Enddatum The table should have the title "Kurs" und the data must be loaded from the server with the following relative URL: "/KurService/kur/patient/{id}" 4. The RehaMassnahmeView must contain the following fields: - name: Beschreibung type: STRING - name: DauerTage type: INT - name: Name type: STRING - name: Ziel type: STRING An existing RehaMassnahme entity should be loaded from the relative URL: "/PatientService/rehamassnahme/{id}" (HTTP-GET) If a new RehaMassnahme entity has been created, the new entity should be posted to the relative URL: "/PatientService/rehamassnahme" (HTTP-POST) If an existing RehaMassnahme entity has been updated, the modified entity should be sent to the relative URL: "/PatientService/rehamassnahme/{id}" (HTTP-PUT) If an existing RehaMassnahme entity has to be deleted, the following relative URL should be called: "/PatientService/rehamassnahme/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kur columns: - column: Startdatum - column: DauerTage - column: Genehmigt - column: Arzt - column: Rechtsgrundlage - column: Name - column: RehaMassnahme - column: Ziel - column: Krankenkasse - column: KostentraegerTyp - column: Kurtyp - column: Patient - column: Anwendungsart - column: Kureinrichtung - column: Beschreibung - column: Enddatum The table should have the title "Kurs" und the data must be loaded from the server with the following relative URL: "/KurService/kur/rehamassnahme/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum