This repository contains example HL7 v2 to FHIR Bundle mapping written in JUTE language.
Also there is FHIR Mapping Language tutorial translated to JUTE.
Both examples are executable, so you can alter mapping or source data and see how it affects result.
Mapping file: adt.yml
Source message: adt.hl7
Executable script: jute-hl7.js
Result: hl7-result.json
Both mappings and source data are in same file: tutorial.yml
Executable script: tutorial.js
Result: tutorial-result.txt
- install recent version of node.js (at least 6.x) for your OS
- clone this repository
- init repository submodules with
git submodule update --init
- install dependencies with
npm install
- invoke scripts like
node ./jute-hl7.js
ornode ./tutorial.js
Feel free to write any comments, suggestions or questions to Mike Lapshin: mlapshin@health-samurai.io