Reference·SV1 Segment·SV107
X12 837P Reference

What Is X12 837P SV107? Composite Diagnosis Code Pointer, Explained for Testers

Jul 27, 2026 · 4 min read
← SV105

SV107 doesn't carry a diagnosis code at all — it carries a number pointing at one, and that indirection is exactly where things go wrong: point at position 2 when you meant position 1, and the service line ends up medically justified by the wrong condition entirely.

Quick answer

SV107 is the Composite Diagnosis Code Pointer in an X12 837P service line — up to four numeric pointers, each referencing a position in the diagnosis list carried in the claim's HI segment, establishing which diagnoses medically justify this specific procedure.

What this element contains

Position 1
Primary pointer — references the diagnosis in HI that this line is chiefly billed against
Positions 2-4
Additional pointers — optional, reference up to three more supporting diagnoses
Indirection
Points by position, not by code — SV107 holds an index like 1 or 2, not the ICD-10 code itself
Cross-check
Must resolve inside HI — a pointer with no matching position in HI is invalid, not just questionable

Example

Synthetic example Generated by Synthibase
SV1*HC:99213:25*125.00*UN*1***1*

The final 1 in this segment points at the first diagnosis listed in the claim's HI segment as the reason for this office visit. Synthetic claim data.

Where this trips people up

Because SV107 references diagnoses by position rather than by code, reordering the diagnosis list in HI — say, to move a newly documented condition to the top — silently changes what every existing SV107 pointer on the claim actually means, without anyone touching the SV1 segments themselves. Test suites that never reorder the diagnosis list miss this failure mode entirely.

How to Test X12 837P SV1: A Field-by-Field Breakdown
What is X12 837P? Complete Format and Field Guide
How to Reduce Claim Denials Through Better Pre-Submission Testing
Generate claims with correctly linked diagnosis pointers
Synthibase generates synthetic 837P claims where every SV107 pointer correctly resolves against the HI diagnosis list — including multi-diagnosis and reordered scenarios.
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.