Skip to main content

Common Clinical Coding Problems

FY2027 · CURRENT

Intermediate

Reviewed October 1, 2026

How Do I Code Pneumonia? Organism, Influenza First, Aspiration, and Ventilator-Associated

Part ofRespiratory and infections · step 2 of 4 · Read nextHow Do I Code Respiratory Failure? Acute, Chronic, or Acute-on-Chronic — and Can It Be Principal?

Editorial explanation — not an official CMS/CDC rule. Official coding instructions and source material are identified below. How to read the labels

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

Quick answer · MedCoder editorial

Pneumonia is coded by the documented organism — J13 pneumococcal, J15.- other bacterial, J12.- viral, J18.9 when none is documented — and the pneumonia categories carry two instructions: Code First an associated influenza (J09.X1, J10.0-, J11.0-) at J12–J16 and J18, and Code Also an associated abscess (J85.1) or aspiration pneumonia (J69.-). Ventilator-associated pneumonia, J95.851, is assigned only when the provider documents it, with a B95–B97 code for the organism and no J12–J18 code.

Jump to the decision rule ↓

What decides the answer?

  • Whether an organism is documented as the cause, and whether it has its own pneumonia code
  • Influenza documented, confirmed (J09/J10) or suspected (J11), which is coded first
  • Aspiration, abscess or COPD, each bringing its own code
  • A provider statement of ventilator-associated pneumonia (J95.851)
  • “Probable” or “suspected,” which the setting rules handle differently

Why it matters

Why: the organism picks the category, and every category carries the same two notes

Chapter 10 files pneumonia by cause: J13 Streptococcus pneumoniae, J14 Hemophilus influenzae, J15.- other bacterial (J15.9 unspecified bacterial, inclusion “Pneumonia due to gram-positive bacteria”), J12.- viral, and J18.9, Pneumonia, unspecified organism, for the record that names none. Section I.B.18’s pneumonia example is exactly this: “a diagnosis of pneumonia has been determined, but not the specific type.”

Categories J12 through J16 and J18 carry a Code First note for associated influenza (J09.X1, J10.0-, J11.0-) that puts a documented influenza ahead of the pneumonia; J17, Pneumonia in diseases classified elsewhere, has a Code First note for the underlying disease instead. J13 through J17 carry a Code Also note — “if applicable, any associated condition such as: abscess (J85.1), aspiration pneumonia (J69.-)” — that asks for those codes without fixing their order; J12’s Code Also names only the abscess (J85.1), and J18’s only aspiration pneumonia (J69.-). Category J69 carries the matching note in the other direction: “Code also, if applicable, other types of pneumonias, such as: bacterial pneumonia (J13-J15.-), viral pneumonia (J12.-).” J18 also carries Excludes1 notes sending interstitial pneumonia NOS to J84.9 and drug-induced interstitial disease to J70.2–J70.4.

Two special cases have their own rules. J44.0, COPD with (acute) lower respiratory infection, carries “Code also to identify the infection” — the pneumonia code accompanies it. And ventilator-associated pneumonia is governed by Section I.C.10.d: “Code J95.851, Ventilator associated pneumonia, should be assigned only when the provider has documented ventilator associated pneumonia (VAP). An additional code to identify the organism (e.g., Pseudomonas aeruginosa, code B96.5) should also be assigned. Do not assign an additional code from categories J12-J18 to identify the type of pneumonia.”

How to apply it

How to apply the rule

  1. Organism documented? Code the category for it. Bacterial pneumonia with the organism named but not classified in J13–J15’s specific codes takes the B95/B96 organism code as the Use Additional Code — Section I.B.7’s own example. No organism → J18.9.
  2. Influenza documented? Sequence it first under the Code First note. Section I.C.10.c: J09 and J10 only for confirmed identified influenza (confirmation is the provider’s statement, not a lab result); “suspected,” “possible” or “probable” identified influenza is coded to J11.
  3. Aspiration documented?J69.0 (inclusion term “Aspiration pneumonia NOS”) is a Code Also partner, sequenced by the circumstances.
  4. COPD patient? J44.0 plus the pneumonia code, per J44.0’s Code Also note.
  5. On a ventilator? J95.851 only when the provider writes “ventilator-associated pneumonia”; add the B95–B97 organism code; do not add J12–J18. A pneumonia in a ventilated patient without that statement is coded as pneumonia; when unclear, query (I.C.10.d.1). A pneumonia present on admission that is later followed by VAP takes both codes (I.C.10.d.2).
  6. “Probable pneumonia” follows the setting rule — coded as established on an inpatient discharge (II.H), coded to the symptoms in the office (IV.H). The symptom guide linked below walks it.

Examples

Coding examples

  1. Community-acquired pneumonia, organism not identified.J18.9.
  2. Pneumonia due to MRSA.J15.212 is the specific MRSA pneumonia code where the tabular provides one; where a bacterial pneumonia code lacks the organism, the pneumonia code is followed by the B95/B96 organism code — the I.B.7 pattern.
  3. Influenza A (identified, not novel) with pneumonia. The J10.0- influenza-with-pneumonia code first, then the pneumonia code, per the Code First note.
  4. Ventilated ICU patient; provider documents “VAP due to Pseudomonas.”J95.851 → B96.5. No J15 code.
  5. COPD patient admitted with pneumococcal pneumonia.J44.0 and J13, sequenced by the reason for admission; J44.0’s Code Also asks for the infection.

Common mistakes

Common mistakes

  • J95.851 for any pneumonia on a ventilator — only with the provider’s VAP statement.
  • Adding J12–J18 to J95.851 — the guideline forbids it; the organism goes on a B code.
  • Sequencing pneumonia before a documented influenza — the Code First note orders it.
  • J09/J10 for “probable flu” — J11 unless the provider’s statement confirms the identified virus.
  • J18.9 when the organism is documented — the specific category or the B95/B96 addition applies.

Documentation matters

Documentation that changes the coding

  • The organism, and whether it is named as the cause.
  • A documented influenza, and whether it is confirmed as an identified virus (J09/J10) or suspected (J11).
  • Aspiration, abscess, or COPD, each bringing its own code.
  • The provider’s explicit statement of ventilator-associated pneumonia.
  • “Probable” or “suspected,” which the setting rules handle differently.

Decision rule

Decision framework

IF…THEN…
No organism documentedJ18.9
Organism documented with its own code (S. pneumoniae, H. influenzae, viral…)J13 / J14 / J12.- / the specific J15.- code
Bacterial, organism named but no specific pneumonia codeJ15.- + B95/B96 organism code (Use Additional)
Influenza documentedInfluenza code first (Code First); confirmed identified → J09/J10, suspected → J11
Aspiration or abscess documentedAdd J69.- / J85.1 (Code Also; order by circumstances)
COPD with the infectionJ44.0 + the pneumonia code
Provider documents VAPJ95.851 + B95–B97 organism; no J12–J18

FAQ

Which code is used when the organism causing the pneumonia is not documented?

J18.9, Pneumonia, unspecified organism. Section I.B.18 uses pneumonia of undetermined type as its example of a correctly reported unspecified code.

Does influenza go before or after the pneumonia code?

Before. Categories J12 through J16 and J18 each carry a Code First note for associated influenza (J09.X1, J10.0-, J11.0-). Section I.C.10.c assigns J09 or J10 only for confirmed identified influenza and J11 for suspected or probable identified influenza.

When is J95.851 assigned?

Only when the provider has documented ventilator-associated pneumonia. Section I.C.10.d.1 adds an organism code from B95–B97 and says not to assign an additional J12–J18 code for the type of pneumonia; if the record is unclear, query.

How is aspiration pneumonia coded with another pneumonia?

Categories J13–J18 carry a Code Also note for aspiration pneumonia (J69.-), and J69 carries a Code Also note for bacterial (J13-J15.-) and viral (J12.-) pneumonia, so both are reported when both are documented; a Code Also note gives no sequencing direction, and the circumstances of the encounter decide the order.

Code set release

This guide was verified against ICD-10-CM FY2027, effective October 1, 2026.

Recorded changes to codes on this page

  • J69.0 — Short description or tabular instruction revised (ICD-10-CM FY2027)

Code relationships

RelationshipAtNamesNote
code-firstJ12, J13, J14, J15, J18associated influenza (J09.X1, J10.0-, J11.0-), if applicable
code-alsoJ13, J14, J15abscess (J85.1); aspiration pneumonia (J69.-), if applicable
code-alsoJ18aspiration pneumonia (J69.-), if applicable
code-alsoJ69other types of pneumonia: bacterial (J13-J15.-), viral (J12.-), if applicable
excludes1J18J84.9 (interstitial pneumonia NOS); J70.2-J70.4 (drug-induced interstitial lung disorder)
code-alsoJ44.0the infection
use-additionalJ95.851B95.-, B96.-, B97.- (organism), if known
includesJ69.0Aspiration pneumonia NOS (inclusion term)
ms-drgJ18.9MDC 04 — MS-DRG 193-195Definitions of MS-DRGs v44, Appendix B (diagnosis / MDC / MS-DRG index)
ms-drgJ18.9MCC as a secondary diagnosis (129 principal-diagnosis exclusions)Definitions of MS-DRGs v44, Appendix C Part 1
ccsrJ18.9RSP002 — Pneumonia (except that caused by tuberculosis)AHRQ CCSR v2026-1 default inpatient category
ms-drgJ15.9MDC 04 — MS-DRG 193-195Definitions of MS-DRGs v44, Appendix B (diagnosis / MDC / MS-DRG index)
ms-drgJ15.9MCC as a secondary diagnosis (129 principal-diagnosis exclusions)Definitions of MS-DRGs v44, Appendix C Part 1
ccsrJ15.9RSP002 — Pneumonia (except that caused by tuberculosis)AHRQ CCSR v2026-1 default inpatient category
ms-drgJ13MDC 04 — MS-DRG 193-195Definitions of MS-DRGs v44, Appendix B (diagnosis / MDC / MS-DRG index)
ms-drgJ13MCC as a secondary diagnosis (129 principal-diagnosis exclusions)Definitions of MS-DRGs v44, Appendix C Part 1
ccsrJ13RSP002 — Pneumonia (except that caused by tuberculosis)AHRQ CCSR v2026-1 default inpatient category
ms-drgJ95.851MDC 04 — MS-DRG 205-206Definitions of MS-DRGs v44, Appendix B (diagnosis / MDC / MS-DRG index)
ms-drgJ95.851CC as a secondary diagnosis (55 principal-diagnosis exclusions)Definitions of MS-DRGs v44, Appendix C Part 1
ccsrJ95.851RSP017 — Postprocedural or postoperative respiratory system complicationAHRQ CCSR v2026-1 default inpatient category

Relationships are quoted from the FY tabular notes and Official Guidelines the guide cites; none are inferred.

Relationships are quoted from the tabular notes and Official Guidelines sections the guide cites; the wording of each row is MedCoder’s.

Compare these pairs

Each pair below is one the tabular notes link; its Compare page quotes the note and says whether the two can be reported together.

Check these codes on a claim →

Authoritative sources

Applies to FY2027 ICD-10-CM

Verified against the FY 2027 ICD-10-CM Official Guidelines (Sections I.B.7, I.C.10.c and I.C.10.d) and the FY 2027 tabular entries at J12, J13, J14, J15, J18, J44.0, J69.0 and J95.851.

  • ICD-10-CM Official Guidelines for Coding and Reporting, FY 2027 (Section I.B.7; I.C.10.c, Influenza; I.C.10.d, Ventilator associated Pneumonia)
  • FY 2027 ICD-10-CM Tabular List (J12, J13, J14, J15, J18 category notes; J18.9; J15.9; J44.0; J69.0; J95.851; B95, B96)

Official guidance cited

The Official Guidelines sections this guide quotes or applies, by heading. Passages set as quotations above are the sections’ own words; the surrounding text is MedCoder’s reading of them.

  • Section I.B.18 — Use of Sign/Symptom/Unspecified Codes
  • Section I.C.10.d — Ventilator associated Pneumonia
  • Section I.B.7 — Multiple coding for a single condition
  • Section I.C.10.c — Influenza due to certain identified influenza viruses
  • Section I.C.10.d.1 — Documentation of Ventilator associated Pneumonia
  • Section I.C.10.d.2 — Ventilator associated Pneumonia Develops after Admission
  • Section II.H — Uncertain Diagnosis
  • Section IV.H — Uncertain diagnosis

Source document (CMS PDF) · Release and checksum

Passages set as quotations are verbatim official text from the sources listed. Surrounding explanation, decision tables and examples are MedCoder’s editorial reading of those sources and are not official statements. Examples are illustrative; they assign no code to any real patient.

Coder Takeaway: Code the documented organism (J18.9 when none), sequence a documented influenza first, add aspiration or abscess under Code Also, and use J95.851 only when the provider documents VAP — with the organism on a B code and no J12–J18.

Real-world questions this guide answers

Coding questions

No community questions relate to this guide yet.

Ask a Coding Question about this guide.

Didn’t find your answer?

Ask a coding question and get help from the MedCoder community.

Applicable code set: FY2027. Published September 3, 2026; last updated October 1, 2026; last reviewed October 1, 2026.