ehrbase / fhir-bridge

FHIR Bridge acts as a broker between an HL7 FHIR client and an openEHR server.
32 stars 20 forks source link
ehrbase fhir fhir-bridge openehr

FHIR Bridge CircleCI Status

FHIR Bridge is no longer maintained as an official EHRbase component

FHIR Bridge, as is, continues to be maintained as part of the num-fhir-bridge repository https://github.com/NUM-Forschungsdatenplattform/num-fhir-bridge


~FHIR Bridge is an official component of EHRbase.~ The purpose of the application is to act as a broker between an HL7 FHIR client and an openEHR server.

The implementation is based on Apache Camel and Open eHealth Integration Platform.

Getting Started

Prerequisites

Build the application

$ mvn clean install

Build the application and execute integration tests

$ mvn clean install -DskipITs=false

:warning: When using -DskipITs=false option, please make sure you have an EHRbase instance up and running. The easiest way to achieve that is to use one of the provided docker-compose files in the docker folder:

# Start up an EHRbase instance
cd docker
docker-compose -f docker-compose-light.yml up

Run the application

$ java -jar fhir-bridge-1.0.0-SNAPSHOT.jar

Docker and Docker Compose

Build the Docker image

$ mvn clean spring-boot:build-image

Start a Docker container

$ docker run -p 8888:8888 -e "FHIR_BRIDGE_EHRBASE_BASE_URL=http://172.17.0.1:8080/ehrbase/rest/openehr/v1/" \
             --name=fhir-bridge ehrbase/fhir-bridge

Setup a full environment using Docker Compose

$ cd docker
$ docker-compose -f docker-compose-full.yml up