Initial Release
IRIS-HL7v2Gen is a web application designed to generate HL7 test messages, validate them against HL7 specifications, display the message structure hierarchy, and transmit the messages to production via TCP/IP
Make sure you have git and Docker desktop installed.
Clone/git pull the repo into any local directory
$ git clone https://github.com/mwaseem75/iris-HL7v2Gen.git
Open the terminal in this directory and run:
$ docker-compose up -d
Open IRIS for Health installation with IPM client installed. Call in any namespace:
USER>zpm "install iris-HL7v2Gen"
Navigate to http://localhost:32783/csp/HL7v2Gen/index.csp to run the application
Select a message type from the dropdown list and click the “Generate Test Message” button
The application will generate a test message
Click the “Validate Message” button
The application will construct the message structure based on HL7 specifications
Click on “View Production” to open the production page. Make sure the production is started
Click on “Send message to production” button from the application
Select business service “HL7TcpService” and Open message viewer
Connect to the IRIS Terminal, execute the GenMessage function of the dc.HL7v2Gen class, and pass the desired HL7 message type
set mes = ##class(dc.HL7v2Gen).GenMessage("ADT_A01")
write mes
Thanks