Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KurApp
Please create a React-JS application for the KurModule. The application has to offer the following views for the user interface: 1. AnwendungsartView 2. KostentraegerTypView 3. KurView 4. RechtsgrundlageView 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 AnwendungsartView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Anwendungsart entity should be loaded from the relative URL: "/KurService/anwendungsart/{id}" (HTTP-GET) If a new Anwendungsart entity has been created, the new entity should be posted to the relative URL: "/KurService/anwendungsart" (HTTP-POST) If an existing Anwendungsart entity has been updated, the modified entity should be sent to the relative URL: "/KurService/anwendungsart/{id}" (HTTP-PUT) If an existing Anwendungsart entity has to be deleted, the following relative URL should be called: "/KurService/anwendungsart/{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/anwendungsart/{id}" 2. The KostentraegerTypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing KostentraegerTyp entity should be loaded from the relative URL: "/KurService/kostentraegertyp/{id}" (HTTP-GET) If a new KostentraegerTyp entity has been created, the new entity should be posted to the relative URL: "/KurService/kostentraegertyp" (HTTP-POST) If an existing KostentraegerTyp entity has been updated, the modified entity should be sent to the relative URL: "/KurService/kostentraegertyp/{id}" (HTTP-PUT) If an existing KostentraegerTyp entity has to be deleted, the following relative URL should be called: "/KurService/kostentraegertyp/{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/kostentraegertyp/{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/kostentraegertyp/{id}" 3. The KurView must contain the following fields: - name: Anwendungsart type: Anwendungsart - name: Arzt type: Arzt - name: Beschreibung type: STRING - name: DauerTage type: INT - name: Enddatum type: DATE - name: Genehmigt type: BOOL - name: KostentraegerTyp type: KostentraegerTyp - name: Krankenkasse type: Krankenkasse - name: Kureinrichtung type: Kureinrichtung - name: Kurtyp type: Kurtyp - name: Name type: STRING - name: Patient type: Patient - name: Rechtsgrundlage type: Rechtsgrundlage - name: RehaMassnahme type: RehaMassnahme - name: Startdatum type: DATE - name: Ziel type: STRING The data source for the [Anwendungsart] select control should be loaded from the relative URL: "/KurService/anwendungsart" (HTTP-GET) The data source for the [Kurtyp] select control should be loaded from the relative URL: "/KurtypService/kurtyp" (HTTP-GET) The data source for the [Rechtsgrundlage] select control should be loaded from the relative URL: "/KurService/rechtsgrundlage" (HTTP-GET) The data source for the [Arzt] select control should be loaded from the relative URL: "/KurtypService/arzt" (HTTP-GET) The data source for the [Kureinrichtung] select control should be loaded from the relative URL: "/KureinrichtungService/kureinrichtung" (HTTP-GET) The data source for the [Krankenkasse] select control should be loaded from the relative URL: "/KrankenkasseService/krankenkasse" (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 [RehaMassnahme] select control should be loaded from the relative URL: "/PatientService/rehamassnahme" (HTTP-GET) The data source for the [KostentraegerTyp] select control should be loaded from the relative URL: "/KurService/kostentraegertyp" (HTTP-GET) An existing Kur entity should be loaded from the relative URL: "/KurService/kur/{id}" (HTTP-GET) If a new Kur entity has been created, the new entity should be posted to the relative URL: "/KurService/kur" (HTTP-POST) If an existing Kur entity has been updated, the modified entity should be sent to the relative URL: "/KurService/kur/{id}" (HTTP-PUT) If an existing Kur entity has to be deleted, the following relative URL should be called: "/KurService/kur/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KurKontraindikation columns: - column: Notizen - column: Kontraindikation - column: Kur The table should have the title "KurKontraindikations" und the data must be loaded from the server with the following relative URL: "/KontraindikationService/kurkontraindikation/kur/{id}" Add a HTML table to the view with the following KurHeilmittel columns: - column: Anwendungsbeschreibung - column: Kur - column: Heilmittel The table should have the title "KurHeilmittels" und the data must be loaded from the server with the following relative URL: "/KrankenkasseService/kurheilmittel/kur/{id}" 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/kur/{id}" 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/kur/{id}" 4. The RechtsgrundlageView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Gesetzestext type: STRING - name: Name type: STRING An existing Rechtsgrundlage entity should be loaded from the relative URL: "/KurService/rechtsgrundlage/{id}" (HTTP-GET) If a new Rechtsgrundlage entity has been created, the new entity should be posted to the relative URL: "/KurService/rechtsgrundlage" (HTTP-POST) If an existing Rechtsgrundlage entity has been updated, the modified entity should be sent to the relative URL: "/KurService/rechtsgrundlage/{id}" (HTTP-PUT) If an existing Rechtsgrundlage entity has to be deleted, the following relative URL should be called: "/KurService/rechtsgrundlage/{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/rechtsgrundlage/{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/rechtsgrundlage/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum