Cargando…
Can the application of machine learning to electronic health records guide antibiotic prescribing decisions for suspected urinary tract infection in the Emergency Department?
Urinary tract infections (UTIs) are a major cause of emergency hospital admissions, but it remains challenging to diagnose them reliably. Application of machine learning (ML) to routine patient data could support clinical decision-making. We developed a ML model predicting bacteriuria in the ED and...
Autores principales: | , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10263340/ https://www.ncbi.nlm.nih.gov/pubmed/37310941 http://dx.doi.org/10.1371/journal.pdig.0000261 |
_version_ | 1785058219984420864 |
---|---|
author | Rockenschaub, Patrick Gill, Martin J. McNulty, Dave Carroll, Orlagh Freemantle, Nick Shallcross, Laura |
author_facet | Rockenschaub, Patrick Gill, Martin J. McNulty, Dave Carroll, Orlagh Freemantle, Nick Shallcross, Laura |
author_sort | Rockenschaub, Patrick |
collection | PubMed |
description | Urinary tract infections (UTIs) are a major cause of emergency hospital admissions, but it remains challenging to diagnose them reliably. Application of machine learning (ML) to routine patient data could support clinical decision-making. We developed a ML model predicting bacteriuria in the ED and evaluated its performance in key patient groups to determine scope for its future use to improve UTI diagnosis and thus guide antibiotic prescribing decisions in clinical practice. We used retrospective electronic health records from a large UK hospital (2011–2019). Non-pregnant adults who attended the ED and had a urine sample cultured were eligible for inclusion. The primary outcome was predominant bacterial growth ≥10(4) cfu/mL in urine. Predictors included demography, medical history, ED diagnoses, blood tests, and urine flow cytometry. Linear and tree-based models were trained via repeated cross-validation, re-calibrated, and validated on data from 2018/19. Changes in performance were investigated by age, sex, ethnicity, and suspected ED diagnosis, and compared to clinical judgement. Among 12,680 included samples, 4,677 (36.9%) showed bacterial growth. Relying primarily on flow cytometry parameters, our best model achieved an area under the ROC curve (AUC) of 0.813 (95% CI 0.792–0.834) in the test data, and achieved both higher sensitivity and specificity compared to proxies of clinician’s judgement. Performance remained stable for white and non-white patients but was lower during a period of laboratory procedure change in 2015, in patients ≥65 years (AUC 0.783, 95% CI 0.752–0.815), and in men (AUC 0.758, 95% CI 0.717–0.798). Performance was also slightly reduced in patients with recorded suspicion of UTI (AUC 0.797, 95% CI 0.765–0.828). Our results suggest scope for use of ML to inform antibiotic prescribing decisions by improving diagnosis of suspected UTI in the ED, but performance varied with patient characteristics. Clinical utility of predictive models for UTI is therefore likely to differ for important patient subgroups including women <65 years, women ≥65 years, and men. Tailored models and decision thresholds may be required that account for differences in achievable performance, background incidence, and risks of infectious complications in these groups. |
format | Online Article Text |
id | pubmed-10263340 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-102633402023-06-15 Can the application of machine learning to electronic health records guide antibiotic prescribing decisions for suspected urinary tract infection in the Emergency Department? Rockenschaub, Patrick Gill, Martin J. McNulty, Dave Carroll, Orlagh Freemantle, Nick Shallcross, Laura PLOS Digit Health Research Article Urinary tract infections (UTIs) are a major cause of emergency hospital admissions, but it remains challenging to diagnose them reliably. Application of machine learning (ML) to routine patient data could support clinical decision-making. We developed a ML model predicting bacteriuria in the ED and evaluated its performance in key patient groups to determine scope for its future use to improve UTI diagnosis and thus guide antibiotic prescribing decisions in clinical practice. We used retrospective electronic health records from a large UK hospital (2011–2019). Non-pregnant adults who attended the ED and had a urine sample cultured were eligible for inclusion. The primary outcome was predominant bacterial growth ≥10(4) cfu/mL in urine. Predictors included demography, medical history, ED diagnoses, blood tests, and urine flow cytometry. Linear and tree-based models were trained via repeated cross-validation, re-calibrated, and validated on data from 2018/19. Changes in performance were investigated by age, sex, ethnicity, and suspected ED diagnosis, and compared to clinical judgement. Among 12,680 included samples, 4,677 (36.9%) showed bacterial growth. Relying primarily on flow cytometry parameters, our best model achieved an area under the ROC curve (AUC) of 0.813 (95% CI 0.792–0.834) in the test data, and achieved both higher sensitivity and specificity compared to proxies of clinician’s judgement. Performance remained stable for white and non-white patients but was lower during a period of laboratory procedure change in 2015, in patients ≥65 years (AUC 0.783, 95% CI 0.752–0.815), and in men (AUC 0.758, 95% CI 0.717–0.798). Performance was also slightly reduced in patients with recorded suspicion of UTI (AUC 0.797, 95% CI 0.765–0.828). Our results suggest scope for use of ML to inform antibiotic prescribing decisions by improving diagnosis of suspected UTI in the ED, but performance varied with patient characteristics. Clinical utility of predictive models for UTI is therefore likely to differ for important patient subgroups including women <65 years, women ≥65 years, and men. Tailored models and decision thresholds may be required that account for differences in achievable performance, background incidence, and risks of infectious complications in these groups. Public Library of Science 2023-06-13 /pmc/articles/PMC10263340/ /pubmed/37310941 http://dx.doi.org/10.1371/journal.pdig.0000261 Text en © 2023 Rockenschaub et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Rockenschaub, Patrick Gill, Martin J. McNulty, Dave Carroll, Orlagh Freemantle, Nick Shallcross, Laura Can the application of machine learning to electronic health records guide antibiotic prescribing decisions for suspected urinary tract infection in the Emergency Department? |
title | Can the application of machine learning to electronic health records guide antibiotic prescribing decisions for suspected urinary tract infection in the Emergency Department? |
title_full | Can the application of machine learning to electronic health records guide antibiotic prescribing decisions for suspected urinary tract infection in the Emergency Department? |
title_fullStr | Can the application of machine learning to electronic health records guide antibiotic prescribing decisions for suspected urinary tract infection in the Emergency Department? |
title_full_unstemmed | Can the application of machine learning to electronic health records guide antibiotic prescribing decisions for suspected urinary tract infection in the Emergency Department? |
title_short | Can the application of machine learning to electronic health records guide antibiotic prescribing decisions for suspected urinary tract infection in the Emergency Department? |
title_sort | can the application of machine learning to electronic health records guide antibiotic prescribing decisions for suspected urinary tract infection in the emergency department? |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10263340/ https://www.ncbi.nlm.nih.gov/pubmed/37310941 http://dx.doi.org/10.1371/journal.pdig.0000261 |
work_keys_str_mv | AT rockenschaubpatrick cantheapplicationofmachinelearningtoelectronichealthrecordsguideantibioticprescribingdecisionsforsuspectedurinarytractinfectionintheemergencydepartment AT gillmartinj cantheapplicationofmachinelearningtoelectronichealthrecordsguideantibioticprescribingdecisionsforsuspectedurinarytractinfectionintheemergencydepartment AT mcnultydave cantheapplicationofmachinelearningtoelectronichealthrecordsguideantibioticprescribingdecisionsforsuspectedurinarytractinfectionintheemergencydepartment AT carrollorlagh cantheapplicationofmachinelearningtoelectronichealthrecordsguideantibioticprescribingdecisionsforsuspectedurinarytractinfectionintheemergencydepartment AT freemantlenick cantheapplicationofmachinelearningtoelectronichealthrecordsguideantibioticprescribingdecisionsforsuspectedurinarytractinfectionintheemergencydepartment AT shallcrosslaura cantheapplicationofmachinelearningtoelectronichealthrecordsguideantibioticprescribingdecisionsforsuspectedurinarytractinfectionintheemergencydepartment |