Skip to content

paulolaup/fhir-bridge

 
 

Repository files navigation

FHIR Bridge CircleCI Status

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

  • JDK (>= 11.0.2)
  • Apache Maven (>= 3.6.0)
  • EHRbase (>= v0.14.0)
  • MinIO
  • [Optional] ELK Stack: Elasticsearch, Kibana and Logstash (>= 7.7.0)

Build the application

$ mvn clean install

Build the application and execute integration tests

$ mvn clean install -DskipITs=false

⚠️ 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

About

FHIR Bridge is an official component of EHRbase.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 61.3%
  • RobotFramework 22.9%
  • HTML 15.7%
  • Python 0.1%