Skip to main content

B20 vs D80-D89

B20 (Human immunodeficiency virus [HIV] disease) compared with D80-D89 (Certain disorders involving the immune mechanism (D80-D89)), from the official CMS tabular data.

Current data releases:ICD-10-CM FY2027 · ICD-10-PCS FY2027 · HCPCS October 2026 · MS-DRG v44 · Medicare Code Editor v44.0 · NCCI PTP Q4 2026 · MUE Q4 2026 · NCD code lists 2026-01 · LCD export September 28, 2026 · All releases and sources

Summary

These codes can be reported together when both conditions are documented, because D80-D89 lists B20 under Excludes2, which marks them as distinct conditions.

Official rule
What is different?

The conditions named, billing status and chapter.B20 is “Human immunodeficiency virus [HIV] disease”; D80-D89 is “Certain disorders involving the immune mechanism (D80-D89)”. D80-D89 is a non-billable header; B20 is billable. B20 sits in A00-B99 — Certain Infectious and Parasitic Diseases (A00-B99); D80-D89 in D50-D89 — Diseases of the Blood and Blood-forming Organs and Certain Disorders Involving the Immune Mechanism (D50-D89).

Registry fact

Can these codes be reported together?

Yes, when both are documented.D80-D89 lists B20 under Excludes2: “human immunodeficiency virus [HIV] disease (B20)”. Excludes2 marks distinct conditions that may both be reported when both are documented.

Official ruleGuide: Excludes1 vs Excludes2

Is there an Excludes2 relationship?

Yes.D80-D89’s tabular entry: “human immunodeficiency virus [HIV] disease (B20)”. The note covers B20.

Official ruleGuide: Excludes1 vs Excludes2

Is one a parent or header code?

One is a header.D80-D89 is a non-billable header, but B20 is not one of its subdivisions.

Registry fact

Nothing found in 3 other checks; 1 check does not apply
Is there an Excludes1 relationship?

None.Neither entry carries an Excludes1 note that names the other code. B20 carries 3 Excludes1 notes and D80-D89 carries 2 Excludes1 notes covering other codes; the side-by-side table quotes them.

Official rule

Is one more specific?

Not comparable.The codes sit in different categories; specificity is only comparable within one category.

Are there sequencing instructions?

None.Neither entry carries a Code First or Use Additional Code note that names the other.

Official rule

Are there other coding relationships?

None found.No laterality, encounter-phase, Table of Neoplasms, Table of Drugs and Chemicals, or history-versus-active-disease relationship links these codes.

MedCoder-derived

Official rule: a tabular instructional note or a section of the ICD-10-CM Official Guidelines, quoted as published. Registry fact: the codes’ own published attributes (titles, billable status, position in the hierarchy, code set). MedCoder-derived: a reading MedCoder computes from those facts; it is not itself a rule. How to read the labels

Can these codes be reported together?

Informational

Excludes2 relationship

D80-D89
Certain disorders involving the immune mechanism (D80-D89)
↔
B20
Human immunodeficiency virus [HIV] disease

What we found

Yes, when both are documented.D80-D89 carries an Excludes2 note covering B20: “human immunodeficiency virus [HIV] disease (B20)”

Excludes2 marks distinct conditions — both may be reported when both are documented.

What to review

Report both only when the documentation supports both conditions; otherwise report the one documented.

Guide: Excludes1 vs Excludes2Check these on a claim

Why it matters

An Excludes2 note means the excluded condition is not part of the code above it, but a patient can have both. Report both when both are documented.

Source / rule

CMS ICD-10-CM tabular instructional notes

Official guidance behind these answers

  • Section I.A.12.b — Excludes2 · applies to: Excludes2

    A type 2 Excludes note represents “Not included here.” An excludes2 note indicates that the condition excluded is not part of the condition represented by the code, but a patient may have both conditions at the same time. When an Excludes2 note appears under a code, it is acceptable to use both the code and the excluded code together, when appropriate.

    ICD-10-CM Official Guidelines FY2027

Quoted from the ICD-10-CM Official Guidelines for Coding and Reporting in effect for the release shown. The tabular notes above are the code-level instruction; these sections are the convention that says how such a note is applied. Source document (CMS PDF) · Release and checksum

Side by side

Similar descriptions do not make codes interchangeable. The documentation and the official instructions decide which code applies.

Official descriptionDiffers
B20

Human immunodeficiency virus [HIV] disease

D80-D89

Certain disorders involving the immune mechanism (D80-D89)

StatusDiffers
B20
Billable
D80-D89
Non-billable header

A header is not reported on a claim; a code beneath it is.

Excludes1Differs
B20
  • asymptomatic human immunodeficiency virus [HIV] infection status (Z21)
  • exposure to HIV virus (Z20.6)
  • inconclusive serologic evidence of HIV (R75)
D80-D89
  • autoimmune disease (systemic) NOS (M35.9)
  • functional disorders of polymorphonuclear neutrophils (D71-)
Excludes2Differs
B20

None at this code

D80-D89
  • human immunodeficiency virus [HIV] disease (B20)
Code firstDiffers
B20
  • Human immunodeficiency virus [HIV] disease complicating pregnancy, childbirth and the puerperium, if applicable (O98.7-)
D80-D89

None at this code

Use additional codeDiffers
B20
  • code(s) to identify all manifestations of HIV infection
D80-D89

None at this code

CategoryDiffers
B20

Is itself a category

D80-D89

D80 Immunodeficiency with predominantly antibody defects

ChapterDiffers
B20

A00-B99 — Certain Infectious and Parasitic Diseases (A00-B99)

D80-D89

D50-D89 — Diseases of the Blood and Blood-forming Organs and Certain Disorders Involving the Immune Mechanism (D50-D89)

IncludesDiffers
B20
  • acquired immune deficiency syndrome [AIDS]
  • AIDS-related complex [ARC]
  • HIV infection, symptomatic
D80-D89
  • defects in the complement system
  • immunodeficiency disorders, except human immunodeficiency virus [HIV] disease
  • sarcoidosis

No Code also and 7th character note at either code.

Notes are the code’s own tabular entry, quoted as published. A note that names the other code is the one the verdict above rests on. In a row that differs, each code’s own notes are listed under it, and the notes every code shares are listed once beneath them.

Derived from the official CMS ICD-10-CM tabular data (FY2027). A coding-rule comparison, not billing advice: payer-specific edits and medical-necessity policy are outside its scope. All data sources