Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
OrtApp
Please create a React-JS application for the OrtModule. The application has to offer the following views for the user interface: 1. KlientVersicherungView 2. OrtView 3. TarifView 4. VersicherungView 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 KlientVersicherungView must contain the following fields: - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: IstPrimaer type: BOOL - name: Klient type: Klient - name: Versicherung type: Versicherung - name: Versicherungsart type: STRING - name: Versicherungsnummer type: STRING The data source for the [Versicherung] select control should be loaded from the relative URL: "/OrtService/versicherung" (HTTP-GET) The data source for the [Klient] select control should be loaded from the relative URL: "/KlientService/klient" (HTTP-GET) An existing KlientVersicherung entity should be loaded from the relative URL: "/OrtService/klientversicherung/{id}" (HTTP-GET) If a new KlientVersicherung entity has been created, the new entity should be posted to the relative URL: "/OrtService/klientversicherung" (HTTP-POST) If an existing KlientVersicherung entity has been updated, the modified entity should be sent to the relative URL: "/OrtService/klientversicherung/{id}" (HTTP-PUT) If an existing KlientVersicherung entity has to be deleted, the following relative URL should be called: "/OrtService/klientversicherung/{id}" (HTTP-DELETE) 2. The OrtView must contain the following fields: - name: Adresszusatz type: STRING - name: Breitengrad type: STRING - name: Hausnummer type: STRING - name: Laengengrad type: STRING - name: Land type: STRING - name: Postleitzahl type: STRING - name: Stadt type: STRING - name: Strasse type: STRING An existing Ort entity should be loaded from the relative URL: "/OrtService/ort/{id}" (HTTP-GET) If a new Ort entity has been created, the new entity should be posted to the relative URL: "/OrtService/ort" (HTTP-POST) If an existing Ort entity has been updated, the modified entity should be sent to the relative URL: "/OrtService/ort/{id}" (HTTP-PUT) If an existing Ort entity has to be deleted, the following relative URL should be called: "/OrtService/ort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PflegedienstStandort columns: - column: Telefonnummer - column: EmailAdresse - column: IstAktiv - column: Pflegedienst - column: Ort - column: IstHauptstandort - column: Standortname The table should have the title "PflegedienstStandorts" und the data must be loaded from the server with the following relative URL: "/PflegedienstStandortService/pflegedienststandort/ort/{id}" Add a HTML table to the view with the following Versicherung columns: - column: OffiziellerName - column: Ort - column: Versicherungstyp - column: Telefonnummer - column: AbrechnungsportalUrl - column: Kurzname - column: EmailAdresse The table should have the title "Versicherungs" und the data must be loaded from the server with the following relative URL: "/OrtService/versicherung/ort/{id}" Add a HTML table to the view with the following Pflegedienst columns: - column: Pflegediensttyp - column: IstZugelassenSgbV - column: HauptstandortOrt - column: IstZugelassenSgbXI - column: WebseiteUrl - column: IstAktiv - column: OffiziellerName - column: Telefonnummer - column: Kurzname - column: IstGemeinnuetzig - column: EmailAdresse - column: Rechtsform - column: Startdatum - column: IstKirchlich - column: Traegerorganisation - column: Enddatum The table should have the title "Pflegediensts" und the data must be loaded from the server with the following relative URL: "/PflegedienstService/pflegedienst/hauptstandortort/{id}" Add a HTML table to the view with the following Traegerorganisation columns: - column: HauptsitzOrt - column: Traegertyp - column: Steuernummer - column: Rechtsform - column: IstKirchlich - column: Registrierungsnummer - column: Kurzname - column: IstGemeinnuetzig - column: IstAktiv - column: OffiziellerName The table should have the title "Traegerorganisations" und the data must be loaded from the server with the following relative URL: "/RechtsformService/traegerorganisation/hauptsitzort/{id}" Add a HTML table to the view with the following Klient columns: - column: IstVerstorben - column: Pflegedienst - column: Geburtsdatum - column: Pflegegrad - column: Lebenssituation - column: Nachname - column: EmailAdresse - column: Familienstand - column: Geschlecht - column: GesetzlicherBetreuer - column: Hauptstandort - column: Sterbedatum - column: Hauptdiagnose - column: Wohnort - column: Telefonnummer - column: Vorname The table should have the title "Klients" und the data must be loaded from the server with the following relative URL: "/KlientService/klient/wohnort/{id}" 3. The TarifView must contain the following fields: - name: Einheit type: STRING - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: LeistungskatalogEintrag type: LeistungskatalogEintrag - name: Preis type: STRING - name: Tarifname type: STRING - name: Versicherung type: Versicherung The data source for the [Versicherung] select control should be loaded from the relative URL: "/OrtService/versicherung" (HTTP-GET) The data source for the [LeistungskatalogEintrag] select control should be loaded from the relative URL: "/PflegedienstService/leistungskatalogeintrag" (HTTP-GET) An existing Tarif entity should be loaded from the relative URL: "/OrtService/tarif/{id}" (HTTP-GET) If a new Tarif entity has been created, the new entity should be posted to the relative URL: "/OrtService/tarif" (HTTP-POST) If an existing Tarif entity has been updated, the modified entity should be sent to the relative URL: "/OrtService/tarif/{id}" (HTTP-PUT) If an existing Tarif entity has to be deleted, the following relative URL should be called: "/OrtService/tarif/{id}" (HTTP-DELETE) 4. The VersicherungView must contain the following fields: - name: AbrechnungsportalUrl type: STRING - name: EmailAdresse type: STRING - name: Kurzname type: STRING - name: OffiziellerName type: STRING - name: Ort type: Ort - name: Telefonnummer type: STRING - name: Versicherungstyp type: STRING The data source for the [Ort] select control should be loaded from the relative URL: "/OrtService/ort" (HTTP-GET) An existing Versicherung entity should be loaded from the relative URL: "/OrtService/versicherung/{id}" (HTTP-GET) If a new Versicherung entity has been created, the new entity should be posted to the relative URL: "/OrtService/versicherung" (HTTP-POST) If an existing Versicherung entity has been updated, the modified entity should be sent to the relative URL: "/OrtService/versicherung/{id}" (HTTP-PUT) If an existing Versicherung entity has to be deleted, the following relative URL should be called: "/OrtService/versicherung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KlientVersicherung columns: - column: Versicherungsart - column: Versicherung - column: GueltigBis - column: Klient - column: IstPrimaer - column: Versicherungsnummer - column: GueltigVon The table should have the title "KlientVersicherungs" und the data must be loaded from the server with the following relative URL: "/OrtService/klientversicherung/versicherung/{id}" Add a HTML table to the view with the following Rechnung columns: - column: Gesamtbetrag - column: Versicherung - column: Pflegedienst - column: AbrechnungszeitraumBis - column: Rechnungsnummer - column: Rechnungsstatus - column: AbrechnungszeitraumVon - column: Rechnungsdatum - column: Klient - column: Faelligkeitsdatum The table should have the title "Rechnungs" und the data must be loaded from the server with the following relative URL: "/KlientService/rechnung/versicherung/{id}" Add a HTML table to the view with the following Tarif columns: - column: Einheit - column: Preis - column: Tarifname - column: GueltigVon - column: GueltigBis - column: LeistungskatalogEintrag - column: Versicherung The table should have the title "Tarifs" und the data must be loaded from the server with the following relative URL: "/OrtService/tarif/versicherung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum