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:
2026-07-01 15:13:44 +02:00
parent 3f37961a85
commit 1dff60ef20
3 changed files with 13 additions and 1 deletions
+8
View File
@@ -3,3 +3,11 @@ FHIR_VALIDATION_DATASOURCE_AUTH_NAME=myFHIRusername
FHIR_VALIDATION_DATASOURCE_AUTH_PASSWORD=changeMe
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
+2
View File
@@ -57,6 +57,8 @@ For filter options you can set `search_parameters`, see [FHIR search common para
### 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`.
E.g. by running [download-packages.sh](download-packages.sh):
+3 -1
View File
@@ -10,7 +10,7 @@ services:
# 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
- ./packages:/usr/share/nginx/html:ro
profiles: ["internal_validator"]
# FHIR Server (HAPI)
fhir-validation-server:
@@ -21,6 +21,8 @@ services:
depends_on:
- fhir-packages-repository-service
profiles: ["internal_validator"]
environment:
# Load FHIR NPM Package with MII Kerndatensatz modules and its dependencies from fhir-packages-repository-service