Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BehandlungApp
Please create a React-JS application for the BehandlungModule. The application has to offer the following views for the user interface: 1. BehandlungView 2. BehandlungPatientenGruppeView 3. FussPflegeArtView 4. PatientenGruppeView 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 BehandlungView must contain the following fields: - name: Beschreibung type: STRING - name: FussPflegeArt type: FussPflegeArt - name: IstKurativ type: BOOL - name: IstPraeventiv type: BOOL - name: Name type: STRING The data source for the [FussPflegeArt] select control should be loaded from the relative URL: "/BehandlungService/fusspflegeart" (HTTP-GET) An existing Behandlung entity should be loaded from the relative URL: "/BehandlungService/behandlung/{id}" (HTTP-GET) If a new Behandlung entity has been created, the new entity should be posted to the relative URL: "/BehandlungService/behandlung" (HTTP-POST) If an existing Behandlung entity has been updated, the modified entity should be sent to the relative URL: "/BehandlungService/behandlung/{id}" (HTTP-PUT) If an existing Behandlung entity has to be deleted, the following relative URL should be called: "/BehandlungService/behandlung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BehandlungDiagnoseTest columns: - column: Behandlung - column: DiagnoseTest The table should have the title "BehandlungDiagnoseTests" und the data must be loaded from the server with the following relative URL: "/DiagnoseTestService/behandlungdiagnosetest/behandlung/{id}" Add a HTML table to the view with the following BehandlungPatientenGruppe columns: - column: PatientenGruppe - column: Behandlung The table should have the title "BehandlungPatientenGruppes" und the data must be loaded from the server with the following relative URL: "/BehandlungService/behandlungpatientengruppe/behandlung/{id}" Add a HTML table to the view with the following BehandlungZustand columns: - column: Behandlung - column: Zustand The table should have the title "BehandlungZustands" und the data must be loaded from the server with the following relative URL: "/ZustandService/behandlungzustand/behandlung/{id}" Add a HTML table to the view with the following AblaufSchritt columns: - column: Beschreibung - column: Reihenfolge - column: Behandlung The table should have the title "AblaufSchritts" und the data must be loaded from the server with the following relative URL: "/HistorischePersonService/ablaufschritt/behandlung/{id}" 2. The BehandlungPatientenGruppeView must contain the following fields: - name: Behandlung type: Behandlung - name: PatientenGruppe type: PatientenGruppe The data source for the [PatientenGruppe] select control should be loaded from the relative URL: "/BehandlungService/patientengruppe" (HTTP-GET) The data source for the [Behandlung] select control should be loaded from the relative URL: "/BehandlungService/behandlung" (HTTP-GET) An existing BehandlungPatientenGruppe entity should be loaded from the relative URL: "/BehandlungService/behandlungpatientengruppe/{id}" (HTTP-GET) If a new BehandlungPatientenGruppe entity has been created, the new entity should be posted to the relative URL: "/BehandlungService/behandlungpatientengruppe" (HTTP-POST) If an existing BehandlungPatientenGruppe entity has been updated, the modified entity should be sent to the relative URL: "/BehandlungService/behandlungpatientengruppe/{id}" (HTTP-PUT) If an existing BehandlungPatientenGruppe entity has to be deleted, the following relative URL should be called: "/BehandlungService/behandlungpatientengruppe/{id}" (HTTP-DELETE) 3. The FussPflegeArtView must contain the following fields: - name: Beschreibung type: STRING - name: IstMedizinisch type: BOOL - name: Name type: STRING An existing FussPflegeArt entity should be loaded from the relative URL: "/BehandlungService/fusspflegeart/{id}" (HTTP-GET) If a new FussPflegeArt entity has been created, the new entity should be posted to the relative URL: "/BehandlungService/fusspflegeart" (HTTP-POST) If an existing FussPflegeArt entity has been updated, the modified entity should be sent to the relative URL: "/BehandlungService/fusspflegeart/{id}" (HTTP-PUT) If an existing FussPflegeArt entity has to be deleted, the following relative URL should be called: "/BehandlungService/fusspflegeart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlung columns: - column: IstKurativ - column: Beschreibung - column: FussPflegeArt - column: IstPraeventiv - column: Name The table should have the title "Behandlungs" und the data must be loaded from the server with the following relative URL: "/BehandlungService/behandlung/fusspflegeart/{id}" 4. The PatientenGruppeView must contain the following fields: - name: Beschreibung type: STRING - name: IstRisikoGruppe type: BOOL - name: Name type: STRING An existing PatientenGruppe entity should be loaded from the relative URL: "/BehandlungService/patientengruppe/{id}" (HTTP-GET) If a new PatientenGruppe entity has been created, the new entity should be posted to the relative URL: "/BehandlungService/patientengruppe" (HTTP-POST) If an existing PatientenGruppe entity has been updated, the modified entity should be sent to the relative URL: "/BehandlungService/patientengruppe/{id}" (HTTP-PUT) If an existing PatientenGruppe entity has to be deleted, the following relative URL should be called: "/BehandlungService/patientengruppe/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BehandlungPatientenGruppe columns: - column: PatientenGruppe - column: Behandlung The table should have the title "BehandlungPatientenGruppes" und the data must be loaded from the server with the following relative URL: "/BehandlungService/behandlungpatientengruppe/patientengruppe/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum