In this section: How to: |
The following section describes how to use the components described previously, in order to build a simple process, which receives an incoming HL7 message over MLLP, converts it to XML format, and saves it in a File. The outbound scenario accepts a file containing the HL7 message in XML format, converts it to HL7 format, and sends it over MLLP. The following two channels must be created in iWay Service Manager in order to run this process:
The following table describes the inbound channel components.
Component |
Sub-component |
Description |
---|---|---|
Inlet |
HL7 listener |
Listens for incoming messages on the provided IP address and port number. Converts the message into XML format and sends back ACK or NACK, based on the message validation status. |
Route |
Move agent |
Pre-existing service to move the input document to the outlet. |
Outlet |
File emitter |
Writes the XML-based HL7 message into a file under preconfigured folder. |
The following image shows the channels pane.
The following table describes the outbound channel components.
Component |
Sub-component |
Description |
---|---|---|
Inlet |
File listener |
Reads an XML-based message from a file that is placed in the preconfigured folder. |
Route |
HL7 adapter target |
The HL7 Adapter target is added to a new Process. This process is added to the Route. HL7 Adapter target converts the XML based message into HL7 format and sends it out on the preconfigured IP and port number. |
Outlet |
Default.outlet |
Writes the Acknowledgment message received against the sent HL7. |
The following image shows the channels pane.
To execute an inbound and outbound process in iWay Service Manager:
A list of available deployment channels is displayed.
Note the Acknowledgment message received. The HL7 message will then be available in XML format under the preconfigured target folder.
The inbound channel has now been executed.
Ensure that an outbound HL7 message is received on port 22025. Note the Acknowledgment message saved in the destination folder configured in the file listener Outbound channel has now been executed.
The following steps confirms the legitimate validation and processing of HL7 messages by the Inbound and Outbound channels:
iWay Software |