# EDI X12 834 Benefit Enrollment and Maintenance Parser
> Process employer benefit enrollments, terminations, and demographic modifications with high-speed 834 EDI to JSON parsing.

- **Canonical URL:** https://stanzaapi.com/tools/x12-parser/transaction/834-benefit-enrollment
- **Governing Standard:** ANSI ASC X12 Standards (005010) (Accredited Standards Committee X12 / HIPAA 5010)
- **Latency:** <4ms Edge
- **Privacy:** In-memory execution only (zero data stored or logged)

## Technical Overview & Governing Rules
The ANSI X12 834 transaction set is mandated under HIPAA for exchanging healthcare benefit enrollment and member maintenance between employers, unions, and insurance carriers.

Parses INS segments for maintenance type (021=Addition, 024=Cancellation/Termination, 001=Change, 030=Audit).

Extracts HD health coverage loops with insurance line codes (HLT=Health, DEN=Dental, VIS=Vision, RX=Pharmacy) and plan coverage dates.

## Specification Matrix
| Segment | Description | Key Elements Extracted | Usage |
| --- | --- | --- | --- |
| BGN | Beginning Segment | BGN01 (00=Original, 15=Re-Submission), BGN02 (Reference ID), BGN03 (Date) | File identification |
| INS | Member Level Detail | INS01 (Y=Subscriber, N=Dependent), INS02 (18=Self), INS03 (021=Add, 024=Term) | Maintenance action |
| NM1 | Member Demographics | NM101 (IL=Insured), NM103 (Last), NM104 (First), NM109 (SSN/ID) | Member identity |
| HD | Health Coverage | HD01 (021=Add, 024=Term), HD03 (HLT/DEN/VIS/RX Coverage Type) | Elected benefits |

## Standard JSON Response Model
```json
{
  "transactionSet": "834",
  "sponsor": {
    "name": "GLOBAL ENTERPRISES INC",
    "taxId": "987654321"
  },
  "members": [
    {
      "memberId": "SSN99887766",
      "action": "ADDITION",
      "name": {
        "first": "MICHAEL",
        "last": "CHANG"
      },
      "coverage": [
        {
          "type": "HEALTH",
          "plan": "PPO_GOLD_2026",
          "effectiveDate": "20260901"
        }
      ]
    }
  ]
}
```

## Frequently Asked Questions & Edge Cases
### Q: Does this support open enrollment full-file feeds as well as daily change files?
**A:** Yes, both 834 Full File Comparison (Audit) and Daily Net Change files are processed efficiently.
