Skip to content

oliverwilms/iris-hl7

Repository files navigation

Gitter Quality Gate Status Reliability Rating

iris-hl7

Description

iris-hl7 transforms HL7 messages to JSON

You can find Online Demo here or webterminal.

screenshot

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.

screenshot

screenshot

Schema Validation using Embedded Python

Go to webterminal and switch to USER namespace.

ZN "USER"
do ##class(otw.python.test).jsonschema()

Test it out - Send HL7 messages to Online Demo Server

Please add Operation to your Production like this: screenshot Send a 2.3 HL7 message and check the Message Viewer in Online Demo here.

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

IPM

Open IRIS for Health installation with IPM client installed. Call in any namespace:

USER>zpm "install iris-hl7"

Docker (e.g. for dev purposes)

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published