Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
IcdApp
Please create a React-JS application for the IcdModule. The application has to offer the following views for the user interface: 1. DiagnoseView 2. IcdView 3. InstitutView 4. NotaufnahmeView 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 DiagnoseView must contain the following fields: - name: Beschreibung type: STRING - name: Fall type: Fall - name: Icd type: Icd - name: IstHauptdiagnose type: BOOL The data source for the [Fall] select control should be loaded from the relative URL: "/FallService/fall" (HTTP-GET) The data source for the [Icd] select control should be loaded from the relative URL: "/IcdService/icd" (HTTP-GET) An existing Diagnose entity should be loaded from the relative URL: "/IcdService/diagnose/{id}" (HTTP-GET) If a new Diagnose entity has been created, the new entity should be posted to the relative URL: "/IcdService/diagnose" (HTTP-POST) If an existing Diagnose entity has been updated, the modified entity should be sent to the relative URL: "/IcdService/diagnose/{id}" (HTTP-PUT) If an existing Diagnose entity has to be deleted, the following relative URL should be called: "/IcdService/diagnose/{id}" (HTTP-DELETE) 2. The IcdView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING An existing Icd entity should be loaded from the relative URL: "/IcdService/icd/{id}" (HTTP-GET) If a new Icd entity has been created, the new entity should be posted to the relative URL: "/IcdService/icd" (HTTP-POST) If an existing Icd entity has been updated, the modified entity should be sent to the relative URL: "/IcdService/icd/{id}" (HTTP-PUT) If an existing Icd entity has to be deleted, the following relative URL should be called: "/IcdService/icd/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Diagnose columns: - column: IstHauptdiagnose - column: Fall - column: Beschreibung - column: Icd The table should have the title "Diagnoses" und the data must be loaded from the server with the following relative URL: "/IcdService/diagnose/icd/{id}" 3. The InstitutView must contain the following fields: - name: InstitutArt type: STRING - name: Krankenhaus type: Krankenhaus - name: Name type: STRING The data source for the [Krankenhaus] select control should be loaded from the relative URL: "/KrankenhausService/krankenhaus" (HTTP-GET) An existing Institut entity should be loaded from the relative URL: "/IcdService/institut/{id}" (HTTP-GET) If a new Institut entity has been created, the new entity should be posted to the relative URL: "/IcdService/institut" (HTTP-POST) If an existing Institut entity has been updated, the modified entity should be sent to the relative URL: "/IcdService/institut/{id}" (HTTP-PUT) If an existing Institut entity has to be deleted, the following relative URL should be called: "/IcdService/institut/{id}" (HTTP-DELETE) 4. The NotaufnahmeView must contain the following fields: - name: HatHelipad type: BOOL - name: IstTraumaZentrum type: BOOL - name: Krankenhaus type: Krankenhaus - name: Name type: STRING The data source for the [Krankenhaus] select control should be loaded from the relative URL: "/KrankenhausService/krankenhaus" (HTTP-GET) An existing Notaufnahme entity should be loaded from the relative URL: "/IcdService/notaufnahme/{id}" (HTTP-GET) If a new Notaufnahme entity has been created, the new entity should be posted to the relative URL: "/IcdService/notaufnahme" (HTTP-POST) If an existing Notaufnahme entity has been updated, the modified entity should be sent to the relative URL: "/IcdService/notaufnahme/{id}" (HTTP-PUT) If an existing Notaufnahme entity has to be deleted, the following relative URL should be called: "/IcdService/notaufnahme/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum