The HD segment identifies a member's coverage in an X12 834 enrollment file. To read it, locate the member's INS loop, find each HD segment in its 2300 Health Coverage loop, and read the elements by position. HD01 gives the coverage maintenance action, HD03 the insurance line, HD04 the plan description, and HD05 the coverage level. Then read the DTP segments associated with that coverage loop to establish its dates.
The distinction matters when you receive medical, dental, and vision enrollment in the same transaction. An INS segment describes a member and an overall maintenance context. Each HD segment describes a particular coverage record for that member. Payer Control recommends interpreting the member, coverage, and dates together before sending enrollment data into an internal system.
What the HD segment represents
The 834 Benefit Enrollment and Maintenance transaction carries enrollment information between organizations such as plan sponsors, administrators, and payers. Within a member's portion of the transaction, the HD segment begins a 2300 Health Coverage loop. It describes the coverage being maintained, including the action, insurance line, plan description, and coverage level when those elements are used.
Think of INS as the member context and HD as the coverage context. A member can have several coverage loops. If you combine them into one enrollment record without retaining the distinctions, you can assign a dental plan to a vision coverage line, attach a termination date to the wrong benefit, or lose a coverage change altogether.
The exact requirements for an inbound file depend on its X12 implementation and the trading partner's companion guide. The guide tells you which fields are required for that relationship, which codes are accepted, and how external plan values map to the payer's configuration. For a broader orientation, see our guide to 834 enrollment processing.
Find HD in the member and coverage loops
Start with the boundaries of the transaction, then narrow your view to one member. In a raw file, element separators are often asterisks and segment terminators are often tildes, but the interchange defines the actual delimiters. Do not assume every file uses the same characters.
- Find ST*834: This identifies the start of an 834 transaction set. Envelope and transaction identifiers help you trace the file later.
- Find INS: The INS segment starts the member's 2000 loop. Review the subscriber indicator, relationship, and member maintenance action.
- Confirm member identity: Read the applicable NM1 and identification references before assigning coverage to a person.
- Find HD: Each HD starts a 2300 Health Coverage loop for that member. Read all HD loops before moving to the next INS.
- Keep related segments together: Dates and other coverage details following an HD belong to the appropriate coverage loop, not automatically to every coverage held by the member.
You can see the hierarchy in this shortened, illustrative member excerpt. It is an excerpt, not a complete transaction:
In this hypothetical excerpt, the member has two additions, one for dental and one for vision. Each HD has its own benefit begin date. DENTAL03 and VISION01 stand in for trading partner plan values; they are not standard X12 plan codes. Even though the dates match here, you should keep them associated with their respective coverage loops.
Read the HD elements by position
In a segment such as HD*021**DEN*DENTAL03*FAM~, HD is the segment identifier, not the first data element. Count the fields after it. A blank field still occupies a position, which is why the two adjacent asterisks after 021 matter.
| Position | Meaning | How to use it |
|---|---|---|
| HD01 | Maintenance Type Code | Determines the action on this coverage record, such as an addition, change, or termination. |
| HD02 | Maintenance Reason Code | Provides a reason when used. It can be empty, but its position must remain intact. |
| HD03 | Insurance Line Code | Identifies the line of insurance, such as HLT for health, DEN for dental, or VIS for vision when those values are accepted. |
| HD04 | Plan Coverage Description | Carries the coverage or plan value used in that exchange. Check it against the correct plan mapping. |
| HD05 | Coverage Level Code | Indicates the coverage level, such as EMP for employee only or FAM for family, when used by the partner. |
Additional HD elements can appear in an implementation. If they do, use the applicable guide to determine their meaning and requirements. Do not assume that HD always ends at HD05, and do not shift fields left because an earlier optional element is empty.
HD01: What action applies to this coverage?
HD01 is the coverage-level maintenance type. Common examples include 001 for change, 021 for addition, 024 for termination, and 025 for reinstatement. A code identifies the requested action, but it does not prove that the action is appropriate for the member's current coverage. A proposed addition could duplicate an active plan, while a termination might refer to coverage the payer cannot locate.
Also look at INS03, which supplies member-level maintenance context. The two fields serve different scopes. For instance, a transaction may maintain a member record while separately specifying what should happen to an individual coverage line. For a closer look at the actions themselves, read our guide to 834 maintenance type codes.
HD02: Why the blank element matters
HD02 is the Maintenance Reason Code. In the example, it is blank: HD*021**DEN. The second asterisk does not mean data is missing from the parser's perspective; it preserves the empty HD02 position. DEN remains HD03. A parser that collapses empty elements will read DEN as a reason code and misidentify every following field.
If HD02 contains a value, interpret it using the accepted code set and the partner's rules. Do not infer a reason from the maintenance type alone. Two coverage changes can share the same HD01 action but have different business reasons.
HD03: Which insurance line is affected?
HD03 identifies the line of coverage. Common values include HLT for health, DEN for dental, and VIS for vision. This distinction affects where the enrollment record belongs downstream. If you manage more than one product, the insurance line also helps you select the right plan mapping and validation rules.
Do not treat HD03 as the complete plan identity. DEN tells you the general insurance line. It does not, by itself, identify which dental plan the member selected. That is why you should inspect HD04 and any other plan identifiers used by the specific exchange.
HD04: Which plan or coverage description applies?
HD04 is the Plan Coverage Description. In practice, its value may function as a plan code or a coverage description agreed between trading partners. It is not a universal catalog number. The illustrative DENTAL03 value in our example only has operational meaning once it maps to an actual plan in the receiving payer's system.
Check HD04 against the partner, insurance line, effective period, and internal plan configuration. If two trading partners use the same visible text for different plans, the partner context prevents a mistaken match. If the text changes while the intended benefit stays the same, your plan mapping needs an intentional update rather than an automatic guess. This is particularly important for vision enrollment with distinct plans and tiers.
HD05: What coverage level is indicated?
HD05 commonly carries a coverage level such as EMP for employee only, ESP for employee and spouse, ECH for employee and children, or FAM for family. The level describes the elected coverage tier. It does not replace the member and dependent detail elsewhere in the 834.
A family tier alongside a subscriber record tells you how the coverage is classified, but it should not cause you to manufacture dependent records. Conversely, if dependents appear, check whether their relationships, coverage records, and dates agree with the applicable enrollment rules. Our dependent matching guide covers the identity problems that can arise during open enrollment.
Connect HD to its coverage dates
HD has no effective-date field among the elements discussed above. The 2300 loop can include DTP segments that express dates for that coverage. Common qualifiers are 348 for benefit begin and 349 for benefit end. A DTP with format qualifier D8 carries one date in CCYYMMDD format. Read the qualifier, format, and value together.
In this hypothetical excerpt, HD01 indicates termination of the dental coverage line and DTP 349 gives a benefit end date of December 31, 2027. You still need the member identity, the applicable business rules, and the existing enrollment record to determine whether the termination can be applied as intended.
Do not use a transaction-level date or a date from another coverage loop as a substitute for a missing benefit date. Keep date qualifiers distinct: a benefit begin date, benefit end date, and maintenance effective date answer different questions. When effective and termination dates conflict, resolve them under the payer's rules rather than choosing whichever value appears first. See our coverage date precedence guide for that decision process.
A practical workflow for interpreting one HD loop
Step 1: Establish the member and source
Identify the transaction, trading partner, and INS loop. Match the member using the identifiers expected for that relationship, then check subscriber or dependent status. This gives you a stable context for the coverage action. If an identifier is wrong, even a perfectly parsed HD can be applied to the wrong person or fail to match an existing record.
Step 2: Separate every coverage loop
Count each HD under the member. Treat the segment and its related coverage details as one logical unit before you inspect the next HD. This avoids carrying a dental date into a vision record or dropping a second enrollment action. Do not assume that a member with one INS segment has only one benefit.
Step 3: Preserve empty positions and original values
Read HD01 through HD05 by position. Retain the original plan text and incoming codes while mapping them to your internal coverage fields. That gives operations staff a way to compare what the sender transmitted with what the receiving system interpreted if the record later needs review.
Step 4: Attach dates and apply business rules
Collect the DTP values associated with the coverage loop. Validate the date format and the relationship between the requested action and the current enrollment state. An addition, termination, change, or reinstatement may require a different review of existing coverage. For retroactive actions, also check whether your correction workflow handles the affected coverage period. Our retroactive 834 changes guide explains why those corrections need special attention.
Step 5: Record a clear outcome
If the coverage can be applied, keep the member, insurance line, plan, tier, action, and dates together in the resulting record. If it cannot, identify the specific field and reason. An error that says a dental plan value has no matching configuration is more useful to the enrollment team than a generic file failure. Where your trading partner workflow calls for a response, return the issue in the agreed format.
Common mistakes that produce the wrong enrollment
- Dropping blank HD02: This moves the insurance line and plan values into the wrong element positions. Preserve every separator-defined field.
- Applying INS03 to every coverage line: The member-level action does not replace the HD01 action on each coverage record. Read both at their proper scopes.
- Assuming HD04 is universal: Validate plan values in the context of the trading partner and product before mapping them to an internal plan.
- Confusing a tier with a roster: HD05 indicates a coverage level. It does not identify every person covered under that level.
- Attaching a date to the wrong HD: Keep each DTP in its own coverage loop, especially when a member has several benefits.
- Checking syntax but skipping the current record: A well-formed termination can still fail if it cannot be matched to the coverage that needs to end.
- Treating a repeated file as new enrollment: Before applying an action twice, check your file and member reconciliation workflow. See our member-level reconciliation guide.
Best practices for payer enrollment teams
The most useful control is a consistent coverage record that separates source values from internal interpretations. For each HD loop, retain the trading partner, member identifier, HD01, HD02 if present, HD03, HD04, HD05, related DTP values, and processing outcome. That makes it easier to find where a disagreement began without asking IT to inspect raw files for every inquiry.
Review changes at three levels. First, check file structure so an HD is parsed into the right positions. Second, check meaning so codes, plans, tiers, and dates conform to the trading partner agreement. Third, check enrollment state so an action makes sense against the member's existing coverage. Passing one level does not guarantee the others.
When the same enrollment information also arrives through spreadsheets, CSV, positional files, XML, or APIs, use a shared internal model for the coverage fields. Keep source-specific mapping rules explicit. That lets your team compare a dental plan from an 834 with a dental plan from another source without pretending the two files use identical layouts.
Payer Control's eligibility processing supports multiple file formats, EDI translation, custom validation, discrepancy alerts, monitoring, and reporting back to trading partners. Our approach is to make enrollment data usable across operations while preserving enough context to investigate an exception. Customer service teams can also use subscriber and dependent record access and audit histories when a coverage question reaches them.
Frequently asked questions
What does HD mean in an 834 file?
HD is the Health Coverage segment. It starts a coverage loop within a member's 834 detail and identifies the action and coverage attributes used for that benefit record.
Where is the HD segment located?
HD starts the 2300 Health Coverage loop inside a member's 2000 loop, which begins with INS. A member can have more than one HD loop.
Why are there two asterisks after HD01?
In a segment such as HD*021**DEN, the empty position between the asterisks is HD02, the Maintenance Reason Code. DEN remains HD03, the Insurance Line Code. Removing the empty position changes the interpretation of the segment.
What is the difference between INS03 and HD01?
INS03 supplies a member-level maintenance type. HD01 supplies the maintenance type for a particular coverage loop. Read both in context rather than assuming they are interchangeable.
Is HD04 always a standardized plan code?
No. HD04 is the Plan Coverage Description. A trading partner may use it as a plan value, but its interpretation depends on the agreement and the receiving payer's plan mapping.
Does HD05 list the people covered?
No. HD05 indicates a coverage level, such as employee only or family when those codes are used. Read member and dependent details separately to establish the people involved.
Where is the coverage effective date?
Look for DTP segments associated with the HD coverage loop. Qualifier 348 commonly indicates the benefit begin date, and 349 commonly indicates the benefit end date. Read the date qualifier and format with the value.
Can an HD segment be valid but fail enrollment processing?
Yes. A segment can be structurally readable while naming an unmapped plan, requesting an action that conflicts with current coverage, or carrying dates that do not meet the payer's business rules.
Make the coverage record the unit of work
To read HD accurately, begin with the right member, interpret each coverage loop on its own, keep empty element positions, map the insurance line and plan, and attach only that loop's dates. Then decide whether the requested action fits the member's existing coverage. This sequence gives enrollment, service, and IT teams a common explanation of what the file requested and what happened to the record.
If you need to standardize 834 coverage data alongside other inbound enrollment formats, talk with Payer Control about eligibility processing, validation, monitoring, and integration with your internal systems.



