6.1    MSH-Message Segment Header

Seq
Element Name
Req
Type
Len
Comments

0

Segment ID (MSH)

R

ID

3

"MSH"

1

Field Separator (FS)

R

AN

1

This is used to identify separator char  “|”

2

Encoding Characters

R

AN

4

 ^ ~ \ &

3

Sending Application (SA)

NU

AN

15

Not used

4

Sending Facility (SF)

NU

AN

20

Not used

5

Receiving Application (RA)

NU

AN

15

Not used

6

Receiving Facility (RF)

NU

AN

20

Not used

7

Date/Time of Message (TOM)

O

AN

15

YYYYMMDDhhmm[ss]

8

Security (SEC)

NU

AN

40

Not used

9

Message Type (MT)

R

AN

7

ADT – Admit, Discharge, Transfer Message

ACK – General Acknowledgment Message

10

Message Control ID (MCID)

R

AN

20

 

11

Processing ID (PID)

R

NU

1

P

12

Version ID (VID)

R

AN

8

HL7 standard version being used. 
HL7 2.x Version

13

Sequence Number (SEQ)

NU

AN

15

Not used

14

Continuation Pointer

NU

AN

180

Not used

15

Accept Acknowledgment Type

NU

AN

2

Not used

16

Application Acknowledgment Type

NU

AN

2

Not used

17
County Code
NU
AN
2
Not used

R = Required, CR = Conditionally Required, O = Optional, NU = Not Used, N = Numeric, AN = Alpha/Numeric, ID = Segment Identification


6.2 MSA-Message Acknowledgment Segment

The MSA acknowledges receipt of incoming messages.

Seq
Element Name
Req
Type
Len
Comments

0

Segment ID (MSA)

R

ID

3

"MSA"

1

Acknowledgment Code (AC)

NU

NU

2

Not used

2

Message Control ID (MCID)

R

AN

20

ID of the message from the sending system sent as the MCID field in the MSH segment.

3

Text Message  (TM)

NU

AN

80

Not used

4

Expected Sequence Number (ESN)

NU

AN

15

Not used

5

Delayed Acknowledgment Type (DAT)

NU

AN

1

Not used

6 Error Condition
NU
AN
100
Not used

R = Required, CR = Conditionally Required, O = Optional, NU = Not Used, N = Numeric, AN = Alpha/Numeric, ID = Segment Identification




 

Page 11

 

© Copyright 1991-2003. LINK Medical Computing, Inc. All rights reserved Terms of Use.