How to: |
The HL7 Adapter is used for converting the XML-based HL7 messages into HL7 format and sending the same using MLLP protocol. HL7 Adapter can also be configured to receive acknowledgment for the sent HL7 message. Before using an adapter in iWay Service Manager (iSM), you must create a target for it, which represents a specific instance of a connection to a back-end system.
To create an HL7 adapter target:
The HL7 adapter is now listed and appears in the Services folder under the iWay node.
The following window opens, which allows you to specify a name, type, and description.
The following table describes the properties you can configure.
Property |
Description |
---|---|
Name |
Name to be used for this HL7 Adapter Target. |
Type |
Type of communication mechanism to be used for sending out HL7 messages. The options are:
|
Description |
Brief description to be made available to users of the new target. |
The Configuration pane appears, as shown in the following image.
The following table lists and describes the configuration properties.
Parameter |
Description |
---|---|
*HL7 Version |
Select the HL7 version for this target. Messages will be created using specifications for the selected version. The options are:
|
*Start of Block Character |
Character that will mark the beginning of a Message block. The default is 0x11. |
*End of Block Character |
Character that will mark the end of a message block. The default is 0x28. |
*Segment Delimiter |
Character sequence to be used as segment delimiter when generating HL7 messages. The options are CR, CRLF, LF. |
HL7 Repository Directory |
Specify the directory containing the message specifications to be used while generating HL7 messages. This is used when you are required to change the HL7 message specification using specific schema files (.xsd). |
*Processing Mode |
Indicates whether or not the XML representation of messages will have empty elements. Recommended mode is OPTIMIZED. The options are OPTIMIZED, FULL, and FULL_MINIMIZED. |
Turn on Schema Validation |
Indicates whether the generated messages are to be validated against the message specification. False indicates validation is not required. The options are true and false. |
Archiving Location |
Folder path where a copy of generated HL7 messages needs to be stored. Missing folder location implies no archiving required. |
The following window appears, which captures the transport specific configurations.
The following table describes the parameters and its values.
Parameter |
Description |
---|---|
Remote Host |
The host name or IP address of the receiving entity. Multiple Adapter targets need to be created if messages need to be sent to multiple receivers. |
Port Character |
The port number where the receiving entity is listening for this message. |
Synchronization Type |
Allows the user to determine the message transaction sequence. The options are REQUEST and REQUEST_ACK. |
Reuse Connection |
Allows you to define if the connection with the receiving entity can be reused for sending additional messages. The options are true and false. |
Number of Connection Retries |
The number of times the system should be retried before assuming connectivity failure. Default value is 5. |
Pause Time between Connection retries in ms |
The number of milliseconds that the system should wait before retrying the connection. Default value is set to 10000. |
Amount of time to wait without getting an ACK |
The duration in minutes that the system should wait for receiving an Acknowledgment after sending the message. Default value is set to 10000. |
The HL7 Adapter is now successfully created and available for use under Registry.
When you add an adapter (target) in the iWay Service Manager Administrator Console, the process creates run-time connection and persistent data files within iSM. In addition, the process interrogates the iSM repository entries that were built when the target and connection were created using iWay Explorer. Adapters can be added from the iWay Service Manager Administrator Console or a process flow that is created using iWay Designer. However, it is not recommended to use iWay Designer to perform this task.
To configure an HL7 adapter target:
The Adapters pane opens, listing the defined adapters with targets defined, as shown in the following image.
The Repository pane opens, as shown in the following image.
http://localhost:9000
The adapter selection pane opens, as shown in the following image.
The target selection pane appears and the drop-down list gets populated based on the Adapter selection, as shown in the following image.
The HL7 Adapter configuration information pane appears, as shown in the following image.
Perform the following steps:
The adapter is added to the list in the Adapters pane, as shown in the following image.
Any adapters that have been defined using iWay Explorer in iWay Designer are available in the registry. As a result, the adapters will also appear in the Adapters pane and can be modified. For example, you can modify an adapter to include special registers (SREGs).
To modify or update a defined adapter:
The following image shows the configured parameters for the selected adapter.
All adapter parameters except name and Target can be modified.
iWay Software |