Using the HL7 Binding Component

MSH Properties

The MSH Properties section provides the HL7 MSH Header segment settings. It includes the following properties.

Property 

Description 

Validate MSH 

An indicator of whether MSH segment validation is enabled. 

Sequence No 

An indicator of whether sequence number protocol is enabled. 

Processing ID 

The Processing ID value by which the MSH-11 segment in the received message is validated when validateMSH is enabled. MSH-11 is used to indicate whether a message is processed as defined in the HL7 Processing rules.  

The Processing ID options include the following:

  • D - Debugging

  • T- Training

  • P- Production

Version ID 

The HL7 Version ID value by which the MSH-12 segment in the received message is validated when validateMSH is enabled. The Version ID options are 2.1, 2.2, 2.3, 2.3.1, 2.4, 2.5, 2.5.1, and 2.6. 

Sending Application 

The sending application (MSH-03 segment) used to create the NAK for invalid HL7 messages. This is used to help identify this application from other participating applications within the network enterprise. 

Sending Facility 

The sending facility (MSH-04 segment) responsible for creating the NAK for invalid HL7 messages. This is used to help further identify participating facilities within the network enterprise. 

Encoding Characters 

The four encoding characters used to create the NAK for an invalid HL7 message. This attribute contains the four characters in the following order:

  • Component separator

  • Repetition separator

  • Escape character

  • Subcomponent separator

The recommended value is ^~\& (that is, ASCII 94, 126, 92, and 38, respectively). 

Field Separator 

The separator between the segment ID and the first real field. This value defines the character that is used as a separator for the rest of the message. Enter the value as a decimal ASCII number ranging from 1 to 127. The default value is 124 which is the character "|".