Technical Reference Authoritative Reference: ANSI ASC X12 837P (5010) Structure & Generation. View Pipeline
EDI Specification Reference

EDI 837P Transaction Structure Explained

Understanding ANSI ASC X12 837 Professional (5010) electronic claim transactions: hierarchical loops, SV1 segments, structural validation, and automated artifact generation.

Written by: HealthyClaim Engineering Reviewed by: HealthyClaim Billing Research Last Updated: September 2026

1. What Is an EDI 837P Claim?

The ANSI ASC X12N 837P (Health Care Claim: Professional) standard is the mandatory electronic data interchange (EDI) format under HIPAA for submitting healthcare claims for professional services rendered by physicians, suppliers, and independent clinics.

Version 005010X222A1 establishes the strict syntax, segment delimiters, and loop hierarchies required by clearinghouses and payers across the United States.

2. Core Hierarchical Structure (Loops)

An 837P file is structured into nested Hierarchical Level (HL) loops that establish patient and provider relationships:

  • Loop 2000A (Billing Provider HL): Identifies the billing entity (NPI, Tax ID, address). Contains Loop 2010AA (Billing Provider Name).
  • Loop 2000B (Subscriber HL): Identifies the insured individual (Member ID, policy group, payer name in Loop 2010BB).
  • Loop 2000C (Patient HL): Used when the patient is a dependent of the subscriber.
  • Loop 2300 (Claim Information): Contains the CLM segment (claim ID, total charge, POS), HI segments (ICD-10-CM diagnosis codes), and attending/referring physician loops.
  • Loop 2400 (Service Line): Contains the SV1 segment (CPT/HCPCS code, billed amount, units, diagnosis pointers), DTP segments (date of service), and drug identification loops (LIN/CTP for NDC numbers).

3. The SV1 Segment & Service Line Anatomy

The heart of procedural billing in EDI 837P is the SV1 segment within Loop 2400:

SV1*HC:99214:25*175.00*UN*1***1:2~

Breakdown: HC:99214:25 (Healthcare code + Modifier 25) * 175.00 (Line charge) * UN*1 (1 Unit of Service) * 1:2 (Diagnosis pointers to Box 21 diagnoses 1 and 2).

4. HealthyClaim's Deterministic EDI Engine

HealthyClaim constructs draft EDI 837P artifacts through strict schema validation:

5010 Structural Integrity: Ensures all mandatory loops, control segments (ISA, GS, ST, SE, GE, IEA), and element lengths strictly satisfy WEDI/SNIP Level 1 and Level 2 clearinghouse specifications.
Automated Pointer Mapping: Links SV1 composite diagnosis pointers directly to documented clinical indications.
Draft Artifact Generation: Generates standards-compliant draft .edi files ready for clearinghouse simulator testing and pre-submission audit.

Authoritative Source Scope

Source Scope: ASC X12 Standards for Electronic Data Interchange (Technical Report Type 3: Health Care Claim: Professional 005010X222A1); Washington Publishing Company (WPC).
Disclaimer: This technical guide is intended for research and engineering evaluation. HealthyClaim produces draft EDI artifacts for testing and does not operate as an active live production clearinghouse.