Tediware launches an official MCP server for EDI.Learn more →
Access X12 from your terminal Get the tedi CLI

837 Health Care Claim

Health care providers and billing services use the X12 837 to submit claims for reimbursement to insurance companies and other payers. Triggered by a patient’s receipt of health care services, this transaction set supports detailed documentation of medical, dental, pharmaceutical, and equipment services. The BHT (Beginning of Hierarchical Transaction) segment establishes the claim’s purpose and reference identifiers, while HL (Hierarchical Level) segments organize the provider, subscriber, and patient into a structured hierarchy. The CLM (Health Claim) segment anchors the submission, carrying core details such as the claim reference number, total charges, and place of service.

Consider MediCare Solutions, a multi-specialty physician practice, submitting a claim to Blue Shield Insurance for an office visit, lab work, and a minor surgical procedure. MediCare’s billing department prepares an 837 that identifies the practice using NM1 (Individual or Organizational Name) segments, captures the patient’s demographic data via DMG (Demographic Information) segments, and builds out multiple service lines in Loop 2400 - one for the office visit using an SV1 (Professional Service) segment, another for laboratory services, and a third for the procedure. Each service line includes relevant dates via DTP (Date or Time Period) segments and diagnosis codes via HI (Health Care Information Codes) segments. Blue Shield receives the structured claim, processes it through adjudication, and responds with payment or a request for additional information—allowing MediCare to track reimbursement and reconcile its accounts receivable.

Sample EDI 837 file

Illustrative sample with fictional parties. More EDI sample files

Professional claim · Institutional claim · Dental claim

Professional claim

ISA*00*          *00*          *ZZ*SAMPLESENDER   *ZZ*SAMPLERECEIVER *261023*0900*^*00501*000000001*0*T*:~
GS*HC*SAMPLESENDER*SAMPLERECEIVER*20261023*0900*1*X*005010X222A1~
ST*837*0001*005010X222A1~
BHT*0019*00*SRF2610220031*20261022*1647*CH~
NM1*41*2*SAGUARO RIDGE FAMILY MEDICINE*****46*SRFM04471~
PER*IC*CLAIMS DEPARTMENT*TE*5205550147~
NM1*40*2*DESERT CANYON HEALTH PLAN*****46*DCH41~
HL*1**20*1~
PRV*BI*PXC*207Q00000X~
NM1*85*2*SAGUARO RIDGE FAMILY MEDICINE*****XX*1937264855~
N3*2715 E CORONADO MESA DR~
N4*TUCSON*AZ*857121804~
REF*EI*071846203~
HL*2*1*22*0~
SBR*P*18*GRP448120******CI~
NM1*IL*1*VALENZUELA*MARISOL*R***MI*DCH882041573~
N3*6034 N PALO BLANCO TRL~
N4*TUCSON*AZ*85718~
DMG*D8*19680907*F~
NM1*PR*2*DESERT CANYON HEALTH PLAN*****PI*DCH41~
CLM*SRF448127*372***11:B:1*Y*A*Y*Y~
REF*X4*03D9471268~
HI*ABK:E119*ABF:R300*ABF:D485~
NM1*82*1*ESCALANTE*RAFAEL*M***XX*1473059289~
PRV*PE*PXC*207Q00000X~
LX*1~
SV1*HC:99214:25*185*UN*1***1:2:3~
DTP*472*D8*20261019~
REF*6R*SRF448127-01~
LX*2~
SV1*HC:81002*22*UN*1***2~
DTP*472*D8*20261019~
REF*6R*SRF448127-02~
LX*3~
SV1*HC:11102*165*UN*1***3~
DTP*472*D8*20261019~
REF*6R*SRF448127-03~
SE*36*0001~
GE*1*1~
IEA*1*000000001~
Inspect Translate

Institutional claim

ISA*00*          *00*          *ZZ*SAMPLESENDER   *ZZ*SAMPLERECEIVER *261023*0900*^*00501*000000001*0*T*:~
GS*HC*SAMPLESENDER*SAMPLERECEIVER*20261023*0900*1*X*005010X223A2~
ST*837*0001*005010X223A2~
BHT*0019*00*LC2610230041*20261023*0912*CH~
NM1*41*2*LLANO CREST REGIONAL HOSPITAL*****46*LCRH30417~
PER*IC*PATIENT ACCOUNTS*TE*8065550147~
NM1*40*2*PANHANDLE MUTUAL HEALTH PLAN*****46*PNH62~
HL*1**20*1~
PRV*BI*PXC*282N00000X~
NM1*85*2*LLANO CREST REGIONAL HOSPITAL*****XX*1443853951~
N3*3150 MESQUITE BEND PARKWAY~
N4*LUBBOCK*TX*794134218~
REF*EI*794418236~
HL*2*1*22*0~
SBR*P*18*LUB04412******CI~
NM1*IL*1*HARGROVE*DENISE*L***MI*PMH418207736~
N3*2207 COPPER SAGE LANE~
N4*WOLFFORTH*TX*79382~
DMG*D8*19710619*F~
NM1*PR*2*PANHANDLE MUTUAL HEALTH PLAN*****PI*PNH62~
CLM*LC26100488712*8084.4***11:A:1**A*Y*Y~
DTP*096*TM*1130~
DTP*434*RD8*20261004-20261007~
DTP*435*DT*202610041952~
CL1*1*1*01~
REF*G1*PNH26A0915583~
REF*EA*MR00728841~
HI*ABK:J189:::::::Y~
HI*ABJ:R0602~
HI*ABF:E119:::::::Y*ABF:I10:::::::Y*ABF:E785:::::::Y~
NM1*71*1*TEAGUE*BRENNAN*R***XX*1061634543~
PRV*AT*PXC*207R00000X~
LX*1~
SV2*0121**4350*DA*3~
LX*2~
SV2*0250**612.4*UN*18~
LX*3~
SV2*0301*HC:80053*186*UN*2~
LX*4~
SV2*0305*HC:85025*141*UN*3~
LX*5~
SV2*0324*HC:71046*488*UN*2~
LX*6~
SV2*0410*HC:94640*330*UN*6~
LX*7~
SV2*0450*HC:99285*1875*UN*1~
LX*8~
SV2*0636*HC:J0696*102*UN*12~
SE*47*0001~
GE*1*1~
IEA*1*000000001~
Inspect Translate

Dental claim

ISA*00*          *00*          *ZZ*SAMPLESENDER   *ZZ*SAMPLERECEIVER *261023*0900*^*00501*000000001*0*T*:~
GS*HC*SAMPLESENDER*SAMPLERECEIVER*20261023*0900*1*X*005010X224A2~
ST*837*0001*005010X224A2~
BHT*0019*00*CRF2610220047*20261022*1615*CH~
NM1*41*2*CEDAR RIDGE FAMILY DENTISTRY*****46*CRFD71405~
PER*IC*LAUREN OKAFOR*TE*2085550147*EM*billing@cedarridgedental.example.com~
NM1*40*2*BRIDGELINE CLAIMS EXCHANGE*****46*BRCLX0912~
HL*1**20*1~
PRV*BI*PXC*1223G0001X~
NM1*85*2*CEDAR RIDGE FAMILY DENTISTRY PLLC*****XX*1748293564~
N3*2875 W LARKFIELD RIDGE DR~
N4*BOISE*ID*837044417~
REF*EI*078315264~
HL*2*1*22*1~
SBR*P**GRP448120******CI~
NM1*IL*1*VANDERMEER*KATHRYN*J***MI*SCB730482915~
N3*1748 N TAMBERLANE WAY~
N4*MERIDIAN*ID*836461182~
DMG*D8*19840317*F~
NM1*PR*2*SUMMIT CREST DENTAL BENEFITS*****PI*SCDB4~
HL*3*2*23*0~
PAT*19~
NM1*QC*1*VANDERMEER*OWEN*T~
N3*1748 N TAMBERLANE WAY~
N4*MERIDIAN*ID*836461182~
DMG*D8*20140809*M~
CLM*CRF26101400318*463***11:B:1*Y*A*Y*Y~
DTP*472*D8*20261014~
NM1*82*1*HALVORSEN*MARCUS*E***XX*1284630971~
PRV*PE*PXC*1223G0001X~
LX*1~
SV3*AD:D0120*65~
LX*2~
SV3*AD:D1120*78~
LX*3~
SV3*AD:D0272*58~
LX*4~
SV3*AD:D2392*210~
TOO*JP*19*M:O~
LX*5~
SV3*AD:D1351*52~
TOO*JP*30*O~
SE*41*0001~
GE*1*1~
IEA*1*000000001~
Inspect Translate

Structure

Health Care Claim (HC837) contains 2 tables (Heading, Detail), 13 loops, and 115 segments. Sign up free or login to view every table, loop, and element in full, as well as download it in Markdown or console (text) formats.

Heading
ST 0050
Transaction Set Header
R
Max 1
BHT 0100
Beginning of Hierarchical Transaction
R
Max 1
REF 0150
Reference Information
O
Max 3

Sign up free to see the full HC837 reference

See every segment, loop, and element across all 2 tables. Download it in console (text) or Markdown format, or use the tedi CLI to access the full X12 reference from your terminal.