Flexpa is hosting a webinar on patient consent and payer-to-payer data exchange on March 12th. Join us to learn how the industry is tackling consent management, network connectivity, and data standardization. Save your spot now.
In healthcare, data interoperability has long been challenged by legacy systems. Traditional formats like the X12 EDI 837 Claim transaction were built for efficiency in machine-to-machine communication but come with steep learning curves and hidden complexity. In contrast, modern standards such as FHIR's ExplanationOfBenefit (EOB) offer a developer-friendly, self-describing approach reporting adjudicated claims to patients.
Flexpa leverages these modern standards to transform how organizations access claims and clinical records. Our API provides a single, secure integration to connect with over 300 health plans, converting the complex world of disparate data formats into a streamlined, consistent experience.
Let's dive into the differences between using FHIR's ExplanationOfBenefit (EOB) and an adjudicated X12 EDI 837 Claim transaction.
Example:
{
"resourceType": "ExplanationOfBenefit",
"id": "EB3500",
"status": "active",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/claim-type",
"code": "professional"
}
]
},
"use": "claim",
"patient": { "reference": "Patient/pat1" },
"created": "2014-08-16",
"insurer": { "reference": "Organization/3" },
"provider": {
"reference": "Practitioner/1"
},
"outcome": "complete",
"item": [
{
"sequence": 1,
"productOrService": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/ex-USCLS",
"code": "1205"
}
]
},
"servicedDate": "2014-08-16",
"unitPrice": { "value": 135.57, "currency": "USD" },
"net": { "value": 135.57, "currency": "USD" },
"encounter": [{ "reference": "Encounter/example" }],
"adjudication": [
{
"category": { "coding": [{ "code": "eligible" }] },
"amount": { "value": 120.0, "currency": "USD" }
},
{
"category": { "coding": [{ "code": "eligpercent" }] },
"quantity": { "value": 0.8 }
},
{
"category": { "coding": [{ "code": "benefit" }] },
"amount": { "value": 96.0, "currency": "USD" }
}
]
}
],
"total": [
{
"category": { "coding": [{ "code": "submitted" }] },
"amount": { "value": 135.57, "currency": "USD" }
}
]
}
Example:
ISA*00* *00* *ZZ*SUBMITTERID *ZZ*RECEIVERID *220825*1253*^*00501*000000001*0*P*:~
GS*HC*SUBID*RECID*20220825*1253*1*X*005010X222A1~
ST*837*0001*005010X222A1~
BHT*0019*00*0123*20220825*1253*CH~
NM1*41*2*PROVIDER ORGANIZATION*****46*1234567890~
NM1*40*2*RECEIVER NAME*****46*0987654321~
HL*1**20*1~
NM1*85*2*BILLING PROVIDER*****XX*1234567890~
N3*123 MAIN STREET~
N4*ANYTOWN*XX*12345~
REF*EI*123456789~
HL*2*1*22*0~
SBR*P*18*******MC~
NM1*IL*1*DOE*JOHN****MI*12345678901~
N3*456 OAK STREET~
N4*SOMECITY*XX*67890~
DMG*D8*19600101*M~
NM1*PR*2*INSURER NAME*****PI*PAYERID123~
CLM*CLAIMID12345*75***11:B:1*Y*A*Y*Y~
HI*ABK:J20.9~
LX*1~
SV1*HC:99213*75*UN*1***1~
DTP*472*D8*20220820~
SE*22*0001~
GE*1*1~
IEA*1*000000001~
Flexpa's API provides FHIR ExplanationOfBenefit resources in a consistent format. This means that instead of building custom parsers for legacy EDI formats, developers can leverage Flexpa's unified interface:
While the X12 837 format was engineered for efficient EDI messaging, its technical complexity creates significant barriers for modern healthcare applications. FHIR's ExplanationOfBenefit, by contrast, is engineered for today's digital ecosystem—facilitating real-time, transparent, and scalable data access. Flexpa's platform abstracts the legacy complexity and empowers developers with a single, secure API that delivers patient-consented claims data in a consistent FHIR R4 format.