Transformation of the ELGA CDA Laboratory Report to FHIR using the FHIR Mapping Language.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
The following software is required to be installed upfront:
Set up Matchbox locally:
git clone https://github.com/ahdis/matchbox
- Checkout version
2.3.0
as with the current version the mapping fails.git checkout tags/v2.3.0
mvn clean install -DskipTests
docker build -t matchbox .
cd with-postgres
- in
docker-compose.yml
changepostgres:current
topostgres:14.5
(there occurs an error when creating the database with the current version)
- in
mkdir data
docker-compose up matchbox-db
Strg + C
as soon as database is set up
docker-compose up
- access Matchbox at http://localhost:8080/matchbox/#/
- Upload the CDA Logical Model using http://localhost:8080/matchbox/#/igs
In order to execute a transformation execute the following REST calls from within CdaToBundle.http
:
- 1.a. POST CdaToFhirTypes.map
- 1.b. POST CdaToBundle.map
- 2.a. POST Lab_Allgemeiner_Laborbefund.xml (CdaToBundle)
- Matchbox 2.3.0 - The mapping engine used
- CDA Logical Model - The CDA Logical Model adapted to the Austrian requirements
We use SemVer for versioning. For the versions available, see the tags on this repository.
See the list of contributors who participated in this project.
- HL7CH - Implementation Guide CDA FHIR Maps
- BlackTusk - Mapping Austrian CDA Laboratory Report to FHIR