Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PflegepersonApp
Please create a React-JS application for the PflegepersonModule. The application has to offer the following views for the user interface: 1. PflegeerlaubnisView 2. PflegepersonView 3. TaetigkeitsuntersagungView 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 PflegeerlaubnisView must contain the following fields: - name: Erteilungsdatum type: DATE - name: Pflegeperson type: Pflegeperson - name: RechtsgrundlageParagraf type: STRING - name: Ruecknahmedatum type: DATE - name: Widerrufsdatum type: DATE The data source for the [Pflegeperson] select control should be loaded from the relative URL: "/PflegepersonService/pflegeperson" (HTTP-GET) An existing Pflegeerlaubnis entity should be loaded from the relative URL: "/PflegepersonService/pflegeerlaubnis/{id}" (HTTP-GET) If a new Pflegeerlaubnis entity has been created, the new entity should be posted to the relative URL: "/PflegepersonService/pflegeerlaubnis" (HTTP-POST) If an existing Pflegeerlaubnis entity has been updated, the modified entity should be sent to the relative URL: "/PflegepersonService/pflegeerlaubnis/{id}" (HTTP-PUT) If an existing Pflegeerlaubnis entity has to be deleted, the following relative URL should be called: "/PflegepersonService/pflegeerlaubnis/{id}" (HTTP-DELETE) 2. The PflegepersonView must contain the following fields: - name: AktivBis type: DATE - name: AktivSeit type: DATE - name: Beschreibung type: STRING - name: JugendamtZustaendig type: Jugendamt - name: Person type: Person - name: Qualifikation type: STRING The data source for the [JugendamtZustaendig] select control should be loaded from the relative URL: "/JugendamtService/jugendamt" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing Pflegeperson entity should be loaded from the relative URL: "/PflegepersonService/pflegeperson/{id}" (HTTP-GET) If a new Pflegeperson entity has been created, the new entity should be posted to the relative URL: "/PflegepersonService/pflegeperson" (HTTP-POST) If an existing Pflegeperson entity has been updated, the modified entity should be sent to the relative URL: "/PflegepersonService/pflegeperson/{id}" (HTTP-PUT) If an existing Pflegeperson entity has to be deleted, the following relative URL should be called: "/PflegepersonService/pflegeperson/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Pflegeerlaubnis columns: - column: Widerrufsdatum - column: RechtsgrundlageParagraf - column: Erteilungsdatum - column: Ruecknahmedatum - column: Pflegeperson The table should have the title "Pflegeerlaubniss" und the data must be loaded from the server with the following relative URL: "/PflegepersonService/pflegeerlaubnis/pflegeperson/{id}" Add a HTML table to the view with the following InobhutnahmeFall columns: - column: Pflegeperson - column: Beginn - column: GerichtlicheEntscheidung - column: GerichtlicheEntscheidungErforderlich - column: Einrichtung - column: Jugendamt - column: Grund - column: Unterbringungsart - column: Familie - column: Ende - column: GegenWillenSorgeberechtigter - column: BetroffenePerson The table should have the title "InobhutnahmeFalls" und the data must be loaded from the server with the following relative URL: "/FreierTraegerService/inobhutnahmefall/pflegeperson/{id}" 3. The TaetigkeitsuntersagungView must contain the following fields: - name: BetroffenePerson type: Person - name: Datum type: DATE - name: Einrichtung type: Einrichtung - name: Grund type: STRING - name: Jugendamt type: Jugendamt - name: RechtsgrundlageParagraf type: STRING The data source for the [Jugendamt] select control should be loaded from the relative URL: "/JugendamtService/jugendamt" (HTTP-GET) The data source for the [BetroffenePerson] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) The data source for the [Einrichtung] select control should be loaded from the relative URL: "/EinrichtungService/einrichtung" (HTTP-GET) An existing Taetigkeitsuntersagung entity should be loaded from the relative URL: "/PflegepersonService/taetigkeitsuntersagung/{id}" (HTTP-GET) If a new Taetigkeitsuntersagung entity has been created, the new entity should be posted to the relative URL: "/PflegepersonService/taetigkeitsuntersagung" (HTTP-POST) If an existing Taetigkeitsuntersagung entity has been updated, the modified entity should be sent to the relative URL: "/PflegepersonService/taetigkeitsuntersagung/{id}" (HTTP-PUT) If an existing Taetigkeitsuntersagung entity has to be deleted, the following relative URL should be called: "/PflegepersonService/taetigkeitsuntersagung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum