Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BewohnerApp
Please create a React-JS application for the BewohnerModule. The application has to offer the following views for the user interface: 1. BewohnerView 2. PflegekasseView 3. QualifikationView 4. ZahlungView 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 BewohnerView must contain the following fields: - name: AktuellerPflegestatus type: STRING - name: Auszugsdatum type: DATE - name: Einzugsdatum type: DATE - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: HatAngehoerigeDieZahlen type: BOOL - name: Nachname type: STRING - name: Pflegegrad type: Pflegegrad - name: Pflegeheim type: Pflegeheim - name: Pflegekasse type: Pflegekasse - name: Sozialhilfetraeger type: Sozialhilfetraeger - name: Sterbedatum type: DATE - name: Vorname type: STRING The data source for the [Pflegeheim] select control should be loaded from the relative URL: "/PflegeheimService/pflegeheim" (HTTP-GET) The data source for the [Pflegegrad] select control should be loaded from the relative URL: "/PflegegradService/pflegegrad" (HTTP-GET) The data source for the [Sozialhilfetraeger] select control should be loaded from the relative URL: "/TraegerService/sozialhilfetraeger" (HTTP-GET) The data source for the [Pflegekasse] select control should be loaded from the relative URL: "/BewohnerService/pflegekasse" (HTTP-GET) An existing Bewohner entity should be loaded from the relative URL: "/BewohnerService/bewohner/{id}" (HTTP-GET) If a new Bewohner entity has been created, the new entity should be posted to the relative URL: "/BewohnerService/bewohner" (HTTP-POST) If an existing Bewohner entity has been updated, the modified entity should be sent to the relative URL: "/BewohnerService/bewohner/{id}" (HTTP-PUT) If an existing Bewohner entity has to be deleted, the following relative URL should be called: "/BewohnerService/bewohner/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Heimvertrag columns: - column: Pflegeplatz - column: Bemessungsdatum - column: Bewohner - column: Vertragsbeginn - column: EinheitlicherEigenanteilMonat - column: GesamtheimentgeltMonat - column: AusbildungsumlageMonat - column: Aktuell - column: Pflegeart - column: Vertragsende - column: PflegesatzMonat - column: UnterkunftVerpflegungMonat - column: InvestitionskostenMonat The table should have the title "Heimvertrags" und the data must be loaded from the server with the following relative URL: "/PflegeartService/heimvertrag/bewohner/{id}" Add a HTML table to the view with the following Zahlung columns: - column: Zahlungsart - column: Heimvertrag - column: Betrag - column: Zahlungsdatum - column: Bewohner - column: LeistenderTyp - column: Bemerkung The table should have the title "Zahlungs" und the data must be loaded from the server with the following relative URL: "/BewohnerService/zahlung/bewohner/{id}" 2. The PflegekasseView must contain the following fields: - name: Bundesland type: Bundesland - name: Kassenart type: STRING - name: Name type: STRING The data source for the [Bundesland] select control should be loaded from the relative URL: "/BundeslandService/bundesland" (HTTP-GET) An existing Pflegekasse entity should be loaded from the relative URL: "/BewohnerService/pflegekasse/{id}" (HTTP-GET) If a new Pflegekasse entity has been created, the new entity should be posted to the relative URL: "/BewohnerService/pflegekasse" (HTTP-POST) If an existing Pflegekasse entity has been updated, the modified entity should be sent to the relative URL: "/BewohnerService/pflegekasse/{id}" (HTTP-PUT) If an existing Pflegekasse entity has to be deleted, the following relative URL should be called: "/BewohnerService/pflegekasse/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Bewohner columns: - column: Pflegeheim - column: Sterbedatum - column: Geburtsdatum - column: Sozialhilfetraeger - column: Pflegekasse - column: Auszugsdatum - column: AktuellerPflegestatus - column: HatAngehoerigeDieZahlen - column: Einzugsdatum - column: Geschlecht - column: Pflegegrad - column: Nachname - column: Vorname The table should have the title "Bewohners" und the data must be loaded from the server with the following relative URL: "/BewohnerService/bewohner/pflegekasse/{id}" 3. The QualifikationView must contain the following fields: - name: AusbildungsdauerJahre type: INT - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Code type: STRING An existing Qualifikation entity should be loaded from the relative URL: "/BewohnerService/qualifikation/{id}" (HTTP-GET) If a new Qualifikation entity has been created, the new entity should be posted to the relative URL: "/BewohnerService/qualifikation" (HTTP-POST) If an existing Qualifikation entity has been updated, the modified entity should be sent to the relative URL: "/BewohnerService/qualifikation/{id}" (HTTP-PUT) If an existing Qualifikation entity has to be deleted, the following relative URL should be called: "/BewohnerService/qualifikation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Personal columns: - column: Qualifikation - column: Geburtsdatum - column: BeschaeftigtBis - column: Nachname - column: Fachkraft - column: Pflegeheim - column: Vorname - column: Vollzeitaequivalent - column: BeschaeftigtSeit The table should have the title "Personals" und the data must be loaded from the server with the following relative URL: "/PflegeheimService/personal/qualifikation/{id}" 4. The ZahlungView must contain the following fields: - name: Bemerkung type: STRING - name: Betrag type: DOUBLE - name: Bewohner type: Bewohner - name: Heimvertrag type: Heimvertrag - name: LeistenderTyp type: STRING - name: Zahlungsart type: STRING - name: Zahlungsdatum type: DATE The data source for the [Heimvertrag] select control should be loaded from the relative URL: "/PflegeartService/heimvertrag" (HTTP-GET) The data source for the [Bewohner] select control should be loaded from the relative URL: "/BewohnerService/bewohner" (HTTP-GET) An existing Zahlung entity should be loaded from the relative URL: "/BewohnerService/zahlung/{id}" (HTTP-GET) If a new Zahlung entity has been created, the new entity should be posted to the relative URL: "/BewohnerService/zahlung" (HTTP-POST) If an existing Zahlung entity has been updated, the modified entity should be sent to the relative URL: "/BewohnerService/zahlung/{id}" (HTTP-PUT) If an existing Zahlung entity has to be deleted, the following relative URL should be called: "/BewohnerService/zahlung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum