/fhir-validator-wrapper

FHIR Resource Validation Service

Primary LanguageJavaApache License 2.0Apache-2.0

HL7 FHIR Validation Service

Build Status

The fhir-validator-wrapper provides a persistent service for executing the FHIR® Validator. It is intended to provide validation capabilities to other applications that integrate it.

REST API

See here for the REST API documentation.

Installation

System Requirements: The Validation Service requires Java 11 or above.

Running Locally with Java

To build and run the test suite:

*nix

./gradlew build check test

Windows

gradlew.bat build check test

To run the app:

./gradlew run

The port can also be set through the environment

VALIDATOR_PORT=8080 ./gradlew run

Running with Docker

Build

./build_docker.sh

Run

docker run -p 4567:4567 hl7_validator

Run with a different terminology server:

docker run -p 4567:4567 --env TX_SERVER_URL=http://mytx.org/r4 hl7_validator

Run without terminology validation:

docker run -p 4567:4567 --env DISABLE_TX=true hl7_validator

Creating an Uber Jar

An uber jar can be created with:

./gradlew uberJar

By default, the uber jar will be located in build/lib/.

This uber jar can be executed with java -jar InfernoValidationService-<version>-uber.jar

Contact Us

The Inferno development team can be reached by email at inferno@groups.mitre.org. Inferno also has a dedicated HL7 FHIR chat channel.

License

Copyright 2019 The MITRE Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.