Related Experiment Video
Updated: Jul 30, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Development of an algorithm for finding pertussis episodes in a population-based electronic health record database
Chathuri Daluwatte1, Maryia Dvaretskaya2, Sam Ekhtiari2
1Digital Data, Sanofi US Services, Inc, Cambridge, MA, USA.
Machine learning can identify under-recognized pertussis (whooping cough) in adolescents and adults with acute respiratory disease. This algorithm aids in diagnosing atypical cases, improving vaccination strategies and public health.
Area of Science:
- Infectious Diseases
- Machine Learning in Healthcare
- Public Health
Background:
- Pertussis (whooping cough) burden in adolescents and adults is underestimated due to atypical presentations.
- Current vaccination strategies for tetanus-diphtheria-acellular pertussis (Tdap) may be suboptimal for this demographic.
- Atypical pertussis presentation hinders accurate diagnosis and effective control measures.
Purpose of the Study:
- To develop and validate a machine learning algorithm for identifying undiagnosed or misdiagnosed pertussis in patients with acute respiratory disease (ARD).
- To leverage electronic health records, including clinician notes and demographic data, for improved pertussis case identification.
- To enhance understanding of clinical indicators associated with pertussis in adult and adolescent populations.
Main Methods:
- A machine learning model (LightGBM) was developed using electronic health records from 2007-2019.
- Two cohorts were used: positive pertussis (4,515 episodes) and negative pertussis/ARD (4,573,445 episodes), with a focus on episodes having ≥7 symptoms.
- Model performance was evaluated using laboratory-confirmed cases and explainability was assessed with Shapley additive explanations.
Main Results:
- The algorithm demonstrated a recall of 0.72 and specificity of 0.94 in identifying pertussis episodes among ARD diagnoses.
- When applied to laboratory-confirmed cases, the model achieved a specificity of 0.846.
- Clinical notes indicating whooping cough, whoop, and post-tussive vomiting increased the predictive probability of pertussis.
Conclusions:
- Machine learning offers a viable approach to identify potential pertussis cases within broader acute respiratory disease diagnoses.
- The algorithm can aid clinicians in recognizing atypical pertussis presentations in adolescents and adults.
- Improved identification of pertussis can inform public health interventions and optimize vaccination efforts.
Related Concept Videos
Steps in Outbreak Investigation
Pneumonia III: Complications and Assessment
Statistical Software for Data Analysis and Clinical Trials
Methods of Documentation VII: EMR

