Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PersonApp
Please create a React-JS application for the PersonModule. The application has to offer the following views for the user interface: 1. HeilpraktikerView 2. PersonView 3. SektoralerlaubnisartView 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 HeilpraktikerView must contain the following fields: - name: BeginnTaetigkeit type: DATE - name: EndeTaetigkeit type: DATE - name: HatVolleErlaubnis type: BOOL - name: Hauptland type: Land - name: Person type: Person - name: Praxisbeschreibung type: STRING - name: SchwerpunktPhysiotherapie type: BOOL - name: SchwerpunktPsychotherapie type: BOOL The data source for the [Hauptland] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing Heilpraktiker entity should be loaded from the relative URL: "/PersonService/heilpraktiker/{id}" (HTTP-GET) If a new Heilpraktiker entity has been created, the new entity should be posted to the relative URL: "/PersonService/heilpraktiker" (HTTP-POST) If an existing Heilpraktiker entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/heilpraktiker/{id}" (HTTP-PUT) If an existing Heilpraktiker entity has to be deleted, the following relative URL should be called: "/PersonService/heilpraktiker/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlungsfall columns: - column: Infektionskrankheit - column: DiagnoseText - column: Heilpraktiker - column: MeldepflichtigeKrankheit - column: Notizen - column: EmpfehlungArztbesuch - column: Patient - column: Beginn - column: Ende The table should have the title "Behandlungsfalls" und the data must be loaded from the server with the following relative URL: "/GesetzService/behandlungsfall/heilpraktiker/{id}" 2. The PersonView must contain the following fields: - name: Geburtsdatum type: DATE - name: Geburtsland type: Land - name: Geschlecht type: STRING - name: IstVerstorben type: BOOL - name: Nachname type: STRING - name: Staatsangehoerigkeit type: Land - name: Sterbedatum type: DATE - name: Vorname type: STRING The data source for the [Geburtsland] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) The data source for the [Staatsangehoerigkeit] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Person entity should be loaded from the relative URL: "/PersonService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/PersonService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/PersonService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Erlaubnis columns: - column: Ausstellungsdatum - column: Erlaubnistyp - column: Land - column: Ablaufdatum - column: Gesetz - column: Hinweise - column: Behoerde - column: Person - column: Widerrufsdatum - column: IstWiderrufen - column: Beruf - column: Sektoralerlaubnisart - column: Erlaubnisnummer The table should have the title "Erlaubniss" und the data must be loaded from the server with the following relative URL: "/LandService/erlaubnis/person/{id}" Add a HTML table to the view with the following Pruefungsversuch columns: - column: VersuchNummer - column: Notizen - column: MuendlichBestanden - column: PunkteMuendlich - column: Person - column: SchriftlichBestanden - column: PunkteSchriftlich - column: Datum - column: Gesamtergebnis - column: Pruefung The table should have the title "Pruefungsversuchs" und the data must be loaded from the server with the following relative URL: "/PruefungService/pruefungsversuch/person/{id}" Add a HTML table to the view with the following Heilpraktiker columns: - column: Hauptland - column: HatVolleErlaubnis - column: SchwerpunktPsychotherapie - column: BeginnTaetigkeit - column: SchwerpunktPhysiotherapie - column: Praxisbeschreibung - column: EndeTaetigkeit - column: Person The table should have the title "Heilpraktikers" und the data must be loaded from the server with the following relative URL: "/PersonService/heilpraktiker/person/{id}" Add a HTML table to the view with the following Verbandsmitgliedschaft columns: - column: Beginn - column: Person - column: IstAktiv - column: Ende - column: Verband - column: Mitgliedsnummer The table should have the title "Verbandsmitgliedschafts" und the data must be loaded from the server with the following relative URL: "/VerbandService/verbandsmitgliedschaft/person/{id}" 3. The SektoralerlaubnisartView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Sektoralerlaubnisart entity should be loaded from the relative URL: "/PersonService/sektoralerlaubnisart/{id}" (HTTP-GET) If a new Sektoralerlaubnisart entity has been created, the new entity should be posted to the relative URL: "/PersonService/sektoralerlaubnisart" (HTTP-POST) If an existing Sektoralerlaubnisart entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/sektoralerlaubnisart/{id}" (HTTP-PUT) If an existing Sektoralerlaubnisart entity has to be deleted, the following relative URL should be called: "/PersonService/sektoralerlaubnisart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Erlaubnis columns: - column: Ausstellungsdatum - column: Erlaubnistyp - column: Land - column: Ablaufdatum - column: Gesetz - column: Hinweise - column: Behoerde - column: Person - column: Widerrufsdatum - column: IstWiderrufen - column: Beruf - column: Sektoralerlaubnisart - column: Erlaubnisnummer The table should have the title "Erlaubniss" und the data must be loaded from the server with the following relative URL: "/LandService/erlaubnis/sektoralerlaubnisart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum