Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PflegedienstStandortApp
Please create a React-JS application for the PflegedienstStandortModule. The application has to offer the following views for the user interface: 1. PflegedienstStandortView 2. RolleView 3. RollenZuweisungView 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 PflegedienstStandortView must contain the following fields: - name: EmailAdresse type: STRING - name: IstAktiv type: BOOL - name: IstHauptstandort type: BOOL - name: Ort type: Ort - name: Pflegedienst type: Pflegedienst - name: Standortname type: STRING - name: Telefonnummer type: STRING The data source for the [Ort] select control should be loaded from the relative URL: "/OrtService/ort" (HTTP-GET) The data source for the [Pflegedienst] select control should be loaded from the relative URL: "/PflegedienstService/pflegedienst" (HTTP-GET) An existing PflegedienstStandort entity should be loaded from the relative URL: "/PflegedienstStandortService/pflegedienststandort/{id}" (HTTP-GET) If a new PflegedienstStandort entity has been created, the new entity should be posted to the relative URL: "/PflegedienstStandortService/pflegedienststandort" (HTTP-POST) If an existing PflegedienstStandort entity has been updated, the modified entity should be sent to the relative URL: "/PflegedienstStandortService/pflegedienststandort/{id}" (HTTP-PUT) If an existing PflegedienstStandort entity has to be deleted, the following relative URL should be called: "/PflegedienstStandortService/pflegedienststandort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RollenZuweisung columns: - column: VonDatum - column: Rolle - column: BisDatum - column: PflegedienstStandort - column: Mitarbeiter The table should have the title "RollenZuweisungs" und the data must be loaded from the server with the following relative URL: "/PflegedienstStandortService/rollenzuweisung/pflegedienststandort/{id}" Add a HTML table to the view with the following Einsatz columns: - column: Abbruchgrund - column: GeplantStart - column: PflegedienstStandort - column: GeplantEnde - column: Einsatzstatus - column: Klient - column: TatsaechlichEnde - column: VerantwortlicherMitarbeiter - column: TatsaechlichStart The table should have the title "Einsatzs" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/einsatz/pflegedienststandort/{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/hauptstandort/{id}" Add a HTML table to the view with the following Mitarbeiter columns: - column: IstPflegedienstleitung - column: Person - column: Hauptstandort - column: Einstellungsdatum - column: Pflegedienst - column: Wochenstunden - column: IstLeitung - column: Beschaeftigungsart - column: IstAktiv - column: Austrittsdatum The table should have the title "Mitarbeiters" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/mitarbeiter/hauptstandort/{id}" 2. The RolleView must contain the following fields: - name: Rollenbeschreibung type: STRING - name: Rollenname type: STRING An existing Rolle entity should be loaded from the relative URL: "/PflegedienstStandortService/rolle/{id}" (HTTP-GET) If a new Rolle entity has been created, the new entity should be posted to the relative URL: "/PflegedienstStandortService/rolle" (HTTP-POST) If an existing Rolle entity has been updated, the modified entity should be sent to the relative URL: "/PflegedienstStandortService/rolle/{id}" (HTTP-PUT) If an existing Rolle entity has to be deleted, the following relative URL should be called: "/PflegedienstStandortService/rolle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RollenZuweisung columns: - column: VonDatum - column: Rolle - column: BisDatum - column: PflegedienstStandort - column: Mitarbeiter The table should have the title "RollenZuweisungs" und the data must be loaded from the server with the following relative URL: "/PflegedienstStandortService/rollenzuweisung/rolle/{id}" 3. The RollenZuweisungView must contain the following fields: - name: BisDatum type: DATE - name: Mitarbeiter type: Mitarbeiter - name: PflegedienstStandort type: PflegedienstStandort - name: Rolle type: Rolle - name: VonDatum type: DATE The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) The data source for the [PflegedienstStandort] select control should be loaded from the relative URL: "/PflegedienstStandortService/pflegedienststandort" (HTTP-GET) The data source for the [Rolle] select control should be loaded from the relative URL: "/PflegedienstStandortService/rolle" (HTTP-GET) An existing RollenZuweisung entity should be loaded from the relative URL: "/PflegedienstStandortService/rollenzuweisung/{id}" (HTTP-GET) If a new RollenZuweisung entity has been created, the new entity should be posted to the relative URL: "/PflegedienstStandortService/rollenzuweisung" (HTTP-POST) If an existing RollenZuweisung entity has been updated, the modified entity should be sent to the relative URL: "/PflegedienstStandortService/rollenzuweisung/{id}" (HTTP-PUT) If an existing RollenZuweisung entity has to be deleted, the following relative URL should be called: "/PflegedienstStandortService/rollenzuweisung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum