𧬠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 inconclusiveAlways 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
| Code | Description | Note |
|---|---|---|
| Z21 | Asymptomatic HIV infection status | Mutually 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
| Code | Description | Note |
|---|---|---|
| O98.7- | HIV disease complicating pregnancy, childbirth, and the puerperium | In an obstetric patient with HIV disease, use O98.7- as principal, then B20 as secondary per obstetric coding guidelines |
| R75 | Inconclusive laboratory evidence of HIV | May 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.
| Feature | B20 β HIV Disease | Z21 β Asymptomatic HIV | R75 β Inconclusive HIV |
|---|---|---|---|
| Provider documentation required | βHIV disease,β βAIDS,β βsymptomatic HIV" | "HIV positive,β βseropositive, asymptomatic" | "Inconclusive HIV test,β βpossible HIVβ |
| CD4 count threshold | Typically <200 or AIDS-defining illness present | Usually >200, no defining illness | N/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 develops | N/A β interim code only |
| ART undetectable viral load | Still B20 β guideline-driven | Still Z21 until symptomatic | N/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)
| Field | Detail |
|---|---|
| CMS-HCC Model Version | v28 (2024-2025 Implementation) |
| HCC Assignment | β Mapped β HCC 1 |
| HCC Category | HCC 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
| DRG | Title | Est. Relative Weight* |
|---|---|---|
| DRG 969 | HIV with Extensive O.R. Procedure with MCC | ~5.50 - 6.00 |
| DRG 970 | HIV with Extensive O.R. Procedure with CC | ~3.20 - 3.80 |
| DRG 971 | HIV with Extensive O.R. Procedure without CC/MCC | ~2.00 - 2.50 |
| DRG 974 | HIV with Major Related Condition with MCC | ~3.10 - 3.60 |
| DRG 975 | HIV with Major Related Condition with CC | ~1.80 - 2.10 |
| DRG 976 | HIV with Major Related Condition without CC/MCC | ~1.20 - 1.50 |
| DRG 977 | HIV with or without Other Related Condition with CC/MCC | ~1.50 - 1.80 |
| DRG 978 | HIV 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.
π Related ICD-10-CM Codes
HIV Status and Diagnosis Spectrum
| Code | Description |
|---|---|
| B20 | Human immunodeficiency virus [HIV] disease β This Code |
| Z21 | Asymptomatic human immunodeficiency virus [HIV] infection status |
| R75 | Inconclusive laboratory evidence of HIV |
| Z71.7 | HIV counseling |
| Z77.098 | Contact with and (suspected) exposure to other viral communicable diseases (HIV exposure) |
Common AIDS-Defining Manifestations (Code After B20)
| Code | Description |
|---|---|
| B59 | Pneumocystis pneumonia (PCP) |
| B25.9 | Cytomegalovirus disease, unspecified |
| B45.1 | Cerebral cryptococcosis (cryptococcal meningitis) |
| B58.2 | Toxoplasma meningo-encephalitis |
| B22.2 | HIV disease resulting in wasting syndrome |
| B22.0 | HIV disease resulting in encephalopathy |
| C46.9 | Kaposiβs sarcoma, unspecified |
| C83.30 | Diffuse 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 Code | Description | Profee Coding Notes |
|---|---|---|
| 87536 | HIV-1 quantitative (viral load), by NAA | Billed by lab; ID physician interprets β Modifier -26 if separately documented interpretation |
| 86360 | CD4/CD8 lymphocyte count | Core monitoring test; billed by lab |
| 86361 | CD4 absolute count | Often ordered alongside 86360 |
| 99232 | Subsequent hospital care, moderate complexity | Standard daily rounding code for ID/hospitalist managing HIV complications |
| 96365 | IV infusion, initial (therapeutic/diagnostic) | Used for IV antifungal (e.g., amphotericin B for cryptococcal meningitis) or IV antiretroviral (ibalizumab β HCPCS J0200) |
| J0200 | Injection, ibalizumab-uiyk, 200 mg | HCPCS 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 Section | Body System | Root Operation | Clinical Application |
|---|---|---|---|
| 3 β Administration | E β Physiological Systems & Anatomical Regions | 0 β Introduction | Intrathecal antifungal administration for cryptococcal meningitis β e.g., 3E0R305 (Introduction of antifungal into spinal canal, percutaneous) |
| 0 β Medical & Surgical | B β Respiratory | B β Excision | Bronchoscopic biopsy for PCP diagnosis confirmation β e.g., 0BBP8ZX (Excision of lung, via natural or artificial opening endoscopic) |
| 0 β Medical & Surgical | 7 β Lymphatic & Hemic | B β Excision | Lymph node biopsy for NHL/Kaposi staging β e.g., 07T50ZZ (Resection of right axillary lymph node, open) |
| 3 β Administration | E β Physiological Systems | 0 β Introduction | IV 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. |
Crystal's Coder Hub