2027 ICD-10-CM Diagnosis Code B59Pneumocystosis

ICD-10-CM Codes›A00–B99›B50-B64›B59

ICD-10-CM B59
CMSSource: CMS FY 2027 ICD-10-CM dataset · Effective Oct 1, 2026 – Sep 30, 2027

B59 is a billable ICD-10-CM diagnosis code for pneumocystosis. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 177 through 179, 791, 793, 974 through 976. As a secondary diagnosis, it counts as a major complication or comorbidity (MCC) and places an inpatient stay in the highest severity level of its MS-DRG family. It does not count, however, when the principal diagnosis is one of 105 closely related codes. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Fungal infections and Pneumonia (except that caused by tuberculosis).

For Medicare Advantage risk adjustment, B59 maps to CMS-HCC Category 6 (Opportunistic Infections) under the V28 model, adding a risk factor of about 0.381 for a community, non-dual, aged beneficiary in payment year 2027.

Code Identity

ICD-10-CM Code
B59
Billable Status
Yes — Valid for Submission
Code Describes
Pneumocystosis
Short Description
Pneumocystosis
Same as the full description in the CMS dataset.
Chapter
B50-B64
Protozoal diseases

Code Classification

ChapterA00–B99Certain infectious and parasitic diseases
SectionB50-B64Protozoal diseases
CategoryB59Pneumocystosis
This CodeB59Pneumocystosis

Medicare Risk Adjustment (HCC)Billing

B59 maps to a payment category in the CMS-HCC model used to risk-adjust Medicare Advantage payments. Weights are the published community factors for payment year 2027.

CMS-HCC V28 Category (Payment Model)
HCC 6— Opportunistic Infections
Payment HCC · PY 2027 one of 37 ICD-10-CM codes in this category
Risk Adjustment Factor (RAF) Weight
+0.381
community, non-dual, aged · ranges 0.381–0.833 across segments
Hierarchy
Top of its hierarchy
HCC 6 is not superseded by any other condition category
Prior Model (CMS-HCC V24)
HCC 6
V24 retired V28 pays 100% of MA risk scores since PY 2026
Other CMS Models
PACE (CMS-HCC V22): HCC 6 · ESRD (V21): HCC 6 · ESRD (V24): HCC 6
ESRD V21 weights: 0.052 dialysis, 0.426–0.568 functioning graft · ESRD V24 weights: 0.076 dialysis, 0.364–0.782 functioning graft
Part D (RxHCC)
RxHCC 5 — Opportunistic Infections
also risk-adjusts in the Part D prescription drug model (V08)

Source: CMS Payment Year 2027 risk adjustment mappings and model software. Weights are relative factors, not dollar amounts; a beneficiary's total RAF also includes demographics and interactions. Browse all CMS-HCC categories.

Approximate SynonymsGuidance

Alternate terms and clinical phrases that map to this code.

  • Colonization of respiratory tract caused by Pneumocystis jirovecii
  • Disseminated infection caused by Pneumocystis jirovecii
  • Extrapulmonary pneumocystis jirovecii infection
  • Fungal choroiditis
  • Infection by Pneumocystis jirovecii
  • Infection caused by Pneumocystis jirovecii with acquired immunodeficiency syndrome
  • Infection caused by Pneumocystis jirovecii with infection caused by human immunodeficiency virus
  • Infection of lung caused by Pneumocystis jirovecii
  • Inflammation of choroid caused by Pneumocystis jirovecii
  • Nodule of lung caused by Pneumocystis jirovecii
  • Pneumocystis jirovecii lung cyst
  • Pneumocystis jirovecii present
  • Pneumocystosis jirovecii pneumonia
  • Spontaneous pneumothorax
  • Spontaneous pneumothorax due to infection caused by Pneumocystis jirovecii
  • Spontaneous pneumothorax due to respiratory disease

Instructional NotesGuidance

Instructions from the official ICD-10-CM Tabular List that apply to B59: its own notes plus those printed at block B50-B64 and Chapter 1. A note printed at a category, block or chapter applies to every code under it.

Includes

Further defines, or gives examples of, the content of the category.

From Chapter 1 (A00-B99) Certain infectious and parasitic diseases applies to 1,068 codes
  • diseases generally recognized as communicable or transmissible

Applicable To

Conditions this code is used for: synonyms of the title or, for "other specified" codes, the conditions assigned to it. The list is not exhaustive.

  • Pneumonia due to Pneumocystis carinii
  • Pneumonia due to Pneumocystis jirovecii

Excludes1

Not coded here: the excluded code is never reported together with this one, unless the two conditions are unrelated.

From Block B50-B64 Protozoal diseases applies to 57 codes
  • amebiasis (A06.-)
  • other protozoal intestinal diseases (A07.-)

Excludes2

Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.

From Chapter 1 (A00-B99) Certain infectious and parasitic diseases applies to 1,068 codes
  • carrier or suspected carrier of infectious disease (Z22.-)
  • certain localized infections - see body system-related chapters
  • infectious and parasitic diseases complicating pregnancy, childbirth and the puerperium (O98.-)
  • infectious and parasitic diseases specific to the perinatal period (P35-P39)
  • influenza and other acute respiratory infections (J00-J22)

Use Additional Code

Add a second code, after this one, to fully describe the condition.

From Chapter 1 (A00-B99) Certain infectious and parasitic diseases applies to 1,068 codes
  • code to identify resistance to antimicrobial drugs (Z16.-)

Source: CMS ICD-10-CM Tabular List. How to read instructional notes.

Referenced in Other NotesGuidance

Instructional notes printed at other codes that name B59, its category, or a range that includes it.

Applicable To 1

These notes mention B59.

  • O98.6 Protozoal diseases complicating pregnancy, childbirth and the puerperium
    Conditions in B50-B64 names B50-B64, which includes this code

Excludes1 6

These codes carry an Excludes1 note naming B59: they are not reported together with it, unless the two conditions are unrelated.

  • J16 Pneumonia due to other infectious organisms, not elsewhere classified
    pneumocystosis (B59)
  • J17 Pneumonia in diseases classified elsewhere
    pneumocystosis (B59)
  • J17 Pneumonia in diseases classified elsewhere
    pneumonia due to Pneumocystis carinii (B59)
  • J17 Pneumonia in diseases classified elsewhere
    pneumonia due to Pneumocystis jirovecii (B59)
  • J84.11 Idiopathic interstitial pneumonia
    pneumocystis pneumonia (B59)
  • J84.114 Acute interstitial pneumonitis
    pneumocystis pneumonia (B59)

Code First 1

These codes say to code first a condition named in the note, and B59 is one of the conditions named.

  • J93.12 Secondary spontaneous pneumothorax
    pneumonia due to Pneumocystis carinii (B59)

Index to Diseases and InjuriesGuidance

Clinical ClassificationClinical

AHRQ’s CCSR groups this code into broader clinical categories.

CCSR INF004
Fungal infections
Default principal diagnosis: inpatient No · outpatient No
CCSR RSP002
Pneumonia (except that caused by tuberculosis)
Default principal diagnosis: inpatient Yes · outpatient Yes

Clinical InformationClinical

  • Pneumonia, Pneumocystis

    a pulmonary disease in humans occurring in immunodeficient or malnourished patients or infants, characterized by dyspnea, tachypnea, and hypoxemia. pneumocystis pneumonia is a frequently seen opportunistic infection in aids. it is caused by the fungus pneumocystis jirovecii. the disease is also found in other mammals where it is caused by related species of pneumocystis.

Patient EducationClinical

Pneumocystis Infections

Pneumocystis jirovecii is a fungus that is common throughout the world. Many people have been exposed to it as children. Some people have the fungus in their lungs. If you are healthy, it usually will not make you sick. But it can make you sick if you have a weakened immune system, for example if you:

The full article covers:

  • What is Pneumocystis jirovecii?
  • How does Pneumocystis jirovecii spread?
  • What is pneumocystis pneumonia (PCP)?
  • What are the symptoms of pneumocystis pneumonia (PCP)?
  • How is pneumocystis pneumonia (PCP) diagnosed?
  • What are the treatments for pneumocystis pneumonia (PCP)?
  • Can pneumocystis pneumonia (PCP) be prevented?

Read the full article at MedlinePlus

Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.

Convert B59 to ICD-9-CMHistory

The closest ICD-9-CM equivalents under the General Equivalence Mappings.

ICD-9-CM
136.3 Pneumocystosis
Exact Match The mapping is direct, with no qualifiers.

Code HistoryHistory

FY 2016AddedAdded to the ICD-10-CM code setEffective October 1, 2015, the first year of ICD-10-CM.
FY 2017–2026No changes
FY 2027CurrentCurrent code set, no changesEffective October 1, 2026 through September 30, 2027.

Questions About B59Overview

What is the ICD-10 code for pneumocystosis?

The ICD-10-CM code for pneumocystosis is B59. It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

Is B59 (Pneumocystosis) a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report pneumocystosis on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

What MS-DRG does B59 group to?

When pneumocystosis is the principal diagnosis on an inpatient stay, it groups to MS-DRG 793, 791, 974, 976, 975, 179, 178, 177, with relative weights from 0.7344 to 4.2192 depending on complications. Higher weights mean higher Medicare reimbursement.

Is B59 a CC or MCC?

CMS lists B59 as an MCC (major complication or comorbidity) for FY 2027. Reported as a secondary diagnosis, it places the inpatient stay in the highest-weighted DRG of its severity family. It does not count when the principal diagnosis is one of the 105 closely related codes in its exclusion list.

Can B59 be reported with a code from A06?

Not as a rule. The Excludes1 note at block B50-B64, which applies to B59, lists "amebiasis (A06.-)". An Excludes1 note means the excluded code is never reported together with this one; the only exception is when the two conditions are unrelated to each other (Official Guidelines, Section I.A.12.a).

What HCC is B59?

B59 (pneumocystosis) maps to CMS-HCC Category 6 (Opportunistic Infections), commonly written as HCC 6, in the CMS-HCC V28 model used for Medicare Advantage risk adjustment in payment year 2027. It mapped to HCC 6 under the retired V24 model. It also maps in the PACE (CMS-HCC V22), ESRD (V21), and ESRD (V24) models. In the Part D prescription drug model it maps to RxHCC 5.

Does B59 risk-adjust for Medicare Advantage payment?

Yes. When documented and reported on a Medicare Advantage encounter, B59 adds a risk adjustment factor of about 0.381 to the beneficiary's RAF score for a community, non-dual, aged enrollee (published V28 weights range from 0.381 to 0.833 depending on the payment segment). HCC 6 sits at the top of its hierarchy, so no other condition category supersedes it. See the full factor table on the HCC 6 category page.