Reference·MSH Segment·MSH-3
HL7 v2 Reference

MSH-3 in HL7 v2: A Field Guide to Sending Application

Jul 27, 2026 · 4 min read
← MSH-2 MSH-4 →

MSH-3 is often the field an interface engine uses first to decide which routing rule to apply — before it even looks at message type — which makes it a quiet single point of failure whenever a source system gets renamed or replaced.

Quick answer

MSH-3 is the third field of the MSH segment — a short identifier naming the application system that originated the message, such as an ADT system or lab system.

What this field contains

ADTSYS
Example identifier for an admission/discharge/transfer system
LABSYS
Example identifier for a laboratory information system
RADSYS
Example identifier for a radiology information system

Example

Synthetic example Generated by Synthibase
MSH|^~\&|ADTSYS|HOSP|BILLSYS|HOSP|20260727143000||ADT^A01|MSG00001458|P|2.5.1

The 3rd field, ADTSYS, identifies the sending application as the hospital's ADT system. Synthetic message — not a real transmission.

Where this trips people up

Interface engines frequently build routing tables keyed on the exact string in MSH-3, so when a source system is upgraded, migrated, or simply renamed, every rule keyed to the old identifier stops matching at once — messages either pile up unrouted or fall through to a default rule that was never meant to handle that volume.

HL7 v2 MSH Explained: Structure, Fields, and Common Mistakes
How to Build a Test Environment Strategy for a Multi-Hospital System
Regression Testing for EHR Upgrades: A Complete Guide
Test routing changes before a system rename ships
Synthibase generates synthetic MSH headers across every sending application your interface engine routes on, so renamed or retired systems get caught in testing.
Start free trial →
This page is written independently by Synthibase for testing and informational purposes. It is not an official publication of HL7 International or X12/Washington Publishing Company, and is not a substitute for reviewing the official standard or your trading partner's companion guide. See our Terms of Service for full legal terms.