MSH-9 is the field that tells every downstream system what kind of message this is. Misread it and you route an outpatient register like an inpatient admit — or NAK a perfectly good ADT because the structure name is wrong.
In HL7 v2.5.1, MSH-9 is data type MSG with three components:
ADT, ORM, ORU, SIU, ACK.A01 (admit), A04 (register), A08 (update).ADT_A01.Example from Penford Medical Center:
MSH|^~\&|PENEHR|PMC|HARBORENGINE|PMC|20261015120000-0400||ADT^A04^ADT_A01|PMC-ADT-151200|P|2.5.1
That is an ADT of trigger A04 built on structure ADT_A01. Sources: HL7 v2.5.1 product brief (Control / Chapter 2 field definitions); see also our MSH field guide.
Several ADT triggers share one structure. In v2.5.1, A01, A04, and A08 (among others) commonly use ADT_A01. A02 (transfer) uses ADT_A02. A13 (cancel discharge) often rides ADT_A01 again. The trigger tells you *what happened*; the structure tells you *which segment pattern* to parse. If a partner sends ADT^A04^ADT_A04, many engines reject it as an unknown structure even though the event is fine.
ADT^A04.| A01 | Admit / visit notification | ADT_A01 |
|---|---|---|
| A04 | Register a patient | ADT_A01 |
| A08 | Update patient information | ADT_A01 |
| A02 | Transfer a patient | ADT_A02 |
| A03 | Discharge / end visit | ADT_A03 |
Exact event and structure pairings are defined in the v2.5.1 chapters for Patient Administration (Chapter 3) and the Control tables — always confirm against the partner’s interface spec, not memory alone.
Paste a sample into the free HL7 viewer to see MSH-9 broken into components with Insights.