Reference·IN2 Segment·IN2-1
HL7 v2 Reference

What Is HL7 v2 IN2-1? Insured's Employee ID, Explained for Testers

Jul 27, 2026 · 4 min read
IN2-2 →

Employee ID looks redundant next to the member ID already sitting in IN1 — until a group-plan lookup fails because that's the only identifier the employer's HR feed actually recognizes.

Quick answer

IN2-1 holds an identifier for the insured in their capacity as an employee — typically a payroll or HR system ID rather than anything the payer itself assigns. It's a composite identifier field, so implementations may carry just a bare ID string or pair it with an assigning authority, depending on how tightly the sending system integrates with employer data.

What this field contains

Data type
CX (Extended Composite ID) — supports a bare identifier or an identifier plus assigning-authority components
Common pattern
Payroll or badge-style ID — e.g. EMP-22910 - format is entirely site-specific, there's no standard numbering scheme
Distinct from
IN1's insurance member ID — employee ID identifies a person to their employer, not to the payer

Example

Synthetic example Generated by Synthibase
IN2|EMP-22910|000-45-6789||ACME MANUFACTURING CO||FT

IN2-1 is set to EMP-22910, an employer-assigned identifier for the insured that has nothing to do with their payer member ID.

Where this trips people up

Because IN2-1 and the payer member ID in IN1 both look like 'the insured's ID number,' synthetic data generators frequently reuse the same value for both — which means any downstream logic that's supposed to treat them as independent identifiers (say, cross-referencing HR records versus payer eligibility files) never actually gets exercised. If your test data always makes these two fields identical, you're not testing the case where they diverge, which is the normal case in production.

HL7 v2 IN2 Explained: Structure, Fields, and Common Mistakes
How to Build a Synthetic Patient Registry for Healthcare Testing
How to Reduce Claim Denials Through Better Pre-Submission Testing
Test employee-ID and member-ID divergence, not just matching pairs
Synthibase generates IN2-1 and IN1 member IDs independently, so your test suite covers the realistic case where an insured's employer ID and payer ID are two different strings entirely.
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.