Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MitarbeiterApp
Please create a React-JS application for the MitarbeiterModule. The application has to offer the following views for the user interface: 1. EinsatzView 2. EinsatzMitarbeiterView 3. MitarbeiterView 4. MitarbeiterQualifikationView 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 EinsatzView must contain the following fields: - name: Abbruchgrund type: STRING - name: Einsatzstatus type: STRING - name: GeplantEnde type: DATE - name: GeplantStart type: DATE - name: Klient type: Klient - name: PflegedienstStandort type: PflegedienstStandort - name: TatsaechlichEnde type: DATE - name: TatsaechlichStart type: DATE - name: VerantwortlicherMitarbeiter type: Mitarbeiter The data source for the [Klient] select control should be loaded from the relative URL: "/KlientService/klient" (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 [VerantwortlicherMitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) An existing Einsatz entity should be loaded from the relative URL: "/MitarbeiterService/einsatz/{id}" (HTTP-GET) If a new Einsatz entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/einsatz" (HTTP-POST) If an existing Einsatz entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/einsatz/{id}" (HTTP-PUT) If an existing Einsatz entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/einsatz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PflegeDokumentation columns: - column: Einsatz - column: Textinhalt - column: Dokumentationstyp - column: Klient - column: ErstelltVonMitarbeiter - column: Zeitpunkt The table should have the title "PflegeDokumentations" und the data must be loaded from the server with the following relative URL: "/MedikationsplanService/pflegedokumentation/einsatz/{id}" Add a HTML table to the view with the following EinsatzMitarbeiter columns: - column: RolleWaeh - column: Mitarbeiter - column: TatsaechlichStart - column: Einsatz - column: TatsaechlichEnde The table should have the title "EinsatzMitarbeiters" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/einsatzmitarbeiter/einsatz/{id}" Add a HTML table to the view with the following EinsatzLeistung columns: - column: Einsatz - column: Menge - column: LeistungskatalogEintrag - column: GeplanteDauerMinuten - column: IstTeilweise - column: TatsaechlicheDauerMinuten - column: Notiz The table should have the title "EinsatzLeistungs" und the data must be loaded from the server with the following relative URL: "/EinsatzLeistungService/einsatzleistung/einsatz/{id}" 2. The EinsatzMitarbeiterView must contain the following fields: - name: Einsatz type: Einsatz - name: Mitarbeiter type: Mitarbeiter - name: RolleWaeh type: STRING - name: TatsaechlichEnde type: DATE - name: TatsaechlichStart type: DATE The data source for the [Einsatz] select control should be loaded from the relative URL: "/MitarbeiterService/einsatz" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) An existing EinsatzMitarbeiter entity should be loaded from the relative URL: "/MitarbeiterService/einsatzmitarbeiter/{id}" (HTTP-GET) If a new EinsatzMitarbeiter entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/einsatzmitarbeiter" (HTTP-POST) If an existing EinsatzMitarbeiter entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/einsatzmitarbeiter/{id}" (HTTP-PUT) If an existing EinsatzMitarbeiter entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/einsatzmitarbeiter/{id}" (HTTP-DELETE) 3. The MitarbeiterView must contain the following fields: - name: Austrittsdatum type: DATE - name: Beschaeftigungsart type: STRING - name: Einstellungsdatum type: DATE - name: Hauptstandort type: PflegedienstStandort - name: IstAktiv type: BOOL - name: IstLeitung type: BOOL - name: IstPflegedienstleitung type: BOOL - name: Person type: Person - name: Pflegedienst type: Pflegedienst - name: Wochenstunden type: STRING The data source for the [Pflegedienst] select control should be loaded from the relative URL: "/PflegedienstService/pflegedienst" (HTTP-GET) The data source for the [Hauptstandort] select control should be loaded from the relative URL: "/PflegedienstStandortService/pflegedienststandort" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/KlientService/person" (HTTP-GET) An existing Mitarbeiter entity should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter/{id}" (HTTP-GET) If a new Mitarbeiter entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-POST) If an existing Mitarbeiter entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/mitarbeiter/{id}" (HTTP-PUT) If an existing Mitarbeiter entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/mitarbeiter/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PflegeDokumentation columns: - column: Einsatz - column: Textinhalt - column: Dokumentationstyp - column: Klient - column: ErstelltVonMitarbeiter - column: Zeitpunkt The table should have the title "PflegeDokumentations" und the data must be loaded from the server with the following relative URL: "/MedikationsplanService/pflegedokumentation/erstelltvonmitarbeiter/{id}" 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/mitarbeiter/{id}" 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/mitarbeiter/{id}" Add a HTML table to the view with the following EinsatzMitarbeiter columns: - column: RolleWaeh - column: Mitarbeiter - column: TatsaechlichStart - column: Einsatz - column: TatsaechlichEnde The table should have the title "EinsatzMitarbeiters" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/einsatzmitarbeiter/mitarbeiter/{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/verantwortlichermitarbeiter/{id}" Add a HTML table to the view with the following Pflegeplan columns: - column: Planstatus - column: RisikoEinschaetzung - column: AktualisiertAm - column: ErstelltAm - column: Zielbeschreibung - column: ErstelltVonMitarbeiter - column: Klient The table should have the title "Pflegeplans" und the data must be loaded from the server with the following relative URL: "/PflegeplanService/pflegeplan/erstelltvonmitarbeiter/{id}" Add a HTML table to the view with the following Medikationsplan columns: - column: Klient - column: VerordnenderArzt - column: AktualisiertAm - column: ErstelltAm - column: ErstelltVonMitarbeiter The table should have the title "Medikationsplans" und the data must be loaded from the server with the following relative URL: "/MedikationsplanService/medikationsplan/erstelltvonmitarbeiter/{id}" 4. The MitarbeiterQualifikationView must contain the following fields: - name: Erwerbsdatum type: DATE - name: GueltigBis type: DATE - name: Mitarbeiter type: Mitarbeiter - name: Qualifikation type: Qualifikation - name: ZertifikatReferenz type: STRING The data source for the [Qualifikation] select control should be loaded from the relative URL: "/PflegeplanService/qualifikation" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) An existing MitarbeiterQualifikation entity should be loaded from the relative URL: "/MitarbeiterService/mitarbeiterqualifikation/{id}" (HTTP-GET) If a new MitarbeiterQualifikation entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/mitarbeiterqualifikation" (HTTP-POST) If an existing MitarbeiterQualifikation entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/mitarbeiterqualifikation/{id}" (HTTP-PUT) If an existing MitarbeiterQualifikation entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/mitarbeiterqualifikation/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum