Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HeilmittelApp
Please create a React-JS application for the HeilmittelModule. The application has to offer the following views for the user interface: 1. HeilmittelView 2. HeilmittelTypView 3. KureinrichtungHeilmittelView 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 HeilmittelView must contain the following fields: - name: Beschreibung type: STRING - name: HeilmittelTyp type: HeilmittelTyp - name: Name type: STRING The data source for the [HeilmittelTyp] select control should be loaded from the relative URL: "/HeilmittelService/heilmitteltyp" (HTTP-GET) An existing Heilmittel entity should be loaded from the relative URL: "/HeilmittelService/heilmittel/{id}" (HTTP-GET) If a new Heilmittel entity has been created, the new entity should be posted to the relative URL: "/HeilmittelService/heilmittel" (HTTP-POST) If an existing Heilmittel entity has been updated, the modified entity should be sent to the relative URL: "/HeilmittelService/heilmittel/{id}" (HTTP-PUT) If an existing Heilmittel entity has to be deleted, the following relative URL should be called: "/HeilmittelService/heilmittel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KurHeilmittel columns: - column: Anwendungsbeschreibung - column: Kur - column: Heilmittel The table should have the title "KurHeilmittels" und the data must be loaded from the server with the following relative URL: "/KrankenkasseService/kurheilmittel/heilmittel/{id}" Add a HTML table to the view with the following KureinrichtungHeilmittel columns: - column: Kureinrichtung - column: Heilmittel - column: Hauptnutzung The table should have the title "KureinrichtungHeilmittels" und the data must be loaded from the server with the following relative URL: "/HeilmittelService/kureinrichtungheilmittel/heilmittel/{id}" 2. The HeilmittelTypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing HeilmittelTyp entity should be loaded from the relative URL: "/HeilmittelService/heilmitteltyp/{id}" (HTTP-GET) If a new HeilmittelTyp entity has been created, the new entity should be posted to the relative URL: "/HeilmittelService/heilmitteltyp" (HTTP-POST) If an existing HeilmittelTyp entity has been updated, the modified entity should be sent to the relative URL: "/HeilmittelService/heilmitteltyp/{id}" (HTTP-PUT) If an existing HeilmittelTyp entity has to be deleted, the following relative URL should be called: "/HeilmittelService/heilmitteltyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Heilmittel columns: - column: Beschreibung - column: HeilmittelTyp - column: Name The table should have the title "Heilmittels" und the data must be loaded from the server with the following relative URL: "/HeilmittelService/heilmittel/heilmitteltyp/{id}" 3. The KureinrichtungHeilmittelView must contain the following fields: - name: Hauptnutzung type: STRING - name: Heilmittel type: Heilmittel - name: Kureinrichtung type: Kureinrichtung The data source for the [Heilmittel] select control should be loaded from the relative URL: "/HeilmittelService/heilmittel" (HTTP-GET) The data source for the [Kureinrichtung] select control should be loaded from the relative URL: "/KureinrichtungService/kureinrichtung" (HTTP-GET) An existing KureinrichtungHeilmittel entity should be loaded from the relative URL: "/HeilmittelService/kureinrichtungheilmittel/{id}" (HTTP-GET) If a new KureinrichtungHeilmittel entity has been created, the new entity should be posted to the relative URL: "/HeilmittelService/kureinrichtungheilmittel" (HTTP-POST) If an existing KureinrichtungHeilmittel entity has been updated, the modified entity should be sent to the relative URL: "/HeilmittelService/kureinrichtungheilmittel/{id}" (HTTP-PUT) If an existing KureinrichtungHeilmittel entity has to be deleted, the following relative URL should be called: "/HeilmittelService/kureinrichtungheilmittel/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum