Home Applications iris-hl7

iris-hl7

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
4.67
3 reviews
1
Awards
303
Views
15
IPM installs
0
0
Details
Releases
Reviews  (3)
Awards  (1)
Issues
Videos  (1)
Articles  (2)
This app has a demo View
Transform HL7 messages to JSON

What's new in this version

Video, 2 Articles, Online Demo

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
Made with
Install
zpm install iris-hl7 download archive
Version
0.1.003 Feb, 2024
ObjectScript quality test
Category
Technology Example
Works with
InterSystems IRIS for Health
First published
24 Jan, 2024