Video, 2 Articles, Online Demo
iris-hl7 transforms HL7 messages to JSON
You can find Online Demo here or webterminal.
If your Productions is not running, click the Start button.
HL7FileService is configured to process any file from /usr/irissys/mgr/hl7/ directory. Message Schema Category is set for HL7 2.3. HL7 messages are sent to BPL HL7 to JSON.
Visual Trace below shows the HL7 message included in the repo and the conversion to JSON.
The people who have been asked to persist HL7 messages expressed that it is easier for them to parse JSON rather than the delimited HL7.
They provided a schema how they want to receive the HL7 messages converted into JSON.
I did not want to create separate DTLs to transform individual HL7 message formats, but I created code that will transform any HL7 message into the desired JSON format.
Go to webterminal and switch to USER namespace.
ZN "USER"
do ##class(otw.python.test).jsonschema()
Please add Operation to your Production like this:
Send a 2.3 HL7 message and check the Message Viewer in Online Demo here.
Make sure you have git and Docker desktop installed.
Open IRIS for Health installation with IPM client installed. Call in any namespace:
USER>zpm "install iris-hl7"
Clone/git pull the repo into any local directory
$ git clone https://github.com/oliverwilms/iris-hl7.git
Open the terminal in this directory and run:
$ docker-compose up -d