Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ApothekeApp
Please create a React-JS application for the ApothekeModule. The application has to offer the following views for the user interface: 1. ApothekeView 2. ApothekenSymbolVerwendungView 3. InventarGeraetView 4. VersandapothekeDetailView 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 ApothekeView must contain the following fields: - name: ApothekenTyp type: STRING - name: Gruendungsdatum type: DATE - name: Hauptapotheke type: LONG - name: InhaberApotheker type: Apotheker - name: InternationaleBezeichnungFlag type: BOOL - name: Name type: STRING - name: Ort type: STRING - name: Plz type: STRING - name: Region type: Region - name: Strasse type: STRING - name: VersandErlaubnisFlag type: BOOL The data source for the [InhaberApotheker] select control should be loaded from the relative URL: "/ApothekerService/apotheker" (HTTP-GET) The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) An existing Apotheke entity should be loaded from the relative URL: "/ApothekeService/apotheke/{id}" (HTTP-GET) If a new Apotheke entity has been created, the new entity should be posted to the relative URL: "/ApothekeService/apotheke" (HTTP-POST) If an existing Apotheke entity has been updated, the modified entity should be sent to the relative URL: "/ApothekeService/apotheke/{id}" (HTTP-PUT) If an existing Apotheke entity has to be deleted, the following relative URL should be called: "/ApothekeService/apotheke/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Apothekenleiter columns: - column: VonDatum - column: BisDatum - column: Apotheke - column: Apotheker The table should have the title "Apothekenleiters" und the data must be loaded from the server with the following relative URL: "/ApothekerService/apothekenleiter/apotheke/{id}" Add a HTML table to the view with the following InventarGeraet columns: - column: Apotheke - column: Bezeichnung - column: PflichtgeraetFlag The table should have the title "InventarGeraets" und the data must be loaded from the server with the following relative URL: "/ApothekeService/inventargeraet/apotheke/{id}" Add a HTML table to the view with the following Rezept columns: - column: Datum - column: Kunde - column: Apotheke - column: Arzt - column: RezeptTyp The table should have the title "Rezepts" und the data must be loaded from the server with the following relative URL: "/ArztService/rezept/apotheke/{id}" Add a HTML table to the view with the following InventarLiteratur columns: - column: Apotheke - column: Titel - column: LiteraturTyp - column: PflichtliteraturFlag The table should have the title "InventarLiteraturs" und the data must be loaded from the server with the following relative URL: "/ApothekerService/inventarliteratur/apotheke/{id}" Add a HTML table to the view with the following ApothekenketteMitglied columns: - column: Apotheke - column: VonDatum - column: Apothekenkette - column: BisDatum The table should have the title "ApothekenketteMitglieds" und the data must be loaded from the server with the following relative URL: "/SymbolService/apothekenkettemitglied/apotheke/{id}" Add a HTML table to the view with the following FilialapothekeRelation columns: - column: Hauptapotheke - column: Filialapotheke - column: BisDatum - column: VonDatum The table should have the title "FilialapothekeRelations" und the data must be loaded from the server with the following relative URL: "/GerichtsurteilService/filialapothekerelation/filialapotheke/{id}" Add a HTML table to the view with the following FilialapothekeRelation columns: - column: Hauptapotheke - column: Filialapotheke - column: BisDatum - column: VonDatum The table should have the title "FilialapothekeRelations" und the data must be loaded from the server with the following relative URL: "/GerichtsurteilService/filialapothekerelation/hauptapotheke/{id}" Add a HTML table to the view with the following ApothekenSymbolVerwendung columns: - column: BisDatum - column: Apotheke - column: Symbol - column: VonDatum The table should have the title "ApothekenSymbolVerwendungs" und the data must be loaded from the server with the following relative URL: "/ApothekeService/apothekensymbolverwendung/apotheke/{id}" Add a HTML table to the view with the following VersandapothekeDetail columns: - column: VersandBeschraenkungText - column: Apotheke - column: VersandStartDatum - column: VersandEndDatum The table should have the title "VersandapothekeDetails" und the data must be loaded from the server with the following relative URL: "/ApothekeService/versandapothekedetail/apotheke/{id}" Add a HTML table to the view with the following ApothekenkooperationMitglied columns: - column: Apothekenkooperation - column: Apotheke - column: VonDatum - column: BisDatum The table should have the title "ApothekenkooperationMitglieds" und the data must be loaded from the server with the following relative URL: "/ApothekenkooperationService/apothekenkooperationmitglied/apotheke/{id}" Add a HTML table to the view with the following Apothekenpersonal columns: - column: Nachname - column: Vorname - column: Apotheke - column: PersonalTyp - column: Qualifikation The table should have the title "Apothekenpersonals" und the data must be loaded from the server with the following relative URL: "/KundeService/apothekenpersonal/apotheke/{id}" Add a HTML table to the view with the following Beratungsvorgang columns: - column: Kunde - column: Apotheke - column: DurchPersonal - column: KundeTyp - column: Beratungsart - column: Kanal - column: Datum - column: ThemaText The table should have the title "Beratungsvorgangs" und the data must be loaded from the server with the following relative URL: "/KundeService/beratungsvorgang/apotheke/{id}" 2. The ApothekenSymbolVerwendungView must contain the following fields: - name: Apotheke type: Apotheke - name: BisDatum type: DATE - name: Symbol type: Symbol - name: VonDatum type: DATE The data source for the [Symbol] select control should be loaded from the relative URL: "/SymbolService/symbol" (HTTP-GET) The data source for the [Apotheke] select control should be loaded from the relative URL: "/ApothekeService/apotheke" (HTTP-GET) An existing ApothekenSymbolVerwendung entity should be loaded from the relative URL: "/ApothekeService/apothekensymbolverwendung/{id}" (HTTP-GET) If a new ApothekenSymbolVerwendung entity has been created, the new entity should be posted to the relative URL: "/ApothekeService/apothekensymbolverwendung" (HTTP-POST) If an existing ApothekenSymbolVerwendung entity has been updated, the modified entity should be sent to the relative URL: "/ApothekeService/apothekensymbolverwendung/{id}" (HTTP-PUT) If an existing ApothekenSymbolVerwendung entity has to be deleted, the following relative URL should be called: "/ApothekeService/apothekensymbolverwendung/{id}" (HTTP-DELETE) 3. The InventarGeraetView must contain the following fields: - name: Apotheke type: Apotheke - name: Bezeichnung type: STRING - name: PflichtgeraetFlag type: BOOL The data source for the [Apotheke] select control should be loaded from the relative URL: "/ApothekeService/apotheke" (HTTP-GET) An existing InventarGeraet entity should be loaded from the relative URL: "/ApothekeService/inventargeraet/{id}" (HTTP-GET) If a new InventarGeraet entity has been created, the new entity should be posted to the relative URL: "/ApothekeService/inventargeraet" (HTTP-POST) If an existing InventarGeraet entity has been updated, the modified entity should be sent to the relative URL: "/ApothekeService/inventargeraet/{id}" (HTTP-PUT) If an existing InventarGeraet entity has to be deleted, the following relative URL should be called: "/ApothekeService/inventargeraet/{id}" (HTTP-DELETE) 4. The VersandapothekeDetailView must contain the following fields: - name: Apotheke type: Apotheke - name: VersandBeschraenkungText type: STRING - name: VersandEndDatum type: DATE - name: VersandStartDatum type: DATE The data source for the [Apotheke] select control should be loaded from the relative URL: "/ApothekeService/apotheke" (HTTP-GET) An existing VersandapothekeDetail entity should be loaded from the relative URL: "/ApothekeService/versandapothekedetail/{id}" (HTTP-GET) If a new VersandapothekeDetail entity has been created, the new entity should be posted to the relative URL: "/ApothekeService/versandapothekedetail" (HTTP-POST) If an existing VersandapothekeDetail entity has been updated, the modified entity should be sent to the relative URL: "/ApothekeService/versandapothekedetail/{id}" (HTTP-PUT) If an existing VersandapothekeDetail entity has to be deleted, the following relative URL should be called: "/ApothekeService/versandapothekedetail/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum