Clinical Commander

All dossiers
pulm.hospital-acquired-pneumonia-non-covid.v1

Hospital-Acquired & Ventilator-Associated Pneumonia (HAP / VAP, non-COVID)

pulmonologyacuteadultinpatientacute

HAP/VAP deepened 2026-05-16 (shard-3) — IDSA/ATS 2016 Kalil (PMID 27418577) confirmed current US standard 2026 via WebSearch (no superseding ATS/IDSA update); ERS/ESICM/ESCMID/ALAT 2017 (28890434) alignment. §5.5.1 effect sizes wired with verified PMIDs (≥5): Chastre 8-vs-15-day VAP — mortality 18.8% vs 17.2% (diff 1.6%, 90% CI −3.7 to 6.9, non-inferior), antibiotic-free days 13.1 vs 8.7 (P<.001), NF-GNB recurrence 40.6% vs 25.4% (diff 15.2%), MDR among recurrences 42.1% vs 62.0% (P=.04) — PMID 14625336; Pugh Cochrane short course +4.02 28-d antibiotic-free days (95% CI 2.26–5.78), MDR recurrence OR 0.44 (0.21–0.95), NF-GNB recurrence OR 2.18 (1.14–4.16) — PMID 26301604; Pugh 2011 PCT discontinuation +2.80 antibiotic-free days (1.39–4.21) — PMID 21975771; de Jong SAPS PCT-guided duration 5 vs 7 d, 28-d mortality 20% vs 25% (diff 5.4%, 95% CI 1.2–9.5, p=0.0122) — PMID 26947523; Melsen VAP attributable mortality ~13% overall (higher surgical/mid-severity), cumulative ICU death risk 2.20 (1.91–2.54) — PMID 23622939. EVIDENCE FIX (material): replaced fabricated/wrong PMIDs — old 12409821 ("Chastre") was RxNav/PubMed-confirmed = a dystrophin-glycoprotein myofiber paper; old 14625336 was mislabeled "CURB-65" but is actually the real Chastre VAP RCT (now correctly labeled); old 32101426 ("vanc AUC consensus") = a phthalate-metabolite paper, replaced with verified Rybak 2020 PMID 32191793. Removed fillers 25776532/29766750/23900119. All 9 retained PMIDs verified via PubMed MCP 2026-05-16. RXCUI FIXES (RxNav REST verified 2026-05-16): piperacillin-tazobactam 18631→74169 (18631 is RxNav-confirmed = azithromycin); meropenem 74169→29561 (74169 = piperacillin/tazobactam); supportive normal_saline rxcui 7407 removed and marked non_pharm (7407 = nicotine). Confirmed-correct unchanged: vancomycin 11124, cefepime 20481, linezolid 190376, levofloxacin 82122, tobramycin 10627, amikacin 641, ciprofloxacin 2551, oxygen 7806, norepinephrine 7512. No CUIs hand-authored — extended-spectrum salvage agents (ceftazidime-avibactam etc.) intentionally left as non_pharm narrative pending RxNav validation. §5.5.2 differential as data: new-infiltrate + clinical + micro pivot encoded in entry_points/phases; MDR-risk stratification encoded as required_inputs + CONTEXT phase + regimen step gates; sibling_differentiation against pulm.cap.core.v1, pulm.aspiration-pneumonia.core.v1, pulm.ards.core.v1; VAT / atelectasis / pulmonary edema / PE mimics handled in DIFFERENTIAL/BRANCHING_WORKUP + the no_new_infiltrate_consider_VAT_or_mimic severity trigger. Cross-dossier engine_ids (grep-confirmed to resolve in src/lib/dossiers/): id.sepsis.core.v1, pulm.ards.core.v1, pulm.aspiration-pneumonia.core.v1, pulm.cap.core.v1 — wired via workups[].branches_to (5-target hap_vap + sepsis) and 3 sibling_differentiation rows. Special populations: immunocompromised (broaden fungal/PJP/viral — required_input + severity trigger + comorbidity drug), renal (per-drug CrCl bands; linezolid no-adjust AKI limb), hepatic (linezolid/FQ caution), post-surgical (atelectasis mimic + higher VAP attributable mortality), aspiration-prone/elderly/neuro (aspiration overlap routing), ARDS overlap (run both engines). Sampling note: invasive BAL quantitative vs non-invasive endotracheal-aspirate semi-quantitative — NO mortality difference (Canadian Critical Care Trials Group NEJM 2006). Exact PMID WebSearch-pending; per no-hand-authored-id rule it is NOT added to evidence.pmids — encoded narratively only (research bundle documents it). SCHEMA-GAP NOTES: (1) _types.ts RegimenDrug has no notes/contraindication field — per-drug renal/hepatic/safety encoded in starting_dose + rationale strings; (2) no first-class MDR-risk-stratification or antibiogram-threshold field — encoded in required_inputs rationale + CONTEXT phase + regimen step applies_when/step_up_when; (3) RequiredCalculator.drives enum has no "stewardship"/"de_escalation" value — de-escalation/duration encoded as non_pharm stewardship_action drugs + monitoring + severity_triggers; (4) no SettingTransition/fluids objects authored (forward-looking, not audit-enforced; crystalloid is an SSC restraint not a fixed plan); (5) CPIS deliberately NOT wired as a RequiredCalculator (poor specificity/inter-observer reliability per Kalil) — noted in RISK_STRATIFICATION purpose. PRODUCTION blockers (unchanged, out of scope this pass): (1) manifest stub blank, (2) registry import not added per dispatch, (3) no engine-specific test file. RxCUIs now corrected but still queued for npm run research:rxnav:validate confirmation.

Entry points (5)

  • symptom
    New fever + purulent endotracheal / sputum secretions in hospitalised patient — IDSA/ATS 2016 Kalil (PMID 27418577)
    new_fever_increased_secretions
  • imaging
    New OR progressive radiographic infiltrate ≥48 h after admission / intubation (the necessary pivot — no new infiltrate → not HAP/VAP, consider VAT) — IDSA/ATS 2016 Kalil
    new_or_progressive_infiltrate_after_48h
  • vital_abnormality
    Rising FiO2 / PEEP / new hypoxemia in ventilated patient (ventilator-associated event) — IDSA/ATS 2016 Kalil
    rising_oxygen_requirement
  • lab_abnormality
    New leukocytosis (≥12) or leukopenia (≤4) with respiratory deterioration — IDSA/ATS 2016 Kalil
    leukocytosis_or_leukopenia
  • history
    Mechanical ventilation ≥48 h with new infiltrate (VAP definition; ≥48 h after intubation) — IDSA/ATS 2016 Kalil
    mech_vent_>=48h

Required inputs (23)

  • agerequired
    demographic • used at CONTEXT
    Elderly risk profile (aspiration-prone, atypical presentation) + renal dose adjustment
  • sbprequired
    vital • used at CONTEXT
    Septic shock screening — shock is an IDSA criterion for DUAL anti-pseudomonal coverage (Kalil PMID 27418577)
  • rrrequired
    vital • used at CONTEXT
    Respiratory failure / qSOFA sepsis screen (Sepsis-3 Singer JAMA 2016)
  • spo2required
    vital • used at CONTEXT
    Hypoxemia threshold for ICU + escalation; disproportionate hypoxia vs infiltrate raises PE on the differential
  • temprequired
    vital • used at CONTEXT
    Fever / hypothermia for sepsis bundle + the clinical leg of the new-infiltrate + clinical + micro triad
  • fio2
    vital • used at CONTEXT
    P/F ratio — distinguishes pneumonia-with-ARDS overlap from VAT (no infiltrate); ventilator-associated event tracking
  • wbc
    lab • used at INITIAL_WORKUP
    Leukocytosis (≥12) / leukopenia (≤4) — the clinical leg of HAP/VAP definition + CPIS component
  • creatininerequired
    lab • used at INITIAL_WORKUP
    eGFR/CrCl for vancomycin (AUC24/MIC 400-600 — Rybak 2020 PMID 32191793), β-lactam, aminoglycoside renal dosing
  • lactate
    lab • used at INITIAL_WORKUP
    Sepsis severity / SSC 2021 bundle (Evans PMID 34599691) — lactate ≥4 = septic shock surrogate → DUAL anti-pseudomonal
  • procalcitonin
    lab • used at MONITORING
    PCT trend assists short-course duration de-escalation — de Jong SAPS RCT duration 5 vs 7 d (PMID 26947523); IDSA/ATS 2016 Kalil
  • sputum_culture_or_BALrequired
    lab • used at INITIAL_WORKUP
    Respiratory culture (BAL quantitative OR endotracheal aspirate semi-quant — NO mortality difference, Canadian Critical Care 2006) — the micro leg of the triad + de-escalation substrate; obtain BEFORE antibiotics
  • blood_culturesrequired
    lab • used at INITIAL_WORKUP
    Bacteremia identification + SSC sepsis bundle — obtain BEFORE antibiotics
  • cxrrequired
    imaging • used at INITIAL_WORKUP
    New OR progressive infiltrate is NECESSARY for HAP/VAP — no new infiltrate → VAT or non-infectious mimic (atelectasis, edema, PE)
  • prior_iv_abx_90drequired
    history • used at CONTEXT
    Strongest IDSA MDR + MRSA + Pseudomonas risk factor — drives empiric breadth (Kalil PMID 27418577)
  • mrsa_colonisation_or_priorrequired
    history • used at CONTEXT
    Prior MRSA isolation/colonisation → empiric vancomycin or linezolid (Kalil PMID 27418577)
  • pseudomonas_colonisation_or_priorrequired
    history • used at CONTEXT
    Prior Pseudomonas / structural lung disease → broaden + consider double anti-pseudomonal (Kalil PMID 27418577)
  • septic_shock_or_high_mortality_riskrequired
    history • used at CONTEXT
    Septic shock / high mortality risk → DUAL anti-pseudomonal (two classes) per IDSA — Melsen attributable mortality ~13%, higher in surgical/mid-severity (PMID 23622939)
  • hospital_unit_resistance_patternrequired
    history • used at CONTEXT
    LOCAL ANTIBIOGRAM is the primary empiric driver — unit MRSA prevalence ≥10–20% or GNR resistance >10% to monotherapy → broaden (Kalil PMID 27418577)
  • immunocompromised
    history • used at CONTEXT
    Neutropenia / SOT / HSCT / high-dose steroid → broaden to fungal (Aspergillus), PJP, viral (CMV) — changes diagnostics + empirics
  • aspiration_risk
    history • used at CONTEXT
    Witnessed aspiration / post-stroke / dysphagia / depressed consciousness → aspiration-pneumonia overlap; route pulm.aspiration-pneumonia.core.v1
  • post_surgical_status
    history • used at CONTEXT
    Post-operative HAP (esp. thoracic/upper-abdominal) — atelectasis is the dominant early mimic; surgical patients have higher VAP attributable mortality (Melsen PMID 23622939)
  • liver_disease
    history • used at CONTEXT
    Hepatic impairment — linezolid/FQ caution; avoids over-dosing hepatically-cleared agents
  • current_medsrequired
    medication • used at CONTEXT
    β-lactam allergy (cross-reactivity review), SSRI–linezolid serotonin-syndrome, QT, nephrotoxin stacking with vanc/AG

12-phase flow (12)

  1. 1FRAME
    Classify: HAP = pneumonia ≥48 h after admission AND not incubating at admission; VAP = pneumonia ≥48 h after endotracheal intubation. Distinguish from ventilator-associated tracheobronchitis (VAT — purulent secretions + clinical signs but NO new infiltrate). Exclude COVID and other viral etiologies (out of scope — non-COVID engine). HCAP is a retired category (Kalil PMID 27418577)
    advance: HAP vs VAP vs VAT classification made + non-COVID confirmed
  2. 2ENTRY
    Triggered by NEW or progressive radiographic infiltrate ≥48 h PLUS clinical deterioration PLUS ≥1 of: fever/hypothermia, leukocytosis/leukopenia, purulent secretions, rising FiO2/PEEP. The new infiltrate is necessary — its absence redirects to VAT or non-infectious mimic
    inputs: age
    advance: New-infiltrate + clinical + (pending) micro triad initiated
  3. 3CONTEXT
    Capture severity vitals + the MDR-risk stratification that decides empiric breadth: prior IV abx ≤90 d (strongest), septic shock at VAP onset, ARDS preceding VAP, ≥5 d hospitalisation before VAP, acute RRT before VAP, prior MRSA/Pseudomonas, and — primary — the LOCAL UNIT ANTIBIOGRAM (MRSA ≥10-20% or GNR monotherapy resistance >10%). Capture immunocompromise, aspiration risk, post-surgical status, hepatic/renal function, allergy/interactions (Kalil PMID 27418577)
    inputs: sbp, rr, spo2, temp, fio2, prior_iv_abx_90d, mrsa_colonisation_or_prior, pseudomonas_colonisation_or_prior, septic_shock_or_high_mortality_risk, hospital_unit_resistance_pattern, immunocompromised, aspiration_risk, post_surgical_status, liver_disease, current_meds
    advance: MDR-risk tier + severity + comorbidity profile captured
  4. 4RED_FLAGS
    Septic shock, ARDS, hemodynamic instability, multi-organ failure → immediate SSC 2021 sepsis bundle within 1 h (cultures before abx, lactate, 30 mL/kg crystalloid, broad empirics). Shock or lactate ≥4 mandates DUAL anti-pseudomonal coverage (Kalil PMID 27418577; SSC 2021 Evans PMID 34599691)
    inputs: sbp, spo2
    actions: protocol.septic_shock
    advance: Sepsis bundle initiated or no shock physiology
  5. 5INITIAL_WORKUP
    CXR (new/progressive infiltrate); CBC + diff; BMP + Cr; lactate; RESPIRATORY culture BEFORE antibiotics (BAL quantitative if intubated OR endotracheal aspirate semi-quantitative — NO mortality difference per Canadian Critical Care 2006; both acceptable per Kalil); blood cultures × 2; baseline procalcitonin; Legionella/Strep urinary antigen if community-onset overlap. Do NOT delay antibiotics for sampling if septic
    inputs: cxr, wbc, creatinine, lactate, sputum_culture_or_BAL, blood_cultures
    actions: workup.hap_vap, panel.cbc, panel.renal
    advance: Cultures sent + empirics started within 1 h if septic
  6. 6BRANCHING_WORKUP
    If non-resolving at 72 h: CT chest (abscess, empyema, non-resolving consolidation); bronchoscopy/BAL with quantitative culture; thoracentesis if effusion (rule out empyema → source control). Actively exclude mimics that look like non-resolving pneumonia: PE (disproportionate hypoxia, route pulm context), ARDS (bilateral, P/F-defined), atelectasis (post-op, rapid change with recruitment), cardiogenic edema (BNP/echo/diuretic response). If immunocompromised: galactomannan/β-D-glucan, PJP PCR, CMV, respiratory viral panel
    inputs: immunocompromised
    actions: panel.lft, panel.inflammation
    advance: Branch tests obtained when triggered OR alternative dx routed
  7. 7DIFFERENTIAL
    Pathogen axis: MDR Gram-negative (Pseudomonas, Acinetobacter, ESBL Klebsiella/E. coli, CRE) vs MRSA vs MSSA vs Enterobacterales vs anaerobes (aspiration overlap) vs Legionella vs respiratory virus — per Kalil Table 3. Disease axis: HAP/VAP vs VAT (no infiltrate) vs ARDS vs aspiration pneumonia vs atelectasis vs cardiogenic pulmonary edema vs PE — pivot is new infiltrate + clinical + micro positivity
    advance: Working pathogen category + disease entity assigned
  8. 8RISK_STRATIFICATION
    qSOFA / SOFA (Sepsis-3 Singer JAMA 2016) for sepsis severity; CPIS noted but limited (poor specificity, inter-observer variability — NOT used as a stand-alone gate, Kalil); identify septic shock / high mortality risk for DUAL anti-pseudomonal coverage. Melsen IPD meta-analysis: VAP attributable mortality ~13% overall, higher in surgical + mid-severity patients (PMID 23622939)
    inputs: sbp, rr
    actions: calc.qsofa, calc.sofa
    advance: Severity tier + MDR-risk tier classified
  9. 9TREATMENT
    Empiric anti-pseudomonal β-lactam (pip-tazo 4.5 g IV q6h ext-infusion OR cefepime 2 g IV q8h OR meropenem 1 g IV q8h) keyed to local antibiogram; ADD MRSA cover (vancomycin AUC24/MIC 400-600 — Rybak 2020 PMID 32191793 — OR linezolid 600 mg q12h) if MRSA risk/unit prevalence; ADD a second anti-pseudomonal class (aminoglycoside or anti-pseudomonal FQ) only if septic shock OR ≥1 MDR-GNR risk factor OR unit GNR monotherapy resistance >10%. Renal/hepatic dose-adjust. De-escalate at 48-72 h on culture/susceptibility; 7-day course unless complicated (Chastre PMID 14625336; Pugh PMID 26301604; Kalil PMID 27418577)
    inputs: creatinine, liver_disease
    actions: calc.ckd_epi_2021, calc.cockcroft_gault
    advance: Empirics + renal/hepatic adjust + de-escalation plan documented
  10. 10DISPOSITION
    ICU for VAP, septic shock, ARDS, P/F ≤200, vasopressor; ward for HAP if hemodynamically stable, no shock, FiO2 ≤0.4; step-down when off pressors, FiO2 ≤0.4, stable, tolerating PO/IV completion
    advance: Level of care set
  11. 11MONITORING
    Clinical response reassessed at 48-72 h (defervescence, oxygenation, secretion volume/purulence, leukocyte trend); culture-driven de-escalation; PCT trend assists short-course stop (de Jong SAPS PMID 26947523); daily IV→PO suitability; vancomycin AUC24 (creatinine q48h); AKI + linezolid-thrombocytopenia surveillance
    inputs: procalcitonin
    advance: Improving at 48-72 h OR non-response workup triggered
  12. 12FOLLOWUP
    Total 7-day duration if responding (Chastre non-inferior mortality 18.8% vs 17.2%, more antibiotic-free days, less MDR among recurrences — PMID 14625336; Pugh +4.02 antibiotic-free days, MDR recurrence OR 0.44 — PMID 26301604). Extend to 10-14 d ONLY for non-fermenting GNR (Pseudomonas/Acinetobacter — Chastre NF-GNB recurrence 40.6% vs 25.4%; Pugh OR 2.18), structural lung disease, immunocompromise, empyema/abscess, or slow response. Reinforce VAP prevention bundle; post-ICU follow-up
    advance: Duration set + prevention plan documented