Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KostentraegerTypApp
Please create a React-JS application for the KostentraegerTypModule. The application has to offer the following views for the user interface: 1. KostentraegerTypView 2. KostenuebernahmeentscheidungView 3. KrankenkasseView 4. KurantragView 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 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: "/KostentraegerTypService/kostentraegertyp/{id}" (HTTP-GET) If a new KostentraegerTyp entity has been created, the new entity should be posted to the relative URL: "/KostentraegerTypService/kostentraegertyp" (HTTP-POST) If an existing KostentraegerTyp entity has been updated, the modified entity should be sent to the relative URL: "/KostentraegerTypService/kostentraegertyp/{id}" (HTTP-PUT) If an existing KostentraegerTyp entity has to be deleted, the following relative URL should be called: "/KostentraegerTypService/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: "/KostentraegerTypService/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}" 2. The KostenuebernahmeentscheidungView must contain the following fields: - name: Entscheidungsdatum type: DATE - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Kurantrag type: Kurantrag - name: Notizen type: STRING - name: Status type: STRING - name: Zuzahlung type: STRING The data source for the [Kurantrag] select control should be loaded from the relative URL: "/KostentraegerTypService/kurantrag" (HTTP-GET) An existing Kostenuebernahmeentscheidung entity should be loaded from the relative URL: "/KostentraegerTypService/kostenuebernahmeentscheidung/{id}" (HTTP-GET) If a new Kostenuebernahmeentscheidung entity has been created, the new entity should be posted to the relative URL: "/KostentraegerTypService/kostenuebernahmeentscheidung" (HTTP-POST) If an existing Kostenuebernahmeentscheidung entity has been updated, the modified entity should be sent to the relative URL: "/KostentraegerTypService/kostenuebernahmeentscheidung/{id}" (HTTP-PUT) If an existing Kostenuebernahmeentscheidung entity has to be deleted, the following relative URL should be called: "/KostentraegerTypService/kostenuebernahmeentscheidung/{id}" (HTTP-DELETE) 3. The KrankenkasseView must contain the following fields: - name: Kassenpraefix type: STRING - name: Kurzname type: STRING - name: Name type: STRING An existing Krankenkasse entity should be loaded from the relative URL: "/KostentraegerTypService/krankenkasse/{id}" (HTTP-GET) If a new Krankenkasse entity has been created, the new entity should be posted to the relative URL: "/KostentraegerTypService/krankenkasse" (HTTP-POST) If an existing Krankenkasse entity has been updated, the modified entity should be sent to the relative URL: "/KostentraegerTypService/krankenkasse/{id}" (HTTP-PUT) If an existing Krankenkasse entity has to be deleted, the following relative URL should be called: "/KostentraegerTypService/krankenkasse/{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/krankenkasse/{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/krankenkasse/{id}" 4. The KurantragView must contain the following fields: - name: Antragsdatum type: DATE - name: Arzt type: Arzt - name: GewuenschterKurtyp type: Kurtyp - name: KostentraegerTyp type: KostentraegerTyp - name: Krankenkasse type: Krankenkasse - name: Notizen type: STRING - name: Patient type: Patient - name: Rechtsgrundlage type: Rechtsgrundlage The data source for the [Rechtsgrundlage] select control should be loaded from the relative URL: "/KurService/rechtsgrundlage" (HTTP-GET) The data source for the [GewuenschterKurtyp] select control should be loaded from the relative URL: "/KurtypService/kurtyp" (HTTP-GET) The data source for the [Arzt] select control should be loaded from the relative URL: "/ArztService/arzt" (HTTP-GET) The data source for the [Krankenkasse] select control should be loaded from the relative URL: "/KostentraegerTypService/krankenkasse" (HTTP-GET) The data source for the [Patient] select control should be loaded from the relative URL: "/ArztService/patient" (HTTP-GET) The data source for the [KostentraegerTyp] select control should be loaded from the relative URL: "/KostentraegerTypService/kostentraegertyp" (HTTP-GET) An existing Kurantrag entity should be loaded from the relative URL: "/KostentraegerTypService/kurantrag/{id}" (HTTP-GET) If a new Kurantrag entity has been created, the new entity should be posted to the relative URL: "/KostentraegerTypService/kurantrag" (HTTP-POST) If an existing Kurantrag entity has been updated, the modified entity should be sent to the relative URL: "/KostentraegerTypService/kurantrag/{id}" (HTTP-PUT) If an existing Kurantrag entity has to be deleted, the following relative URL should be called: "/KostentraegerTypService/kurantrag/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kostenuebernahmeentscheidung columns: - column: Entscheidungsdatum - column: GueltigBis - column: Zuzahlung - column: Notizen - column: Kurantrag - column: Status - column: GueltigVon The table should have the title "Kostenuebernahmeentscheidungs" und the data must be loaded from the server with the following relative URL: "/KostentraegerTypService/kostenuebernahmeentscheidung/kurantrag/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum