Reference·NM1 Segment·NM102
X12 837P Reference

NM102 in X12 837P: A Field Guide to Entity Type Qualifier

Jul 27, 2026 · 4 min read
← NM101 NM103 →

NM102 decides whether the rest of the NM1 loop is read as a person's name or a business name — get it backwards and NM103 either shows a surname in the organization-name field or a clinic's name split awkwardly across first and last name fields.

Quick answer

NM102 is a single-digit code in the NM1 segment that specifies whether the entity being named is a person (1) or a non-person entity like an organization (2).

Valid code values

1
Person — an individual, e.g. a subscriber or referring physician
2
Non-Person Entity — an organization, e.g. a group practice or payer

Example

Synthetic example Generated by Synthibase
NM1*PR*2*MERIDIAN HEALTH PLAN*****PI*66783*

Entity type 2 tells the reader NM103 holds an organization name rather than a surname — here, the payer. Synthetic claim data.

Where this trips people up

When test data is generated from a template that assumes every NM1 loop describes a person, organizational loops like the payer or a billing group practice end up with entity type 1 and a business name jammed into NM103 as if it were a last name. Some translators accept this silently; others reject the segment outright, and either way it produces test claims that don't reflect how production data actually looks.

How to Test X12 837P NM1: A Field-by-Field Breakdown
What is X12 837P? Complete Format and Field Guide
How to Generate Synthetic X12 837 Test Data for EDI Go-Live Testing
Test both person and organization NM1 loops
Synthibase generates synthetic 837P claims with correctly typed person and organization NM1 loops, so your test suite reflects real payer and provider variety.
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.