Hostname: page-component-78c5997874-xbtfd Total loading time: 0 Render date: 2024-11-10T05:13:25.028Z Has data issue: false hasContentIssue false

Predicting antibiotic resistance in Enterobacterales to support optimal empiric treatment of urinary tract infections in outpatient veterans

Published online by Cambridge University Press:  09 September 2024

Ben J. Brintz*
Affiliation:
Division of Epidemiology, Department of Internal Medicine, University of Utah, Salt Lake City, UT, USA IDEAS Center, VA Salt Lake City Healthcare System, Salt Lake City, UT, USA
Karl Madaras-Kelly
Affiliation:
College of Pharmacy, Idaho State University, Meridian, ID, USA Pharmacy Service, Boise VA Medical Center, Boise, ID, USA
McKenna Nevers
Affiliation:
Division of Epidemiology, Department of Internal Medicine, University of Utah, Salt Lake City, UT, USA IDEAS Center, VA Salt Lake City Healthcare System, Salt Lake City, UT, USA
Kelly L. Echevarria
Affiliation:
Pharmacy Benefits Management Program, U.S. Department of Veterans Affairs, Hines, IL, USA
Matthew B. Goetz
Affiliation:
David Geffen School of Medicine at UCLA, Los Angeles, CA, USA VA Greater Los Angeles Healthcare System, Los Angeles, California, USA
Matthew H. Samore
Affiliation:
Division of Epidemiology, Department of Internal Medicine, University of Utah, Salt Lake City, UT, USA IDEAS Center, VA Salt Lake City Healthcare System, Salt Lake City, UT, USA
*
Corresponding author: Ben J. Brintz; Email: ben.brintz@hsc.utah.edu

Abstract

Objective:

Bacterial resistance is known to diminish the effectiveness of antibiotics for treatment of urinary tract infections. Review of recent healthcare and antibiotic exposures, as well as prior culture results is recommended to aid in selection of empirical treatment. However, the optimal approach for assessing these data is unclear. We utilized data from the Veterans Health Administration to evaluate relationships between culture and treatment history and the subsequent probability of antibiotic-resistant bacteria identified in urine cultures to further guide clinicians in understanding these risk factors.

Methods:

Using the XGBoost algorithm, a retrospective cohort of outpatients with urine culture results and antibiotic prescriptions from 2017 to 2022 was used to develop models for predicting antibiotic resistance for three classes of antibiotics: cephalosporins, fluoroquinolones, and trimethoprim/sulfamethoxazole (TMP/SMX) obtained from urine cultures. Model performance was assessed using Area Under the Receiver Operating Characteristic curve (AUC) and Precision-Recall AUC (PRAUC)

Results:

There were 392,647 prior urine cultures identified in 214,656 patients. A history of bacterial resistance to the specific treatment was the most important predictor of subsequent resistance for positive cultures, followed by a history of specific antibiotic exposure. The models performed better than previously established risk factors alone, especially for fluoroquinolone resistance, with an AUC of .84 and PRAUC of .70. Notably, the models’ performance improved markedly (AUC = .90, PRAUC = .87) when applied to cultures from patients with a known history of resistance to any of the antibiotic classes.

Conclusion:

These predictive models demonstrate potential in guiding antibiotic prescription and improving infection management.

Type
Original Article
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), 2024. Published by Cambridge University Press on behalf of The Society for Healthcare Epidemiology of America

Introduction

The efficacy of antibiotic treatment for urinary tract infection (UTI) is in part dependent on the susceptibility of the infecting pathogen; however, prescribing decisions are often made empirically before culture results become available. There is a need for tools that can support a clinician’s ability to select effective empirical therapy. As UTIs usually result from colonization with exogenous or endogenous Gram-negative flora; prior hospitalization, antibiotic exposure, and previous culture of antibiotic-resistant organisms are known risk factors for subsequent culture of multi-drugresistant organisms (MDRO). Reference Linsenmeyer, Strymish and Gupta1Reference Gupta8 In contrast, clonal spread of resistance determinants may result in pathogens that are resistant to antibiotics that the patient has not previously received. Reference Colpan, Johnston and Porter9,Reference Johnson, Johnston, Thuras, Launer, Sokurenko and Miller10 Several tertiary references recommend that prior hospitalization, antibiotic exposure, or prior antibiotic resistance to commonly utilized UTI treatments within the past three months is an indication for initial therapy with a carbapenem or aminoglycoside. Reference Gupta, Hooton and Naber6Reference Gupta8 The optimal approach to utilizing these risk factor data is unclear. The Veterans Health Administration (VHA) is the largest integrated healthcare system in the United States with over 9 million Veterans, for which antibacterial prescription and susceptibility data are captured electronically. Reference Fihn, Francis and Clancy11 Therefore, VHA data offers unique insight into the study of the temporal relationship between antibiotic exposure and bacterial resistance.

To provide further insight into the relationships between these risk factors and subsequent antibiotic resistance we evaluated susceptibility profiles of Enterobacterales from urine cultures collected from veterans in the outpatient setting. These data were used to 1) examine the relationship between past antibiotic class exposures, prior antibiotic resistance identified through culture, and subsequent urine culture susceptibility profiles to enhance understanding of antibiotic selective pressure, and 2) develop predictive models to support choice of empiric antibiotics pending results of susceptibility testing. In particular, we sought to predict the probability that a pathogen recovered from urine culture was susceptible (or resistant) to any of three commonly utilized classes of antibiotics utilized to treat UTIs: fluoroquinolones (FQ), trimethoprim/sulfamethoxazole (TMP/SMX), or cephalosporins (cephs).

Methods

A retrospective cohort of veterans with urine culture results obtained between January 2015 and October 2022 with outpatient antibiotic prescription data of interest available was developed. For each culture, we identified organisms of interest including Escherichia coli (E. coli), Citrobacter spp., Enterobacter spp., Klebsiella spp., Proteus spp., and Serratia spp., and established whether they were susceptible (S), intermediate (I), or resistant(R) to ceph (any reported generation), FQ, and TMP/SMX. To predict resistance on subsequent culture in the outpatient setting, we evaluated cultures for all patients (inpatient and outpatient settings) with susceptibility results available for the three antibiotic classes of interest. For each qualifying culture, we identified a collection date. If two positive cultures were collected from a patient on the same day they were combined and counted as resistant if at least one of the cultures was resistant (Figure 1). For each antibiotic, values of susceptible or intermediate were classified as susceptible to create a binary variable.

Figure 1. Consort diagram showing number of urine cultures and number of unique patients with urine cultures at each step of data cleaning. CDW, Corporate Data Warehouse; NH, Nursing Home.

The following data elements were extracted from the VHA Corporate Data Warehouse: patient demographics (age, sex, and Charlson comorbidity index), culture collection date, organism identification and semi-quantitative sensitivity results, outpatient antibiotic prescription history, dates and types of healthcare exposures including acute care admissions and nursing home stays. Reference Fihn, Francis and Clancy11,Reference Glasheen, Cordier, Gumpina, Haugh, Davis and Renda12 We connected each subsequent (i.e., index) culture to patient demographics, treatment history, and patient-specific positive and negative urine culture history.

Treatment history was defined as the number of prescriptions the patient received for each antibiotic class within weekly intervals prior to the positive index urine culture. Similarly, a negative culture history variable was based on the number of negative cultures, i.e., cultures that came back with no organisms identified collected in identical time intervals. Finally, the positive culture history variable included a count of resistant positive cultures in one feature and count of susceptible positive cultures in another feature for ceph, FQ, and TMP/SMX prior to the index positive urine culture. The weekly intervals used to classify variables have been shown to capture the effect of patients’ history on the subsequent development of resistance. Reference Yelin, Snitser and Novich13

The following covariates were considered to develop each model: prior inpatient stay within the last 90 or 365 days, prior nursing home stay within the last 90 or 365 days; age, sex, Charlson Comorbidity Index, date by quarter for trend, quarter alone for seasonality, history of antibiotic prescription (set A), history of negative cultures (set A), and positive culture history (set B) (Table 1).

Table 1. Week intervals used for summarizing antibiotic prescription and culture collection history

We used the XGBoost algorithm, an ensemble approach that uses gradient boosted decision-trees to derive predictive models for estimating the probability that a pathogen recovered from culture was resistant to each ceph, FQ, and TMP/SMX antibiotic class. Reference Chen and Guestrin14 The importance of each predictor using built-in XGBoost output which calculates the fractional contribution of each predictor to the model based on the total gain in performance of the predictors’ decision tree splits was utilized. A higher percentage indicates a more important predictor. Finally, Shapley Additive Explanations (SHAP), a value that expresses the additive contribution of each feature to the predicted value, was used to evaluate the direction and magnitude of main effects and to assess the interactions between having a history of resistant or susceptible urine culture and having had an antibiotic treatment. Reference Lundberg and Lee15 Interactions were assessed by calculating the average change in the SHAP values based on the presence of treatment in each interval dependent on the presence or absence of a resistant or susceptible culture in each interval (Table S1).

The generalizable performance of each model was estimated by training on a random 80% of data and tested on the remaining 20%. Before fitting a model on full training data, five-fold cross-validation within the training set to tune hyperparameters: max depth, η (learning rate), and number of rounds (trees). Area under the receiver operating characteristic curve (AUROC or AUC) was used to assess performance for both cross-validation, model fitting, and importance metrics. To assess performance on the test set, precision-recall (PR) curves, representing the trade-off between sensitivity and positive predictive value (PPV), and the area under the PR curves were calculated. Using precision, or PPV instead of specificity is particularly useful in the presence of an imbalanced outcome when a strong specificity is more easily achievable due to the smaller rate of positive outcomes. ROC curves and PR curves were compared to the sensitivity and specificity as well as sensitivity and PPV which could be achieved on test set patients based on previously published MDRO risk factors Reference Gupta, Hooton and Naber6Reference Gupta8 for selection of empirical antibiotic treatment for UTI including:

  1. 1. Antibiotic-resistant Gram-negative urinary isolate cultured in the prior 3 months

  2. 2. Recent (3 months) specific antibiotic exposures (i.e., FQ, TMP/SMX, ceph)

  3. 3. Recent (3 months) inpatient stay (i.e., hospital, nursing home, and long-term acute care facility)

Each model was assessed for calibration, first by estimating the calibration intercept and slope as well as by fitting smoothed curves to show the relationship between estimated risk and observed proportion of events. Reference Van Calster, McLernon, Van Smeden, Wynants and Steyerberg16 All analyses were conducted using R version 4.1.0 17 using the XGBoost package. Reference Chen, He and Benesty18 This research complies with all federal guidelines and Department of Veterans Affairs policies relative to human subject research.

Results

The cohort included 392,647 positive urine cultures obtained from 214,656 unique patients with a complete treatment history obtained between 2017 and 2022. Patients were elderly, predominantly male, and had moderate co-morbidity (Table 2). The majority (54%) of positive urine cultures grew Escherichia coli (Table S2). Of those cultures, 14.9, 27.4, and 24.5 percent were resistant to ceph, FQ, and TMP/SMX, respectively.

Table 2. Summary of unique patients and prior exposures

Based on tuning from cross-validation on the training set, an XGboost model with 30 trees, a max depth of 7, and a learning rate (η) of .3 was fit for predicting the probability that an index culture was resistant for each of the antibiotic classes of interest. When applied to test data, model AUCs were .76, .84, and .79 and PRAUCs were .52, .70, and .60 for ceph, FQ, and TMP/SMX, respectively (Figure 2). At a negative predictive value of .90, the ceph model achieved a PPV of .35, a specificity of .75, and sensitivity of .63, the FQ model achieved a PPV of .72, a specificity of .94, and a sensitivity of .60, and the TMP/SMX model achieved a PPV of .41, a specificity of .76, and a sensitivity of .67. At a lower negative predictive value of .82, the PPV for all three antibiotics improved (ceph .93, FQ .93, TMP/SMX .88), the specificity is 1.00, but the sensitivity drops (ceph .01, FQ .15, TMP/SMX .13). The distribution of predictions on the test set for each model was right-skewed and uni-modal for antibiotic susceptible cultures but was bimodal for resistant cultures indicating strong specificity but not necessarily strong sensitivity or negative predictive values (Figure S1). The ROC and PR curves demonstrate that the XGBoost-derived models outperformed MDRO risk factor criteria in terms of sensitivity, specificity, and PPV (Figure 2). The same is true when the MDRO risk factor criteria were compared for any or all ceph, FQ, or TMP/SMX previous resistant isolates or antibiotic exposures for each resistance outcome (Figure S2).

Figure 2. Receiver operating characteristic (Left) and precision-recall (Right) curves for each predictive model. Trade-off between sensitivity and specificity (Left) and precision and recall (right). Individual points represent performance of referenced risk criteria for exposure or isolation specific to each resistance outcome by color.

All three models achieved weak (i.e. not over- or underestimating risk) calibration with calibration intercepts close to 0 and calibration slopes close to 1 (Figure S3).

A history of antibiotic resistance to the specific treatment was the most important predictor of subsequent resistance for positive index cultures, followed by a history of specific antibiotic exposures. The next most influential variable for FQ and TMP/SMX models was patient age with a 96% relative decrease in importance from the most important variable. The next most influential variable in the ceph model was the Charlson Comorbidity Index with a 90% relative decrease in importance.

A history of antibiotic resistance between 8 and 16 weeks prior to index culture was the most important predictor of resistance for all three models (Figure 3). The interval of 1 to 8 weeks prior contained the most important predictors related to treatment history with the specific antibiotic class on index culture susceptibility (Figure 4). Neither Figure 3 nor Figure 4 suggest evidence of prior resistance or antibiotic prescription influencing subsequent antibiotic resistance to a different class on index culture.

Figure 3. Optimal time-window in weeks for prior antibiotic resistance to predict subsequent culture of antibiotic resistance isolates. The week interval x-axis represents the presence of a resistant sample in weekly periods of study. The color and the annotated text represent the gain in area under the receiver operating characteristic curve when the variable is included in the predictive model.

Figure 4. Heat plot presenting the importance of treatment history of a range of antibiotics for predicting the outcomes. The x-axis represents the presence of a resistant isolate in culture at weekly interval. The color and the annotated text represent the gain in AUC when the variable is included in the predictive model.

The SHAP value represents the contribution of prior antibiotic exposure and resistance history to the predicted value for the full model (Figure S4). All plots indicate the variables have a positive effect on the prediction of subsequent resistance. The smallest contribution occurred with prior ceph exposure or ceph resistance, and the largest contribution occurred with prior FQ exposure or resistance which is consistent with Figures 4 & 5. Finally, there is evidence of an interaction between each prior treatment and history of a resistant or susceptible culture to the prescribed treatment (Figure S5). The contribution of treatment to the prediction is lessened when there is a history of a resistant culture and increases when there is history of a susceptible culture. The size of the interaction is less for ceph than it is for either FQ or TMP/SMX. The impact of prior cumulative antibiotic class exposures across multiple time intervals does not appear to be additive to the subsequent identification of resistance in the index culture (Figure 5). This decrease in effect dissipates as the treatment time intervals increase. As seen previously, this interaction effect is less strong in ceph.

Figure 5. Heat plot presenting the difference in average SHAP values for antibiotic exposed versus unexposed cases by week interval (x-axis), according to whether or not there is a history of the same antibiotic class exposure in a different weekly interval (y-axis). The color represents the magnitude of difference, i.e., the interaction effect. Blue suggests that the effect of the treatment on the prediction is lessened among individuals who have a history of treatment during a different week interval. In some circumstances, predictive power was reduced when individuals received treatment during multiple time intervals. eg, the -.44 in the middle panel at the 4 on the x-axis and 2 on the y-axis suggests that the difference in average Shapley Additive Explanations value between those having received fluoroquinolones (FQ) treatment 2–4 weeks prior and not having received FQ treatment 2–4 weeks prior decreases by .44 in those who also had treatment with FQ 1–2 weeks ago.

In a post-hoc analysis, the predictive performance restricted to cultures with any history of susceptibilities reported (i.e., any isolate with susceptibilities reported for ceph, FQ, or TMP/SMX) achieved AUC of .83, .91, and .87 and PRAUC of .65, .83, and .73 for ceph, FQ, and TMP/SMX models, respectively. This provides strong evidence that the models perform better when used to predict resistance for positive urine cultures with any prior history of resistance (P-value < .0001).

Discussion

Successful management of bacterial infections depends on prescribing antibiotics that are active against the causative pathogen. Models to predict the probability of resistance have the potential to improve the empiric choice of antibiotics. Our approach extends previously published models of resistance in urinary pathogens in several key ways. Reference Yelin, Snitser and Novich13,Reference Rich, Jun and Bian19,Reference Kanjilal, Oberst, Boominathan, Zhou, Hooper and Sontag20 We created a longitudinal dataset from VA electronic health records that was national in scope, representing diverse populations and multiple types of outpatient settings. Novel predictors in our analysis included history of negative urine cultures and history of urine cultures that yielded bacteria resistant to drugs other than the target antibiotic. We used SHAP values to interpret the relative contribution of different variables to the predictive model and to explore interactions.

Our models confirm that recovery of antibiotic-resistant organisms in prior cultures, followed by antecedent antibiotic exposure, are the most important predictors for antibiotic resistance to ceph, FQ, and TMP/SMX. We found that the model of FQ resistance had the highest accuracy, followed by TMP/SMX, then ceph. Similarly, prior treatment with FQ was a better predictor of FQ resistance than TMP/SMX was for TMP/SMX resistance, which was stronger than for ceph treatment and ceph resistance. The time window for which treatment had its maximal predictive power was 1-4 weeks prior to the index culture. However, for all three outcomes, a history of prior antibiotic resistance during the time window of 8 -16 weeks was more predictive of resistance than history of resistance during the time window of 1-7 weeks. This surprising finding should be examined in other patient populations.

Another striking finding was that history of prior resistance to antibiotics other than the target class was far weaker as a predictor than history of resistance to the target antibiotic class, despite the correlation between susceptibility results for ceph, FQ, and TMP/SMX. Moreover, exposures to antibiotics other than the target antibiotic class were relatively not predictive of resistance to the target drug. Similar results have been previously reported. Reference Yelin, Snitser and Novich13 The lack of evidence of co-selection may at least in part be explained by the built-in regularization of the XGBoost algorithm which can diminish the importance of the final prediction of a feature in a collinear set.

Our models outperform the published risk factor criteria for UTI treatment, though it is important to recognize that the prior risk factors were originally developed to identify patients with likely MDRO and not necessarily select appropriate treatment. Reference Gupta, Hooton and Naber6Reference Gupta8 Similar to other studies, we found that prior exposure in healthcare settings, which is sometimes used as a proxy for history of resistance, had low predictive power.

SHAP scores are useful for quantifying the explanatory power of individual features and for exploring how a feature’s predictive power depends on the values of other features. However, they should not be interpreted as estimations of causal effects. Using SHAP values to explain the magnitude and direction of feature effects, there was evidence of interaction between a history of treatments in different intervals and a history of resistant or susceptible culture. Both Figure S4 and Figure 5 suggest that treatments do not have additive contributions within or between intervals, respectively. They also suggest that the combination of a history of susceptible form of an organism plus treatment with the target antibiotic is predictive of the emergence of resistance.

These models condition on the presence of a positive culture. Therefore, its potential usefulness for clinical decision-making would be to guide therapy during the interval from when it is known that a urine culture is positive to the time that susceptibility results are reported. Our models could be combined with a model that predicts whether the culture is positive to guide antibiotic choice at the time the urine specimen is collected, in the situation where empiric treatment is warranted. Due to the models’ calibration, they are best used as a risk prediction for which a clinician determines a course of action based on the continuous risk value (Figure S3). This would allow the clinician to choose their own risk threshold, which is often dependent on the patient’s morbidity.

The study has several limitations. First, as stated above, the predicted outcome is antibiotic resistance, given a positive urine culture. As a result, this prediction can not be used before the determination that the urine culture has yielded an enteric Gram-negative rod. However, it is feasible to develop a predictive model for a positive urine culture test and to condition based upon a positive urine culture prediction. Further research is needed to assess the effect of conditioning on a previous prediction. Second, our analysis of antibiotic exposure did not include treatments administered in acute care hospitals or nursing homes or cultures or treatments received outside of the VHA system, a more general limitation of integrating prediction models into an electronic medical record. Finally, we did not compare different machine learning algorithms. Some methods, such as the random forest conditional permutation algorithm, have been developed to be robust to collinearity when measuring importance. However, this algorithm is memory-intensive and computationally intractable for this data in the VHA system. In conclusion, we developed a decision-making tool that incorporates a patient’s history in order to guide antibiotic prescription. We demonstrate that these tools, especially the FQ model, have strong discriminatory performance and predict risk that reflects observed event rates. Such a predictive model can potentially improve the management of infection and guide the use of antibiotics in the VHA.

Supplementary material

To view supplementary material for this article, please visit https://doi.org/10.1017/ash.2024.377

Acknowledgments

None

Author contribution

BJB and MHS conceptualized and designed the study. MN curated the data. BJB conducted the statistical analysis. KMK contributed important intellectual content and revised the manuscript. BJB drafted the initial manuscript. All authors revised and approved the final version.

Financial support

This study was funded by the Center for Disease Control Modeling Infectious Diseases in Healthcare Network under award number 1U01CK000585 (MHS). This investigation was supported by Translational Research: Implementation, Analysis and Design, with funding in part from the National Center for Advancing Translational Sciences of the National Institutes of Health under Award Number UM1TR004409 (BJB).

Competing interests

The authors report no relevant conflicts of interest.

Research Transparency and Reproducibility

All data for our study were accessed by means of the Veterans Health Information Systems and Technology Architecture, through the Veterans Informatics and Computing Infrastructure, a computing environment that stores clinical data for research purposes.

References

Linsenmeyer, K, Strymish, J, Gupta, K. Two simple rules for improving the accuracy of empiric treatment of multidrug-resistant urinary tract infections. Antimicrob Agents Chemother 2015;59:75937596.CrossRefGoogle ScholarPubMed
Walker, E, Lyman, A, Gupta, K, Mahoney, MV, Snyder, GM, Hirsch, EB. Clinical management of an increasing threat: outpatient urinary tract infections due to multidrug-resistant uropathogens. Clin Infect Dis 2016;63:960965.CrossRefGoogle ScholarPubMed
Talan, DA, Takhar, SS, Krishnadasan, A, et al. Emergence of extended-spectrum β-lactamase urinary tract infections among hospitalized emergency department patients in the United States. Ann Emerg Med 2021;77:3243.CrossRefGoogle ScholarPubMed
Smithson, A, Chico, C, Ramos, J, et al. Prevalence and risk factors for quinolone resistance among Escherichia coli strains isolated from males with community febrile urinary tract infection. Eur J Clin Microbiol Infect Dis 2012;31:423430.CrossRefGoogle ScholarPubMed
Khawcharoenporn, T, Vasoo, S, Singh, K. Urinary tract infections due to multidrug-resistant Enterobacteriaceae: prevalence and risk factors in a Chicago emergency department. Emerg Med Int 2013;2013:258517.CrossRefGoogle Scholar
Gupta, K, Hooton, TM, Naber, KG, et al. Infectious Diseases Society of America; European Society for Microbiology and Infectious Diseases. International clinical practice guidelines for the treatment of acute uncomplicated cystitis and pyelonephritis in women: a 2010 update by the Infectious Diseases Society of America and the European Society for Microbiology and Infectious Diseases. Clin Infect Dis 2011;52:e103e120.CrossRefGoogle Scholar
Gupta, K, Hooton, T. Acute complicated urinary tract infection (including pyelonephritis) in adults. UpToDate Retrieved March 2021;21:2022.Google Scholar
Gupta, K. Acute simple cystitis in adult males. UpToDate Retrieved March 2021;21:2022.Google Scholar
Colpan, A, Johnston, B, Porter, S, et al. VICTORY (Veterans Influence of Clonal Types on Resistance: Year 2011) investigators. Escherichia coli sequence type 131 (ST131) subclone H30 as an emergent multidrug-resistant pathogen among US veterans. Clin Infect Dis 2013;57:12561265.CrossRefGoogle ScholarPubMed
Johnson, JR, Johnston, B, Thuras, P, Launer, B, Sokurenko, EV, Miller, LG. Escherichia coli sequence type 131 H30 is the main driver of emerging extended-spectrum-β-lactamase-producing E. coli at a tertiary care center. mSphere 2016;1:e00314e00316.CrossRefGoogle ScholarPubMed
Fihn, SD, Francis, J, Clancy, C, et al. Insights from advanced analytics at the Veterans Health Administration. Health Aff (Millwood) 2014;33:12031211.CrossRefGoogle ScholarPubMed
Glasheen, WP, Cordier, T, Gumpina, R, Haugh, G, Davis, J, Renda, A. Charlson comorbidity index: ICD-9 update and ICD-10 translation. Am Health Drug Benefits 2019;12:188197.Google ScholarPubMed
Yelin, I, Snitser, O, Novich, G, et al. Personal clinical history predicts antibiotic resistance of urinary tract infections. Nat Med 2019;25:11431152.CrossRefGoogle ScholarPubMed
Chen, T, Guestrin, C. Xgboost: A scalable tree boosting system. In: Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining; 2016. p. 785–794.CrossRefGoogle Scholar
Lundberg, SM, Lee, SI. A unified approach to interpreting model predictions. Adv Neural Inf Process Syst 2017;30:47684777.Google Scholar
Van Calster, B, McLernon, DJ, Van Smeden, M, Wynants, L, Steyerberg, EW. Calibration: the Achilles heel of predictive analytics. BMC medicine 2019;17:17.CrossRefGoogle ScholarPubMed
R Core Team. R: A Language and Environment for Statistical Computing. Vienna, Austria; 2021. Available from: https://www.R-project.org/.Google Scholar
Chen, T, He, T, Benesty, M, et al. xgboost: Extreme Gradient Boosting; 2021. R package version 1.4.1.1. Available from: https://CRAN.Rproject.org/package=xgboost.Google Scholar
Rich, SN, Jun, I, Bian, J, et al. Development of a prediction model for antibiotic-resistant urinary tract infections using integrated electronic health records from multiple clinics in North-Central Florida. Infect Dis and Ther 2022;11:18691882.CrossRefGoogle ScholarPubMed
Kanjilal, S, Oberst, M, Boominathan, S, Zhou, H, Hooper, DC, Sontag, D. A decision algorithm to promote outpatient antimicrobial stewardship for uncomplicated urinary tract infection. Sci Transl Med 2020;12:eaay5067.CrossRefGoogle ScholarPubMed
Figure 0

Figure 1. Consort diagram showing number of urine cultures and number of unique patients with urine cultures at each step of data cleaning. CDW, Corporate Data Warehouse; NH, Nursing Home.

Figure 1

Table 1. Week intervals used for summarizing antibiotic prescription and culture collection history

Figure 2

Table 2. Summary of unique patients and prior exposures

Figure 3

Figure 2. Receiver operating characteristic (Left) and precision-recall (Right) curves for each predictive model. Trade-off between sensitivity and specificity (Left) and precision and recall (right). Individual points represent performance of referenced risk criteria for exposure or isolation specific to each resistance outcome by color.

Figure 4

Figure 3. Optimal time-window in weeks for prior antibiotic resistance to predict subsequent culture of antibiotic resistance isolates. The week interval x-axis represents the presence of a resistant sample in weekly periods of study. The color and the annotated text represent the gain in area under the receiver operating characteristic curve when the variable is included in the predictive model.

Figure 5

Figure 4. Heat plot presenting the importance of treatment history of a range of antibiotics for predicting the outcomes. The x-axis represents the presence of a resistant isolate in culture at weekly interval. The color and the annotated text represent the gain in AUC when the variable is included in the predictive model.

Figure 6

Figure 5. Heat plot presenting the difference in average SHAP values for antibiotic exposed versus unexposed cases by week interval (x-axis), according to whether or not there is a history of the same antibiotic class exposure in a different weekly interval (y-axis). The color represents the magnitude of difference, i.e., the interaction effect. Blue suggests that the effect of the treatment on the prediction is lessened among individuals who have a history of treatment during a different week interval. In some circumstances, predictive power was reduced when individuals received treatment during multiple time intervals. eg, the -.44 in the middle panel at the 4 on the x-axis and 2 on the y-axis suggests that the difference in average Shapley Additive Explanations value between those having received fluoroquinolones (FQ) treatment 2–4 weeks prior and not having received FQ treatment 2–4 weeks prior decreases by .44 in those who also had treatment with FQ 1–2 weeks ago.

Supplementary material: File

Brintz et al. supplementary material

Brintz et al. supplementary material
Download Brintz et al. supplementary material(File)
File 2 MB