Custom Attribute | MSH Segment Field | Description |
HL7 Field Separator | MSH-1 | Defines the character to be used as a field separator in the message. Recommended value is | |
HL7 Encoding Characters | MSH-2 | Contains two to four special characters used in constructing the message in the following order: the component separator, repetition separator, escape character, and subcomponent separator. Recommended values are ^~\& |
HL7 Sending Application | MSH-3 | Identifies the sending application among all applications that participate in the HL7 message exchange within the enterprise. The HL7 Module createBizDoc service uses the value of this attribute for the sender profile ID when the input senderID information is missing. |
HL7 Sending Facility | MSH-4 | Identifies the sending application among multiple identical instances of the application running on behalf of different organizations. |
HL7 Receiving Application | MSH-5 | Identifies the receiving application among all applications that participate in the HL7 message exchange within the enterprise. The HL7 Module createBizDoc service uses the value of this attribute for the receiver profile ID when the input receiverID information is missing. |
HL7 Receiving Facility | MSH-6 | Identifies the receiving application among multiple identical instances of the application running on behalf of different organizations. |
HL7 Datetime Of Message | MSH-7 | Contains the date and time when the sending system created the message. |
HL7 Security | MSH-8 | Contains security information for the HL7 message. |
HL7 Message Type | MSH-9 | Indicates the message type of the HL7 message. For example, ADT_A01. |
HL7 Message Control Id | MSH-10 | Unique identifier for the message, such as a number. The response is related to the original message based on the message control Id. |
HL7 Processing Id | MSH-11-1 | Indicates whether to process the message as part of a production, training, or debugging system. |
HL7 Processing Mode | MSH-11-2 | Indicates whether the message is part of an archival process or an initial load. |
HL7 Version Id | MSH-12 | Identifies the HL7 message version. For example, 2.3. |
HL7 Sequence Number | MSH-13 | Indicates whether the sequence number protocol is in use. Valid values are: null - The sequence number protocol is not in use. non-null - The sequence number protocol is in use. |
HL7 Continuation Pointer | MSH-14 | When a single logical HL7 message is fragmented and sent as several actual HL7 messages, this attribute contains a unique value that is used to match a subsequent message with this specific value. |
HL7 Accept Acknowledgment Type | MSH-15 | Indicates whether an accept acknowledgment is required in response to the message. This attribute has the following valid values: AL- Always. HL7 Module always sends an accept acknowledgment. NE -Never. HL7 Module never sends an accept acknowledgment. ER -Error conditions only. HL7 Module sends an accept acknowledgment only when it encounters errors. SU -Successful completion only. HL7 Module sends an accept acknowledgment only when it receives the message successfully. |
HL7 Application Acknowledgment Type | MSH-16 | Indicates whether an application acknowledgment is required in response to the message. HL7 Module does not process the MSH-16 field. The Application Acknowledgment is processed and generated by the receiving partner as required. |
HL7 Country Code | MSH-17 | Contains the country of origin of the message specified in three-character (alphabetic) form as defined by ISO 3166. |
HL7 Character Set | MSH-18 | Contains the character set for the entire message. The default value is ASCII. |
HL7 Alternate Characterset Handling Scheme | MSH-20 | Specifies the scheme to use for alternative character sets. The default value for this attribute is null. It indicates that no alternate character sets occur in this message. |
HL7 Message Profile Identifier | MSH-21 | Refers to or indicates adherence to a message profile. Message profiles contain grammar, syntax, and usage details for a message or set of messages. |
HL7 Sending Responsible Organization | MSH-22 | Identifies the business organization that is the originator of the message and is legally responsible for the contents of the message. The value for this attribute contains the name and ID number of the organization. |
HL7 Receiving Responsible Organization | MSH-23 | Identifies the business organization that is the intended receiver of the message and is legally responsible to act on the information that the message contains. The value for this attribute contains the name and ID number of the organization. |
HL7 Receiving Network Address | MSH-25 | Identifies the network location (such as the URL) to which the message was sent. |
Custom Attribute | MSA Segment Field | Description |
HL7 Code | MSA-1 | Indicates the HL7 message coding system. This attribute contains values, such as AA, AL, and AR. |
HL7 Control Id | MSA-2 | This field contains the message control ID of the message sent by the sending system. The sending system uses this ID to associate this response with the message for which it is intended. |
HL7 Text | MSA-3 | Contains text data to display on a screen or printer to describe an error condition. |
HL7 Expected Sequence Number | MSA-4 | This attribute is used in the sequence number protocol. |
HL7 Waiting Number | MSA-7 | Indicates the number of messages the acknowledging application has waiting in a queue. |
HL7 Waiting Priority | MSA-8 | Indicates the priority of the most important message in the sending application. Valid values are: H - High. There is at least one message with priority “high” waiting for an acknowledgment. M - Medium. There is at least one message with priority “medium” and no messages with higher priority waiting for an acknowledgment. L - Low. The highest priority of any message waiting is “low”. |