Reference·NM1 Segment·NM103
X12 275 Reference

NM103 in X12 275: A Field Guide to Name Last or Organization Name

Jul 28, 2026 · 4 min read
← NM101 NM109 →

NM103 looks like the simplest field in the whole segment — just a last name — right up until a hyphenated or multi-word surname shows up and your matching logic has to decide which half is the 'real' one.

Quick answer

NM103 is the third element of the NM1 segment and, in a 275 attachment transaction where NM101 identifies the patient, it carries the patient's last name. It's used together with the identification code in NM109 to confirm the attachment belongs to the person the receiving system expects.

The elements that actually matter in practice

NM103
Name Last or Organization Name — the patient's last name in a 275 patient occurrence
NM104
Name First — the patient's first name, populated alongside NM103

Example

Synthetic example Generated by Synthibase
NM1*QC*1*VANTERPOOL-REID*DESMOND****MI*ZH774920163*

A synthetic NM1 carrying the hyphenated last name Vanterpool-Reid in NM103. Synthetic data only.

Where this trips people up

Synthetic test data tends to lean heavily on single-word last names, so a matching routine built and tuned against that data often breaks the first time it sees a hyphenated, apostrophized, or multi-word surname in production — either truncating the name or splitting it into two fields that don't recombine into anything the source system recognizes.

X12 275 NM1 Explained: Structure, Fields, and Common Mistakes
How to Write EDI Test Cases That Actually Catch Go-Live Failures
How to Validate X12 EDI Files Before Payer Submission
Test against realistically varied patient names
Synthibase generates synthetic 275 patients with a realistic mix of name formats — hyphenated, multi-word, and single surnames — so your matching logic gets exercised against the messiness real patient data actually contains.
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.