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 Ther. 2022 Oct;11(5):1869-1882. doi: 10.1007/s40121-022-00677-x. Epub 2022 Jul 31.

Abstract

Introduction: Urinary tract infections (UTIs) are common infections for which initial antibiotic treatment decisions are empirically based, often without antibiotic susceptibility testing to evaluate resistance, increasing the risk of inappropriate therapy. We hypothesized that models based on electronic health records (EHR) could assist in the identification of patients at higher risk for antibiotic-resistant UTIs and help guide the selection of antimicrobials in hospital and clinic settings.

Methods: EHR from multiple centers in North-Central Florida, including patient demographics, previous diagnoses, prescriptions, and antibiotic susceptibility tests, were obtained for 9990 patients diagnosed with a UTI during 2011-2019. Decision trees, boosted logistic regression (BLR), and random forest models were developed to predict resistance to common antibiotics used for UTI management [sulfamethoxazole-trimethoprim (SXT), nitrofurantoin (NIT), ciprofloxacin (CIP)] and multidrug resistance (MDR).

Results: There were 6307 (63.1%) individuals with a UTI caused by a resistant microorganism. Overall, the population was majority female, white, non-Hispanic, and older aged (mean = 60.7 years). The BLR models yielded the highest discriminative ability, as measured by the out-of-bag area under the receiver-operating curve (AUROC), for the resistance outcomes [AUROC = 0.58 (SXT), 0.62 (NIT), 0.64 (CIP), and 0.66 (MDR)]. Variables in the best performing model were sex, history of UTIs, catheterization, renal disease, dementia, hemiplegia/paraplegia, and hypertension.

Conclusions: The discriminative ability of the prediction models was moderate. Nonetheless, these models based solely on EHR demonstrate utility for the identification of patients at higher risk for resistant infections. These models, in turn, may help guide clinical decision-making on the ordering of urine cultures and decisions regarding empiric therapy for these patients.

Keywords: Antimicrobial resistance; Clinical decision support; Electronic health records; Machine learning; Urinary tract infections.