Skip to content

inferno-framework/fhirpath-service

Repository files navigation

Inferno FHIRPath Service

The inferno-framework/fhirpath-service provides a persistent service for evaluating FHIRPath. This lightweight wrapper enables applications not implemented in Java, such as the Inferno Framework, to interface with the FHIRPath in a service environment. It is primarily being used within the Inferno Framework to provide HL7® FHIR® validation services for tests.

Since this is just a lightweight wrapper around the FHIRPathEngine, most of the functionality provided by this service is implemented within the HL7® FHIR® Core library, which is developed and maintained independently of this project.

REST API

See here for the REST API documentation.

Installation

System Requirements: The FHIRPath 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

FHIRPATH_PORT=8080 ./gradlew run

Running with Docker

Build

./build_docker.sh

Run

docker run -p 6789:6789 inferno_fhirpath_service

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 InfernoFHIRPathService-<version>-uber.jar

Contact Us

The Inferno development team can be reached by email at [email protected]. Inferno also has a dedicated HL7 FHIR chat channel.

License

Copyright 2024 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.

Trademark Notice

HL7, FHIR and the FHIR [FLAME DESIGN] are the registered trademarks of Health Level Seven International and their use does not constitute endorsement by HL7.