Download 9 - MedPlus

Transcript
MSH—Message Header Segment
The Message Header (MSH) segment defines the intent, source, destination, and some specifics of the syntax of a message.
Field
Name
Type Length Comments
Req’da
MSH.00
Segment Type ID
ST
4
Must be MSH.
R
MSH.01
Field Separator
ST
1
R
The separator between the message segment ID
(“MSH”) and the first real data field (MSH.02). Defines
the character to be used as a separator for the rest of the
message. The value is a vertical bar (|).
MSH.02
Encoding Characters
ST
4
Four characters that are used in the following order:
component separator, repetition separator, escape
character, and subcomponent separator.
R
Format: ^~\&
These values are recommended by HL7 and are the only
values supported.
MSH.03
Sending Application
HD
180
The name of the sending application.
O
MSH.04
Sending Facility
HD
180
The sending facility. Identifies the owner of the patient R
data and who initiated the patient demographic request.
This value will be provided by MedPlus.
The Data Exchange verifies that the field is populated.
MSH.05
Receiving Application
HD
180
The receiving application identifier.
O
MSH.06
Receiving Facility
HD
180
R
The receiving facility. The account number defined for
the requester. This value will be determined by the Client
team and MedPlus.
The Data Exchange verifies that the field is populated.
MSH.07
Date/Time of Message TS
26
The date and time that the sending system created the
message.
R
Format: YYYYMMDDHHMMSS
Note: All date timestamps are set to Coordinated
Universal Time (UTC).
The Data Exchange verifies that this field is populated
and that the value complies with the format above.
MSH.08
Security
NS
MSH.09
Message Type
CM
7
The type of message being transmitted, and the event
R
leading to the creation of the message. Valid value: A39
(Merge Person Information).
MSH.10
Message Control ID
ST
20
A number or other data that uniquely identifies the
message in its transmission to the receiving system.
R
The Data Exchange verifies that this field is populated.
Patient Demographic HL7 Specification
105