---
title: "Healthcare EDI Decoded: The 837 Claim and 835 Payment"
description: "Handling patient data requires precision. We explore the HIPAA-mandated EDI 837 (Claims) and 835 (Remittance Advice) transactions used by payers and providers."
date: "2025-09-12"
author: "Jayesh Jain"
category: "Electronic Data Interchange (EDI)"
tags: ["Healthcare", "HIPAA", "EDI", "X12"]
keywords: "EDI 837 Professional, EDI 837 Institutional, EDI 835 ERA, Healthcare Claims Processing, HIPAA Compliance, X12 5010"
featuredImage: "/edi/po-810.jpg"
cta: "Building Healthcare Software?"
ctaDescription: "We specialize in HIPAA-compliant EDI parsing and generation."
---

# Healthcare EDI Decoded: The 837 Claim and 835 Payment

## Introduction

In US Healthcare, the **Health Insurance Portability and Accountability Act (HIPAA)** mandates the use of specific EDI X12 standards for exchanging information between Providers (Doctors/Hospitals) and Payers (Insurance Companies).

## 1. EDI 837: Health Care Claim
The 837 is the electronic file submitted to the insurance company to request payment for medical services.
There are three main versions:
*   **837P (Professional):** For doctors and clinics.
*   **837I (Institutional):** For hospitals.
*   **837D (Dental):** For dentists.

### X12 Sample (837 Professional)
An 837 file is hierarchical (Provider -> Subscriber -> Patient -> Diagnosis -> Service Line).
```text
ST*837*0001*005010X222A1~
BHT*0019*00*CLAIM123*20250912*1200*CH~
NM1*41*2*SMITH*JOHN****46*1234567890~ (Submitter/Provider)
NM1*40*2*BLUE CROSS****46*PAYERID~ (Receiver/Payer)
HL*1**20*1~ (Information Source)
HL*2*1*22*0~ (Subscriber)
CLM*PATIENT_ACCT_123*150.00***11:B:1*Y*A*Y*Y~ (Claim Info)
HI*ABK:A001~ (Diagnosis Code - ICD-10)
LX*1~
SV1*HC:99213*150.00*UN*1***1~ (Service Line - CPT Code)
DTP*472*D8*20250910~ (Date of Service)
SE*25*0001~
```

## 2. EDI 835: Health Care Claim Payment/Advice (ERA)
**Direction:** Payer -> Provider
The 835 explains the payment. It details what was paid, denied, or adjusted (e.g., "Patient has a $20 copay"). It drives the "Auto-Posting" process in hospital billing systems.

### X12 Sample (835)
```text
ST*835*0001~
BPR*I*130.00*C*ACH*CCP*01*999999999**1999999999**DA*0001234567~ (Payment Info)
TRN*1*CHECK12345*1999999999~
N1*PR*BLUE CROSS~
CLP*PATIENT_ACCT_123*1*150.00*130.00*20.00*MB*1234567890~ (Claim Level Payment)
CAS*PR*1*20.00~ (Adjustment: $20 Deductible)
SVC*HC:99213*150.00*130.00~
SE*20*0001~
```

## 3. EDI 999: Implementation Acknowledgment
Before a claim is processed, the standard "Technical Ack" (999) confirms the file was received and passed syntax validation (e.g., no missing mandatory fields).

## Conclusion
Healthcare EDI is rigorous. A single missing field (like an NPI number or Diagnosis pointer) results in a rejection. Modern clearinghouses automate this, but understanding the raw 837 data is essential for debugging claim denials.
