HL7 Integration Using Mule Healthcare Toolkit- Part 1
This article is first in a series walking you through installation of Mule Healthcare Toolkit, which facilitates integration with HL7 healthcare systems.
Join the DZone community and get the full member experience.
Join For FreeThe Mule Healthcare Toolkit is a collection of features that facilitates integration with healthcare systems by providing the tools needed to easily create, read, and transform HL7 messages within Mule. Health Level Seven International is a standards development organization that defines a set of standards for the transport and communication of healthcare information. The version of the MuleSoft HL7 connector is different from the HL7 version numbering. The HL7 connector only supports HL7 software versions v2.1, v2.2, v2.3.1, v2.3, v2.4, v2.5, v2.5.1, v2.6, 2.7, 2.7.1, 2.8, and 2.8.1. HL7 software version 3.0 is not supported.
The Mule Healthcare toolkit allows you to send and receive HL7 messages over MLLP and other transport protocols and corresponding connectors supported by Mule, such as HTTP. Minimal Lower Layer Protocol (MLLP) uses the HL7 MLLP connector.
Installing the Mule Healthcare Toolkit
In Anypoint Studio, click Help > Install New Software.
In the Work With field of the Install wizard, use the drop-down menu to click: Anypoint Connectors Update Site.
Expand Premium and check HL7 EDI Connector. Click Next.
Click Next to confirm the installation details.
Click I accept the terms of the license agreement, then click Finish.
After installation finishes, the installer asks you to restart Studio. Click Yes to restart. After Studio restarts, type hl7 in the palette search to quickly find the HL7 EDI building block.
If you want to use the MLLP Transport, please expand Premium and check Mule MLLP Transport.
Steps to Build HL7 Integration to Append the Segment to the Inbound Message:
Place the HL7 MLLP, HL7 append, and logger nodes in the source area of the canvas:
Configure the HL7 MLLP node in the General tab for IP and Port:
In the Advanced tab, the exchange pattern should be selected as one-way.
In the HL7 append node, add AL1 segment as below to the inbound message:
Start the project in debugger mode:
Send the HL7 message from any HL7 client without waiting for any acknowledgment:
AL1 is segment added in the inbound message as per HL7 message library:
For more details, refer to this link.
Opinions expressed by DZone contributors are their own.
Comments