Related Experiment Video
Updated: Aug 14, 2026

Cystic Fibrosis Aggregate Biofilm Model to Study Infection-relevant Gene Expression
Published on: April 18, 2025
Prediction of Antimicrobial Resistance in People Living With Cystic Fibrosis Using Machine Learning
Junrong Jiang1,2,3, Akhil Naik1,4, Dilip Nazareth1,5
1Liverpool Centre for Cardiovascular Sciences at University of Liverpool Liverpool John Moores University and Liverpool Heart & Chest Hospital Liverpool UK.
Abstract:
Antimicrobial resistance (AMR) is a growing challenge in people living with cystic fibrosis (pwCF), who often experience chronic lung infection and repeated antibiotic exposure. Because routine antibiotic susceptibility testing often takes several days, treatment is frequently started before current resistance profiles are available. We assessed whether routinely collected electronic healthcare records (EHR) could predict antibiotic resistance in sputum cultures from adults with CF. In this retrospective single-center study, 12,618 sputum cultures from 209 pwCF between 2012 and 2022 were linked with 63,823 days of intravenous antibiotic exposure, spirometry, demographic characteristics, microbiology results, and historical resistance data. Different models were trained and evaluated with patient-level splitting and cross-validation to predict resistance to ciprofloxacin, ceftazidime, meropenem, piperacillin/tazobactam, and tobramycin. Extreme gradient boosting showed the most consistent performance with AUCs of 0.75-0.80. Model discrimination was broadly similar in cultures with and without Pseudomonas aeruginosa, except for ceftazidime and meropenem. Shapley Additive Explanations (SHAP) suggested that longer term resistance history was more informative than recent results. These findings support the feasibility of using EHR-derived data to estimate AMR before culture results are available, but external validation, broader antibiotic exposure data, and assessment of temporal dataset shift are needed before clinical use.
Insights
Electronic healthcare records can predict antimicrobial resistance (AMR) in cystic fibrosis patients before culture results are available. This approach aids in timely treatment decisions for lung infections in people with cystic fibrosis (pwCF).
Area of Science:
- Medical Informatics
- Infectious Diseases
- Pulmonology
Background:
- Antimicrobial resistance (AMR) poses a significant threat to individuals with cystic fibrosis (pwCF), often necessitating prompt antibiotic treatment.
- Standard antibiotic susceptibility testing delays treatment initiation, as results typically take several days.
Purpose of the Study:
- To evaluate the potential of electronic healthcare records (EHR) in predicting antibiotic resistance in sputum cultures from adult pwCF.
- To inform earlier treatment decisions for lung infections in pwCF.
Main Methods:
- Retrospective analysis of 12,618 sputum cultures from 209 pwCF (2012-2022).
- Linking EHR data including antibiotic exposure, spirometry, demographics, and historical resistance patterns.
- Utilizing machine learning models, including extreme gradient boosting, for resistance prediction.
Main Results:
- Extreme gradient boosting models achieved consistent performance with AUCs ranging from 0.75-0.80.
- Model accuracy was comparable for cultures with and without Pseudomonas aeruginosa, with exceptions for ceftazidime and meropenem.
- Historical resistance data proved more influential than recent results in predicting future resistance.
Conclusions:
- EHR-derived data can feasibly estimate antimicrobial resistance prior to definitive culture results.
- Further validation is required, including broader antibiotic exposure data and temporal shift assessment, before clinical implementation.
Related Concept Videos
Cystic Fibrosis: Pathogenesis
CF is primarily caused by a genetic mutation in a chromosome 7 gene coding for the cystic fibrosis transmembrane conductance regulator (CFTR) protein. The most common gene mutation leading to CF is the ΔF508 mutation, but...
Clinical Significance of Antibiotic Resistance
Mechanism of Antibiotic Resistance in MRSA
