Written and maintained by CASRAI Editorial Board
Last updated
EDI 837 (formally the ASC X12N 837 Version 5010 Health Care Claim transaction set) is the federally mandated electronic data interchange (EDI) standard under the HIPAA Administrative Simplification regulations (45 CFR § 162.1102) used by healthcare providers and medical claims clearinghouses to submit fee-for-service reimbursement claims and capitated encounter records to Medicare, Medicaid, and commercial health plans. Paired with the outbound Electronic Remittance Advice (ERA / EDI 835) payment transaction, the EDI 837 replaces paper claim forms across professional, institutional, and dental billing workflows.
1. What Is an EDI 837 File? Comparing 837P, 837I, and 837D (ASC X12 5010)
Under the ASC X12 Technical Report Type 3 (TR3) Version 5010 specifications, the 837 transaction is divided into three distinct implementation guides corresponding to the provider type and paper claim counterpart (see CMS-1500 vs. UB-04 claim form):
| Transaction Variant | ASC X12 5010 TR3 Implementation Guide ID | Paper Form Equivalent | Target Billing Providers & Core Structural Differences |
|---|---|---|---|
| EDI 837P (Professional) | 005010X222A1 |
CMS-1500 (02/12) | Used by physicians, non-physician practitioners (NPs/PAs), physical/occupational/speech therapists, independent clinical labs, and freestanding ASCs. Uses the SV1 segment in Loop 2400, 2-digit Place of Service (POS) codes in CLM05-1, and CPT/HCPCS procedure codes linked to up to 12 ICD-10-CM diagnosis pointers per claim. |
| EDI 837I (Institutional) | 005010X223A2 |
UB-04 (CMS-1450) | Used by acute care hospitals, Critical Access Hospitals, Skilled Nursing Facilities (SNFs), outpatient hospital departments (HOPDs), and home health/hospice agencies. Uses the SV2 segment in Loop 2400, 4-digit NUBC Revenue Codes, Type of Bill (TOB) in CLM05-1/2/3, Condition/Occurrence/Value codes in HI segments, and ICD-10-PCS inpatient procedure codes. |
| EDI 837D (Dental) | 005010X224A2 |
ADA Dental Claim Form | Used by dental practices and oral surgeons. Uses the SV3 service line segment, ADA CDT procedure codes, and the TOO (Tooth Identification) segment for tooth numbers and oral cavity surfaces. |
2. Envelope and Hierarchical Loop Architecture (`ISA` to Loop `2400`)
Every EDI 837 file is wrapped in three outer X12 control envelopes—the Interchange Control Envelope (`ISA` / `IEA`), the Functional Group Envelope (`GS` / `GE` with functional identifier `HC`), and the Transaction Set Header/Trailer (`ST*837` / `SE` plus `BHT` Beginning of Hierarchical Transaction)—which enclose a structured hierarchy of numbered Loops:
- Loop 1000A (`NM1*41` Submitter) & Loop 1000B (`NM1*40` Receiver): Identify the entity transmitting the electronic file (the provider or clearinghouse) and the receiving clearinghouse or health plan.
- Loop 2000A — Billing Provider Hierarchical Level (`HL*1**20*1`): The root of the 3-tier `HL` tree. Sub-loop `2010AA` (`NM1*85`) carries the Billing Provider’s legal name, 10-digit Type 2 organizational NPI, 10-character HIPAA Healthcare Provider Taxonomy Code (`PRV*BI`), physical street address (`N3`/`N4`, no PO Boxes permitted in `2010AA`), and Employer Identification Number (`REF*EI`). Sub-loop `2010AB` (`NM1*87`) carries the Pay-To Address if remittance checks/EFTs go to a lockbox or PO Box.
- Loop 2000B — Subscriber Hierarchical Level (`HL*2*1*22*0` or `1`): Identifies the primary insured policyholder. Sub-loop `2010BA` (`NM1*IL`) holds the Subscriber’s name, Member ID, demographics (`DMG`), and address; Sub-loop `2010BB` (`NM1*PR`) holds the Payer Name and Electronic Payer ID. If the patient IS the subscriber (`HL04 = 0`), patient claims follow directly under `2000B`; if the patient is a dependent spouse or child (`HL04 = 1`), Loop 2000C (`HL` Level `23`, `2010CA` `NM1*QC`) is populated for the dependent patient.
- Loop 2300 — Claim Information (`CLM`): Contains claim-wide attributes, including Patient Control Number (`CLM01`), Total Claim Charge Amount (`CLM02`), Facility Code / POS (`CLM05`), ICD-10-CM Principal and Secondary Diagnoses (`HI*ABK:…` and `HI*ABF:…`), Admission/Statement Dates (`DTP*435` / `DTP*434`), Prior Authorization Number (`REF*G1`), Clinical Laboratory Improvement Amendments number (`REF*X4`), and secondary payer Coordination of Benefits (`SBR` in Loop 2320).
- Loop 2400 — Service Line Information (`LX` -> `SV1` / `SV2` -> `DTP*472`): Repeats up to 50 times per 837P claim (or 999 times per 837I claim) for each billed procedure or revenue line. Carries the line counter (`LX`), procedure code and up to 4 modifiers (`SV101` / `SV202`), line charge amount, unit count (`UN`), Service Date (`DTP*472`), National Drug Code (`LIN*N4` and `CTP` in Loop 2410 for physician-administered J-code drugs), and line-level Rendering Provider NPI (`2420A` `NM1*82`).
ST*837*0001*005010X222A1~
BHT*0019*00*BATCH20261015*20261015*1030*CH~
NM1*41*2*METRO ACADEMIC MEDICAL CENTER*****46*SUB99812~
NM1*40*2*MEDICARE MAC*****46*MAC0012~
HL*1**20*1~
PRV*BI*PXC*207R00000X~
NM1*85*2*METRO ACADEMIC MEDICAL CENTER*****XX*1234567890~
N3*500 UNIVERSITY AVE~
N4*BOSTON*MA*021151234~
REF*EI*041234567~
HL*2*1*22*0~
SBR*P*18*******MB~
NM1*IL*1*DOE*JANE*M***MI*1EG4TE5MK72~
DMG*D8*19550418*F~
NM1*PR*2*MEDICARE*****PI*00882~
CLM*PATCTRL90412*325.00***11:B:1*Y*A*Y*Y~
REF*P4*04819204~
HI*ABK:C3490*ABF:Z006~
LX*1~
SV1*HC:99214:Q1*225.00*UN*1***1:2~
DTP*472*D8*20261015~
SE*22*0001~
3. How Is EDI 837 Used in Clinical Research and Healthcare Billing Compliance?
In academic medical centers and clinical trial sites, proper EDI 837 mapping is essential to prevent False Claims Act exposure (double-billing sponsor-paid items to Medicare) and to satisfy CMS National Coverage Determination (NCD) 310.1 rules for Qualifying Clinical Trials (see clinical trial claim coding):
- 8-Digit ClinicalTrials.gov NCT Number (`REF*P4` in Loop 2300): Under CMS Change Request 8401 / 8921, every 837P and 837I claim for routine or investigational clinical trial services must transmit the 8-digit numeric portion of the ClinicalTrials.gov identifier (`NCT########` stripped of the `NCT` prefix) in Loop 2300 segment `REF*P4*########~` (described as the Demonstration Project Identifier).
- Diagnosis Code `Z00.6` (`HI` Segment in Loop 2300): Routine costs in a qualifying clinical trial require ICD-10-CM code **`Z00.6`** (Encounter for examination for normal comparison and control in clinical research program) in the `HI` diagnosis segment alongside the primary condition diagnosis.
- 837P vs. 837I Clinical Trial Modifiers and Condition/Value Codes:
- On both 837P (`SV101`) and outpatient 837I (`SV202`) lines, routine care items append HCPCS modifier `Q1` and investigational items covered under Category B IDE or CED append modifier `Q0`.
- On inpatient and outpatient 837I Institutional claims, Loop 2300 `HI` segments additionally carry NUBC Condition Code `30` (`HI*BG:30~`, Qualifying Clinical Trial) and, for IDE device trials, Value Code `FD` (credit received from manufacturer for replaced medical device) alongside the IDE number in `REF*LX`.
4. The End-to-End HIPAA X12 Revenue Cycle (`270/271` -> `837` -> `277CA` -> `835`)
In hospital revenue cycle informatics, the EDI 837 sits at the center of five synchronized ASC X12 5010 transactions:
- `270 / 271` (Eligibility, Coverage, or Benefit Inquiry and Response): Verifies active insurance coverage and copay/deductible status prior to service.
- `278` (Health Care Services Review): Submits electronic Prior Authorization requests and receives certification numbers (`REF*G1` on the 837).
- `837P / 837I / 837D` (Health Care Claim): Transmits the scrubbed claim from the EHR/billing system through the clearinghouse (where WEDI SNIP Levels 1–7 edits validate syntax and coding).
- `999` (Implementation Acknowledgment) & `277CA` (Claim Acknowledgment): Confirm syntactic acceptance of the 837 functional group (`999`) and front-end payer acceptance or rejection of individual claims (`277CA`) prior to adjudication.
- `835` (Health Care Claim Payment/Advice): Returns line-item payment adjudication, CARC/RARC adjustment codes, and EFT trace numbers (`TRN`) back to the provider’s practice management system.
5. Frequently Asked Questions
What is EDI 837?
EDI 837 (ASC X12N 837 Version 5010) is the HIPAA-mandated electronic transaction format used by healthcare providers and clearinghouses to submit medical claims and encounter data to payers. It comprises three specialized specifications: 837P (`005010X222A1`, Professional claims equivalent to the paper CMS-1500), 837I (`005010X223A2`, Institutional facility claims equivalent to the UB-04 / CMS-1450), and 837D (`005010X224A2`, Dental claims).
How is EDI 837 used in clinical research and healthcare?
In healthcare delivery, EDI 837 standardizes the submission of billing provider identifiers (Loop 2000A), subscriber/patient demographics (Loop 2000B/2000C), ICD-10-CM diagnoses and claim totals (Loop 2300), and CPT/HCPCS or Revenue Code service lines (Loop 2400). In clinical trials, the 837 carries mandatory Medicare Qualifying Clinical Trial (NCD 310.1) elements—specifically the 8-digit ClinicalTrials.gov NCT number in Loop 2300 (`REF*P4`), ICD-10 diagnosis `Z00.6`, Condition Code `30` (on 837I), and line-item modifiers `Q0` and `Q1`—to separate routine covered care from sponsor-paid research costs.







