Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Machine learning for the prediction of urosepsis using electronic health record data

Varuni Sarwal, Nadav Rakocz, Georgina Dominique, Jeffrey N. Chiang, View ORCID ProfileA. Lenore Ackerman
doi: https://doi.org/10.1101/2024.05.28.24306956
Varuni Sarwal
1Department of Computer Science, University of California Los Angeles, 580 Portola Plaza, Los Angeles, CA 90095, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Nadav Rakocz
1Department of Computer Science, University of California Los Angeles, 580 Portola Plaza, Los Angeles, CA 90095, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Georgina Dominique
3Division of Pelvic Medicine and Reconstructive Surgery, Department of Urology, David Geffen School of Medicine at UCLA, Los Angeles, CA, United States
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Jeffrey N. Chiang
2Department of Computational Medicine, University of California Los Angeles, Los Angeles, CA, USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
A. Lenore Ackerman
3Division of Pelvic Medicine and Reconstructive Surgery, Department of Urology, David Geffen School of Medicine at UCLA, Los Angeles, CA, United States
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for A. Lenore Ackerman
  • For correspondence: aackerman{at}mednet.ucla.edu
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Supplementary material
  • Data/Code
  • Preview PDF
Loading

Abstract

Urosepsis, a medical condition resulting from the progression of urinary tract infection (UTI), is a leading cause of death in hospitals in the United States. Urosepsis commonly occurs due to complicated UTI and constitutes approximately 25% of all sepsis cases. Early prediction of urosepsis is critical in providing personalized care, reducing diagnostic uncertainty, and ultimately lowering mortality rates. While machine learning techniques have the potential to aid healthcare professionals in identifying potential risk factors, and high-risk patients, and recommending treatment options, no existing study has been developed so far to predict the development of urosepsis in patients with a suspected UTI presenting to an outpatient setting. In this research study, we develop and evaluate the utility of multiple machine learning models to predict the likelihood of hospital admission and urosepsis diagnosis for patients with an outpatient UTI encounter, leveraging de-identified electronic health records sourced from a large health care system encompassing a wide range of encounters spanning primary to quaternary care. Inclusion criteria included a positive diagnosis of urinary tract infection indicated by ICD-10 code N30 or N93.0 and positive bacteria result via urinalysis in an ambulatory setting (primary or emergent care settings). For these patients, we extracted demographic information, urinalysis findings, and any antibiotics prescribed for each instance of UTI. Reencounters we defined as all encounters within seven days of the initial UTI encounter. The reencounters were considered urosepsis-related if matching positive blood and urine cultures were found with a sepsis ICD-10 code of A41, R78, or R65. A variety of machine learning models were trained on this rich feature set and were evaluated on two tasks: the prediction of a reencounter leading to hospitalization, and the prediction of Urosepsis. Model performances were stratified by the patient ethnicities. Our models demonstrated high predictive performance with an area under the ROC curve (AUC) of 79.5% AUC and an area under the precision-recall curve (APR) of 13% APR for reencounters, and 90% ROC and 31% APR for Urosepsis. We computed shapley values to interpret our model predictions and found the patient age, sex, and urinary WBC count were the top three predictive features. Our study has the potential to assist clinicians in the identification of high-risk patients, making more informed decisions about antibiotic prescription and providing improved patient care.

Competing Interest Statement

ALA receives grant funding from Medtronic, Inc. and MicrogenDx and is an advisor for Abbvie, GlaxoSmithKline, and Watershed Medical.

Funding Statement

ALA is supported by NIDDK K08DK118176 and Department of Defense PRMRP W81XWH2110644.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

This research was deemed non-human subjects research and exempt (ethical approval was waived) by the University of California, Los Angeles Institutional Review Board (IRB#21-001403).

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Footnotes

  • Data and Code Availability Data and code used in this paper are not publicly available, due to institutional data policy. The code will be deidentified and repackaged to be made publicly available if this paper is accepted for production.

  • Institutional Review Board (IRB) This research was deemed non-human subjects research and exempt by the local Institutional Review Board (IRB#21-001403).

Data Availability

Data and code used in this paper are not publicly available, due to institutional data policy. The code will be deidentified and repackaged to be made publicly available if this paper is accepted for production.

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. All rights reserved. No reuse allowed without permission.
Back to top
PreviousNext
Posted May 28, 2024.
Download PDF

Supplementary Material

Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Machine learning for the prediction of urosepsis using electronic health record data
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Machine learning for the prediction of urosepsis using electronic health record data
Varuni Sarwal, Nadav Rakocz, Georgina Dominique, Jeffrey N. Chiang, A. Lenore Ackerman
medRxiv 2024.05.28.24306956; doi: https://doi.org/10.1101/2024.05.28.24306956
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Machine learning for the prediction of urosepsis using electronic health record data
Varuni Sarwal, Nadav Rakocz, Georgina Dominique, Jeffrey N. Chiang, A. Lenore Ackerman
medRxiv 2024.05.28.24306956; doi: https://doi.org/10.1101/2024.05.28.24306956

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Urology
Subject Areas
All Articles
  • Addiction Medicine (349)
  • Allergy and Immunology (668)
  • Allergy and Immunology (668)
  • Anesthesia (181)
  • Cardiovascular Medicine (2648)
  • Dentistry and Oral Medicine (316)
  • Dermatology (223)
  • Emergency Medicine (399)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (942)
  • Epidemiology (12228)
  • Forensic Medicine (10)
  • Gastroenterology (759)
  • Genetic and Genomic Medicine (4103)
  • Geriatric Medicine (387)
  • Health Economics (680)
  • Health Informatics (2657)
  • Health Policy (1005)
  • Health Systems and Quality Improvement (985)
  • Hematology (363)
  • HIV/AIDS (851)
  • Infectious Diseases (except HIV/AIDS) (13695)
  • Intensive Care and Critical Care Medicine (797)
  • Medical Education (399)
  • Medical Ethics (109)
  • Nephrology (436)
  • Neurology (3882)
  • Nursing (209)
  • Nutrition (577)
  • Obstetrics and Gynecology (739)
  • Occupational and Environmental Health (695)
  • Oncology (2030)
  • Ophthalmology (585)
  • Orthopedics (240)
  • Otolaryngology (306)
  • Pain Medicine (250)
  • Palliative Medicine (75)
  • Pathology (473)
  • Pediatrics (1115)
  • Pharmacology and Therapeutics (466)
  • Primary Care Research (452)
  • Psychiatry and Clinical Psychology (3432)
  • Public and Global Health (6527)
  • Radiology and Imaging (1403)
  • Rehabilitation Medicine and Physical Therapy (814)
  • Respiratory Medicine (871)
  • Rheumatology (409)
  • Sexual and Reproductive Health (410)
  • Sports Medicine (342)
  • Surgery (448)
  • Toxicology (53)
  • Transplantation (185)
  • Urology (165)