curl -O https://github.com/HL7/fhir-ig-publisher/releases/download/1.8.12/publisher.jar java -jar publisher.jar -ig ig/open ig/output/index.htmlThe tests/ directory contains test fixtures (valid and invalid Questionnaire instances) and two ways to validate them against the IG profiles.
Download the validator once:
bash tests/download_validator.shBuild the IG (requires SUSHI and IG Publisher):
./_genonce.shRun all tests in a single JVM call:
bash tests/validate.shThe script passes all five fixtures to the validator together, splits the output by file, and reports PASS/FAIL for each expected error or clean result.
Requires Docker and a built IG (output/package.tgz produced by _genonce.sh).
bash tests/run_docker_tests.shThis starts a HAPI FHIR R4 server, loads the IG package at startup via tests/hapi-application.yaml, then runs tests/validate_api.sh which posts each fixture to the Questionnaire/$validate endpoint and checks the response. Containers are torn down automatically on exit.
It's strongly recommended to migrate to the new IG that located in this repository, but if it's not possible to migrate, the zen project was moved to a separate repository https://github.com/beda-software/beda-emr-core-zen-legacy
zen-package.edn should be updated with new url:
{:deps {beda-emr-core "https://github.com/beda-software/beda-emr-core-zen-legacy.git"
hl7-fhir-r4-core "https://github.com/zen-fhir/hl7-fhir-r4-core.git"
hl7-terminology-r4 "git@github.com:zen-fhir/hl7-terminology-r4.git"}}