HIV/AIDS and Opportunistic Infections — Clinical Documentation Guide (2026)

Code year: FY2026 (Oct 1 2025 – Sep 30 2026)
Audience: Certified Coders, Auditors and Clinical Documentation Specialists
Access: CCO Members
Last updated: April 2026

🔍 1. Definition

Human Immunodeficiency Virus (HIV) is a retrovirus that targets and destroys CD4+ T-lymphocytes (helper T-cells), progressively impairing cell-mediated immunity. Left untreated, HIV infection advances to Acquired Immunodeficiency Syndrome (AIDS), the most advanced stage, characterized by a CD4 count below 200 cells/µL or the development of an AIDS-defining illness. According to CDC, approximately 1.2 million Americans are living with HIV, and roughly 13% are unaware of their infection.

For coding purposes under FY2026 ICD-10-CM (CMS), the critical distinction is:

  • B20 — HIV disease: Assigns when a patient has ever been diagnosed with AIDS or has an AIDS-defining condition (applies for life — once AIDS, always B20).
  • Z21 — Asymptomatic HIV infection status: Assigns when HIV is confirmed but the patient has never had an AIDS-defining condition and is currently asymptomatic.
  • R75 — Inconclusive laboratory evidence of HIV: Assigns when laboratory testing is inconclusive (e.g., indeterminate Western blot); never used as a confirmed HIV diagnosis.
⚠️ Common Pitfall — B20 Is a Lifetime Assignment

Once a patient has been diagnosed with AIDS (B20), that code applies for every subsequent encounter — even if they achieve viral suppression, their CD4 count recovers above 200, or they are currently asymptomatic. The shift from Z21 to B20 is permanent per ICD-10-CM Official Guidelines Section I.C.1.a.

🗂️ 2. Alternative Terminology

Clinicians, nurses, and patients may use varying language to refer to HIV/AIDS and related conditions. Coders and CDI specialists must recognize these terms to ensure complete and accurate documentation capture.

Formal / Clinical TermColloquial / Lay / Alternate Terms
HIV disease (B20)AIDS, full-blown AIDS, advanced HIV, HIV infection with AIDS-defining illness
Asymptomatic HIV infection (Z21)HIV-positive status, HIV carrier, HIV-seropositive, HIV without symptoms, controlled HIV
Pneumocystis jirovecii pneumonia (B59)PCP, Pneumocystis pneumonia, PJP, "walking pneumonia in AIDS"
Cytomegalovirus disease (B25.x)CMV, CMV retinitis, CMV colitis, cytomegalic inclusion disease
Candidal esophagitis (B37.81)Esophageal candidiasis, thrush esophagitis, Candida esophagitis
Cryptococcal meningitis (B45.1)Cryptococcosis, crypto meningitis, Cryptococcus neoformans infection
Toxoplasma encephalitis (B58.2)Toxoplasmosis brain abscess, toxo, cerebral toxoplasmosis
Mycobacterium avium complex (A31.2)MAC, MAI (M. avium-intracellulare), disseminated MAC
Kaposi sarcoma (C46.x)KS, Kaposi's, AIDS-related Kaposi sarcoma
HIV wasting syndrome (B20 + R64)AIDS wasting, slim disease, HIV cachexia
Antiretroviral therapyART, HAART, HIV meds, ARV, combination therapy, treatment

🩺 3. Signs & Symptoms

Clinical presentation varies significantly by stage of HIV infection. Early (acute) infection, chronic asymptomatic infection, and AIDS each present distinctly. Coders and CDI specialists should flag documented signs/symptoms that may signal transition from asymptomatic HIV (Z21) to AIDS (B20).

Acute HIV Infection (Seroconversion)

  • Fever, night sweats, fatigue (flu-like illness 2–4 weeks after exposure)
  • Pharyngitis, lymphadenopathy, rash (maculopapular)
  • Myalgia, arthralgia, headache
  • Oral ulcers, weight loss

Chronic Asymptomatic Phase (Z21)

  • Generally no clinical signs; CD4 count typically >500 cells/µL
  • Persistent generalized lymphadenopathy possible
  • Mild thrombocytopenia or anemia may be present

AIDS-Defining Illness Triggers (→ B20)

  • CD4 <200 cells/µL or CD4 percentage <14%
  • Recurrent bacterial pneumonia (≥2 episodes in 12 months)
  • Pneumocystis jirovecii pneumonia (PCP)
  • Esophageal candidiasis
  • CMV retinitis/disease
  • Disseminated MAC/MAI
  • Cerebral toxoplasmosis
  • Cryptococcal meningitis
  • HIV wasting syndrome (>10% involuntary weight loss)
  • Kaposi sarcoma (any site)
  • HIV-related lymphoma (C81–C86)
  • Progressive multifocal leukoencephalopathy (PML)
  • Invasive cervical cancer
  • Pulmonary/extrapulmonary tuberculosis
💬 CDI Query Trigger

When the record shows CD4 count <200 cells/µL, documentation of an AIDS-defining OI, or HIV wasting (unexplained weight loss >10%), and the provider has documented only "HIV infection" or "HIV-positive," query the provider to clarify whether this meets criteria for AIDS (B20) vs. asymptomatic HIV (Z21). The distinction carries a ~0.320 HCC v28 RAF differential.

🧭 4. Differential Diagnosis

Several conditions mimic HIV-related immunosuppression or present similarly to AIDS-defining illnesses. Coders must not assume HIV without explicit provider documentation.

ConditionKey Distinguishing FeaturesRelevant Codes
Primary immunodeficiency (non-HIV)Congenital or acquired non-HIV immunodeficiency; no HIV serologyD80–D84
Drug-induced immunosuppressionImmunosuppressant therapy (e.g., transplant, chemotherapy); no HIVT45.1x5A, Z79.52
Community-acquired pneumoniaNo HIV; PCP requires HIV context or immune deficitJ18.9, J15.x
Esophageal candidiasis (non-HIV)May occur in diabetics, steroid users; document HIV status separatelyB37.81 (same code; link to HIV in sequencing)
Lymphoma (non-HIV)HIV-negative; no AIDS-defining contextC81–C86 (same codes; no B20 required)
Tuberculosis (non-HIV)TB can occur without HIV; only link to B20 if HIV presentA15–A19
Cytomegalovirus (immunocompetent)CMV mononucleosis in healthy hosts; retinitis typically requires immunosuppressionB25.x (same; sequence by context)
Malnutrition/cachexia (non-HIV)Cancer, heart failure, ESRD wasting — not HIV wasting (R64)R64, E43, E41
SarcoidosisGranulomatous disease mimicking disseminated OID86.x

📋 5. Clinical Indicators for Coders/CDI

The following clinical indicators should prompt a coder or CDI specialist to review the record for HIV/AIDS coding accuracy, OI documentation, and sequencing. Reference AHIMA and ACDIS resources for query standards.

Clinical IndicatorCoding / CDI ActionSection Reference
CD4 count <200 cells/µL documentedQuery: Is this AIDS? Does B20 apply vs. Z21?ICD-10-CM I.C.1.a
HIV documented — no prior AIDS dx on recordVerify history: ever had AIDS-defining illness? If yes → B20I.C.1.a.1
Pneumonia in HIV patientIs PCP documented? Causal link to HIV? Query OI causal linkageI.C.1.a.2
Esophageal candidiasis in HIV patientConfirm B37.81 + B20; B20 first as HIV diseaseB37.81, I.C.1.a.2
Involuntary weight loss >10% in HIV patientQuery for HIV wasting syndrome; add R64 if confirmedB20 + R64, I.C.1.a
Antiretroviral therapy documented in medication listImplies active HIV management; verify B20 vs. Z21 based on historyZ79.899
TB diagnosed in HIV patientSequence: B20 first (HIV disease), then A15.x–A19.x; use bothI.C.1.a.2(d)
Kaposi sarcoma documentedAIDS-defining; assign B20 + C46.x; HCC 22 appliesC46.x, HCC 22
MAC/MAI infection in HIV patientConfirm A31.2 causal link to HIV; sequence B20 firstA31.2, I.C.1.a.2
Sepsis in HIV patientQuery etiology of sepsis (OI-related?); code A41.x + B20; HCC 2A41.x + B20
HIV in pregnancy documentationUse O98.7x (HIV in pregnancy); sequence O98.7x firstI.C.15, O98.7x
Newborn exposed to maternal HIVZ20.6 (contact/exposure) or R75 (inconclusive) — NOT B20/Z21R75, Z20.6

🦴 6. Anatomy & Pathophysiology

Target Cells and Viral Life Cycle

HIV is an RNA retrovirus belonging to the genus Lentivirus. It primarily infects cells expressing the CD4 surface receptor, including CD4+ T-lymphocytes, macrophages, and dendritic cells. The virus binds CD4 via its gp120 envelope protein, requiring a coreceptor (CCR5 or CXCR4) for cell entry. After reverse transcription, viral DNA integrates into the host genome as a provirus — a reservoir that persists even with effective ART.

Immunological Cascade

Progressive CD4 cell depletion impairs cell-mediated immunity. Key thresholds per NIH AIDSinfo Clinical Guidelines:

  • CD4 >500: Near-normal immune function; Z21 typical
  • CD4 200–500: Moderate immunosuppression; risk of bacterial infections, herpes zoster
  • CD4 <200: Severe immunosuppression; high risk for PCP, toxoplasmosis, CMV — AIDS threshold (B20)
  • CD4 <50: Profound immunosuppression; disseminated MAC, CMV retinitis, cryptococcal meningitis

Opportunistic Infection Pathophysiology

  • PCP (B59): Pneumocystis jirovecii reactivation causing diffuse alveolar damage; bilateral ground-glass infiltrates on CT; LDH typically elevated.
  • CMV (B25.x): Reactivation of latent cytomegalovirus; retinitis (progressive blindness), colitis, esophagitis, encephalitis.
  • Candidiasis (B37.x): Opportunistic fungal infection; esophageal form (B37.81) confirms AIDS-defining illness.
  • Cryptococcosis (B45.x): Cryptococcus neoformans inhaled from soil; meningitis (B45.1) is the most common AIDS-defining CNS infection.
  • Toxoplasmosis (B58.x): Reactivation of Toxoplasma gondii brain cysts causing ring-enhancing lesions; B58.2 = Toxoplasma encephalitis.
  • MAC/MAI (A31.2): Disseminated Mycobacterium avium complex; fever, night sweats, weight loss, diarrhea, hepatosplenomegaly.
  • TB (A15–A19): Reactivation TB highly prevalent in HIV; extrapulmonary TB more common with advanced immunosuppression.
  • Kaposi sarcoma (C46.x): HHV-8 driven vascular tumor; skin lesions, visceral/pulmonary involvement possible; AIDS-defining cancer.

💊 7. Medication Impact / Treatment

Antiretroviral therapy (ART) is the cornerstone of HIV management and has transformed HIV from a terminal illness to a manageable chronic condition. Per NIH AIDSinfo 2026 ART Guidelines, treatment is recommended for all persons with HIV regardless of CD4 count.

Major ART Drug Classes (Coding Relevance)

  • NRTIs (nucleoside/nucleotide reverse transcriptase inhibitors): tenofovir (TDF/TAF), emtricitabine, abacavir, lamivudine
  • NNRTIs (non-nucleoside RTIs): efavirenz, rilpivirine, doravirine
  • INSTIs (integrase strand transfer inhibitors): dolutegravir, bictegravir, raltegravir, cabotegravir
  • PIs (protease inhibitors): darunavir/ritonavir, atazanavir/cobicistat
  • Entry/attachment inhibitors: ibalizumab (J1742 HCPCS), fostemsavir, lenacapavir
  • CCR5 antagonists: maraviroc
  • Capsid inhibitors: lenacapavir (long-acting injectable)

OI Prophylaxis and Treatment

  • PCP prophylaxis: TMP-SMX (trimethoprim-sulfamethoxazole); code Z29.81 for PCP prophylaxis
  • MAC prophylaxis: Azithromycin (Q0144 HCPCS) when CD4 <50
  • Toxoplasmosis prophylaxis: TMP-SMX double-strength
  • Fluconazole: Candidal infections; J1400 (IV) or oral
  • Ganciclovir/valganciclovir: CMV disease treatment
  • Liposomal amphotericin B: Cryptococcal meningitis induction
  • Ethambutol + rifampin + azithromycin: Disseminated MAC treatment
  • Interferon alfa-2b (J1830): HIV-related Kaposi sarcoma

Medication Documentation Coding Notes

Long-term ART use is coded with Z79.899 (long-term current use of other medication) per FY2026 ICD-10-CM guidelines. Most oral ART agents are covered under Medicare Part D (prescription drug benefit), not Part B HCPCS — coders should note that J3490/J3590 apply to infused/injectable antiretrovirals administered in a clinical setting.

📝 Coder Note — Viral Suppression Does Not Change B20

A patient who has achieved undetectable viral load (<20–50 copies/mL) and CD4 recovery above 500 still retains the B20 code if they were ever diagnosed with AIDS. Viral suppression is a treatment outcome, not a reversal of diagnosis. Do not downcode to Z21 based on current lab values alone.

Preview ends here. The full guide continues with FY2026 ICD-10-CM code sets, CPT surgical coding, MS-DRG mapping, reimbursement guidance, CDI query templates, and an audit checklist — all available to CCO Members.

Back to All Clinical Documentation Guides

🔒 Register or sign in to read the full guide

Unlock the full guide including:

  • • 📘 8. ICD-10-CM Guidelines (FY2026)
  • • 🔢 9. ICD-10-CM Code Set (FY2026)
  • • 🔎 10. Indexing
  • • 🏥 11. CPT (2026)
  • • 🧾 12. HCPCS (2026)
  • • 📚 13. AHA Coding Clinic (Recent Guidance)
  • • 💰 14. HCC / Risk Adjustment (v28)
  • • ✍️ 15. CDI Query Templates
  • • 🧑‍⚕️ 16. Treatments (Clinical)
  • • 🎓 17. Patient Education / Summary

Log in to continue

Photo of author

Laureen Jandroep

Leave a Comment

⚠️ STAGING ENVIRONMENT — staging.cco.us — NOT PRODUCTION ⚠️

Clinical Doc Guides