What is the ICD-10 (International Classification of Diseases, 10th Revision) code and treatment for a rare bacterial infection in the lungs?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: December 23, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

ICD-10 Coding for Rare Bacterial Lung Infections

For rare bacterial infections in the lungs, use ICD-10 code J15.8 (Pneumonia due to other specified bacteria) when the specific organism is identified, or J18.9 (Pneumonia, unspecified organism) when the causative agent is unknown but bacterial infection is suspected.

Primary ICD-10 Codes for Rare Bacterial Pulmonary Infections

Specific Organism Codes

  • J15.8 - Pneumonia due to other specified bacteria: This is the appropriate code for rare bacterial pathogens not otherwise classified, including Legionella pneumophila, Staphylococcus aureus, Gram-negative enteric bacilli, Serratia marcescens, and Stenotrophomonas maltophilia 1
  • J15.0 - Pneumonia due to Klebsiella pneumoniae 2
  • J15.1 - Pneumonia due to Pseudomonas aeruginosa 1, 2
  • J15.2 - Pneumonia due to Staphylococcus aureus 1
  • A48.1 - Legionnaires' disease (for Legionella pneumophila) 1

Nontuberculous Mycobacterial Infections

  • A31.0 - Pulmonary mycobacterial infection (for Mycobacterium avium complex, M. kansasii, M. abscessus, M. xenopi) 1, 3
  • These organisms require ≥2 positive sputum cultures of the same species to meet diagnostic criteria 1

Unspecified Codes

  • J18.9 - Pneumonia, unspecified organism: Use when bacterial infection is clinically suspected but no specific pathogen has been identified 4
  • J18.1 - Lobar pneumonia, unspecified organism 4

Treatment Considerations by Pathogen

Rare Gram-Negative Bacteria

  • For Legionella pneumophila: Treatment duration should be 21 days with macrolides or fluoroquinolones 1
  • For Pseudomonas aeruginosa: Requires antipseudomonal beta-lactams (cefepime, piperacillin-tazobactam, imipenem, or meropenem) plus an aminoglycoside or fluoroquinolone 1
  • For Stenotrophomonas maltophilia: Shows high resistance rates (79.55% to ceftazidime, 38.64% to chloramphenicol) requiring trimethoprim-sulfamethoxazole as first-line therapy 2

Staphylococcus aureus

  • Requires 21 days of treatment for pneumonia 1
  • Shows 100% resistance to penicillin and 61.54% resistance to macrolides (erythromycin, clarithromycin, azithromycin) 2
  • Vancomycin should be added when methicillin-resistant S. aureus (MRSA) is suspected 1

Nontuberculous Mycobacteria (NTM)

  • For Mycobacterium avium complex (MAC): Use clarithromycin 500 mg twice daily or azithromycin 250 mg daily, plus ethambutol 15 mg/kg daily, plus rifampin 600 mg daily 1, 5, 3
  • For nodular/bronchiectatic disease: Three-times-weekly dosing is acceptable (clarithromycin 1000 mg, ethambutol 25 mg/kg, rifampin 600 mg) 5, 3
  • For cavitary or severe disease: Add amikacin 10-15 mg/kg IV daily or 590 mg via liposome inhalation suspension as a fourth agent 3
  • Treatment duration: Continue until sputum cultures remain negative for 12 consecutive months while on therapy 3
  • Critical warning: Never use macrolide monotherapy due to rapid resistance development 3

Anaerobic Bacteria

  • For aspiration pneumonia with anaerobes: Use ampicillin-sulbactam, piperacillin-tazobactam, or a beta-lactam plus metronidazole 1
  • Consider in patients with poor dentition, neurologic illness, impaired consciousness, or swallowing disorders 1

Treatment Duration Guidelines

Standard Bacterial Pneumonia

  • 5-7 days for uncomplicated community-acquired pneumonia with typical bacteria 1, 6
  • 7-10 days for classical bacterial infection or uncomplicated CAP 1, 6
  • Discontinue when patient has been clinically stable (afebrile, normal vital signs, able to eat) for 48-72 hours 6

Atypical Pathogens

  • 10-14 days for Mycoplasma pneumoniae or Chlamydophila pneumoniae 1, 6

Severe or Complicated Infections

  • 21 days for Legionella pneumophila, Staphylococcus aureus, or severe CAP 1, 6

Diagnostic Approach for Rare Bacterial Infections

Initial Microbiological Workup

  • Obtain sputum samples with proper quality criteria: >25 polymorphonuclear cells and <10 squamous epithelial cells per high-power field 1
  • Blood cultures should be obtained in all hospitalized patients 1
  • Consider bronchoscopy with bronchoalveolar lavage (BAL) for non-responding patients or when rare pathogens are suspected 1

Advanced Diagnostics

  • High-resolution CT scan should be available within 24 hours of clinical indication for suspected rare infections 1
  • BAL samples must reach the microbiology laboratory within 4 hours of sampling 1
  • For NTM: Monthly sputum cultures are required to monitor treatment response 3

Risk Factors Requiring Broader Coverage

High-Risk Populations

  • Nursing home residents: Increased risk for drug-resistant Streptococcus pneumoniae (DRSP), Gram-negative enteric bacteria, and aspiration with anaerobes 1
  • Chronic lung disease: Risk for Pseudomonas aeruginosa (especially with bronchiectasis), Moraxella catarrhalis, and Haemophilus influenzae 1, 7
  • Neutropenic patients: Risk for Pseudomonas aeruginosa, Stenotrophomonas maltophilia, Serratia marcescens, and fungi 1, 2

Modifying Factors

  • Exposure to dust or harmful gases, indwelling catheters, and prolonged hospital stay are independent risk factors for bacterial pulmonary infection 2
  • Age >65 years and history of chronic lung disease significantly increase infection risk 2

Common Pitfalls to Avoid

  • Do not use macrolide monotherapy for NTM infections—this rapidly induces resistance 3
  • Do not continue antibiotics beyond necessary duration without reassessing clinical stability 6
  • Do not assume a single positive sputum culture for NTM represents disease—require ≥2 positive cultures of the same species 1
  • Do not delay bronchoscopy beyond 24 hours in non-responding patients with infiltrates 1
  • Do not use fluoroquinolones empirically in patients already on quinolone prophylaxis 1
  • Monitor closely for aminoglycoside toxicity (ototoxicity in ~33% after 15 weeks) and ethambutol ocular toxicity in NTM treatment 3

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Nontuberculous Mycobacterial Infections Treatment

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

Infectious Pulmonary Diseases.

Emergency medicine clinics of North America, 2022

Guideline

Clarithromycin Dosing and Administration Guidelines

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Duration of Ceftriaxone for Community-Acquired Pneumonia

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.