PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
January 14, 2026Open Forum Infectious Diseases1 citationsOpen Access

P-780. Machine Learning Models for Early Urinary Tract Infection (UTI) Prediction from Electronic Health Records

View Full Paper
NMNicholas P MarshallFAFatemeh AmrollahiFHFateme Nateghi Haredasht

Key Points

  • To develop machine learning models that accurately predict urinary tract infections using electronic health record data at the time of urine culture order.
  • Developed machine learning models using structured electronic health record data from adult patients.
  • Analyzed 300,381 urine cultures from 164,327 patients across two hospitals.
  • Models trained with XGBoost and assessed using ROC-AUC, NPV, and PPV metrics.
  • Baseline model achieved ROC-AUC of 0.73 with high NPV (95%) but low specificity (51%).
  • Model I improved ROC-AUC to 0.81, specificity to 67%, and PPV to 24%.
  • Model II, including prior antibiotic prescriptions, reached ROC-AUC of 0.89 with specificity of 80% and PPV of 35%.

Abstract

Abstract Background Antibiotic resistance is a growing global threat, and urinary tract infections (UTIs) are a leading driver of inappropriate antibiotic use. Diagnosing true UTIs at the time of culture order is challenging due to variable symptoms and delayed test results, often leading to over-treatment, resistance, drug-related complications, and increased costs. Missed diagnoses risk progression to severe infection. Predictive models using routinely collected electronic health record (EHR) data offer a promising, real-time solution to support stewardship and early decision-making.Table 1:EHR-integrated models feature set description.Figure 1:EHR-integrated models’ performance in terms of AUC-ROC and precision-recall curve. Methods We developed machine learning models to predict clinical UTIs at the time of urine culture order using structured EHR data. Our dataset included 300,381 urine cultures from 164,327 adult patients at two academic and community hospitals (2015- 2024). A previously validated electronic phenotype (Ma et al., 2024) served as the proxy label, combining microbiologic and treatment criteria. Features included demographics, vital signs, and labs within 24 hours prior to and 2 hours after culture order. Two enhanced models incorporated recent diagnoses and antibiotic use (14 days prior). Models were trained with XGBoost. Performance was assessed on a held-out test set (2023- 2024) using ROC-AUC, NPV, and PPV at sensitivity ≥ 80%.Table 2:EHR-integrated models’ AUC-ROC, specificity, negative predictive value (NPV), and positive predictive value (PPV) at threshold where sensitivity is greater than or equal to 80%. Results The baseline model, using only vital signs and labs, achieved an ROC-AUC of 0.73. At 80% sensitivity, it demonstrated high NPV (95%) but limited specificity (51%) and PPV (18%), making it more useful for ruling out UTIs than confirming them. Adding recent ICD-coded diagnoses (Model I) improved ROC-AUC to 0.81, with better specificity (67%) and PPV (24%), and excellent NPV (99%). Model II, which also included prior antibiotic prescriptions, achieved the highest performance: ROC-AUC 0.89, specificity 80%, NPV 97%, and PPV 35%. Conclusion Structured EHR data available at the time of urine culture order can be leveraged to accurately predict clinical UTIs. Incorporating recent diagnoses and antibiotic use significantly enhances performance, enabling scalable, real-time decision support to improve diagnostic precision, guide empiric therapy, and advance antimicrobial stewardship. Disclosures Jonathan H. Chen, MD, PhD, Reaction Explorer: Ownership Interest

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Marshall et al. (2026) studied this question.

synapsesocial.com/papers/6966f2e313bf7a6f02c0029dhttps://doi.org/10.1093/ofid/ofaf695.991
Ask AI
Helpful
Bookmark
Share
View Full Paper