Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KurtypApp
Please create a React-JS application for the KurtypModule. The application has to offer the following views for the user interface: 1. ArztView 2. KurtypView 3. TherapieartView 4. TherapiesitzungView 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: "/KurtypService/arzt/{id}" (HTTP-GET) If a new Arzt entity has been created, the new entity should be posted to the relative URL: "/KurtypService/arzt" (HTTP-POST) If an existing Arzt entity has been updated, the modified entity should be sent to the relative URL: "/KurtypService/arzt/{id}" (HTTP-PUT) If an existing Arzt entity has to be deleted, the following relative URL should be called: "/KurtypService/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: "/KrankenkasseService/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 KurtypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING - name: Praeventiv type: BOOL - name: Rehabilitativ type: BOOL An existing Kurtyp entity should be loaded from the relative URL: "/KurtypService/kurtyp/{id}" (HTTP-GET) If a new Kurtyp entity has been created, the new entity should be posted to the relative URL: "/KurtypService/kurtyp" (HTTP-POST) If an existing Kurtyp entity has been updated, the modified entity should be sent to the relative URL: "/KurtypService/kurtyp/{id}" (HTTP-PUT) If an existing Kurtyp entity has to be deleted, the following relative URL should be called: "/KurtypService/kurtyp/{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/gewuenschterkurtyp/{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/kurtyp/{id}" Add a HTML table to the view with the following KurtypHistorischerAspekt columns: - column: HistorischerAspekt - column: Notizen - column: Kurtyp The table should have the title "KurtypHistorischerAspekts" und the data must be loaded from the server with the following relative URL: "/HistorischerAspektService/kurtyphistorischeraspekt/kurtyp/{id}" 3. The TherapieartView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING - name: Paedagogisch type: BOOL - name: Physisch type: BOOL - name: Psychologisch type: BOOL An existing Therapieart entity should be loaded from the relative URL: "/KurtypService/therapieart/{id}" (HTTP-GET) If a new Therapieart entity has been created, the new entity should be posted to the relative URL: "/KurtypService/therapieart" (HTTP-POST) If an existing Therapieart entity has been updated, the modified entity should be sent to the relative URL: "/KurtypService/therapieart/{id}" (HTTP-PUT) If an existing Therapieart entity has to be deleted, the following relative URL should be called: "/KurtypService/therapieart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Therapiesitzung columns: - column: Kur - column: Therapieart - column: Notizen - column: DauerMinuten - column: Zeitpunkt - column: Intensitaet The table should have the title "Therapiesitzungs" und the data must be loaded from the server with the following relative URL: "/KurtypService/therapiesitzung/therapieart/{id}" 4. The TherapiesitzungView must contain the following fields: - name: DauerMinuten type: INT - name: Intensitaet type: STRING - name: Kur type: Kur - name: Notizen type: STRING - name: Therapieart type: Therapieart - name: Zeitpunkt type: DATE The data source for the [Kur] select control should be loaded from the relative URL: "/KurService/kur" (HTTP-GET) The data source for the [Therapieart] select control should be loaded from the relative URL: "/KurtypService/therapieart" (HTTP-GET) An existing Therapiesitzung entity should be loaded from the relative URL: "/KurtypService/therapiesitzung/{id}" (HTTP-GET) If a new Therapiesitzung entity has been created, the new entity should be posted to the relative URL: "/KurtypService/therapiesitzung" (HTTP-POST) If an existing Therapiesitzung entity has been updated, the modified entity should be sent to the relative URL: "/KurtypService/therapiesitzung/{id}" (HTTP-PUT) If an existing Therapiesitzung entity has to be deleted, the following relative URL should be called: "/KurtypService/therapiesitzung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum