Hostname: page-component-cd9895bd7-jn8rn Total loading time: 0 Render date: 2024-12-26T07:02:55.448Z Has data issue: false hasContentIssue false

Developing a diagnosis calculator to estimate the probability of bacterial pneumonia

Published online by Cambridge University Press:  07 August 2023

Jonathan D. Baghdadi*
Affiliation:
Department of Epidemiology and Public Health, University of Maryland School of Medicine, Baltimore, MD, USA Division of Infectious Diseases, Department of Medicine, University of Maryland School of Medicine, Baltimore, MD, USA
Ravi Tripathi
Affiliation:
Division of Infectious Diseases, Department of Medicine, University of Maryland School of Medicine, Baltimore, MD, USA VA Maryland Healthcare System, Baltimore, MD, USA
Lisa Pineles
Affiliation:
Department of Epidemiology and Public Health, University of Maryland School of Medicine, Baltimore, MD, USA
Anthony D. Harris
Affiliation:
Department of Epidemiology and Public Health, University of Maryland School of Medicine, Baltimore, MD, USA
Danica Palacio
Affiliation:
Division of Infectious Diseases, Department of Medicine, University of Maryland School of Medicine, Baltimore, MD, USA
Drew Charles
Affiliation:
Division of Infectious Diseases, Department of Medicine, University of Maryland School of Medicine, Baltimore, MD, USA
Kimberly C. Claeys
Affiliation:
Department of Pharmacy Practice and Science, University of Maryland School of Pharmacy, Baltimore, MD, USA
Emily Heil
Affiliation:
Department of Pharmacy Practice and Science, University of Maryland School of Pharmacy, Baltimore, MD, USA
Jackie Bork
Affiliation:
Division of Infectious Diseases, Department of Medicine, University of Maryland School of Medicine, Baltimore, MD, USA VA Maryland Healthcare System, Baltimore, MD, USA
Daniel J. Morgan
Affiliation:
Department of Epidemiology and Public Health, University of Maryland School of Medicine, Baltimore, MD, USA VA Maryland Healthcare System, Baltimore, MD, USA
*
Corresponding author: Jonathan D. Baghdadi; Email: jbaghdadi@som.umaryland.edu

Abstract

Misdiagnosis of bacterial pneumonia increases risk of exposure to inappropriate antibiotics and adverse events. We developed a diagnosis calculator (https://calculator.testingwisely.com) to inform clinical diagnosis of community-acquired bacterial pneumonia using objective indicators, including incidence of disease, risk factors, and sensitivity and specificity of diagnostic tests, that were identified through literature review.

Type
Concise Communication
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press on behalf of The Society for Healthcare Epidemiology of America

Introduction

Clinicians in practice frequently overestimate the probability of bacterial pneumonia. Reference Morgan, Pineles and Owczarzak1 Thirty to fifty of percent of patients initially suspected of having bacterial pneumonia either do not have pneumonia or have an alternative cause of symptoms. Reference Daniel, Bewick, Welham, McKeever, Lim and British Thoracic2,Reference Claessens, Debray and Tubach3 Misdiagnosis of bacterial infection almost universally leads to inappropriate antibiotic therapy, increasing the risk of adverse events. Reference Vaughn, Flanders and Snyder4

Pneumonia is a clinical diagnosis. Reference Metlay, Waterer and Long5 No test is definitive, and clinician judgment is required to decide which tests to order and how to interpret the results. In this project, we sought to develop a diagnosis calculator to estimate numerical probability of community-acquired bacterial pneumonia based on objective clinical indicators and test results.

Methods

The diagnosis calculator was built on a preexisting web interface (https://calculator.testingwisely.com) that can be customized with up to 3 incidence rates, 7 risk factors, and 5 diagnostic tests (up to 15 distinct inputs). Strong risk factors were assigned a likelihood ratio (LR) of 10, moderate risk factors LR 3, and minor risk factors LR 1.5. Reference Deeks and Altman6 Factors that decrease likelihood of disease were assigned LR < 1. Diagnostic tests were characterized in terms of sensitivity and specificity.

Multiple open-ended searches of the literature were conducted by two infectious diseases physicians (RT, JDB) to identify US-based studies reporting values for required inputs. These searches were conducted using an integrative approach with the goal of synthesizing and summarizing data, rather systematically capturing all relevant studies. Reference Templier and Paré7 Examples of relevant keywords used to search included “diagnosis,” “pneumonia,” “bacterial,” “incidence,” “clinical factors,” “sensitivity,” and “specificity.” When a relevant study was found, its cited references were reviewed to identify additional studies. Values pulled from the literature were reviewed and adjusted by a local advisory panel with expertise in diagnostic stewardship (DJM, KCC), clinical epidemiology (ADH), and antimicrobial stewardship (EH, JB, KCC) to generate estimates used in the calculator. The pneumonia calculator was first published online on June 6, 2022.

Results

Incidence in specific populations

In the emergency department, 10–12% of adults with acute cough are diagnosed with pneumonia (see Supplemental Table 1 for references). With multiple vital sign abnormalities, incidence may be >60%. In outpatient clinics, about 6% of adults presenting with cough are diagnosed with pneumonia. Since about 1/3 of patients with microbiologically confirmed pneumonia have bacterial infection, we adjusted these incidence rates to 4% in the ED and 2% among outpatients (see Table 1 for incidence rates, likelihood ratios, and sensitivity and specificity of diagnostic tests).

Table 1. Influence of risk factors and diagnostic testing on diagnosis of bacterial pneumonia

CT, computed tomography. Immunocompromised was defined by active malignancy on chemotherapy, hematologic malignancy, or solid organ transplant.

* Depends on specimen type and quality, means of collection, and whether it is collected from a source that is expected to be contaminated, like an endotracheal tube that is known to be colonized.

** An indirect test for bacterial pneumonia. Bacterial/viral coinfection is possible.

Risk factors

No strong risk factors were identified. Moderate risk factors include advanced age, history of stroke or dementia, immunocompromised status, fever, tachypnea, and hypoxemia. Minor risk factors included abnormalities on chest exam, which are subjective and may be difficult to reproduce, and other chronic comorbidity, which are nonspecific for bacterial infection. For instance, chronic obstructive pulmonary disease (COPD) has been associated with pneumonia but more commonly causes chronic bronchitis. Chronic kidney disease (CKD) has been associated with pneumonia but may also cause volume overload and pulmonary edema. Noninfectious cause of symptoms was associated with a likelihood ratio of less than 1.

Imaging

Computed tomography (CT) imaging of the chest is commonly used to define pneumonia in the literature, and thus the false-negative rate was difficult to estimate. However, recognizing that chest CT may be falsely negative early in the course of illness, if a patient is dehydrated, or in the context of a low-quality exam, sensitivity was estimated to be 98%. Specificity of chest CT was informed by the proportion of results considered uncertain. Sensitivity and specificity of chest X-ray were determined based on an average of estimates across multiple studies of its accuracy in comparison to chest CT. Lung ultrasound can be accurate when performed by an experienced operator but may not be widely available.

Microbiologic testing

Sensitivity and specificity of sputum culture are typically assessed for individual organisms, such as Streptococcus pneumoniae, rather than as a test for bacterial pneumonia. Thus, sensitivity of sputum culture was approximated by the diagnostic yield. Specificity was estimated based on the average of reported estimates for common pathogens. Specificity of lower respiratory culture is expected to be lower in the presence of an endotracheal tube or structural lung disease.

When performed, urinary antigen testing for S. pneumoniae and Legionella pneumophila is typically adjunctive to clinical culture. Urinary antigen testing is rarely studied or used as a standalone test. Though a positive result may increase clinical suspicion for bacterial pneumonia, a negative test does not influence decision making.

Respiratory viral panels using multiplex PCR were evaluated as an indirect test for bacterial pneumonia. Though coinfection is possible, a positive test for a viral pathogen decreases the likelihood of bacterial infection. When negative, viral infection remains possible. Sensitivity and specificity were inferred by computing likelihood ratios using the incidence of bacterial infection among patients with a positive viral test, a negative test, and no test performed.

Serum procalcitonin

The sensitivity and specificity of serum procalcitonin to differentiate bacterial from viral pneumonia were reported in a systematic review and meta-analysis. The most common threshold value is 0.5 µg/L, though other thresholds have been used. Procalcitonin can guide initiation and duration of antibiotic therapy, suggesting it distinguishes bacterial pneumonia from both viral infection and noninfectious conditions.

Discussion

We developed a diagnosis calculator to explore how clinical information impacts the pre- and post-test probability of bacterial pneumonia. Though this tool can be used to calibrate diagnostic decision making, inform test ordering, support interpretation of test results, and provide medical education (https://calculator.testingwisely.com), it should be considered preliminary pending further validation. The estimated probabilities it produces require adjustment based on subjective input from the clinician-user.

Clinicians in practice routinely misestimate the probability of bacterial infection. Reference Morgan, Pineles and Owczarzak8 The medical literature contributes to this problem by presenting data in a format that is not relevant or applicable to clinical decision making. The diagnosis calculator bridges this gap by converting data pulled from the medical literature into clinically relevant risk estimates. However, clinician intuition is still required. Clinical decision making tends to be safer when structured models using objective data are combined with clinician gestalt.

Diagnostic errors occur because of both bias and noise in decision making. Bias is introduced by clinicians’ tendency to overestimate the probability of disease. Noise comes from variation in training backgrounds, clinical experiences, attitudes, and beliefs that influence both likelihood of ordering tests and interpretation of the results. Reference Korenstein, Scherer and Foy9,Reference Baghdadi, Korenstein and Pineles10 The diagnosis calculator can reduce both bias and noise by providing an accurate and consistent anchor for initial probability estimates.

There is no gold standard test for bacterial pneumonia. Chest CT is frequently used as a reference but cannot reliably differentiate between viral and bacterial infection. Reference Claessens, Debray and Tubach3,Reference Garin, Marti, Scheffler, Stirnemann and Prendki11 Culture can confirm a microbiologic diagnosis but has limited sensitivity on sputum. Reference Ogawa, Kitsios, Iwata and Terasawa12 In many cases, it may never be completely clear whether a patient had bacterial pneumonia or not. This lack of certainty likely contributes to overuse of antibiotics for pneumonia and may delay the diagnosis of noninfectious conditions.

The main limitation of this project is that we did not conduct a systematic review or meta-analysis. Instead, we defined our inputs as a clinician would: by conducting an open-ended search and discussing the findings with peers and trusted experts. Thus, we were unable to generate precise estimates of LRs with confidence intervals. Instead, risk factors were organized into tiers and assigned the associated LR. Actual rates, LRs, and test characteristics may vary by severity or context. For instance, the sensitivity of testing may increase when multiple specimens are collected. Finally, though our diagnosis calculator informs an objective estimate of the probability of bacterial pneumonia, thresholds for treatment with antibiotics remain subjective. The decision to prescribe antibiotics is complicated and frequently multifactorial.

Conclusion

We compiled clinical data from the medical literature into a calculator to support the diagnosis of community-acquired bacterial pneumonia. Though preliminary, this calculator can be used by clinicians to calibrate diagnostic decision making and for educational purposes.

Supplementary material

The supplementary material for this article can be found at https://doi.org/10.1017/ash.2023.408

Acknowledgements

All authors report no conflicts of interest related to this article. JDB received support from the Agency for Healthcare Research and Quality (1K08HS028854-01).

Financial support

JDB received support from the Agency for Healthcare Research and Quality (1K08HS028854-01). All authors report no conflicts of interest related to this article.

References

Morgan, DJ, Pineles, L, Owczarzak, J, et al. Accuracy of practitioner estimates of probability of diagnosis before and after testing. JAMA Intern Med 2021;181:747755.CrossRefGoogle ScholarPubMed
Daniel, P, Bewick, T, Welham, S, McKeever, TM, Lim, WS, British Thoracic, S. Adults miscoded and misdiagnosed as having pneumonia: results from the British Thoracic Society pneumonia audit. Thorax 2017;72:376379.CrossRefGoogle ScholarPubMed
Claessens, YE, Debray, MP, Tubach, F, et al. Early chest computed tomography scan to assist diagnosis and guide treatment decision for suspected community-acquired pneumonia. Am J Respir Crit Care Med 2015;192:974982.CrossRefGoogle ScholarPubMed
Vaughn, VM, Flanders, SA, Snyder, A, et al. Excess antibiotic treatment duration and adverse events in patients hospitalized with pneumonia: a multihospital cohort study. Ann Intern Med 2019;171:153163.CrossRefGoogle ScholarPubMed
Metlay, JP, Waterer, GW, Long, AC, et al. Diagnosis and treatment of adults with community-acquired pneumonia. an official clinical practice guideline of the American Thoracic Society and Infectious Diseases Society of America. Am J Respir Crit Care Med 2019;200:e45e67.CrossRefGoogle ScholarPubMed
Deeks, JJ, Altman, DG. Diagnostic tests 4: likelihood ratios. BMJ 2004;329:168169.CrossRefGoogle ScholarPubMed
Templier, M, Paré, G. A framework for guiding and evaluating literature reviews. Comm Assoc Inform Syst 2015;37:6.Google Scholar
Morgan, DJ, Pineles, L, Owczarzak, J, et al. Accuracy of practitioner estimates of probability of diagnosis before and after testing. JAMA Intern Med 2021;181:747755.CrossRefGoogle ScholarPubMed
Korenstein, D, Scherer, LD, Foy, A, et al. Clinician Attitudes and beliefs associated with more aggressive diagnostic testing. Am J Med 2022;135:e182e193.CrossRefGoogle ScholarPubMed
Baghdadi, JD, Korenstein, D, Pineles, L, et al. Exploration of primary care clinician attitudes and cognitive characteristics associated with prescribing antibiotics for asymptomatic bacteriuria. JAMA Netw Open 2022;5:e2214268.CrossRefGoogle ScholarPubMed
Garin, N, Marti, C, Scheffler, M, Stirnemann, J, Prendki, V. Computed tomography scan contribution to the diagnosis of community-acquired pneumonia. Curr Opin Pulm Med 2019;25:242248.CrossRefGoogle Scholar
Ogawa, H, Kitsios, GD, Iwata, M, Terasawa, T. Sputum gram stain for bacterial pathogen diagnosis in community-acquired pneumonia: a systematic review and bayesian meta-analysis of diagnostic accuracy and yield. Clin Infect Dis 2020;71:499513.CrossRefGoogle ScholarPubMed
Figure 0

Table 1. Influence of risk factors and diagnostic testing on diagnosis of bacterial pneumonia

Supplementary material: File

Baghdadi et al. supplementary material

Table S1

Download Baghdadi et al. supplementary material(File)
File 17.9 KB