🧬 ICD-10 CM B20 β€” Human Immunodeficiency Virus HIV Disease

Billable Code Confirmed

[ICD-10-CM] B20 is a valid, billable 3-character ICD-10-CM code for FY2026. The 3 characters represent: B (Chapter 1 β€” Infectious & Parasitic Diseases), 2 (HIV disease block B20-B24), and 0 (the specific category for HIV disease with manifestations). No additional characters are required β€” B20 is complete and billable as-is.

Non-Billable / Closely Related Codes β€” Know the Difference

  • ❌ Z21 β€” Asymptomatic HIV infection status β€” use when the patient is HIV-positive but has NO symptoms or AIDS-defining conditions
  • ❌ R75 β€” Inconclusive laboratory evidence of HIV β€” use when confirmatory testing is pending or inconclusive

Always submit B20 when the provider documents HIV disease, AIDS, or symptomatic HIV infection in the medical record.

Clinical Context: HIV Disease vs. Asymptomatic HIV Status

ICD-10-CM B20 captures patients who have progressed from HIV-positive status to active HIV disease β€” meaning they have a documented AIDS-defining illness or the provider explicitly documents β€œHIV disease,” β€œAIDS,” or β€œAIDS-related complex.” This is fundamentally different from Z21 (asymptomatic HIV), which is used when a patient is seropositive but clinically asymptomatic. Once a patient is coded B20, they are always B20 going forward β€” even if currently on ART with an undetectable viral load β€” per UHDDS/ICD-10-CM Official Guidelines Section I.C.1.a.

Code Classification

ICD-10-CM Diagnosis Code β€” wRVU, assistant payable, and global period fields are not applicable to this diagnosis code. For associated procedures, refer to the CPT Procedural Crosswalk and ICD-10-PCS Crosswalk sections below.


πŸ” Code Description

ICD-10-CM B20 classifies Human immunodeficiency virus [HIV] disease β€” the clinical syndrome resulting from infection with HIV that has progressed to symptomatic disease, including AIDS-defining conditions. This code is used when the provider has documented active HIV disease, AIDS, or HIV-related illness, regardless of current viral load or CD4 count.

HIV is a retrovirus that targets CD4+ T-lymphocytes, progressively depleting the immune system and leaving the patient vulnerable to opportunistic infections, neoplasms, and wasting syndrome. Once a patient meets criteria for B20 (AIDS-defining illness or provider documentation of HIV disease), the patient is coded B20 for all future encounters β€” the code is never β€œdowngraded” back to Z21 even with successful antiretroviral therapy (ART).


🌳 Code Tree / Hierarchy

B20 Human immunodeficiency virus [HIV] disease β—€ THIS CODE βœ… Billable (3-char, complete)
β”‚
β”œβ”€β”€ (Block B20-B24 β€” HIV Disease)
β”‚
β”œβ”€β”€ B20     HIV disease β—€ THIS CODE βœ… Billable
β”œβ”€β”€ B21     HIV disease resulting in malignant neoplasms ❌ Non-billable header (ICD-10 WHO; in CM, B20 covers all)
β”œβ”€β”€ B22     HIV disease resulting in other specified diseases ❌ (ICD-10 WHO structure)
β”œβ”€β”€ B23     HIV disease resulting in other conditions ❌ (ICD-10 WHO structure)
β”œβ”€β”€ B24     Unspecified HIV disease ❌ (ICD-10 WHO; not separately used in ICD-10-CM β€” B20 is the CM code)
β”‚
└── Z21     Asymptomatic HIV infection status βœ… Billable β€” use ONLY for seropositive, asymptomatic patients

ICD-10-CM vs. ICD-10 (WHO) Structure

In ICD-10-CM (used in the US), B20 is the single billable code for ALL HIV disease/AIDS β€” the subcategory breakdown (B21-B24) from the WHO ICD-10 is not replicated in CM. All manifestations of HIV disease are captured by coding B20 as the HIV code, then separately coding each documented manifestation (e.g., B59 for PCP, C46.9 for Kaposi sarcoma).


βœ… Includes

The following clinical terms and scenarios map to B20 when documented:

  • AIDS (Acquired Immune Deficiency Syndrome)
  • AIDS-related complex (ARC)
  • HIV disease (any documented manifestation or symptomatic state)
  • HIV wasting syndrome (also add B22.2 for the wasting component per ICD-10-CM guidelines)
  • AIDS-defining opportunistic infections (code B20 first, then the specific infection)
  • HIV dementia / HIV encephalopathy (code B20 first, then B22.0 or F02.80)
  • Kaposi sarcoma in an HIV patient (code B20 first, then appropriate C46.x code)
  • Any patient previously diagnosed with AIDS, even if currently on suppressive ART with undetectable viral load

❌ Excludes

Excludes 1 β€” Cannot Be Coded Simultaneously with B20

CodeDescriptionNote
Z21Asymptomatic HIV infection statusMutually exclusive β€” a patient is either symptomatic (B20) or asymptomatic (Z21), never both. Once B20 criteria are met, Z21 is never used again for that patient.

Excludes 1 Violation Risk

The most common Excludes 1 violation is assigning both B20 and Z21 for the same patient encounter. Per ICD-10-CM guidelines Section I.C.1.a, once a patient has been documented with HIV disease or AIDS, B20 is the permanent code for all future encounters β€” do not revert to Z21 even if the patient has an undetectable viral load or is clinically well on ART.

Excludes 2 β€” May Be Coded in Addition if Separately Present

CodeDescriptionNote
O98.7-HIV disease complicating pregnancy, childbirth, and the puerperiumIn an obstetric patient with HIV disease, use O98.7- as principal, then B20 as secondary per obstetric coding guidelines
R75Inconclusive laboratory evidence of HIVMay appear in a different encounter if HIV status is still being confirmed; never coded with B20

πŸ“‹ Clinical Overview

HIV Disease Stage and Code Selection

The single most important documentation driver for B20 versus Z21 is whether the provider has documented symptomatic HIV disease, AIDS, or an AIDS-defining condition. The table below outlines key distinctions.

FeatureB20 β€” HIV DiseaseZ21 β€” Asymptomatic HIVR75 β€” Inconclusive HIV
Provider documentation required”HIV disease,” β€œAIDS,” β€œsymptomatic HIV""HIV positive,” β€œseropositive, asymptomatic""Inconclusive HIV test,” β€œpossible HIV”
CD4 count thresholdTypically <200 or AIDS-defining illness presentUsually >200, no defining illnessN/A β€” awaiting confirmation
AIDS-defining illness presentβœ… Yes (code manifestation separately)❌ No❌ No
HCC mappedβœ… HCC 1 β€” highest weight❌ Not HCC-mapped❌ Not HCC-mapped
Use in future encountersβœ… Permanent β€” always B20 going forward❌ Reverts to B20 if AIDS developsN/A β€” interim code only
ART undetectable viral loadStill B20 β€” guideline-drivenStill Z21 until symptomaticN/A

CDI Query Trigger β€” HIV vs. AIDS Documentation

If the clinical record references opportunistic infections, CD4 <200, or β€œAIDS-defining conditions” but the provider documents only β€œHIV positive” without specifying disease stage, a CDI query is warranted to clarify whether the patient meets criteria for B20 (HIV disease/AIDS) versus Z21 (asymptomatic status). Provider confirmation of β€œHIV disease” or β€œAIDS” unlocks HCC 1 and the appropriate DRG routing.

Manifestations & Symptom Burden

HIV disease commonly presents with or leads to the following documented conditions, each of which should be coded separately in addition to B20:

  • Pneumocystis pneumonia (PCP): B59 β€” one of the most common AIDS-defining opportunistic infections; frequently the admission diagnosis
  • Cytomegalovirus (CMV) disease: B25.9 β€” retinitis, colitis, pneumonitis; common with CD4 <50
  • Toxoplasmic encephalitis: B58.2 β€” ring-enhancing CNS lesions; CD4 <100
  • Cryptococcal meningitis: B45.1 β€” fungal meningitis; CD4 <100
  • Kaposi sarcoma: C46.x β€” HHV-8 driven vascular neoplasm of skin/mucosa/viscera
  • HIV wasting syndrome: B22.2 β€” involuntary weight loss >10%, chronic diarrhea or fever
  • HIV encephalopathy/ Dementia: F02.80 with B22.0 β€” neurocognitive decline

Coding Manifestations

Always code the documented manifestations separately in addition to B20 to fully capture the patient’s complexity and support the highest-weighted DRG. Per ICD-10-CM guidelines, B20 is sequenced first as the etiology, followed by each manifestation code:

  • B59 β€” Pneumocystis pneumonia
  • C46.9 β€” Kaposi sarcoma, unspecified
  • B45.1 β€” Cryptococcal meningitis

πŸ’° HCC Risk Adjustment (CMS-HCC v28)

FieldDetail
CMS-HCC Model Versionv28 (2024-2025 Implementation)
HCC Assignmentβœ… Mapped β€” HCC 1
HCC CategoryHCC 1 β€” HIV/AIDS
RAF Coefficient~0.335 (varies by demographic/enrollment status)

B20 maps directly to HCC 1 (HIV/AIDS) under CMS-HCC v28, one of the most impactful HCC categories by RAF coefficient. Patients with HIV disease require significantly elevated care resources β€” ART regimens, frequent laboratory monitoring (CD4 counts, viral loads), and management of opportunistic infections β€” all of which are reflected in this HCC weight.

Capture Annually

HCC 1 must be supported by a provider-documented diagnosis of HIV disease in the current calendar year to remain on the patient’s RAF score. In Medicare Advantage settings, if B20 is not captured in any encounter during the measurement year, HCC 1 drops and the plan loses the associated risk-adjusted revenue. CDI teams and coders should flag HIV disease patients for annual recapture and ensure provider documentation supports B20 β€” not merely β€œHIV history” or β€œHIV positive.”


πŸ₯ MS-DRG Assignment

MDC 18 β€” Infectious and Parasitic Diseases (Systemic) / AIDS

DRGTitleEst. Relative Weight*
DRG 969HIV with Extensive O.R. Procedure with MCC~5.50 - 6.00
DRG 970HIV with Extensive O.R. Procedure with CC~3.20 - 3.80
DRG 971HIV with Extensive O.R. Procedure without CC/MCC~2.00 - 2.50
DRG 974HIV with Major Related Condition with MCC~3.10 - 3.60
DRG 975HIV with Major Related Condition with CC~1.80 - 2.10
DRG 976HIV with Major Related Condition without CC/MCC~1.20 - 1.50
DRG 977HIV with or without Other Related Condition with CC/MCC~1.50 - 1.80
DRG 978HIV with or without Other Related Condition without CC/MCC~0.90 - 1.10

Approximate. Verify against IPPS FY2026 Final Rule tables.

Sequencing and Complications

When B20 is the principal diagnosis (reason for admission), the grouper routes to the HIV DRG family (MDC 18). The final DRG depends on (1) whether an O.R. procedure is performed, (2) whether a β€œmajor related condition” (AIDS-defining illness) is present as a secondary diagnosis, and (3) whether CCs or MCCs are captured. Coding all documented opportunistic infections and AIDS-defining conditions as secondary diagnoses is critical β€” each one may function as a CC or MCC and move the encounter to a substantially higher-weighted DRG. If B20 is a secondary diagnosis and a non-HIV condition is the principal diagnosis, it typically functions as an MCC.


HIV Status and Diagnosis Spectrum

CodeDescription
B20Human immunodeficiency virus [HIV] disease ← This Code
Z21Asymptomatic human immunodeficiency virus [HIV] infection status
R75Inconclusive laboratory evidence of HIV
Z71.7HIV counseling
Z77.098Contact with and (suspected) exposure to other viral communicable diseases (HIV exposure)

Common AIDS-Defining Manifestations (Code After B20)

CodeDescription
B59Pneumocystis pneumonia (PCP)
B25.9Cytomegalovirus disease, unspecified
B45.1Cerebral cryptococcosis (cryptococcal meningitis)
B58.2Toxoplasma meningo-encephalitis
B22.2HIV disease resulting in wasting syndrome
B22.0HIV disease resulting in encephalopathy
C46.9Kaposi’s sarcoma, unspecified
C83.30Diffuse large B-cell lymphoma (AIDS-defining NHL)

πŸ› οΈ Commonly Associated CPT Codes (Infectious Disease / Inpatient)

Inpatient and Outpatient Profee Setting Context

In the inpatient profee setting, hospitalists and ID physicians managing HIV disease bill E/M codes (99221-99223 for admission, 99231-99233 for subsequent care, 99238-99239 for discharge). Outpatient HIV management involves specialized laboratory monitoring and, for some patients, infusion-based ART.

CPT CodeDescriptionProfee Coding Notes
87536HIV-1 quantitative (viral load), by NAABilled by lab; ID physician interprets β€” Modifier -26 if separately documented interpretation
86360CD4/CD8 lymphocyte countCore monitoring test; billed by lab
86361CD4 absolute countOften ordered alongside 86360
99232Subsequent hospital care, moderate complexityStandard daily rounding code for ID/hospitalist managing HIV complications
96365IV infusion, initial (therapeutic/diagnostic)Used for IV antifungal (e.g., amphotericin B for cryptococcal meningitis) or IV antiretroviral (ibalizumab β€” HCPCS J0200)
J0200Injection, ibalizumab-uiyk, 200 mgHCPCS for multidrug-resistant HIV ART infusion; paired with B20

NCCI Bundling Considerations

  • E/M services (99232) billed on the same day as a procedure (e.g., lumbar puncture 62270) require Modifier -25 on the E/M to indicate a significant, separately identifiable service was performed.
  • 87536 (HIV viral load) and 86360 (CD4 count) are laboratory codes and are not bundled with each other β€” both may be billed on the same date of service when ordered and performed separately.

πŸ”¬ ICD-10-PCS Crosswalk (Inpatient Procedures)

When B20 is an inpatient diagnosis, these PCS root operations and sections are commonly associated with treating HIV-related complications.

PCS SectionBody SystemRoot OperationClinical Application
3 β€” AdministrationE β€” Physiological Systems & Anatomical Regions0 β€” IntroductionIntrathecal antifungal administration for cryptococcal meningitis β€” e.g., 3E0R305 (Introduction of antifungal into spinal canal, percutaneous)
0 β€” Medical & SurgicalB β€” RespiratoryB β€” ExcisionBronchoscopic biopsy for PCP diagnosis confirmation β€” e.g., 0BBP8ZX (Excision of lung, via natural or artificial opening endoscopic)
0 β€” Medical & Surgical7 β€” Lymphatic & HemicB β€” ExcisionLymph node biopsy for NHL/Kaposi staging β€” e.g., 07T50ZZ (Resection of right axillary lymph node, open)
3 β€” AdministrationE β€” Physiological Systems0 β€” IntroductionIV antiretroviral or antifungal infusion β€” e.g., 3E04305 (Introduction of antifungal into peripheral vein, percutaneous)

πŸ’Š Coding Scenarios and Examples


Scenario 1 β€” Inpatient: AIDS with Pneumocystis Pneumonia, New Diagnosis

Clinical Vignette: A 34-year-old male presents with a 3-week history of progressive dyspnea, non-productive cough, and low-grade fever. Chest CT shows bilateral ground-glass opacities. BAL returns positive for Pneumocystis jirovecii. HIV antibody/antigen screen is reactive; confirmatory Western blot is positive. CD4 count is 48 cells/Β΅L. The provider documents β€œAIDS with Pneumocystis pneumonia, newly diagnosed.” The patient is admitted for IV TMP-SMX therapy.

Principal Diagnosis:

  • B20 β€” Human immunodeficiency virus [HIV] disease (reason for admission β€” HIV disease with AIDS-defining illness)

Secondary Diagnoses:

  • B59 β€” Pneumocystis pneumonia (AIDS-defining manifestation β€” MCC)
  • Z87.891 β€” Personal history of pneumonia (if applicable)

MS-DRG Assignment: B20 principal + B59 (MCC) β†’ DRG 974 β€” HIV with Major Related Condition with MCC (~3.1-3.6 relative weight).


Scenario 2 β€” Inpatient: Known AIDS Admitted for Cryptococcal Meningitis

Clinical Vignette: A 41-year-old female with known AIDS (on ART, but non-adherent) presents with 2 weeks of worsening headache, photophobia, and confusion. LP reveals opening pressure of 34 cmHβ‚‚O, CSF India ink positive, cryptococcal antigen titer 1:1024. Provider documents β€œcryptococcal meningitis in a patient with AIDS.” She is admitted to the ICU for IV amphotericin B and serial LPs.

Principal Diagnosis:

  • B20 β€” Human immunodeficiency virus [HIV] disease

Secondary Diagnoses:

  • B45.1 β€” Cerebral cryptococcosis (MCC β€” AIDS-defining, life-threatening CNS infection)
  • G93.6 β€” Cerebral edema (if documented)
  • Z87.39 β€” History of infections (as appropriate)

MS-DRG Assignment: B20 + B45.1 (MCC) β†’ DRG 974 β€” HIV with Major Related Condition with MCC.


Scenario 3 β€” CDI Query: β€œHIV Positive” Without Disease Specification

Clinical Vignette: A 55-year-old male is admitted for right lower lobe pneumonia. The H&P notes β€œhistory of HIV positive” and β€œCD4 count 110 cells/Β΅L on last outpatient labs.” Current medications include a tenofovir-based ART regimen. The provider does not document whether this represents asymptomatic HIV or AIDS-stage disease.

Action / Outcome: The coder cannot assign B20 based on β€œHIV positive” alone β€” Z21 (asymptomatic) would apply without provider confirmation of HIV disease. However, the CD4 of 110 suggests immunosuppression consistent with HIV disease. A CDI query is indicated to ask whether the patient’s HIV should be characterized as asymptomatic (Z21) or active HIV disease/AIDS (B20), given the CD4 count and clinical context. This distinction has significant HCC and DRG implications.

Query Response: Provider updates documentation to confirm: β€œPatient has HIV disease / AIDS, currently on ART with detectable viral load and CD4 of 110.”

Corrected ICD-10-CM Coding:

  • B20 β€” Human immunodeficiency virus [HIV] disease (confirmed by provider β€” HCC 1 captured)
  • J18.1 β€” Lobar pneumonia (principal diagnosis if reason for this admission)

⚠️ Coding Pitfalls and Tips

Pitfall or Tip
❌Coding Z21 after AIDS is established. Once a patient has been documented with HIV disease or AIDS, B20 is the permanent code for all future encounters β€” even with an undetectable viral load. Reverting to Z21 violates ICD-10-CM guidelines Section I.C.1.a and causes HCC 1 to drop from the RAF score.
❌Failing to code HIV manifestations separately. B20 alone does not capture the full clinical picture. Each documented opportunistic infection, AIDS-defining neoplasm, or HIV-related condition must be coded separately after B20. Omitting these codes underrepresents patient acuity and may result in a lower-weighted DRG.
❌Assigning B20 based on β€œHIV history” without provider confirmation. A notation of β€œHIV history” or β€œHIV positive” is insufficient for B20. The provider must document β€œHIV disease,” β€œAIDS,” or an equivalent term. Query when the documentation is ambiguous.
βœ…Always sequence B20 first when HIV is the etiology. Per ICD-10-CM etiology/manifestation convention, B20 is sequenced as the underlying etiology, followed by each manifestation code (e.g., B59 for PCP, C46.x for Kaposi sarcoma).
βœ…Capture B20 annually for HCC purposes. In all care settings, ensure B20 is documented and coded in at least one encounter per calendar year to maintain HCC 1 on the patient’s RAF score. Coordinate with CDI and providers on annual recapture workflows.
βœ…Query when CD4 <200 or AIDS-defining illness is present but provider says only β€œHIV positive.” Clinical indicators like low CD4, opportunistic infections, or ART regimen complexity are powerful CDI triggers. A clarifying query can upgrade the code from Z21 to B20 β€” a change with major HCC and DRG impact.

πŸ“š Sources

1. CMS/NCHS. *ICD-10-CM Official Guidelines for Coding and Reporting, FY2026.* Section I.C.1.a β€” HIV Infections. 2. CDC. *Revised Surveillance Case Definition for HIV Infection β€” United States, 2014.* MMWR 2014;63(RR-03):1-10. 3. Panel on Antiretroviral Guidelines for Adults and Adolescents. *Guidelines for the Use of Antiretroviral Agents in Adults and Adolescents with HIV.* Department of Health and Human Services. Updated 2025. 4. CMS. *2025-2026 Medicare Advantage Risk Adjustment β€” CMS-HCC Model v28 ICD-10-CM Mappings.* HCC 1 β€” HIV/AIDS. 5. CMS. *IPPS Final Rule FY2026 β€” MS-DRG Definitions Manual v43.* MDC 18 β€” HIV/AIDS DRG logic tables (DRGs 969-978). 6. WHO. *ICD-10 Version 2019 β€” B20 Human immunodeficiency virus [HIV] disease.* http://apps.who.int/classifications/icd10/browse/2019/en#/B20