NM107 in X12 837P: A Field Guide to Name Suffix
NM107 sits between two elements, NM105 and NM106, that are both usually blank in 837P — which means test files that skip it entirely can still parse correctly, right up until a real record with a suffix like III or Jr. exposes a delimiter-counting bug nobody caught.
NM107 is the optional name-suffix element of the NM1 segment — it carries generational or professional suffixes like Jr., Sr., or III for a person named in NM103/NM104.
What this element contains
Example
NM107 carries the suffix JR for the subscriber, with NM106 (Name Prefix) left blank immediately before it. Synthetic claim data.
Where this trips people up
Because NM107 is populated so rarely, small hand-built or lightly randomized test suites tend to never include a record with a suffix — so the first time a claim with a Jr. or III in it hits the pipeline, it's also the first time anyone finds out whether the mapping logic correctly counts the empty NM106 delimiter before it. Deliberately including a handful of suffixed names in synthetic test data catches this before go-live instead of after.