Reference·EQ Segment·EQ01
X12 270/271 Reference

Testing X12 270/271 EQ01: What Service Type Code Actually Needs to Handle

Jul 27, 2026 · 4 min read
EQ*30 →

EQ01 is a two-digit code, but it's the single value that decides whether the payer answers a broad 'is this person covered' question or a narrow 'is this specific service covered' question — and a 271 response built around the wrong service type looks complete while answering something nobody asked.

Quick answer

EQ01 is the first element of the EQ segment in a 270 inquiry — a code from a shared X12 service type list that tells the payer which category of benefit information the requester wants back. The payer mirrors that same code in the matching EQ segment of its 271 response.

Valid code values

30
Health Benefit Plan Coverage — the general, whole-plan inquiry most eligibility checks default to
88
Pharmacy — drug benefit and formulary-adjacent coverage
98
Professional (Physician) Visit - Office — coverage for an in-office visit with a physician
1
Medical Care — general medical care coverage, broader than a single visit type
35
Dental Care — coverage under a dental benefit rather than the medical plan
86
Emergency Services — coverage for emergency department or urgent care encounters

Example

Synthetic example Generated by Synthibase
EQ*30*

EQ01 = 30 requests plan-wide health benefit coverage rather than any single narrow service category. Synthetic eligibility data.

Where this trips people up

There are dozens of valid EQ01 values, but most front-end systems only ever generate a handful of them in real traffic. A test suite built from a single canned 270 template tends to bake in one EQ01 value and never vary it, so the parsing logic for other service types — the branch that reads a pharmacy-scoped 271 differently from a plan-wide one — never actually runs until a real request with an unfamiliar code shows up in production.

X12 270/271 EQ Segment Guide: Fields, Format, and Testing Gotchas
How to Test 270/271 Eligibility Transactions Before Go-Live
How to Validate X12 EDI Files Before Payer Submission
Test every service type code your integration might see
Synthibase generates synthetic 270 inquiries covering the full range of EQ01 service type codes, so parsing logic for pharmacy, office visits, and plan-wide checks all get exercised before go-live.
Start free trial →
This page is written independently by Synthibase for testing and informational purposes. It is not an official publication of HL7 International or X12/Washington Publishing Company, and is not a substitute for reviewing the official standard or your trading partner's companion guide. See our Terms of Service for full legal terms.