Class MSH

All Implemented Interfaces:
Segment, Structure, Visitable, Serializable

public class MSH extends AbstractSegment

Represents an HL7 MSH message segment (Message header segment). This segment has the following fields:

  • MSH-1: Field Separator (ST)
  • MSH-2: Encoding Characters (ST)
  • MSH-3: Sending Application (HD) optional
  • MSH-4: Sending Facility (HD) optional
  • MSH-5: Receiving Application (HD) optional
  • MSH-6: Receiving Facility (HD) optional
  • MSH-7: Date / Time of Message (TS) optional
  • MSH-8: Security (ST) optional
  • MSH-9: Message Type (CM_MSG)
  • MSH-10: Message Control ID (ST)
  • MSH-11: Processing ID (PT)
  • MSH-12: Version ID (ID)
  • MSH-13: Sequence Number (NM) optional
  • MSH-14: Continuation Pointer (ST) optional
  • MSH-15: Accept Acknowledgement Type (ID) optional
  • MSH-16: Application Acknowledgement Type (ID) optional
  • MSH-17: Country Code (ID) optional
  • MSH-18: Character Set (ID) optional
  • MSH-19: Principal Language of Message (CE) optional
See Also: