MII IG PRO
2026.2.0 - ci-build
Unknown region code '276'
MII IG PRO, published by Medizininformatik-Initiative. This guide is not an authorized publication; it is the continuous build for version 2026.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medizininformatik-initiative/kerndatensatzmodul-proms/ and changes regularly. See the Directory of published versions
This page includes translations from the original source language in which the guide was authored. Information on these translations and instructions on how to provide feedback on the translations can be found here.
This page documents known validation errors that occur during FHIR validation but do not represent actual problems with the resources.
Error message:
The System URI could not be determined for the code 'en' in the ValueSet 'http://hl7.org/fhir/ValueSet/all-languages'
Cause:
The translation extension uses valueCode for language codes (e.g., #en, #de). The validator cannot infer the URI system (urn:ietf:bcp:47) from the all-languages ValueSet, since it is a plain code without a system specification.
Affected resources:
Assessment:
This is a validator/terminology server configuration issue, not a data error. The binding to all-languages is "preferred", not "required", so the resources are conformant to the specification.
References:
Error message:
Wrong Display Name 'Ueberhaupt nicht' for http://loinc.org#LA6568-5 - should be 'Not at all'
Cause: The MII PRO implementation uses German display names for LOINC answer codes to ensure clinical usability in the German healthcare system. The validator expects the English LOINC original displays.
Affected resources:
Assessment: The English original labels are provided via translation extensions. The use of German displays as primary display values is a deliberate design decision for the German implementation.
Error message:
No valid coding for 'en' from http://hl7.org/fhir/ValueSet/all-languages
Cause: Related to issue #1 – the validator cannot validate the language code against the ValueSet.
Assessment: Will be resolved by fixing the language code system inference.
The following error codes are suppressed in CI validation:
| Error Code | Description |
|---|---|
UNABLE_TO_INFER_CODESYSTEM |
Language code system inference not possible |
Terminology_TX_NoValid_16 |
Terminology validation error for language codes |
Terminology_TX_NoValid_16@ImplementationGuide.definition.parameter.code |
Specific IG parameter validation |
MSG_DRAFT |
Warnings about draft status of resources |
dom-6 |
DomainResource invariant |
Error suppression is configured via the advisor.json file in the project directory:
{
"suppress" : [
"UNABLE_TO_INFER_CODESYSTEM",
"Terminology_TX_NoValid_16",
...
]
}
To perform FHIR validation locally, you need the following components:
# macOS with Homebrew
brew install openjdk@17
mkdir -p ~/.fhir/validators
curl -L -o ~/.fhir/validators/validator_cli.jar \
https://github.com/hapifhir/org.hl7.fhir.core/releases/latest/download/validator_cli.jar
http://localhost:3000npm install -g fsh-sushi
Option 1: Use the validation script (recommended)
# Compilation and validation
sushi . --snapshot
./scripts/validate.sh
Option 2: Direct validator execution
java -jar ~/.fhir/validators/validator_cli.jar \
-version 4.0.1 \
-tx http://localhost:3000 \
-allow-example-urls true \
-display-issues-are-warnings \
fsh-generated/resources/*.json
The project includes a pre-commit hook that automatically runs SUSHI and validation before each commit:
# Activate hook (already present in .git/hooks/pre-commit)
chmod +x .git/hooks/pre-commit
The hook automatically skips validation if no local terminology server is available.
| Code | Meaning | Action |
|---|---|---|
| 0 | No errors or warnings | Successful |
| 1 | Warnings only | Acceptable for development |
| 2+ | Errors | Must be resolved |
valueCoding with an explicit system can alternatively be used:
{
"url": "lang",
"valueCoding": {
"system": "urn:ietf:bcp:47",
"code": "en"
}
}
LOINC display names: For international interoperability, the English LOINC displays can be used as primary values, with German translations in the translation extension.
./scripts/validate.sh
Important: The -advisor flag is only supported by the IG Publisher, not by the validator_cli. The validation script therefore uses grep-based filtering of the output.
Filtered patterns in the validation script:
dom-6 – Narrative requirementUNABLE_TO_INFER_CODESYSTEM – Language code system inferenceTerminology_TX_NoValid_16 – Terminology validationMSG_DRAFT – Draft status warningsWrong Display Name – German LOINC translationsall-languages – Validator bug with translation extension valueCodeUnable to find resource type – TX proxy parsing issuesdoes not support batch validation – Batch validation not supported