10ICD Code Hub

J17

Billable code

Pneumonia in diseases classified elsewhere

The ICD-10 code for pneumonia in diseases classified elsewhere is J17.

Clinical notes

Code also

Two codes may be needed to fully describe a condition, but unlike Code First/Use Additional Code, the sequencing order is not mandated by convention.

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

Code first

This code represents a manifestation of an underlying disease. Coding convention requires the underlying (etiology) code to be sequenced first, with this code listed second.

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

Excludes1 (not coded here)

An Excludes1 note is a pure exclusion: the excluded condition and this code should never be reported together, because the two conditions cannot occur at the same time (e.g. a congenital form vs. an acquired form of the same disease).

  • 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)

Documentation support

General coding-documentation guidance — not a substitute for payer-specific requirements or professional coding judgment.

Related codes in this category

ICD-9-CM equivalent

Informational only — GEM mappings are approximate, not guaranteed one-to-one equivalents. Verify before use in billing.

View full ICD-10 → ICD-9 crosswalk →

Associated MS-DRGs

J17 can serve as the principal diagnosis for these Medicare Severity Diagnosis-Related Groups.

Informational only — actual DRG assignment also depends on procedures, complications/comorbidities (CC/MCC), discharge status, and payer-specific rules not reflected here.