An open API service indexing awesome lists of open source software.

https://github.com/cybernop/validate-fhir-profiles

Docker image to validate FHIR profiles
https://github.com/cybernop/validate-fhir-profiles

docker docker-image fhir fhir-profiles validation

Last synced: 5 months ago
JSON representation

Docker image to validate FHIR profiles

Awesome Lists containing this project

README

          

# validate-fhir-profiles

[![Docker Images](https://github.com/cybernop/validate-fhir-profiles/actions/workflows/docker.yml/badge.svg)](https://github.com/cybernop/validate-fhir-profiles/actions/workflows/docker.yml)

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 ``.

```bash
docker run --rm -u $(id -u):$(id -g) \
-v :/project \
ghcr.io/cybernop/validate-fhir-profiles:
```

With `` 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

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

set executable permissions

```bash
chmod a+x validate-fhir-profiles.sh
```

Call the script with

```bash
[VALIDATOR_VERSION=] validate-fhir-profiles.sh []
```