Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.1 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.1 KB

validate-fhir-profiles

Docker Images

This repository provides Docker image to validate FHIR profiles the HAPI Java Validator.

Docker Image

The build information can be found in docker/.

Validate FHIR profiles in <project dir>.

docker run --rm -u $(id -u):$(id -g) \
    -v <project dir>:/project \
    ghcr.io/cybernop/validate-fhir-profiles:<validator version>

With <validator version> one can specify which version of the HAPI Java Validator to use for checking. Currently the following versions are supported:

  • 6.3.18
  • 6.3.19
  • 6.3.20

Script

A convenience script can be downloaded

wget https://raw.githubusercontent.com/cybernop/validate-fhir-profiles/main/docker/scripts/validate-fhir-profiles.sh

set executable permissions

chmod a+x validate-fhir-profiles.sh

Call the script with

[VALIDATOR_VERSION=<validator version>] validate-fhir-profiles.sh [<project dir>]