Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PflegeplanApp
Please create a React-JS application for the PflegeplanModule. The application has to offer the following views for the user interface: 1. PflegeplanView 2. PflegeplanEintragView 3. QualifikationView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The PflegeplanView must contain the following fields: - name: AktualisiertAm type: DATE - name: ErstelltAm type: DATE - name: ErstelltVonMitarbeiter type: Mitarbeiter - name: Klient type: Klient - name: Planstatus type: STRING - name: RisikoEinschaetzung type: STRING - name: Zielbeschreibung type: STRING The data source for the [Klient] select control should be loaded from the relative URL: "/KlientService/klient" (HTTP-GET) The data source for the [ErstelltVonMitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) An existing Pflegeplan entity should be loaded from the relative URL: "/PflegeplanService/pflegeplan/{id}" (HTTP-GET) If a new Pflegeplan entity has been created, the new entity should be posted to the relative URL: "/PflegeplanService/pflegeplan" (HTTP-POST) If an existing Pflegeplan entity has been updated, the modified entity should be sent to the relative URL: "/PflegeplanService/pflegeplan/{id}" (HTTP-PUT) If an existing Pflegeplan entity has to be deleted, the following relative URL should be called: "/PflegeplanService/pflegeplan/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PflegeplanEintrag columns: - column: IndividuelleBeschreibung - column: Pflegeplan - column: ErfordertAerztlicheVerordnung - column: GeplanteDauerMinuten - column: Prioritaet - column: LeistungskatalogEintrag - column: Frequenzmuster The table should have the title "PflegeplanEintrags" und the data must be loaded from the server with the following relative URL: "/PflegeplanService/pflegeplaneintrag/pflegeplan/{id}" 2. The PflegeplanEintragView must contain the following fields: - name: ErfordertAerztlicheVerordnung type: BOOL - name: Frequenzmuster type: STRING - name: GeplanteDauerMinuten type: LONG - name: IndividuelleBeschreibung type: STRING - name: LeistungskatalogEintrag type: LeistungskatalogEintrag - name: Pflegeplan type: Pflegeplan - name: Prioritaet type: LONG The data source for the [Pflegeplan] select control should be loaded from the relative URL: "/PflegeplanService/pflegeplan" (HTTP-GET) The data source for the [LeistungskatalogEintrag] select control should be loaded from the relative URL: "/PflegedienstService/leistungskatalogeintrag" (HTTP-GET) An existing PflegeplanEintrag entity should be loaded from the relative URL: "/PflegeplanService/pflegeplaneintrag/{id}" (HTTP-GET) If a new PflegeplanEintrag entity has been created, the new entity should be posted to the relative URL: "/PflegeplanService/pflegeplaneintrag" (HTTP-POST) If an existing PflegeplanEintrag entity has been updated, the modified entity should be sent to the relative URL: "/PflegeplanService/pflegeplaneintrag/{id}" (HTTP-PUT) If an existing PflegeplanEintrag entity has to be deleted, the following relative URL should be called: "/PflegeplanService/pflegeplaneintrag/{id}" (HTTP-DELETE) 3. The QualifikationView must contain the following fields: - name: ErfordertStaatlicheAnerkennung type: BOOL - name: Kategorie type: STRING - name: Qualifikationsname type: STRING An existing Qualifikation entity should be loaded from the relative URL: "/PflegeplanService/qualifikation/{id}" (HTTP-GET) If a new Qualifikation entity has been created, the new entity should be posted to the relative URL: "/PflegeplanService/qualifikation" (HTTP-POST) If an existing Qualifikation entity has been updated, the modified entity should be sent to the relative URL: "/PflegeplanService/qualifikation/{id}" (HTTP-PUT) If an existing Qualifikation entity has to be deleted, the following relative URL should be called: "/PflegeplanService/qualifikation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MitarbeiterQualifikation columns: - column: GueltigBis - column: ZertifikatReferenz - column: Mitarbeiter - column: Erwerbsdatum - column: Qualifikation The table should have the title "MitarbeiterQualifikations" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/mitarbeiterqualifikation/qualifikation/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum