fhir-bridge
fhir-bridge copied to clipboard
FHIR Bridge acts as a broker between an HL7 FHIR client and an openEHR server.
FHIR Bridge 
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
- JDK (>= 11.0.2)
- Apache Maven (>= 3.6.0)
- EHRbase (>= v0.14.0) (or similiar openEHR platform)
- 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
: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