Start of internal HAPI validator and FHIR package server optional, f.e. if not using a separate MII FHIR Validator instance
This commit is contained in:
@@ -3,3 +3,11 @@ FHIR_VALIDATION_DATASOURCE_AUTH_NAME=myFHIRusername
|
|||||||
FHIR_VALIDATION_DATASOURCE_AUTH_PASSWORD=changeMe
|
FHIR_VALIDATION_DATASOURCE_AUTH_PASSWORD=changeMe
|
||||||
|
|
||||||
JUPYTER_TOKEN=changeThisToken
|
JUPYTER_TOKEN=changeThisToken
|
||||||
|
|
||||||
|
# URL of external validator like an instance of the MII FHIR validator https://github.com/medizininformatik-initiative/mii-fhir-validator
|
||||||
|
FHIR_VALIDATION_VALIDATOR_API_URL=http://yourvalidatorurl/validateResource
|
||||||
|
|
||||||
|
# Use the internal FHIR validator based on HAPI FHIR server which will internally start on docker compose up
|
||||||
|
# COMPOSE_PROFILES=internal_validator
|
||||||
|
# URL of internal validator (default if this parameter is not set before to external validator URL)
|
||||||
|
# FHIR_VALIDATION_VALIDATOR_API_URL=http://fhir-validation-server:8080/fhir/{{resource_type}}/$validate
|
||||||
|
|||||||
@@ -57,6 +57,8 @@ For filter options you can set `search_parameters`, see [FHIR search common para
|
|||||||
|
|
||||||
### Setup FHIR Packages
|
### Setup FHIR Packages
|
||||||
|
|
||||||
|
If you want to use the internal validator instead of an instance of the [MII FHIR Validator](https://github.com/medizininformatik-initiative/mii-fhir-validator):
|
||||||
|
|
||||||
Download the FHIR NPM Packages of the [German MII Core Dataset modules](https://www.medizininformatik-initiative.de/de/uebersicht-ueber-versionen-der-kerndatensatz-module) (Kerndatensatz der Medizininformatik Initiative) to the directory `packages`.
|
Download the FHIR NPM Packages of the [German MII Core Dataset modules](https://www.medizininformatik-initiative.de/de/uebersicht-ueber-versionen-der-kerndatensatz-module) (Kerndatensatz der Medizininformatik Initiative) to the directory `packages`.
|
||||||
|
|
||||||
E.g. by running [download-packages.sh](download-packages.sh):
|
E.g. by running [download-packages.sh](download-packages.sh):
|
||||||
|
|||||||
+3
-1
@@ -10,7 +10,7 @@ services:
|
|||||||
# The FHIR NPM packages (.tgz archives) are located in local directory ./packages
|
# The FHIR NPM packages (.tgz archives) are located in local directory ./packages
|
||||||
# This source directory with the FHIR packages is mounted as the Nginx http server standard content directory /usr/share/nginx/html
|
# This source directory with the FHIR packages is mounted as the Nginx http server standard content directory /usr/share/nginx/html
|
||||||
- ./packages:/usr/share/nginx/html:ro
|
- ./packages:/usr/share/nginx/html:ro
|
||||||
|
profiles: ["internal_validator"]
|
||||||
|
|
||||||
# FHIR Server (HAPI)
|
# FHIR Server (HAPI)
|
||||||
fhir-validation-server:
|
fhir-validation-server:
|
||||||
@@ -21,6 +21,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- fhir-packages-repository-service
|
- fhir-packages-repository-service
|
||||||
|
|
||||||
|
profiles: ["internal_validator"]
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
||||||
# Load FHIR NPM Package with MII Kerndatensatz modules and its dependencies from fhir-packages-repository-service
|
# Load FHIR NPM Package with MII Kerndatensatz modules and its dependencies from fhir-packages-repository-service
|
||||||
|
|||||||
Reference in New Issue
Block a user