Related Experiment Video
Updated: Mar 9, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Scalable discovery and validation of order-specific electronic health record event trajectories for interpretable
Brice Edelman1, Hannah Kim2, Jeffrey Skolnick1
1School of Biological Sciences, Georgia Institute of Technology, Atlanta, GA, USA.
Objective:
Clinicians must estimate patients' risk of adverse outcomes, yet many electronic health record tools represent health history as an unordered "bag of codes," discarding temporal order. Machine learning tools that leverage sequence order may offer better predictions but often lack interpretability for clinical audit. We introduce an interpretable, order-aware framework that mines frequent event pairs (A → B) and tests whether their ordering provides prognostic information for estimating risk of adverse outcomes (C) beyond the same codes without order.
Methods:
Using the NIH All of Us Controlled Tier, 432,617 eligible participants were split 70/30 into discovery and confirmation. We combined 340,687 A → B pairs with nine outcomes (C) to create 3,066,183 candidate trajectories and tested 85,535 trajectories in this pilot using observation-aware indexing, a 90-day latency and 5-year A → B gap, inverse-probability weighting, weighted competing-risk cumulative incidence, four prespecified comparators (primary: B with no prior A), and Benjamini-Hochberg false discovery rate (FDR) in a discovery/confirmation design.
Results:
After discovery FDR, 663 unique trajectories advanced and 171 validated for ≥ 1 horizon in confirmation. At 5 years, the median risk ratio (RR) was 2.02 versus the primary comparator and 3.89 versus a calendar-time baseline (median absolute risk difference 2.49 percentage-points). Reverse-order checks were feasible for ∼ 87% of hypotheses (median A → B → C vs B → A → C RR 1.18) at 5 years.
Conclusion:
Ordered trajectories can provide interpretable, audit-ready signal beyond unordered features and can augment white-box risk estimation for adverse clinical outcomes.
Related Concept Videos
Types of Biopharmaceutical Studies: Controlled and Non-Controlled Approaches
Non-controlled studies, commonly employed for initial exploration, lack a control group, rendering them susceptible to biases and external influences. In contrast,...
Steps in Outbreak Investigation
Methods of Documentation VII: EMR
Pharmacovigilance
This process, termed pharmacovigilance, aims to detect, evaluate, and minimize harmful effects related to medication use. The data collection for pharmacovigilance depends on spontaneous reporting systems, where healthcare professionals or patients voluntarily report suspected ADRs.
In some cases, there...
Issues And Trends In Healthcare Delivery System
Cost Containment
Payment for healthcare services has historically promoted adoption of costly and often unnecessary or inefficient...
Introduction to Epidemiology

