Skip to main content

B59 vs J17

B59 (Pneumocystosis) compared with J17 (Pneumonia in diseases classified elsewhere), from the official CMS tabular data.

Current data releases:ICD-10-CM FY2027 · ICD-10-PCS FY2027 · HCPCS October 2026 · MS-DRG v44 · Medicare Code Editor v44.0 · NCCI PTP Q4 2026 · MUE Q4 2026 · NCD code lists 2026-01 · LCD export September 28, 2026 · All releases and sources

Summary

These codes should not be reported together because J17’s tabular entry lists B59 under Excludes1.

Official rule
What is different?

The conditions named and chapter.B59 is “Pneumocystosis”; J17 is “Pneumonia in diseases classified elsewhere”. B59 sits in A00-B99 — Certain Infectious and Parasitic Diseases (A00-B99); J17 in J00-J99 — Diseases of the Respiratory System (J00-J99).

Registry fact

Can these codes be reported together?

No.J17’s entry carries an Excludes1 note covering B59: “pneumocystosis (B59)”. Both may be reported only when the documentation shows the two conditions are unrelated to each other (ICD-10-CM Official Guidelines, Section I.A.12.a).

Official ruleGuide: Excludes1 vs Excludes2

Is there an Excludes1 relationship?

Yes.J17’s tabular entry: “pneumocystosis (B59)”. The note covers B59.

Official ruleGuide: Excludes1 vs Excludes2

Nothing found in 4 other checks; 1 check does not apply
Is there an Excludes2 relationship?

None.Neither entry carries an Excludes2 note that names the other code. J17 carries 9 Excludes2 notes covering other codes; the side-by-side table quotes them.

Official rule

Is one more specific?

Not comparable.The codes sit in different categories; specificity is only comparable within one category.

Is one a parent or header code?

No.Both are billable codes, and neither contains the other.

Registry fact

Are there sequencing instructions?

None.Neither entry carries a Code First or Use Additional Code note that names the other.

Official rule

Are there other coding relationships?

None found.No laterality, encounter-phase, Table of Neoplasms, Table of Drugs and Chemicals, or history-versus-active-disease relationship links these codes.

MedCoder-derived

Official rule: a tabular instructional note or a section of the ICD-10-CM Official Guidelines, quoted as published. Registry fact: the codes’ own published attributes (titles, billable status, position in the hierarchy, code set). MedCoder-derived: a reading MedCoder computes from those facts; it is not itself a rule. How to read the labels

Can these codes be reported together?

Excludes1 — generally not reported together

Excludes1 conflict

J17
Pneumonia in diseases classified elsewhere
↔
B59
Pneumocystosis

What we found

No — do not report together.J17 carries an Excludes1 note covering B59: “pneumocystosis (B59)”

Sole exception: when the two conditions are documented as unrelated to each other (ICD-10-CM Official Guidelines, Section I.A.12.a).

What to review

Report one of the two. Both may be reported only when the documentation shows the two conditions are unrelated to each other.

Guide: Excludes1 vs Excludes2Check these on a claim

Why it matters

An Excludes1 note means the two conditions are not ordinarily reported together for the same encounter, because the classification treats them as mutually exclusive forms of the same condition. The documented exception is when the two conditions are unrelated to each other.

Source / rule

CMS ICD-10-CM tabular instructional notes; ICD-10-CM Official Guidelines, Section I.A.12.a

Official guidance behind these answers

  • Section I.A.12.a — Excludes1 · applies to: Excludes1

    A type 1 Excludes note is a pure excludes note. It means “NOT CODED HERE!” An Excludes1 note indicates that the code excluded should never be used at the same time as the code above the Excludes1 note. An Excludes1 is used when two conditions cannot occur together, such as a congenital form versus an acquired form of the same condition. An exception to the Excludes1 definition is the circumstance when the two conditions are unrelated to each other. If it is not clear whether the two conditions involving an Excludes1 note are related or not, query the provider. For example, code F45.8, Other somatoform disorders, has an Excludes1 note for "sleep related teeth grinding (G47.63)," because "teeth grinding" is an inclusion term under F45.8. Only one of these two codes should be assigned for teeth grinding. However psychogenic dysmenorrhea is also an inclusion term under F45.8, and a patient could have both this condition and sleep related teeth grinding. In this case, the two conditions are clearly unrelated to each other, and so it would be appropriate to report F45.8 and G47.63 together.

    ICD-10-CM Official Guidelines FY2027

Quoted from the ICD-10-CM Official Guidelines for Coding and Reporting in effect for the release shown. The tabular notes above are the code-level instruction; these sections are the convention that says how such a note is applied. Source document (CMS PDF) · Release and checksum

Side by side

Similar descriptions do not make codes interchangeable. The documentation and the official instructions decide which code applies.

Official descriptionDiffers
B59

Pneumocystosis

J17

Pneumonia in diseases classified elsewhere

StatusSame for both
Billable
Excludes1Differs
B59
  • amebiasis (A06.-)
  • other protozoal intestinal diseases (A07.-)
J17
  • candidial pneumonia (B37.1)
  • chlamydial pneumonia (J16.0)
  • gonorrheal pneumonia (A54.84)
  • histoplasmosis pneumonia (B39.0-B39.2)
  • measles pneumonia (B05.2)
  • nocardiosis pneumonia (A43.0)
  • pneumocystosis (B59)
  • pneumonia due to Pneumocystis carinii (B59)
  • pneumonia due to Pneumocystis jirovecii (B59)
  • pneumonia in actinomycosis (A42.0)
  • pneumonia in anthrax (A22.1)
  • pneumonia in ascariasis (B77.81)
  • pneumonia in aspergillosis (B44.0-B44.1)
  • pneumonia in coccidioidomycosis (B38.0-B38.2)
  • pneumonia in cytomegalovirus disease (B25.0)
  • pneumonia in toxoplasmosis (B58.3)
  • rubella pneumonia (B06.81)
  • salmonella pneumonia (A02.22)
  • spirochetal infection NEC with pneumonia (A69.8)
  • tularemia pneumonia (A21.2)
  • typhoid fever with pneumonia (A01.03)
  • varicella pneumonia (B01.2)
  • whooping cough with pneumonia (A37 with fifth-character 1)
Excludes2Differs
B59

None at this code

J17
  • allergic or eosinophilic pneumonia (J82)
  • aspiration pneumonia NOS (J69.0)
  • meconium pneumonia (P24.01)
  • neonatal aspiration pneumonia (P24.-)
  • pneumonia due to solids and liquids (J69.-)
  • congenital pneumonia (P23.9)
  • lipid pneumonia (J69.1)
  • rheumatic pneumonia (I00)
  • ventilator associated pneumonia (J95.851)
Code firstDiffers
B59

None at this code

J17
  • underlying disease, such as:
  • Q fever (A78)
  • rheumatic fever (I00)
  • schistosomiasis (B65.0-B65.9)
Use additional codeDiffers
B59

None at this code

J17
  • code, if applicable, to identify resistance to antimicrobial drugs (Z16.-)
Code alsoDiffers
B59

None at this code

J17
  • , if applicable, any associated condition such as:
  • abscess (J85.1)
  • aspiration pneumonia (J69.-)
CategorySame for both

Is itself a category

ChapterDiffers
B59

A00-B99 — Certain Infectious and Parasitic Diseases (A00-B99)

J17

J00-J99 — Diseases of the Respiratory System (J00-J99)

IncludesDiffers
B59
  • Pneumonia due to Pneumocystis carinii
  • Pneumonia due to Pneumocystis jirovecii
J17

None at this code

No 7th character note at either code.

Notes are the code’s own tabular entry, quoted as published. A note that names the other code is the one the verdict above rests on. In a row that differs, each code’s own notes are listed under it, and the notes every code shares are listed once beneath them.

Derived from the official CMS ICD-10-CM tabular data (FY2027). A coding-rule comparison, not billing advice: payer-specific edits and medical-necessity policy are outside its scope. All data sources