Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ArztApp
Please create a React-JS application for the ArztModule. The application has to offer the following views for the user interface: 1. ArztView 2. IndikationView 3. KurIndikationView 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 ArztView must contain the following fields: - name: Fachgebiet type: STRING - name: Nachname type: STRING - name: Registrierungsnummer type: STRING - name: Titel type: STRING - name: Vorname type: STRING An existing Arzt entity should be loaded from the relative URL: "/ArztService/arzt/{id}" (HTTP-GET) If a new Arzt entity has been created, the new entity should be posted to the relative URL: "/ArztService/arzt" (HTTP-POST) If an existing Arzt entity has been updated, the modified entity should be sent to the relative URL: "/ArztService/arzt/{id}" (HTTP-PUT) If an existing Arzt entity has to be deleted, the following relative URL should be called: "/ArztService/arzt/{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: "/KostentraegerTypService/kurantrag/arzt/{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/arzt/{id}" 2. 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: "/ArztService/indikation/{id}" (HTTP-GET) If a new Indikation entity has been created, the new entity should be posted to the relative URL: "/ArztService/indikation" (HTTP-POST) If an existing Indikation entity has been updated, the modified entity should be sent to the relative URL: "/ArztService/indikation/{id}" (HTTP-PUT) If an existing Indikation entity has to be deleted, the following relative URL should be called: "/ArztService/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: "/ArztService/kurindikation/indikation/{id}" 3. 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: "/ArztService/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: "/ArztService/kurindikation/{id}" (HTTP-GET) If a new KurIndikation entity has been created, the new entity should be posted to the relative URL: "/ArztService/kurindikation" (HTTP-POST) If an existing KurIndikation entity has been updated, the modified entity should be sent to the relative URL: "/ArztService/kurindikation/{id}" (HTTP-PUT) If an existing KurIndikation entity has to be deleted, the following relative URL should be called: "/ArztService/kurindikation/{id}" (HTTP-DELETE) 4. 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: "/ArztService/patient/{id}" (HTTP-GET) If a new Patient entity has been created, the new entity should be posted to the relative URL: "/ArztService/patient" (HTTP-POST) If an existing Patient entity has been updated, the modified entity should be sent to the relative URL: "/ArztService/patient/{id}" (HTTP-PUT) If an existing Patient entity has to be deleted, the following relative URL should be called: "/ArztService/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: "/KostentraegerTypService/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}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum