J17 ICD-10-CM Code: Pneumonia in diseases classified elsewhere
Billing Status: YES. This is a valid, specific, and billable ICD-10-CM reference.
Coding at a Glance
Inpatient Payment Groups (MS-DRG)
Potential MS-DRG participation — not a DRG assignment.
MS-DRGs this diagnosis helps define, as principal or secondary, per the CMS ICD-10-CM/PCS MS-DRG Definitions Manual v43, Appendix B.
- MS-DRG 177 — RESPIRATORY INFECTIONS AND INFLAMMATIONS WITH MCC (MDC 04)
- MS-DRG 178 — RESPIRATORY INFECTIONS AND INFLAMMATIONS WITH CC (MDC 04)
- MS-DRG 179 — RESPIRATORY INFECTIONS AND INFLAMMATIONS WITHOUT CC/MCC (MDC 04)
A diagnosis appearing in a group's logic does not by itself determine the DRG assigned to a stay; the grouper uses the full claim.
Coding instructions
Official Tabular Instructional Notes: the inclusion, exclusion and sequencing notes published for J17 in the official ICD-10-CM tabular list, quoted as published.
Source: CMS/CDC — ICD-10-CM Tabular ListRelease: FY2026Effective: October 1, 2025
Notes without a marker are published on J17 itself; “inherited from” names the category or block whose note applies here.
Excludes1 — Not Coded Here
Conditions generally not reported together with this code (Excludes1) -- an error unless the two conditions are documented as unrelated to each other (ICD-10-CM Official Guidelines, Section I.A.12.a).
- candidial pneumonia (B37.1) Compare J17 vs B37.1 →
- chlamydial pneumonia (J16.0) Compare J17 vs J16.0 →
- gonorrheal pneumonia (A54.84) Compare J17 vs A54.84 →
- histoplasmosis pneumonia (B39.0-B39.2) Compare J17 vs B39.0 →
- measles pneumonia (B05.2) Compare J17 vs B05.2 →
- nocardiosis pneumonia (A43.0) Compare J17 vs A43.0 →
- pneumocystosis (B59) Compare J17 vs B59 →
- pneumonia due to Pneumocystis carinii (B59) Compare J17 vs B59 →
- pneumonia due to Pneumocystis jirovecii (B59) Compare J17 vs B59 →
- pneumonia in actinomycosis (A42.0) Compare J17 vs A42.0 →
- pneumonia in anthrax (A22.1) Compare J17 vs A22.1 →
- pneumonia in ascariasis (B77.81) Compare J17 vs B77.81 →
- pneumonia in aspergillosis (B44.0-B44.1) Compare J17 vs B44.0 →
- pneumonia in coccidioidomycosis (B38.0-B38.2) Compare J17 vs B38.0 →
- pneumonia in cytomegalovirus disease (B25.0) Compare J17 vs B25.0 →
- pneumonia in toxoplasmosis (B58.3) Compare J17 vs B58.3 →
- rubella pneumonia (B06.81) Compare J17 vs B06.81 →
- salmonella pneumonia (A02.22) Compare J17 vs A02.22 →
- spirochetal infection NEC with pneumonia (A69.8) Compare J17 vs A69.8 →
- tularemia pneumonia (A21.2) Compare J17 vs A21.2 →
- typhoid fever with pneumonia (A01.03) Compare J17 vs A01.03 →
- varicella pneumonia (B01.2) Compare J17 vs B01.2 →
- whooping cough with pneumonia (A37 with fifth-character 1) Compare J17 vs A37 →
Excludes2 — Not Included Here
Conditions not covered by this code, but which may be reported alongside it when both are present.
- allergic or eosinophilic pneumonia (J82) Compare J17 vs J82 →
- aspiration pneumonia NOS (J69.0) Compare J17 vs J69.0 →
- meconium pneumonia (P24.01) Compare J17 vs P24.01 →
- neonatal aspiration pneumonia (P24.-) Compare J17 vs P24 →
- pneumonia due to solids and liquids (J69.-) Compare J17 vs J69 →
- congenital pneumonia (P23.9) Compare J17 vs P23.9 →
- lipid pneumonia (J69.1) Compare J17 vs J69.1 →
- rheumatic pneumonia (I00) Compare J17 vs I00 →
- ventilator associated pneumonia (J95.851) Compare J17 vs J95.851 →
Source: inherited from J09-J18
Code First
Underlying conditions that must be sequenced before this code.
Code Also
Additional codes that may be required to fully describe the encounter.
Coder workflow for J17
MedCoder structured workflow — derived from this code’s own official record
Before you code J17
- J17 is a manifestation code (“in diseases classified elsewhere”). Confirm the underlying condition is documented and sequence it first; a manifestation code is not reported as the first-listed or principal diagnosis. The etiology/manifestation convention (Guidelines I.A.13).
See the official tabular notes · Guide: Manifestation codes and Code First sequencing →
- Check the Excludes1 note: if the documentation supports a condition named there, do not simply proceed with J17. Excludes1 conditions are not reported together with this code unless the record shows they are unrelated (Guidelines I.A.12.a).
Choose the right path
- Does the documentation support a condition named in J17’s Excludes1 note?
Yes → Do not simply proceed: review the excluded code. Both are reported only when the record shows the two conditions are unrelated.
No → Continue. - Is the underlying (etiologic) condition the Code First note names documented?
Yes → Sequence the underlying condition first, then J17.
No → A manifestation code needs its underlying condition — query before reporting it.
Consider J17. Then work the Use Additional Code note and review the Code Also note, and confirm the code is valid for the date of service in the Verify section.
Documentation check
- The provider’s diagnostic statement
- Codes are assigned from the provider’s documented diagnosis, not from clinical criteria, test values or a medication list (Guidelines I.A.19).
- The underlying (etiologic) condition
- Named in the Code First note; sequenced before this code when documented (Guidelines I.A.13).
- The conditions the Use Additional Code note names
- Reported with this code when documented; a conditional instruction (“if applicable”, “if known”) applies only when the record supports it.
Official instructions as workflow
Excludes1 — check before selecting J17(23 notes)
Coding workflow: If the documentation supports a condition named in this note, do not simply proceed with J17: the two are not reported together. The one exception is when the record shows the two conditions are unrelated to each other.
CompareB37.1, J16.0, A54.84, B05.2, A43.0, B59
See the official tabular notes · Guidelines I.A.12.a
Excludes2 — not part of J17(9 notes)
Coding workflow: The conditions named in this note are not included in J17. When the record documents both, both may be reported; the note is a boundary, not a prohibition.
CompareJ82, J69.0, P24.01, P24, J69, P23.9
See the official tabular notes · Guidelines I.A.12.b
Code First — sequencing check(4 notes)
Coding workflow: Check whether the underlying or etiologic condition the note names is documented. When it is, sequence it before J17. Do not add an underlying condition the record does not document.
See the official tabular notes · Guidelines I.A.13
Use Additional Code — after identifying J17(1 note)
Coding workflow: Check whether the documentation supports the additional code(s) the note names, and report them with J17 when it does. Where the instruction is conditional (“if applicable”, “if known”), it applies only when the record documents the condition.
ReviewZ16
See the official tabular notes · Guidelines I.A.13
Code Also — related condition(3 notes)
Coding workflow: Review the related condition when both are documented and the instruction applies. A Code Also note does not fix sequencing; the order follows the circumstances of the encounter.
See the official tabular notes · Guidelines I.A.17
Every row is derived from this code’s own record — its title, tabular notes, 7th-character family and same-category siblings — with fixed MedCoder wording; nothing is inferred about a patient. The official notes and guideline text are in the sections each row links to, and they control.
Code Overview
MedCoder summary Summary composed by MedCoder from this code's official ICD-10-CM record. The tabular instructional notes themselves appear verbatim below.
Coding Notes
MedCoder editorial — not official ICD-10-CM text; reviewed against the cited source
What this code means
J17 is the manifestation code for pneumonia occurring in a disease classified elsewhere — the pneumonia is an expression of another documented condition rather than a primary respiratory infection. Its Code First list is short and specific: Q fever, rheumatic fever, and schistosomiasis.
Coding guidance
- Sequence the underlying disease first, from the code’s own Code First list — Q fever (A78), rheumatic fever (I00), or schistosomiasis (B65.0-B65.9).
- The Medicare Code Editor carries J17 on its manifestation-code list: the underlying condition is sequenced first, so J17 cannot be the principal diagnosis on an inpatient claim.
- Most organism-specific pneumonias are Excludes1 here, not Code First: candidal, chlamydial, gonorrheal, histoplasmosis, measles, nocardiosis, aspergillosis, coccidioidomycosis, cytomegalovirus, toxoplasmosis, rubella, and Pneumocystis jirovecii pneumonia each have their own dedicated code rather than pairing with J17.
- Add Z16.- when antimicrobial resistance is documented (the code’s own Use Additional Code note), and code also an associated abscess (J85.1) or aspiration pneumonia (J69.-) when documented.
Decision-rule scenarios
Documentation: The record documents pneumonia attributed to documented Q fever.
Coding question: What sequencing does the classification require?
Rule: Q fever (A78) is sequenced first per J17’s Code First note, with J17 following it. The deciding element is that the underlying disease appears on J17’s Code First list rather than on its Excludes1 list.
Documentation: A patient has documented Pneumocystis jirovecii pneumonia.
Coding question: Is that reported with J17?
Rule: No — pneumocystosis is on J17’s Excludes1 list with its own code (B59). The deciding element is whether the organism or disease has a dedicated pneumonia code, in which case that code is used instead of the manifestation pairing.
Scenarios state the decision rule, not a code assignment — code selection always follows the provider's documentation and the ICD-10-CM Official Guidelines.
Documentation checklist
- The underlying disease, specifically enough to tell a Code First disease from an Excludes1 one.
- Any documented antimicrobial resistance (supports Z16.-).
- Any associated abscess or aspiration pneumonia, which the Code Also note brings in.
Codes are assigned from provider documentation; a coder never infers a diagnosis.
Common mistakes
- Reporting J17 without the underlying disease sequenced first.
- Using J17 as an inpatient principal diagnosis — the MCE manifestation edit requires the etiology first.
- Reaching for J17 for an organism-specific pneumonia that has its own code on the Excludes1 list.
- Missing the Z16.- resistance code when the record documents resistant organisms.
Written and reviewed by MedCoder against the official ICD-10-CM files; educational, not medical or billing advice. The official tabular notes and guidelines above take precedence in every case.
Decision Points
The directives on this code's own record, as a pre-claim checklist.
- Sequencing: 4 Code First instructions — the underlying condition is sequenced before this code when present. See the Code First notes
- 1 Use Additional Code instruction — report the named additional code(s) when the documentation supports them. See the Use Additional Code notes
- 3 Code Also notes — a second code may apply; the guidelines leave its sequencing to the circumstances of the encounter. See the Code Also notes
- 23 Excludes1 entries — codes named there are generally not reported together with this code (Guidelines I.A.12.a). See the Excludes1 notes
- 9 Excludes2 entries — those conditions are not part of this code and may be reported additionally when documented. See the Excludes2 notes
Checklist rows are derived from this code's own official directives; the wording of each check is MedCoder editorial. The official notes themselves are in the sections each row links to.
Verify Before Coding
- Principal-diagnosis restriction. This is a manifestation code: the Medicare Code Editor requires the underlying condition (etiology) to be sequenced first, with this code reported after it.
- MCC as a secondary diagnosis (FY2026). Can raise the stay's MS-DRG severity tier.
From the code registry, the Medicare Code Editor, and the MS-DRG Definitions Manual. Check it against a full claim in Claim Check.
Relationships & Classification
MedCoder structured relationships — computed from published CMS and AHRQ datasets
Other codes that name J17 or its code family, from the CMS ICD-10-CM tabular instructional notes and the CMS ICD-10-CM Index to Diseases and Injuries. Tabular-note edges are stored at the code family level that carries each note.
Referenced by 1 Use Additional Code instruction: J95.89 — Other postprocedural complications and disorders of respiratory system, not elsewhere classified.
These codes instruct coders to additionally report this code when it applies.
Referenced by 1 Code Also instruction: D81.82 — Activated Phosphoinositide 3-kinase Delta Syndrome [APDS].
These codes suggest coding this condition alongside when both are present.
Referenced by 1 Index etiology/manifestation pair: B99 — Other and unspecified infectious diseases.
The ICD-10-CM Index lists these etiology codes with this code in brackets — the manifestation, reported second.
MS-DRG Grouper Relationships (FY2026)
Potential MS-DRG participation — not a DRG assignment.
FY2026 MS-DRG: MCC — Major Complication or Comorbidity. Reported as a secondary diagnosis, this code raises the stay's MS-DRG severity tier — except when the principal diagnosis is one of 129 clinically related codes on its CMS exclusion list.
Named in the grouper logic of 3 MS-DRGs: DRG 177 (MDC 04), DRG 178 (MDC 04), DRG 179 (MDC 04).
From the CMS MS-DRG Definitions Manual (Appendices B and C). Actual DRG assignment depends on the complete claim.
Clinical classification (AHRQ CCSR):RSP002 — Pneumonia (except that caused by tuberculosis).
Clinical Classifications Software Refined (CCSR) for ICD-10-CM Diagnoses. Healthcare Cost and Utilization Project (HCUP), Agency for Healthcare Research and Quality.
Related Codes
Same clinical process (MS-DRG)
Acts as MCC — raises the severity of other admissions. CMS groups these diagnoses into one MS-DRG principal-diagnosis exclusion process — a CC/MCC on this list never raises severity when the principal diagnosis is also on it.
J15.3 — Pneumonia due to streptococcus, group B, J15.4 — Pneumonia due to other streptococci, J15.5 — Pneumonia due to Escherichia coli, J15.61 — Pneumonia due to Acinetobacter baumannii, J15.69 — Pneumonia due to other Gram-negative bacteria, J15.7 — Pneumonia due to Mycoplasma pneumoniae, J15.8 — Pneumonia due to other specified bacteria, J15.9 — Unspecified bacterial pneumonia, J16.0 — Chlamydial pneumonia, J16.8 — Pneumonia due to other specified infectious organisms, J18.0 — Bronchopneumonia, unspecified organism, J18.1 — Lobar pneumonia, unspecified organism, J18.8 — Other pneumonia, unspecified organism, J18.9 — Pneumonia, unspecified organism, J22 — Unspecified acute lower respiratory infection, J44.81 — Bronchiolitis obliterans and bronchiolitis obliterans syndrome, J44.89 — Other specified chronic obstructive pulmonary disease, J44.9 — Chronic obstructive pulmonary disease, unspecified, J47.0 — Bronchiectasis with acute lower respiratory infection, J47.1 — Bronchiectasis with (acute) exacerbation, +109 more
Principal diagnosis restriction (Medicare Code Editor)
Manifestation code — the underlying condition is sequenced first.
Same clinical category (CCSR)
AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical category (Pneumonia (except that caused by tuberculosis)).
J15.211 — Pneumonia due to Methicillin susceptible Staphylococcus aureus, J15.212 — Pneumonia due to Methicillin resistant Staphylococcus aureus, J15.29 — Pneumonia due to other staphylococcus, J15.3 — Pneumonia due to streptococcus, group B, J15.4 — Pneumonia due to other streptococci, J15.5 — Pneumonia due to Escherichia coli, J15.6 — Pneumonia due to other Gram-negative bacteria, J15.61 — Pneumonia due to Acinetobacter baumannii, J15.69 — Pneumonia due to other Gram-negative bacteria, J15.7 — Pneumonia due to Mycoplasma pneumoniae, J15.8 — Pneumonia due to other specified bacteria, J15.9 — Unspecified bacterial pneumonia, J16.0 — Chlamydial pneumonia, J16.8 — Pneumonia due to other specified infectious organisms, J18.0 — Bronchopneumonia, unspecified organism, J18.1 — Lobar pneumonia, unspecified organism, J18.8 — Other pneumonia, unspecified organism, J18.9 — Pneumonia, unspecified organism, J85.1 — Abscess of lung with pneumonia, J95.851 — Ventilator associated pneumonia, +48 more
Lab tests where this diagnosis supports Medicare coverage (NCD)
Medicare's National Coverage Determination (NCD) program lists this diagnosis as medical justification for these lab tests.
Contextual Map
Every relationship of J17 in one view: hierarchy, official tabular instructions in both directions, clinical classification, risk adjustment, MS-DRG participation, index terms and change history — each edge carrying the CMS source it derives from.
Run J17 with these 24 related codes in Claim Check
Hierarchy
- J00-J99 — Chapter 10: Diseases of the Respiratory System (J00-J99) (J00-J99)[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- J09-J18 — Influenza and pneumonia[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
Excludes1 (26)
- A01.03 — Typhoid pneumonia[Excludes1]: “typhoid fever with pneumonia (A01.03)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- A02.22 — Salmonella pneumonia[Excludes1]: “salmonella pneumonia (A02.22)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- A21.2 — Pulmonary tularemia[Excludes1]: “tularemia pneumonia (A21.2)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- A22.1 — Pulmonary anthrax[Excludes1]: “pneumonia in anthrax (A22.1)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- A37 — Whooping cough[Excludes1]: “whooping cough with pneumonia (A37 with fifth-character 1)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- A42.0 — Pulmonary actinomycosis[Excludes1]: “pneumonia in actinomycosis (A42.0)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- A43.0 — Pulmonary nocardiosis[Excludes1]: “nocardiosis pneumonia (A43.0)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- A54.84 — Gonococcal pneumonia[Excludes1]: “gonorrheal pneumonia (A54.84)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- and 18 more
Excludes2 (9)
- I00 — Rheumatic fever without heart involvement[Excludes2]: “rheumatic pneumonia (I00)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- J69 — Pneumonitis due to solids and liquids[Excludes2]: “pneumonia due to solids and liquids (J69.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- J69.0 — Pneumonitis due to inhalation of food and vomit[Excludes2]: “aspiration pneumonia NOS (J69.0)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- J69.1 — Pneumonitis due to inhalation of oils and essences[Excludes2]: “lipid pneumonia (J69.1)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- J82 — Pulmonary eosinophilia, not elsewhere classified[Excludes2]: “allergic or eosinophilic pneumonia (J82)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- J95.851 — Ventilator associated pneumonia[Excludes2]: “ventilator associated pneumonia (J95.851)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- P23.9 — Congenital pneumonia, unspecified[Excludes2]: “congenital pneumonia (P23.9)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- P24 — Neonatal aspiration[Excludes2]: “neonatal aspiration pneumonia (P24.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- and 1 more
Code First
- A78 — Q fever[Code First]: “Q fever (A78)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- B65.0 — Schistosomiasis due to Schistosoma haematobium [urinary schistosomiasis][Code First]: “schistosomiasis (B65.0-B65.9)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- B65.1 — Schistosomiasis due to Schistosoma mansoni [intestinal schistosomiasis][Code First]: “schistosomiasis (B65.0-B65.9)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- B65.2 — Schistosomiasis due to Schistosoma japonicum[Code First]: “schistosomiasis (B65.0-B65.9)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- B65.3 — Cercarial dermatitis[Code First]: “schistosomiasis (B65.0-B65.9)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- B65.8 — Other schistosomiasis[Code First]: “schistosomiasis (B65.0-B65.9)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- B65.9 — Schistosomiasis, unspecified[Code First]: “schistosomiasis (B65.0-B65.9)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- I00 — Rheumatic fever without heart involvement[Code First]: “rheumatic fever (I00)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Use Additional Code
- Z16 — Resistance to antimicrobial drugs[Use Additional Code]: “code, if applicable, to identify resistance to antimicrobial drugs (Z16.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Code Also
- J69 — Pneumonitis due to solids and liquids[Code Also]: “aspiration pneumonia (J69.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
- J85.1 — Abscess of lung with pneumonia[Code Also]: “abscess (J85.1)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Referenced by Use Additional Code instructions
- J95.89 — Other postprocedural complications and disorders of respiratory system, not elsewhere classified[Use Additional Code]: “bacterial or viral pneumonia (J12-J18)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Referenced by Code Also instructions
- D81.82 — Activated Phosphoinositide 3-kinase Delta Syndrome [APDS][Code Also]: “pneumonia (J12-J18)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Referenced by Index etiology/manifestation pairs
- B99 — Other and unspecified infectious diseases[Index manifestation]: “Pneumonia, postinfectional NEC”— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
Clinical classification (CCSR)
- RSP002 — Pneumonia (except that caused by tuberculosis)[CCSR]— AHRQ CCSR for ICD-10-CM Diagnoses (HCUP)
MS-DRG Grouper
- MCC — Major Complication or Comorbidity [MS-DRG severity]: “As a secondary diagnosis this code can raise the stay's MS-DRG severity tier (MCC).”— CMS MS-DRG Definitions Manual (Appendix C) · FY2026
- DRG 177 — RESPIRATORY INFECTIONS AND INFLAMMATIONS WITH MCC[MS-DRG]: “RESPIRATORY INFECTIONS AND INFLAMMATIONS WITH MCC (MDC 04)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2026
- DRG 178 — RESPIRATORY INFECTIONS AND INFLAMMATIONS WITH CC[MS-DRG]: “RESPIRATORY INFECTIONS AND INFLAMMATIONS WITH CC (MDC 04)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2026
- DRG 179 — RESPIRATORY INFECTIONS AND INFLAMMATIONS WITHOUT CC/MCC[MS-DRG]: “RESPIRATORY INFECTIONS AND INFLAMMATIONS WITHOUT CC/MCC (MDC 04)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2026
MDC crossing
- MDC 04 — Diseases and Disorders of the Respiratory System[MDC crossing]: “Diseases and Disorders of the Respiratory System — the grouper's crossing between diagnoses and procedures: a principal diagnosis sets the MDC, and same-MDC procedures move the stay to its surgical DRGs. 3,998 same-MDC procedures group here; browse them on the MDC page.”— CMS MS-DRG Definitions Manual · FY2026
Change history
- FY2016 — In the code set at ICD-10-CM adoption [Change history]— CMS release files (code change ledger) · icd10cm-fy2016
Common coding questions
Can J17 be the principal diagnosis?
No — the Medicare Code Editor carries J17 on its manifestation-code list, so the underlying disease is sequenced first and J17 cannot be principal on an inpatient claim. Its Code First note requires the underlying disease first: Q fever (A78), rheumatic fever (I00), or schistosomiasis (B65.0-B65.9).
Is J17 used for Pneumocystis or fungal pneumonia?
No — those are Excludes1. Pneumocystis jirovecii pneumonia (B59), candidal (B37.1), histoplasmosis (B39.0-B39.2), aspergillosis (B44.0-B44.1), coccidioidomycosis and other organism-specific pneumonias each have their own dedicated code rather than pairing with J17.
What else does J17 ask you to code?
Z16.- when antimicrobial resistance is documented (its Use Additional Code note), and, per its Code Also note, any associated abscess (J85.1) or aspiration pneumonia (J69.-).
Sources for this page
Codes, titles, notes, index terms and mappings on this page are transcribed from the datasets below. Relationships MedCoder computed and text MedCoder wrote are labelled where they appear.
- Code, title, tabular notes and index terms Official source data
- CMS/CDC ICD-10-CM FY2026 tabular list, index and tables, effective October 1, 2025 Release, file and checksum · Publisher’s page
- Claim edits Official source data
- CMS Definitions of Medicare Code Edits — v43.1 (April 2026) Release, file and checksum · Publisher’s page
- Inpatient payment groups Official source data
- CMS MS-DRG Definitions Manual (incl. Appendix B diagnosis index, Appendix C CC/MCC list, Appendix E procedure index) and IPPS Final Rule tables — v43 Release, file and checksum · Publisher’s page
- Change history and date-of-service validity Official source data
- CMS ICD-10-CM release addenda, ingested release by release into the change ledger Release, file and checksum · Publisher’s page
- Comparisons, relationships and the contextual map MedCoder structured relationship
- Computed by MedCoder from the tabular notes and tables above; every derived relationship is marked as derived where it appears
- Summary, coding notes, decision checklist and FAQ answers MedCoder explanation
- Written by MedCoder to explain the sources above: drafted with AI assistance, checked by a person against the release files, and labelled as MedCoder text where it appears. Not official text.
Labels on this page: Official source data · MedCoder structured relationship · MedCoder explanation. How to read the labels · All data sources and release dates
Cite this page
Reference this page in a research guide, syllabus or article. The release is included because code content changes each year.
MedCoder.ai. "J17 — Pneumonia in diseases classified elsewhere." ICD-10-CM FY2026. https://medcoder.ai/icd10/code/j17-pneumonia-in-diseases-classified-elsewhere
Change history
- FY2016 — October 1, 2015In the code set at ICD-10-CM adoptionPneumonia in diseases classified elsewhere
No changes since FY2016 — additions, deletions, description changes and billable-status changes are tracked through FY2027 (effective October 1, 2026), and none are recorded for this code. Note changes are tracked from FY2027 only.