Pleural Effusion
§5.5.2 Bayesian engine: Light's criteria encoded as the transudate↔exudate decision fork (exudate any 1 of 3, sens ~98% / spec ~83%, Light 1972 PMID 4642731); per-test LRs wired with PMIDs — pleural ADA >40 U/L LR+ ~9 (PMID 30913213), cytology pooled sensitivity 58% single / ~80% repeat (PMID 35110369), pH <7.20 → complicated parapneumonic drainage decision, NT-proBNP LR+ 15.2 for cardiac (PMID 20511623), serum-pleural albumin gradient >1.2 g/dL reclassifies diuretic-treated HF (PMID 17875051). Cross-dossier routing via workups[].branches_to: pulm.pe.core.v1, pulm.cap.core.v1, pulm.tuberculosis.v1, cardio.acute-hf.core.v1, gi.cirrhosis.core.v1 (all confirmed on disk). PE caveat encoded — PE effusion can be exudate OR transudate; trapped lung post-empyema noted. Drainage + substrate ladder stepwise (transudate-substrate / diagnostic-tap / parapneumonic-empyema / MPE / IPC / hemothorax / TB) with doses; intrapleural tPA 10 mg + DNase 5 mg BID × 3 d (MIST2 — combination only, monotherapy ineffective; pleural-bleeding contraindication encoded). Special populations: HF-on-diuretics (albumin-gradient/NT-proBNP correction), hepatic hydrothorax (TIPS/IPC, AVOID conventional chest tube — high-mortality severity_trigger), renal/urinothorax, chylothorax. Pregnancy/immunocompromised handled via TB + cytology pretest pathways. Effect-size numbers with PMIDs: RAPID 3-mo mortality bands (2.3/9.2/29.3%, PILOT PMID 32675200), AMPLE IPC vs talc hospital days (10 vs 12, PMID 29164255), TIME2 initial LOS (0 vs 4 d, PMID 22610520), ADA test characteristics (PMID 30913213), NT-proBNP LR (PMID 20511623). RxCUIs RxNav-verified 2026-05-16 — CORRECTED prior hand-authored errors: furosemide 4337→4603 (4337 is fentanyl), piperacillin-tazobactam 18631→1659131 (18631 is azithromycin), silver nitrate 2606543→9789 (2606543 is elemental silver). PRODUCTION blockers remaining: (1) Light's-criteria interpreter, RAPID, LENT scores not yet in clinical-tools-registry.ts (recorded as schema gap in .depth.md); (2) no engine-specific test file beyond shared dossier-contract; (3) ampicillin RxCUI 733 is ingredient-level (ampicillin/sulbactam combination CUI 1009148 used where available).
Entry points (4)
- symptomDyspnea, pleuritic chest pain, dull cough (BTS 2023 Roberts)dyspnea_pleuritic_pain
- imagingPleural effusion on CXR / lung ultrasound / CT (BTS 2023)effusion_on_imaging
- symptomDiminished breath sounds, dullness on percussion, reduced tactile fremitus (BTS 2023)diminished_breath_sounds
- problem_listKnown HF / cirrhosis / malignancy with new effusion (BTS 2023)hf_cirrhosis_malignancy
Required inputs (21)
- agerequireddemographic • used at CONTEXTEtiology pretest probability (cancer, parapneumonic) shifts with age (BTS 2023)
- spo2requiredvital • used at CONTEXTHypoxia for thoracentesis urgency (BTS 2023)
- rrrequiredvital • used at CONTEXTTachypnea + work-of-breathing severity (BTS 2023)
- temprequiredvital • used at CONTEXTPleural infection screen (BTS 2023)
- sbprequiredvital • used at CONTEXTSeptic shock screen in pleural infection (BTS 2023)
- hf_cirrhosis_malignancy_renalrequiredhistory • used at CONTEXTTransudative substrate identification + drives Light's albumin-gradient correction
- diuretic_usehistory • used at INITIAL_WORKUPDiuretics concentrate transudate protein/LDH → pseudo-exudate; triggers albumin-gradient / NT-proBNP correction (Bielsa 2007 PMID 17875051)
- recent_pneumonia_or_chest_traumahistory • used at CONTEXTParapneumonic vs hemothorax differential (BTS 2023)
- anticoagulationrequiredhistory • used at CONTEXTPre-procedural bleeding risk for thoracentesis (BTS 2023)
- serum_proteinlab • used at INITIAL_WORKUPLight's criterion denominator — pleural/serum protein >0.5 (Light 1972 PMID 4642731)
- serum_ldhlab • used at INITIAL_WORKUPLight's criterion denominator — pleural/serum LDH >0.6 or pleural LDH >2/3 ULN (Light 1972 PMID 4642731)
- serum_albuminlab • used at INITIAL_WORKUPSerum-pleural albumin gradient >1.2 g/dL reclassifies diuretic-treated HF pseudo-exudate (Bielsa 2007 PMID 17875051)
- pleural_fluid_phlab • used at INITIAL_WORKUPpH <7.20 → complicated parapneumonic requiring drainage (BTS 2023; collect anaerobically in heparinised ABG syringe)
- pleural_fluid_adalab • used at BRANCHING_WORKUPADA >40 U/L → LR+ ~9 for TB pleuritis (Aggarwal 2019 PMID 30913213)
- pleural_fluid_cytologylab • used at BRANCHING_WORKUPCytology pooled sensitivity 58% single sample; repeat → ~80% (PMID 35110369)
- pleural_fluid_ntprobnplab • used at INITIAL_WORKUPNT-proBNP for cardiac effusion misclassified by Light (LR+ 15.2; PMID 20511623)
- plateletslab • used at INITIAL_WORKUPPlatelets >=50 generally accepted for thoracentesis (BTS 2023)
- inrlab • used at INITIAL_WORKUPINR <2 generally accepted for thoracentesis (BTS 2023)
- cxrrequiredimaging • used at INITIAL_WORKUPInitial confirmation + lateral decubitus for layering (BTS 2023)
- lung_ultrasoundimaging • used at INITIAL_WORKUPBedside characterization (loculation, septations) + always US-guided thoracentesis (BTS 2023)
- ct_chestimaging • used at BRANCHING_WORKUPLoculation, malignant features (pleural thickening, nodularity, mediastinal pleural involvement) (BTS 2023; ATS/STS 2018)
12-phase flow (12)
- 1FRAMEConfirm pleural effusion (vs consolidation, atelectasis, elevated hemidiaphragm, pleural thickening) on CXR/US and determine acuity + bilaterality (bilateral → transudate-leaning)inputs: cxradvance: Effusion confirmed by imaging
- 2ENTRYTrigger from dyspnea + pleuritic pain, incidental imaging finding, or known substrate disease (HF/cirrhosis/malignancy)inputs: ageadvance: Entry trigger present
- 3CONTEXTSubstrate (HF, cirrhosis, malignancy, renal, lupus, RA, post-CABG, asbestos, recent pneumonia/trauma, pancreatitis), diuretic use, allergies, anticoag, platelets/INRinputs: spo2, rr, temp, sbp, hf_cirrhosis_malignancy_renal, recent_pneumonia_or_chest_trauma, anticoagulationadvance: Substrate captured + thoracentesis safety screen complete
- 4RED_FLAGSTension hydrothorax (rare), empyema with sepsis/septic shock, hemothorax with hemodynamic instability, massive effusion with hypoxic respiratory failure or mediastinal shiftinputs: spo2, sbpadvance: Emergent drainage performed or escalated
- 5INITIAL_WORKUPCXR ± lateral decubitus, lung ultrasound (always before tap), BMP, CBC, LFTs, BNP if HF question; US-guided diagnostic thoracentesis if effusion >1 cm decubitus/US or unclear etiology — send pleural protein, LDH, albumin, glucose, pH (anaerobic), cell count + diff, Gram stain + aerobic/anaerobic culture, cytology, plus ADA/AFB/TB-PCR, amylase, triglyceride, NT-proBNP per pretestinputs: serum_protein, serum_ldh, serum_albumin, pleural_fluid_ph, pleural_fluid_ntprobnp, platelets, inr, cxr, lung_ultrasoundadvance: Thoracentesis performed (if indicated) and Light's rule applied
- 6BRANCHING_WORKUPApply per-test LRs (ADA→TB, cytology→malignancy, pH<7.2→drainage, NT-proBNP/albumin-gradient→cardiac). CT chest with contrast if exudate / suspected malignancy / loculation; medical thoracoscopy + parietal pleural biopsy if undiagnosed exudate (cytology-negative); RAPID score for pleural infectioninputs: ct_chest, pleural_fluid_ada, pleural_fluid_cytologyactions: pe_fulladvance: Etiology identified or thoracoscopy referral made
- 7DIFFERENTIALBayesian fork: Light's exudate (any 1 of 3 criteria) → parapneumonic/empyema, malignant, TB, PE, autoimmune, chylothorax, post-CABG; Light's transudate → HF, cirrhosis (hepatic hydrothorax), nephrotic, hypoalbuminemia, urinothorax. Apply albumin-gradient/NT-proBNP correction for diuretic-treated HF; remember PE can be exudate OR transudate and post-empyema can leave trapped lunginputs: serum_protein, serum_ldh, serum_albumin, pleural_fluid_ntprobnp, pleural_fluid_adaadvance: Transudate vs exudate assigned with corrected interpretation; etiology posterior set
- 8RISK_STRATIFICATIONRAPID score for pleural infection 3-month mortality (low 2.3%, medium 9.2%, high 29.3%; PILOT Corcoran 2020 PMID 32675200); LENT score for MPE survival; MELD/MELD-Na for hepatic hydrothoraxactions: calc.meld_na, calc.meld3, calc.curb65advance: Risk score documented
- 9TREATMENTTransudate → treat underlying disease (diuresis for HF; spironolactone+furosemide ± TIPS for hepatic hydrothorax — AVOID chest tube; RRT for renal). Complicated parapneumonic/empyema → chest tube + abx; intrapleural tPA 10 mg + DNase 5 mg BID × 3 d (MIST2 PMID 21830966; monotherapy ineffective). MPE → IPC vs talc pleurodesis (AMPLE PMID 29164255 / TIME2 PMID 22610520); IPC preferred for trapped lung. Hemothorax → large-bore tube ± surgery. TB pleurisy → RIPE ATT.advance: Drainage strategy + targeted therapy initiated
- 10DISPOSITIONAdmit for chest tube/empyema; outpatient drainage for chronic MPE via IPC; surgical (VATS decortication) referral for trapped lung / failed pleurodesis / day-5–7 drainage failureadvance: Disposition set
- 11MONITORINGDrain output, daily post-tube CXR, repeat US, fever/CRP curve in pleural infection, IPC site care, reaccumulation rateadvance: Drainage trend documented
- 12FOLLOWUPOutpatient IPC management (3×/week drainage, taper for spontaneous pleurodesis ~46% by 70 d on AMPLE), oncology re-imaging, HF/cirrhosis substrate optimisation, repeat thoracentesis if recurrent, asbestos counselling + smoking cessationadvance: Drainage and substrate plan in place; clinic follow-up scheduled