Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AuditApp
Please create a React-JS application for the AuditModule. The application has to offer the following views for the user interface: 1. AuditView 2. AuditFeststellungView 3. MedikationsplanEintragView 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 AuditView must contain the following fields: - name: Auditdatum type: DATE - name: AuditorName type: STRING - name: Audittype type: STRING - name: BerichtReferenz type: STRING - name: ErgebnisZusammenfassung type: STRING - name: Pflegedienst type: Pflegedienst The data source for the [Pflegedienst] select control should be loaded from the relative URL: "/PflegedienstService/pflegedienst" (HTTP-GET) An existing Audit entity should be loaded from the relative URL: "/AuditService/audit/{id}" (HTTP-GET) If a new Audit entity has been created, the new entity should be posted to the relative URL: "/AuditService/audit" (HTTP-POST) If an existing Audit entity has been updated, the modified entity should be sent to the relative URL: "/AuditService/audit/{id}" (HTTP-PUT) If an existing Audit entity has to be deleted, the following relative URL should be called: "/AuditService/audit/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AuditFeststellung columns: - column: Korrekturmassnahme - column: FaelligBis - column: Audit - column: ErledigtAm - column: Schweregrad - column: Feststellungstext The table should have the title "AuditFeststellungs" und the data must be loaded from the server with the following relative URL: "/AuditService/auditfeststellung/audit/{id}" 2. The AuditFeststellungView must contain the following fields: - name: Audit type: Audit - name: ErledigtAm type: DATE - name: FaelligBis type: DATE - name: Feststellungstext type: STRING - name: Korrekturmassnahme type: STRING - name: Schweregrad type: STRING The data source for the [Audit] select control should be loaded from the relative URL: "/AuditService/audit" (HTTP-GET) An existing AuditFeststellung entity should be loaded from the relative URL: "/AuditService/auditfeststellung/{id}" (HTTP-GET) If a new AuditFeststellung entity has been created, the new entity should be posted to the relative URL: "/AuditService/auditfeststellung" (HTTP-POST) If an existing AuditFeststellung entity has been updated, the modified entity should be sent to the relative URL: "/AuditService/auditfeststellung/{id}" (HTTP-PUT) If an existing AuditFeststellung entity has to be deleted, the following relative URL should be called: "/AuditService/auditfeststellung/{id}" (HTTP-DELETE) 3. The MedikationsplanEintragView must contain the following fields: - name: Dosierungsbeschreibung type: STRING - name: Einnahmeplan type: STRING - name: Enddatum type: DATE - name: IstBeiBedarf type: BOOL - name: Medikamentenname type: STRING - name: Medikationsplan type: Medikationsplan - name: Startdatum type: DATE The data source for the [Medikationsplan] select control should be loaded from the relative URL: "/PflegedienstService/medikationsplan" (HTTP-GET) An existing MedikationsplanEintrag entity should be loaded from the relative URL: "/AuditService/medikationsplaneintrag/{id}" (HTTP-GET) If a new MedikationsplanEintrag entity has been created, the new entity should be posted to the relative URL: "/AuditService/medikationsplaneintrag" (HTTP-POST) If an existing MedikationsplanEintrag entity has been updated, the modified entity should be sent to the relative URL: "/AuditService/medikationsplaneintrag/{id}" (HTTP-PUT) If an existing MedikationsplanEintrag entity has to be deleted, the following relative URL should be called: "/AuditService/medikationsplaneintrag/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum