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

Table of Contents

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

📘 8. ICD-10-CM Guidelines (FY2026)

The ICD-10-CM Official Guidelines for Coding and Reporting, Section I.C.1.a (CMS FY2026), provide specific and detailed instructions for HIV coding. These rules are mandatory for all settings.

I.C.1.a.1 — Patient with Documented HIV Disease (B20)

  • Assign B20 when the patient has a confirmed diagnosis of HIV disease (AIDS), regardless of current clinical presentation or viral load.
  • B20 is a permanent, lifetime code once assigned — applies to all future encounters.
  • Additional codes should be assigned for all documented OIs and HIV-related conditions.

I.C.1.a.2 — HIV with Opportunistic Infections / Related Conditions

  • When a patient with HIV disease is admitted for an OI or HIV-related condition: sequence B20 first, followed by the OI/related condition code.
  • Example: Admission for PCP in HIV patient → B20, B59
  • Example: HIV patient admitted for esophageal candidiasis → B20, B37.81

I.C.1.a.2(b) — HIV with Unrelated Condition

  • When a patient with HIV disease is admitted for a condition unrelated to HIV: sequence the unrelated condition first, then B20.
  • Example: HIV patient admitted for hip fracture → S72.001A, B20

I.C.1.a.3 — Asymptomatic HIV (Z21)

  • Assign Z21 when HIV is confirmed but the patient has never had an AIDS-defining illness and is clinically asymptomatic.
  • Z21 is not used once B20 has been established.
  • Z21 should not be the principal diagnosis if admitted for another reason — code the reason for admission first, then Z21.

I.C.1.a.4 — Inconclusive HIV Tests (R75)

  • Assign R75 when laboratory evidence of HIV is inconclusive (indeterminate Western blot, indeterminate antibody test).
  • Do not use R75 to imply confirmed HIV infection — confirmatory testing is required before assigning B20 or Z21.

I.C.1.a.5 — HIV in Pregnancy

  • Assign O98.7x first (HIV complicating pregnancy) when the patient has HIV and is pregnant, regardless of trimester.
  • Add B20 or Z21 as additional codes to further specify HIV disease status.
  • The obstetric code (O98.7x) always sequences first during the pregnancy episode per Guideline I.C.15.

I.C.1.a.6 — Newborns with HIV Exposure

  • Z20.6 — Contact with and (suspected) exposure to HIV; used for newborns exposed perinatally when HIV status is unknown.
  • R75 — Inconclusive laboratory evidence of HIV; used when newborn tests are indeterminate.
  • Do NOT assign B20 or Z21 to a newborn unless HIV infection is confirmed by a provider.

MS-DRG Implications

Per CMS IPPS MS-DRG grouper, B20 as a principal diagnosis maps to:

  • MS-DRG 969–970 — HIV with Extensive OR Procedure: w/ MCC / w/o MCC
  • MS-DRG 974–976 — HIV with Major Related Condition: w/ MCC / w/o MCC
  • MS-DRG 977 — HIV without other related condition

The presence of documented sepsis (A41.x, HCC 2), respiratory failure, or other MCCs/CCs significantly elevates MS-DRG weight and reimbursement — making accurate OI documentation critical for appropriate payment.

🛡️ Audit Alert — OI Causal Linkage

OIG and MAC auditors frequently cite improper HIV sequencing as a coding vulnerability. When assigning B20 + OI code, the provider must have documented a causal relationship between HIV and the OI — or the OI must be an established AIDS-defining condition. “HIV patient with PCP” implies causality; however, explicit documentation (“PCP due to HIV disease”) is best practice per AHIMA’s Coding Practice Guidance.

🔢 9. ICD-10-CM Code Set (FY2026)

All codes verified against FY2026 ICD-10-CM Tabular List (CMS) effective October 1, 2025.

ICD-10-CM CodeDescriptionCoding Notes / HCC
B20Human immunodeficiency virus [HIV] diseaseAIDS; HCC 1 (v28) ~0.320 RAF; sequence first when HIV-related admission. Lifetime code once assigned.
Z21Asymptomatic human immunodeficiency virus [HIV] infection statusHIV-positive, no AIDS-defining illness. Not coded with B20. Never principal Dx if admitted for another condition.
R75Inconclusive laboratory evidence of human immunodeficiency virus [HIV]Indeterminate test results only; not confirmed infection. Newborn perinatal exposure.
B59Pneumocystosis (PCP; Pneumocystis jirovecii pneumonia)AIDS-defining. Sequence B20 first. LDH elevation, bilateral ground-glass opacities on CT.
B25.0Cytomegaloviral pneumonitisCMV pulmonary; AIDS-defining. Sequence B20 first.
B25.1Cytomegaloviral hepatitisCMV hepatic involvement; confirm HIV causality.
B25.2Cytomegaloviral pancreatitisCMV pancreatic; sequence B20 first.
B25.8Other cytomegaloviral diseasesCMV colitis, CMV esophagitis, CMV retinitis (see also H30.9 for ocular manifestation).
B25.9Cytomegaloviral disease, unspecifiedQuery for specific organ involvement when possible.
B37.0Candidal stomatitis (oral thrush)Not AIDS-defining alone; common in immunosuppression.
B37.7Candidal sepsisAIDS-defining when with B20; also HCC 2 (sepsis) if A41.89 documented; code both.
B37.81Candidal esophagitisAIDS-defining condition. Sequence B20 first. Strong CDI trigger.
B37.89Other sites of candidiasisVaginal (B37.3), pulmonary (B37.1), meningitis (B37.5) — each with specific sub-codes.
B45.0Pulmonary cryptococcosisCryptococcal pneumonia; AIDS-defining. Sequence B20 first.
B45.1Cerebral cryptococcosis (cryptococcal meningitis)Most common AIDS-related CNS OI after toxoplasmosis; high mortality.
B45.2Cutaneous cryptococcosisSkin manifestation of disseminated Cryptococcus.
B45.7Disseminated cryptococcosisSystemic cryptococcal infection; HCC 380 (major skin infections) may apply.
B58.0Toxoplasma oculopathyToxoplasmal chorioretinitis; AIDS-defining.
B58.2Toxoplasma encephalitisRing-enhancing CNS lesions; principal AIDS-defining CNS OI. Query required in new CNS lesion in HIV patient.
B58.89Toxoplasmosis with other organ involvementCardiac, pulmonary, hepatic; always sequence B20 first.
A07.2CryptosporidiosisAIDS-defining; chronic diarrhea in advanced HIV; Cryptosporidium parvum.
A31.2Disseminated mycobacteriosis (MAC/MAI)AIDS-defining; CD4 typically <50. Query when fever, night sweats, weight loss, hepatosplenomegaly in HIV patient.
B00.0Eczema herpeticum (disseminated herpes simplex)HSV skin/mucosal; severe disease in HIV. Code B20 + B00.x.
B00.3Herpes simplex meningitisCNS HSV; AIDS-defining when severe/recurrent.
B02.0Zoster encephalitisSevere herpes zoster complication; query in HIV patient with altered mental status.
B02.3Zoster ocular disease (ophthalmicus)Herpes zoster ophthalmicus; more severe in immunosuppressed.
A15.0Tuberculosis of lung, confirmed by sputum microscopyTB in HIV: sequence B20 first, then A15.x. Extrapulmonary TB common with advanced HIV.
A19.9Miliary tuberculosis, unspecifiedDisseminated TB; AIDS-defining; very high mortality.
C46.0Kaposi sarcoma of skinAIDS-defining cancer; HCC 22 (v28). Sequence B20 + C46.0.
C46.1Kaposi sarcoma of soft tissueVisceral KS; aggressive prognosis.
C46.2Kaposi sarcoma of palateOral KS; AIDS-defining.
C46.3Kaposi sarcoma of lymph nodesLymph node KS; common site.
C46.4Kaposi sarcoma of gastrointestinal sitesGI bleeding/obstruction possible.
C46.50Kaposi sarcoma of unspecified lungPulmonary KS; poor prognosis.
C46.7Kaposi sarcoma of other sitesOral mucosa, conjunctiva, etc.
C46.9Kaposi sarcoma, unspecifiedQuery for specific site when possible.
C81–C86Hodgkin and non-Hodgkin lymphomasAIDS-defining lymphomas (C82, C83, C85 — Burkitt, diffuse large B-cell, primary CNS lymphoma). HCC 17 or 18. Sequence B20 first.
R64Cachexia (wasting syndrome)HIV wasting: B20 + R64; requires >10% body weight loss + diarrhea/fever/weakness without other cause. Query when documented.
Z29.81Encounter for prophylactic immunotherapy (PCP prophylaxis)Documents PCP prophylaxis with TMP-SMX; code in addition to Z21 or B20.
O98.711HIV complicating pregnancy, first trimesterAlways sequence O98.7x first; add B20 or Z21. Trimester specificity required.
O98.712HIV complicating pregnancy, second trimesterSee O98.711 notes.
O98.713HIV complicating pregnancy, third trimesterSee O98.711 notes.
O98.72HIV complicating childbirthLabor/delivery encounter; add B20/Z21.
O98.73HIV complicating the puerperiumPostpartum; add B20/Z21.
Z20.6Contact with and (suspected) exposure to HIVNewborn perinatal exposure; no confirmed infection. Do NOT use Z21 or B20.

🔎 10. Indexing

When locating HIV/AIDS codes in the FY2026 ICD-10-CM Alphabetic Index, use these primary index entry paths:

Index TermPathCode Result
HIV diseaseH → HIV → diseaseB20
AIDS (acquired immunodeficiency syndrome)A → AIDS (see also Human immunodeficiency virus disease)B20
HIV, asymptomaticH → HIV → asymptomatic statusZ21
HIV, inconclusive testH → HIV → inconclusive laboratory evidenceR75
PneumocystosisP → Pneumocystosis; or Pneumonia → Pneumocystis (carinii)(jirovecii)B59
Candidiasis, esophagusC → Candidiasis → esophagusB37.81
Candidal sepsisC → Candidiasis → sepsisB37.7
Cryptococcosis, meningitisC → Cryptococcosis → meningitisB45.1
Toxoplasmosis, encephalitisT → Toxoplasmosis → encephalitisB58.2
MAC/MAI (disseminated)M → Mycobacteriosis, disseminatedA31.2
Kaposi sarcoma, skinK → Kaposi’s sarcoma → skinC46.0
Wasting syndrome, HIVW → Wasting → HIV; or Cachexia + B20R64 (+ B20)
HIV in pregnancyH → HIV → complicating pregnancy; or Pregnancy → complicated by → HIVO98.7x
Exposure to HIVE → Exposure → HIV; Contact → HIVZ20.6
Zoster (herpes)Z → Zoster → specific manifestationB02.x
Herpes simplexH → Herpes → simplex → specific typeB00.x
📝 Coder Note — Tabular Verification Required

Always verify Alphabetic Index findings in the Tabular List. The Tabular List includes instructional notes such as “Use additional code” and “Code first” directives that govern sequencing for HIV/OI combinations. For B20, the Tabular note states: “Code first, if applicable, any associated opportunistic infection.” For OI categories, Tabular notes typically state “Code first underlying disease, such as: human immunodeficiency virus [HIV] disease (B20).”

🏥 11. CPT (2026)

CPT codes verified against the AMA CPT 2026 code set. All HIV-related laboratory testing is typically performed in an outpatient or reference lab setting.

CPT CodeDescriptionNotes / Clinical Context
86689Antibody; HTLV or HIV antibody, confirmatory (e.g., Western blot)HIV confirmatory testing; used after reactive screening to confirm B20 or Z21 diagnosis
86701Antibody; HIV-1HIV-1 antibody screening test
86702Antibody; HIV-2HIV-2 antibody screening; less common in U.S.
86703Antibody; HIV-1 and HIV-2, single resultCombined HIV-1/HIV-2 4th generation Ag/Ab combination assay
87389Infectious agent antigen detection by immunoassay; HIV-1 antigen(s), with HIV-1 and HIV-2 antibodies4th generation combination HIV test; preferred for initial screening
87806Infectious agent antigen detection; HIV-1 antigen(s), with HIV-1 and HIV-2 antibodies, qualitativeRapid combination HIV Ag/Ab test (point-of-care or lab)
87910Infectious agent genotype; HIV-1, resistance, reverse transcriptase regionGenotype resistance testing — NNRTI/NRTI resistance mutations; used at treatment initiation or failure
87535Infectious agent detection; HIV-1, quantificationHIV-1 viral load quantification (copies/mL); monitoring treatment response
87536Infectious agent detection; HIV-1, quantification, each additionalAdditional viral load quantification (paired with 87535)
87901Infectious agent genotyping; HIV-1, integrase regionIntegrase resistance genotype; critical for INSTI-based regimens
87903Phenotypic resistance analysis, HIV-1; first drug testedPhenotypic resistance assay; used when genotype is insufficient
87904Phenotypic resistance analysis, HIV-1; each additional drug testedAdd-on to 87903; billed per additional drug
86360T cells; total count and percent and absolute countCD4/CD8 ratio; CD4 monitoring for AIDS staging and OI prophylaxis thresholds
86361T cells; absolute CD4 countStandalone CD4 absolute count; used for ART initiation and OI prophylaxis decisions
86592Syphilis test, qualitative (RPR)Syphilis co-infection screening recommended at HIV diagnosis and annually
87340Infectious agent antigen; Hepatitis B surface antigen (HBsAg)Hepatitis B co-infection screening and monitoring (TDF active against HBV)

🧾 12. HCPCS (2026)

HCPCS codes relevant to HIV/AIDS management, per CMS HCPCS 2026 release. Note: Most oral antiretroviral agents are covered under Medicare Part D and do not have reportable Part B HCPCS codes — only infused/injectable agents administered in the clinical setting use Part B HCPCS billing.

HCPCS CodeDescriptionTypical Use
J1742Injection, ibalizumab-uiyk, 10 mgCD4-directed post-attachment HIV-1 inhibitor; IV infusion for multidrug-resistant HIV; 2,000 mg loading dose then 800 mg Q2 weeks
J1830Injection, interferon alfa-2b, recombinant, 1 million unitsHIV-related Kaposi sarcoma treatment; intralesional or systemic
Q0144Azithromycin dihydrate, oral, per 250 mgMAC prophylaxis (CD4 <50); also secondary prophylaxis; oral tablet in clinical setting
J3490Unclassified drugs (non-oral)Injectable antiretrovirals without specific J-code; lenacapavir injection, cabotegravir injection; requires clinical documentation of drug name/dose
J3590Unclassified biologicsBiologic antiretrovirals administered in facility setting; use when no specific code assigned
S0108Miscellaneous antiviral medications (non-oral)State/commercial plan billing for HIV antivirals; check payer policy
S9445Patient education, not otherwise classified, non-physician provider, per 30 minutesHIV counseling and education services; used by state programs and commercial payers
G0445High-intensity behavioral counseling to prevent STIs, 30 min, individual, face-to-faceHIV/STI prevention counseling; covered by Medicare IPPE/preventive benefit
G0432Infectious agent antibody detection; HIV-1 and/or HIV-2, screen, immunoassayHIV screening in facility setting; used for Medicare Part B claims
G0433Infectious agent antibody detection; HIV-1 and/or HIV-2, confirmatory testHIV confirmatory test in facility setting (Medicare billing alternative to CPT 86689)
📝 Coder Note — Medicare Part D ART Coverage

Oral antiretroviral medications (tenofovir/emtricitabine, dolutegravir, bictegravir, efavirenz, darunavir, etc.) are dispensed through Medicare Part D prescription drug plans — not Part B HCPCS. Part B covers antiretrovirals only when administered by infusion in a provider office or outpatient facility (e.g., ibalizumab J1742, lenacapavir injection J3490). Coders billing for HIV medication administration in an outpatient clinical setting must confirm the route and setting before assigning Part B vs. Part D coverage.

📚 13. AHA Coding Clinic (Recent Guidance)

The AHA Coding Clinic has issued multiple advisories on HIV/AIDS coding. The following represent key guidance applicable to FY2026:

  • HIV Disease Sequencing (I.C.1.a): Coding Clinic has consistently affirmed that B20 sequences first when the admission is related to HIV disease or OI, reinforcing guideline I.C.1.a.2. Providers should document the causal relationship between HIV and OI explicitly.
  • B20 vs. Z21 Distinction: AHA Coding Clinic has clarified that once a patient has been documented with AIDS or an AIDS-defining condition, B20 applies for all subsequent encounters — consistent with the “lifetime code” principle. Clinical coders should audit records for historical AIDS documentation before defaulting to Z21.
  • HIV Wasting Syndrome: Coding Clinic guidance supports coding B20 + R64 (cachexia) when the provider explicitly documents HIV wasting syndrome; documentation should include weight loss percentage and absence of other explanatory etiology.
  • OI Causal Linkage: Coding Clinic emphasizes that opportunistic infections in HIV patients are presumed HIV-related when they are established AIDS-defining conditions. A formal “due to HIV” statement in every note is ideal but the OI list per CDC suffices for coding purposes when the provider documents HIV disease (B20).
  • HIV in Pregnancy: Coding Clinic reaffirms O98.7x always sequences first in obstetric encounters; B20 or Z21 added as additional code. The trimester-specific 7th character is required.
  • Candidal Sepsis (B37.7): When candidal sepsis is the reason for admission in an HIV patient, guideline direction depends on whether it was caused by HIV immunosuppression — if so, sequence B20 first, then B37.7; if coding sepsis as principal, ensure A41.89 is also considered per sepsis guidelines (I.C.1.d).
📝 Coder Note — Coding Clinic Access

AHA Coding Clinic is available by subscription through AHA Central Office. Coders should review current-year issues for any updated HIV guidance, particularly regarding newer ART classes and long-acting injectable antiretrovirals (e.g., cabotegravir + rilpivirine monthly or bimonthly injections) that may generate facility coding questions.

💰 14. HCC / Risk Adjustment (v28)

CMS-HCC model version 28 (effective January 1, 2024 for 2026 payment year) applies to Medicare Advantage and Part C risk adjustment per CMS Risk Adjustment documentation. HIV/AIDS generates one of the highest RAF impacts of any single diagnosis.

ICD-10-CM Code(s)HCC v28 CategoryHCC DescriptionApprox. v28 RAF WeightCoding Notes
B20HCC 1HIV/AIDS~0.320Highest single-condition RAF in common practice; applies lifetime
A41.x (sepsis)HCC 2Septicemia, Sepsis, SIRS/Shock~0.400+Additive with HCC 1 when sepsis documented in HIV patient
C46.x (Kaposi sarcoma)HCC 22Metastatic Cancer and Acute Leukemia (site-specific)~1.00–1.80Kaposi sarcoma maps to HCC 22 (v28); significant RAF; sequence B20 + C46.x
C82–C85 (NHL)HCC 17 / HCC 18Lymphatic, Hematologic Cancers / Lymphoma~0.70–1.00AIDS-defining lymphoma; HCC depends on specific lymphoma type; code with B20
B20 + R64 (wasting)HCC 1 + possible HCC 21HIV/AIDS + Protein-Calorie Malnutrition~0.320 + additiveR64 (cachexia) maps to HCC 21 (malnutrition) in v28 when combined with malnutrition documentation
B20 + Skin/Mucosal OIHCC 380Major Skin/Subcutaneous Infections in Immunocompromised~0.200HCC 380 (v28 new) for major skin infections in AIDS; applies to severe disseminated candidiasis/cryptococcal skin
Z21No HCC0Asymptomatic HIV does not map to HCC 1; critical distinction for risk adjustment accuracy

Risk Adjustment Documentation Best Practices

  • HIV disease (B20) must be documented, evaluated, and managed (DEM) at each applicable encounter to capture HCC 1 for that plan year.
  • ART prescription or documented HIV medication management at the visit supports the DEM standard.
  • CD4 count documented and reviewed at the encounter strengthens the DEM evidence.
  • OI documentation (when present) adds additive HCC weight — providers should specifically document the OI diagnosis, not just treatment.
  • Kaposi sarcoma (HCC 22) requires specific site coding (C46.0–C46.9); “KS” alone without site specificity should prompt a query.
🛡️ Audit Alert — Z21 vs. B20 Risk Adjustment Impact

The difference between Z21 (no HCC) and B20 (HCC 1, ~0.320 RAF) represents potentially hundreds of dollars per member per month in Medicare Advantage risk adjustment. Both over-coding (B20 when patient never had AIDS) and under-coding (Z21 when patient has historical AIDS diagnosis) are audit risks. Documentation must support the code assigned. Per OIG Work Plan, HIV/AIDS risk adjustment is an active area of auditor focus for MA plans.

✍️ 15. CDI Query Templates

All query templates below are ACDIS and AHIMA compliant — non-leading, multiple-choice format, clinically appropriate. Queries are for clarification only and must be based on clinical indicators present in the medical record.

Scenario / TriggerQuery Template
1. HIV Status Confirmation (B20 vs. Z21)
Record states “HIV infection” or “HIV-positive” — no prior AIDS dx on file; CD4 noted but AIDS history unclear
Clinical Context: The patient has a documented history of HIV infection. Current record notes [CD4 count X / OI / clinical indicator].

For accurate and complete documentation, could you please clarify the patient’s current HIV disease status?
☐ HIV disease (AIDS) — patient has had an AIDS-defining illness or CD4 <200
☐ Asymptomatic HIV infection — no AIDS-defining conditions, patient is HIV-positive but never had AIDS
☐ Other: ___________
☐ Unable to determine based on available information
2. OI Causal Linkage to HIV
OI (e.g., PCP, candidal esophagitis, cryptococcal meningitis) documented; HIV also documented; causal link not explicit
Clinical Context: The patient has documented HIV disease (B20) and a current diagnosis of [opportunistic infection].

For coding and sequencing purposes, is the [OI] causally related to the patient’s HIV/AIDS?
☐ Yes — [OI] is a direct complication of HIV immunosuppression
☐ No — [OI] is present but is unrelated to HIV status
☐ Unable to determine
3. HIV Wasting Syndrome
HIV patient with documented unintentional weight loss >10%, diarrhea, and/or fever; no alternative explanation
Clinical Context: The patient with HIV disease has [X% weight loss / documented diarrhea / fever] with no identified alternative etiology.

Does this patient’s presentation meet criteria for HIV wasting syndrome?
☐ Yes — HIV wasting syndrome (document: weight loss >10%, associated diarrhea or chronic weakness/fever)
☐ No — weight loss attributable to [alternate cause]
☐ Unable to determine
4. HIV in Pregnancy — Disease Status
Pregnant patient with documented HIV; status (B20 vs. Z21) not specified; O98.7x code requires additional specificity
Clinical Context: This obstetric patient has a documented HIV diagnosis. For complete and accurate coding, please clarify the HIV disease status:
☐ HIV disease (AIDS) complicating this pregnancy — patient has had AIDS-defining illness or CD4 <200
☐ Asymptomatic HIV infection (HIV-positive, no AIDS-defining illness) complicating this pregnancy
☐ Other: ___________
☐ Unable to determine
5. Viral Load Suppression — Documentation Context
HIV patient on ART with undetectable viral load; record notes “HIV” only without clarifying current disease status
Clinical Context: The patient is on antiretroviral therapy with documented undetectable HIV viral load. The record indicates a history of [CD4 nadir / prior OI / AIDS diagnosis].

Please clarify the appropriate HIV classification for this encounter:
☐ HIV disease (B20) — patient has historical AIDS diagnosis (B20 is a permanent lifetime code regardless of viral suppression)
☐ Asymptomatic HIV (Z21) — patient is HIV-positive, has never had AIDS-defining condition
☐ Other: ___________
6. Kaposi Sarcoma Site Specificity
Documentation states “Kaposi sarcoma” without specifying site; C46.9 would apply but site-specific coding is preferred
Clinical Context: The patient has a diagnosis of Kaposi sarcoma. For accurate and specific coding (which affects HCC risk adjustment and MS-DRG grouping), could you please specify the primary site(s) of involvement?
☐ Skin (C46.0)
☐ Soft tissue (C46.1)
☐ Palate (C46.2)
☐ Lymph nodes (C46.3)
☐ Gastrointestinal (C46.4)
☐ Lung (C46.50–C46.52)
☐ Multiple sites / unspecified (C46.7/C46.9)
☐ Other: ___________

🧑‍⚕️ 16. Treatments (Clinical)

Clinical treatment information is provided for CDI and clinical context; this section supports documentation accuracy and is not a substitute for clinical judgment. Current guidelines are from NIH AIDSinfo Clinical Guidelines (2026) and CDC HIV Clinical Resources.

Antiretroviral Therapy (ART)

Standard of care is a 3-drug regimen (typically 2 NRTIs + 1 INSTI). Preferred initial regimens per NIH 2026 guidelines:

  • Bictegravir/tenofovir alafenamide/emtricitabine (BIC/TAF/FTC) — Biktarvy; preferred for most treatment-naive patients
  • Dolutegravir/abacavir/lamivudine (DTG/ABC/3TC) — Triumeq; requires HLA-B*5701 testing
  • Dolutegravir + tenofovir alafenamide/emtricitabine — preferred in pregnancy (after first trimester)
  • Long-acting cabotegravir + rilpivirine (CAB+RPV) — monthly or every-2-month IM injection for virally suppressed patients
  • Lenacapavir — twice-yearly subcutaneous injection (capsid inhibitor); approved for multidrug-resistant HIV

OI Treatment Summary

  • PCP (B59): TMP-SMX 15–20 mg/kg/day TMP × 21 days; prednisone for moderate-severe (PaO2 <70 mmHg)
  • CMV retinitis (B25.8): Ganciclovir IV or oral valganciclovir; ART initiation/optimization essential
  • Candidal esophagitis (B37.81): Oral fluconazole 200 mg × 14–21 days; IV for severe cases
  • Cryptococcal meningitis (B45.1): Liposomal amphotericin B + flucytosine (induction) → fluconazole (consolidation/maintenance)
  • Toxoplasma encephalitis (B58.2): Pyrimethamine + sulfadiazine + leucovorin; lifelong secondary prophylaxis until CD4 >200 on ART
  • Disseminated MAC (A31.2): Clarithromycin + ethambutol ± rifabutin; concurrent ART
  • Pulmonary TB (A15.x): Rifampin-based RIPE regimen (rifampin, isoniazid, pyrazinamide, ethambutol) × 6 months; complex drug interactions with ART
  • Kaposi sarcoma (C46.x): ART optimization (immune reconstitution); liposomal doxorubicin for systemic/visceral KS; interferon alfa for limited cutaneous disease
  • AIDS-related lymphoma (C81–C86): Combination chemotherapy (CHOP, R-CHOP) + concurrent ART; CNS lymphoma: methotrexate-based regimens

OI Prophylaxis Thresholds

  • PCP prophylaxis: CD4 <200 → TMP-SMX DS daily (Z29.81); discontinue when CD4 sustained >200 on ART
  • Toxoplasmosis prophylaxis: CD4 <100 + positive Toxoplasma IgG → TMP-SMX DS daily
  • MAC prophylaxis: CD4 <50 → azithromycin weekly (Q0144) or clarithromycin; discontinue when CD4 >100 × 3 months on ART
  • Cryptococcal antigen screening: CD4 <100 in high-prevalence settings

🎓 17. Patient Education / Summary

This section provides a clinician-ready summary of patient education points for HIV/AIDS documentation completeness. CDI specialists may use these points to facilitate accurate provider-patient communication documentation.

Key Patient Education Topics for Documentation Completeness

  • HIV is a lifelong condition: Once diagnosed with AIDS (B20), the documentation and coding reflect this permanent status regardless of treatment success.
  • Importance of ART adherence: Consistent adherence suppresses viral load (goal: undetectable), preserves CD4 count, and prevents OI development. Document adherence status at each visit.
  • OI awareness: Patients should report fever, night sweats, unexplained weight loss, vision changes, dysphagia, or neurological symptoms immediately — each may represent an OI requiring urgent evaluation and specific diagnosis coding.
  • CD4 monitoring schedule: Regular CD4 counts guide prophylaxis initiation and OI risk stratification; document results and clinical interpretation at each visit.
  • Co-infection screening: Annual STI screening (syphilis, gonorrhea, chlamydia), hepatitis B/C co-infection status, TB skin test/IGRA — all generate additional ICD-10 documentation opportunities.
  • Wasting/nutrition: Weight monitoring at every visit; involuntary weight loss >10% should prompt documentation of HIV wasting syndrome evaluation.
  • Pregnancy and HIV: Women of childbearing age should have HIV status documented; ART during pregnancy prevents mother-to-child transmission; O98.7x coding and perinatal exposure documentation for newborn.
  • PrEP for HIV-negative partners: Document HIV-negative status and PrEP indication; Z11.4 (HIV screening encounter) and Z79.899 (long-term PrEP use) for the uninfected partner.

Documentation Summary for Coders

For optimal coding accuracy in HIV/AIDS cases, ensure the medical record contains:

  1. Confirmed HIV diagnosis type: AIDS (B20) or asymptomatic (Z21) — explicitly stated by provider
  2. CD4 count with clinical interpretation documented at the encounter
  3. Viral load result documented and clinically interpreted
  4. Current ART regimen documented with adherence status
  5. All active OIs named, with site specificity and causal link to HIV stated
  6. Wasting syndrome evaluated — weight loss percentage documented if applicable
  7. Prophylaxis agents and indications documented
  8. Pregnancy status with HIV complication code when applicable
  9. Co-infections (TB, hepatitis B/C, syphilis) identified and documented separately
  10. Kaposi sarcoma or lymphoma site specificity for HCC accuracy

For additional HIV coding resources, see the FY2026 ICD-10-CM Official Guidelines (CMS), NIH AIDSinfo Clinical Guidelines, CDC HIV Treatment Guidelines, and AHIMA Coding Resources.


About this Guide

This Clinical Documentation Guide is published by CCO Academy and is intended for credentialed coding, CDI, and clinical documentation professionals. Content is updated for FY2026 ICD-10-CM (effective October 1, 2025). All code assignments should be verified against the official ICD-10-CM Tabular List, AHA Coding Clinic, and applicable payer-specific policies. This guide does not constitute legal, medical, or compliance advice.

Last reviewed: April 2026 · Next scheduled review: October 2026 (FY2027 update)

Ready to turn this knowledge into a credential?

These Clinical Documentation Guides are a free companion to CCO’s paid training programs. Browse our full CCO Course, Blitz & Practice Exam Catalog — every core course, review blitz, practice exam, textbook, and free resource in one place — and find the perfect next step for your coding career.

Photo of author

CCO Certified Professionals

The CCO Certified Professionals team brings together experienced, credentialed medical coders, CDI specialists, and clinical documentation experts with decades of combined expertise in inpatient, outpatient, and risk-adjustment coding. Every Clinical Documentation Guide is built and reviewed by certified instructors who teach, code, and audit in the field every day. Content is verified against current ICD-10-CM, AHA Coding Clinic, and CMS guidance.

Leave a Comment

Clinical Doc Guides