Skip to content

Latest commit

 

History

History
80 lines (55 loc) · 2.2 KB

README.md

File metadata and controls

80 lines (55 loc) · 2.2 KB

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) (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

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

License

Copyright 2024 HiGHmed e.V.

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.