oehf / xds-registry-to-fhir

IHE XDS.b Registry using a FHIR server as backend
https://github.com/oehf/xds-registry-to-fhir/wiki
Apache License 2.0
12 stars 1 forks source link
fhir ihe xds

IHE XDS.b to FHIR adapter

Introduction

This project illustrate the usage of certain IPF components to build an IHE document registry using a FHIR R4 server as back-end for data persistence.

Target goal is a blueprint project to see how IPF components can be used to build a spring-boot application.

XDS-to-fhir

Design principals

Features

FHIR Server Compatibility

This XDS registry requires a full featured FHIR R4 server. The following were tested so far:

* Because ":identifier" modifier search is not yet supported by these (HAPI + MS) FHIR Server, ITI-62 and FindDocumentsByReferenceId are known to be not working

Build

Build (requires Maven 3.9 and Java 21)

mvn clean install

Tests

A small integration test illustrate a XDS roundtrip with the official HAPI test server.

Run integration tests against hapi fhir server:

mvn failsafe:integration-test -Pit-tests

Run

The CI build push the container to dockerhub. To pull the latest image an e.g. configure the public firely FHIR server, run:

docker run -it -p8081:8081 registry.hub.docker.com/thopap/xds-registry-to-fhir -e FHIR_SERVER_BASE=https://server.fire.ly

Start application with maven runner:

mvn clean spring-boot:run -Pboot

Not yet implemented

The application is not yet intended as a production ready application.