This Clinical Documentation Guide (CDG) provides AAPC/AHIMA-credentialed coders and CDI specialists with comprehensive coding, clinical, and documentation guidance for pneumonia across all organism types and care settings. Content reflects FY2026 ICD-10-CM guidelines (effective October 1, 2025 – September 30, 2026) and incorporates the most current clinical, reimbursement, and HCC risk-adjustment resources. Use this guide to ensure accurate diagnosis code assignment, appropriate organism-level specificity, CDI query triggers, and defensible documentation for pneumonia encounters across inpatient and outpatient settings.
1. Definition
Pneumonia is an acute infection of the lung parenchyma — the alveoli and surrounding interstitium — causing inflammation and fluid or purulent exudate that impairs gas exchange. According to the National Heart, Lung, and Blood Institute (NHLBI), pneumonia can be caused by bacteria, viruses, fungi, or other organisms, and severity ranges from mild outpatient illness to life-threatening respiratory failure requiring mechanical ventilation.
From an ICD-10-CM coding perspective, pneumonia is not a single condition but rather a category of infections classified by organism specificity (the primary coding determinant), site within the lung, care setting of acquisition (community-acquired vs. hospital-acquired vs. ventilator-associated), and aspiration mechanism. The FY2026 ICD-10-CM Tabular List classifies most pneumonias within Chapter 10 (Diseases of the Respiratory System, J00–J99), with additional codes in Chapter 1 (Infectious/Parasitic Diseases) when the causative organism is separately indexed.
Epidemiology: Pneumonia is one of the leading causes of hospitalization in the United States. The CDC reports that approximately 1.5 million Americans are hospitalized for pneumonia annually, with over 40,000 deaths per year. Community-acquired pneumonia (CAP) accounts for the majority of episodes; hospital-acquired pneumonia (HAP) and ventilator-associated pneumonia (VAP) carry substantially higher mortality and resource utilization.
Pneumonia by Acquisition Setting
- Community-Acquired Pneumonia (CAP): Develops outside the hospital or within 48 hours of admission in a patient not previously hospitalized; most common organisms are Streptococcus pneumoniae, Mycoplasma pneumoniae, respiratory viruses, and Legionella.
- Hospital-Acquired Pneumonia (HAP): Develops ≥48 hours after hospital admission, not incubating at admission; gram-negative bacilli and Staphylococcus aureus predominate per IDSA guidelines.
- Ventilator-Associated Pneumonia (VAP): A subset of HAP occurring in mechanically ventilated patients; coded J95.851 per FY2026 ICD-10-CM.
- Aspiration Pneumonia: Results from inhalation of oropharyngeal or gastric contents; coded J69.0 and carries HCC 280 (~0.329 RAF) under CMS-HCC Model v28.
2. Alternative Terminology
Coders and CDI specialists will encounter many terms in provider documentation that map to specific pneumonia codes. Understanding equivalent terminology is critical for accurate code assignment.
| Formal / Clinical Term | Lay / Colloquial Name / Notes |
|---|---|
| Pneumonia | Lung infection; "fluid in the lungs" (lay); note: pulmonary edema ≠ pneumonia |
| Community-acquired pneumonia (CAP) | Standard pneumonia acquired outside hospital; most common inpatient DRG driver |
| Hospital-acquired pneumonia (HAP) | Nosocomial pneumonia; healthcare-associated pneumonia (HCAP — no longer a separate ICD-10-CM category) |
| Ventilator-associated pneumonia (VAP) | Vent pneumonia; J95.851 — requires mechanical ventilation documentation |
| Aspiration pneumonia / aspiration pneumonitis | "Breathing in food/secretions"; J69.0 — HCC 280 capture; distinguish from chemical pneumonitis J68.0 |
| Lobar pneumonia | Whole-lobe consolidation; J18.1 when organism unspecified |
| Bronchopneumonia | Patchy bilateral infiltrates; J18.0 when organism unspecified; also called lobular pneumonia |
| Interstitial pneumonia / pneumonitis | May be infectious or non-infectious (drug-induced, autoimmune); verify organism and etiology before coding |
| Atypical pneumonia | Walking pneumonia; caused by Mycoplasma (J15.7), Chlamydophila (J16.0), Legionella (A48.1 + J15.8/J18.9) |
| Pneumococcal pneumonia | Most common bacterial CAP; coded J13 (Streptococcus pneumoniae) |
| Legionnaire's disease | Legionellosis with pneumonia; A48.1 as principal, add J15.8 or J18.9 |
| Pneumocystis pneumonia (PCP / PJP) | "PCP pneumonia"; code first B59 (Pneumocystis jirovecii), then J17 |
| Double pneumonia | Lay term for bilateral pneumonia; use codes reflecting organism and laterality as documented |
| Walking pneumonia | Mycoplasma; J15.7 |
| COVID-19 pneumonia | U07.1 (principal) + J12.82; do NOT code J12.81 for SARS-CoV-2 — use U07.1 + J12.82 |
| Hypostatic pneumonia | Pooling of secretions in dependent lung zones (immobile patients); J18.2 |
3. Signs & Symptoms
Clinical presentation guides both diagnosis and documentation specificity. CDI specialists should review the chart for these findings to support organism-level query triggers per ACDIS CDI practice standards:
Classic Symptoms
- Productive cough (purulent sputum in bacterial; scant in atypical/viral)
- Fever (temperature >38.0°C / 100.4°F) with or without chills/rigors
- Dyspnea and increased respiratory rate (tachypnea)
- Pleuritic chest pain (sharp, worse with inspiration — suggests lobar involvement)
- Hypoxemia (SpO₂ <94% or PaO₂/FiO₂ ratio <300 in severe cases)
- Malaise, fatigue, anorexia
- Altered mental status (especially in elderly — an underrecognized presentation)
Physical Examination Findings
- Tachycardia, tachypnea, hypotension (in sepsis/severe cases)
- Bronchial breath sounds, dullness to percussion over consolidation
- Egophony ("E to A" change), whispered pectoriloquy
- Crackles/rales on auscultation
- Decreased breath sounds (pleural effusion)
Diagnostic Findings Driving Code Specificity
- Chest X-ray / CT scan: Lobar consolidation, interstitial infiltrates, ground-glass opacities
- Gram stain and culture: Most important for organism specificity; coders should query when gram stain documents organism class but attending diagnosis is "pneumonia, unspecified"
- Blood cultures: Positive cultures shift coding to bacteremic pneumonia ± sepsis (A40.x/A41.x)
- Sputum culture: Organism-level identification enables J13–J16 vs. J18.9
- Urinary antigen tests: Streptococcus pneumoniae and Legionella antigens
- Respiratory PCR panels: Influenza A/B, RSV, SARS-CoV-2, hMPV, parainfluenza
- Procalcitonin / WBC: Supports bacterial vs. viral distinction for CDI query
- Bronchoscopy/BAL cultures: Key for VAP and immunocompromised patients
When culture, gram stain, or respiratory panel results identify a specific organism but the attending's diagnosis documents only "pneumonia" or "bacterial pneumonia," a CDI query for organism specificity is clinically supported and appropriate. This is the single highest-yield CDI opportunity in pneumonia coding — organism specificity drives DRG assignment, severity of illness, and risk of mortality scoring.
4. Differential Diagnosis
Accurate coding requires distinguishing pneumonia from conditions that may mimic it radiographically or clinically. The following differential diagnoses are relevant for coders and CDI specialists when validating provider documentation:
| Condition | Key Distinguishing Features | Relevant ICD-10-CM Code(s) |
|---|---|---|
| Pulmonary edema (cardiogenic) | Bilateral infiltrates, elevated BNP/NT-proBNP, history of CHF, responds to diuresis — NOT an infection | J81.0 (acute), J81.1 (chronic) |
| Pulmonary embolism | Pleuritic pain, hypoxemia without fever/consolidation, D-dimer elevation, confirmed by CTA PE | I26.x |
| Lung abscess | Cavitary lesion on imaging, prolonged fever, foul-smelling sputum; may complicate pneumonia | J85.1 (with pneumonia) |
| Pleural effusion / empyema | Fluid on CXR, +/- septal thickening; empyema = purulent pleural fluid requiring drainage | J86.0 empyema with fistula; J86.9 empyema without fistula |
| ARDS (acute respiratory distress syndrome) | PaO₂/FiO₂ <300, bilateral infiltrates, not fully explained by cardiac overload; may be caused BY pneumonia | J80; pneumonia coded additionally |
| Atelectasis | Collapse of lung segment/lobe without consolidation; often post-operative | J98.11 |
| Aspiration of foreign body | Acute choking event; foreign body on imaging; coded separately from aspiration pneumonia | T17.x (foreign body in respiratory tract) |
| Interstitial lung disease (ILD) | Chronic fibrotic changes, not acute infection; PF/IIP subtypes | J84.x |
| Bronchitis (acute) | Upper/central airway inflammation; no consolidation on CXR; does NOT code as pneumonia | J20.x (acute), J40 (unspecified) |
| COVID-19 without pneumonia | Positive SARS-CoV-2 test without lower respiratory tract involvement; U07.1 without J12.82 | U07.1 alone |
| Chemical pneumonitis (non-infectious) | Inhalation injury; no organism; J68.0 for chemicals vs. J69.0 for gastric contents | J68.0, J69.x |
5. Clinical Indicators for Coders/CDI
The following table maps documentation elements to their coding impact, supporting accurate code assignment and meaningful CDI queries per AHIMA coding standards:
| Clinical Indicator | Coding Impact | CDI Action |
|---|---|---|
| Positive sputum/BAL culture identifying organism | Enables J13–J16 vs. J18.9 — significant DRG and SOI difference | Query if diagnosis says "bacterial pneumonia NOS" but culture result present |
| Gram stain: gram-positive cocci in clusters | Supports Staph aureus; query MSSA vs. MRSA (J15.211 vs. J15.212) | MSSA vs. MRSA distinction affects DRG and CC/MCC assignment |
| Positive MRSA nasal screen or blood culture | J15.212 MRSA pneumonia — DRG upgrade, CC/MCC | Query provider to link MRSA status to pneumonia organism |
| Aspiration event documented (dysphagia, NGT, altered LOC) | J69.0 aspiration pneumonia — HCC 280, 0.329 RAF impact | Query aspiration as etiology if aspiration risk documented |
| Patient on mechanical ventilation ≥48h, pneumonia develops after intubation | J95.851 VAP — significant DRG and reimbursement impact | Query VAP vs. CAP if pneumonia documented after intubation |
| Pneumonia with sepsis criteria (SIRS + source) | A41.9 + pneumonia code — sepsis coded as principal in most inpatient cases | Query sepsis documentation; confirm organ dysfunction for severe sepsis R65.20 |
| Respiratory failure with pneumonia | J96.0x (acute) or J96.1x (chronic) — HCC 224/225; J96.00 vs. J96.01 hypoxic vs. hypercapnic | Query respiratory failure type; hypoxic vs. hypercapnic distinction |
| Legionella urinary antigen positive | A48.1 Legionnaire's disease as principal + J15.8 or J18.9 additional | Query Legionella pneumonia by name if UA antigen positive |
| COVID-19 with lower respiratory involvement | U07.1 (principal) + J12.82 — combo code sequencing critical | Do NOT use J12.81 for SARS-CoV-2; U07.1 is the correct primary code |
| Influenza with pneumonia | J09.X1/J10.00-J10.01/J11.00 depending on influenza type confirmed | Flu type confirmation (A vs. B vs. novel) affects code selection |
J18.9 (Pneumonia, unspecified organism) is the most-coded pneumonia code and also the least specific. When culture data, gram stain, PCR panel, or antigen test results are present in the medical record, assigning J18.9 without querying for organism specificity represents a missed documentation opportunity. FY2026 ICD-10-CM guidelines permit coding of organism-specific codes when supported by documented clinical evidence — CDI query is appropriate and compliant when lab results are documented but the attending diagnosis lacks specificity.
6. Anatomy & Pathophysiology
Understanding the pathophysiology of pneumonia is essential for coding accuracy and query formulation. The lower respiratory tract — below the vocal cords — includes the trachea, bronchi, bronchioles, alveolar ducts, and alveoli. Pneumonia specifically involves the alveolar and interstitial compartments, as described by NHLBI.
Pathophysiologic Mechanisms by Organism Class
- Bacterial pneumonia: Organisms (e.g., S. pneumoniae, Klebsiella) colonize the lower airways and trigger an intense neutrophilic inflammatory response. Alveolar exudate (lobar consolidation) impairs gas exchange. Bacteremia and sepsis can ensue when organisms breach the alveolar-capillary barrier.
- Atypical bacterial pneumonia: Organisms such as Mycoplasma pneumoniae, Chlamydophila pneumoniae, and Legionella pneumophila cause predominantly interstitial inflammation with less alveolar exudate — hence the "atypical" presentation with scant productive cough and often normal initial CXR.
- Viral pneumonia: Viruses (influenza, RSV, SARS-CoV-2) infect type I and II pneumocytes directly, triggering cytokine-mediated inflammatory cascades. COVID-19 pneumonia (U07.1 + J12.82) may progress to diffuse alveolar damage (DAD) and ARDS.
- Fungal pneumonia: Occurs primarily in immunocompromised hosts. Pneumocystis jirovecii (B59) attaches to type I pneumocytes causing alveolar flooding; Aspergillus (B44) invades vascular structures causing hemorrhagic infarction.
- Aspiration pneumonia: Aspiration of oropharyngeal bacteria-laden secretions or gastric contents triggers an anaerobic bacterial infection (J69.0) or, with sterile gastric acid, a chemical pneumonitis (J68.0). Risk factors include dysphagia, altered mental status, seizures, and nasogastric tube use.
HAP/VAP Pathophysiology
Hospital-acquired organisms colonize the oropharynx and, through microaspiration, reach the lower airways. In mechanically ventilated patients, the endotracheal tube bypasses natural airway defenses; VAP (J95.851) develops when these hospital-acquired organisms (commonly Pseudomonas aeruginosa, Acinetobacter, MRSA) establish infection per IDSA HAP/VAP guidelines.
7. Medication Impact / Treatment
Medication documentation is a critical component of clinical validation for pneumonia coding. Treatment regimen supports — and sometimes establishes — organism type for CDI query purposes. According to IDSA CAP guidelines (2019, updated 2024):
Antibiotic Treatment by Organism / Setting
- CAP (outpatient, mild): Amoxicillin or doxycycline for typical organisms; azithromycin/doxycycline for atypical
- CAP (inpatient, non-ICU): Beta-lactam + macrolide (e.g., ceftriaxone + azithromycin) or respiratory fluoroquinolone (levofloxacin, moxifloxacin); HCPCS J0696 (ceftriaxone), J0744 (ciprofloxacin)
- CAP (ICU/severe): Beta-lactam + macrolide or fluoroquinolone; add anti-MRSA coverage (vancomycin, linezolid) if risk factors present
- HAP/VAP: Broad-spectrum anti-pseudomonal coverage — piperacillin-tazobactam (J2543), cefepime, meropenem ± vancomycin/linezolid per IDSA HAP/VAP guidelines; ceftolozane-tazobactam (J0695) for MDR Pseudomonas
- Aspiration pneumonia: Anaerobic coverage (ampicillin-sulbactam, clindamycin, metronidazole); aspirated sterile acid (pneumonitis) may not require antibiotics initially
- MRSA pneumonia: Vancomycin or linezolid; treatment of MRSA supports J15.212 query
- Fungal pneumonia (PCP): TMP-SMX (Bactrim) — first-line for Pneumocystis jirovecii (B59); pentamidine IV (J2545) for sulfa allergy
- Viral (influenza): Oseltamivir (Tamiflu — PO, J3535 not applicable for IV; note J3535 is oral agent, separate billing); J10.00/J10.01/J09.X1 depending on confirmed type
- COVID-19 pneumonia: Remdesivir, dexamethasone, supplemental oxygen; U07.1 + J12.82 coding; severity drives DRG assignment
Supportive and Respiratory Treatments
- Supplemental oxygen / high-flow nasal cannula (HFNC)
- Nebulized bronchodilators: albuterol/ipratropium (J7621, CPT 94640)
- CPAP / BiPAP for hypoxic respiratory failure (CPT 94660); codes J96.0x if respiratory failure documented
- Mechanical ventilation: codes J95.851 VAP if pneumonia develops after intubation; Z99.11 ventilator dependence if chronic
- Corticosteroids: dexamethasone in severe CAP/COVID pneumonia and for PCP/PJP with hypoxemia
When a patient is treated with anti-MRSA antibiotics (vancomycin, linezolid) or antifungals (micafungin J2248, pentamidine J2545) but the attending diagnosis lists only "pneumonia," review the culture/sensitivity results and query for organism specificity. The treatment plan is clinical evidence supporting a more specific diagnosis code. This is compliant CDI practice per AHIMA Standards of Ethical Coding.
Preview ends here. The full guide continues with FY2026 ICD-10-CM code sets, CPT surgical coding, MS-DRG mapping, reimbursement guidance, CDI query templates, and an audit checklist — all available to CCO Members.
← Back to All Clinical Documentation Guides
🔒 Register or sign in to read the full guide
Unlock the full guide including:
- • 📘 8. ICD-10-CM Guidelines (FY2026)
- • 🔢 9. ICD-10-CM Code Set (FY2026)
- • 🔎 10. Indexing
- • 🏥 11. CPT (2026)
- • 🧾 12. HCPCS (2026)
- • 📚 13. AHA Coding Clinic (Recent Guidance)
- • 💰 14. HCC / Risk Adjustment (v28)
- • ✍️ 15. CDI Query Templates
- • 🧑⚕️ 16. Treatments (Clinical)
- • 🎓 17. Patient Education / Summary