Clustering Event Trajectories with Machine Learning: An Approach for Electronic Healthcare Records

Multimorbidity is increasingly prevalent as the population ages and individuals with multiple long-term conditions (MLTCs) live longer. Often each condition is treated by a separate clinician, which can lead to harmful drug-drug and drug-disease interactions. Artificial Intelligence (AI) can help to identify those at risk of poor outcomes, which is particularly difficult when managing frail patients with MLTCs. We aim to analyze MLTC trajectories, but there is limited work on clustering using Electronic Health Records (EHR) and they largely ignore the time elapsed between clinical events. In this work we adapted three machine learning methods (Word2Vec, Autoencoder, TG-CNN) to allow us to cluster the entire trajectory. The proposed methods are tested on the ACT-MOOC dataset as a proof of concept, using timelines of interaction with an online course instead of an EHR. We find that clustering using the novel TG-CNN approach, which accounts for the time between events, shows a clear separation among different clusters and is better able to represent patient/user trajectories. In future work, we will apply this methodology within CPRD as part of the NIHR-funded DynAIRx project.

Authors

Institutions

Publication Details

Journal
Studies in health technology and informatics
Published
2025-05-15
DOI
https://doi.org/10.3233/shti250269
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Clustering Event Trajectories with Machine Learning: An Approach for Electronic Healthcare Records

Asra Aslam, Samuel D. Relton
Studies in health technology and informatics
Machine Learning in Healthcare
article

Clustering Event Trajectories with Machine Learning: An Approach for Electronic Healthcare Records

Asra Aslam, Samuel D. Relton
article en

Abstract

Multimorbidity is increasingly prevalent as the population ages and individuals with multiple long-term conditions (MLTCs) live longer. Often each condition is treated by a separate clinician, which can lead to harmful drug-drug and drug-disease interactions. Artificial Intelligence (AI) can help to identify those at risk of poor outcomes, which is particularly difficult when managing frail patients with MLTCs. We aim to analyze MLTC trajectories, but there is limited work on clustering using Electronic Health Records (EHR) and they largely ignore the time elapsed between clinical events. In this work we adapted three machine learning methods (Word2Vec, Autoencoder, TG-CNN) to allow us to cluster the entire trajectory. The proposed methods are tested on the ACT-MOOC dataset as a proof of concept, using timelines of interaction with an online course instead of an EHR. We find that clustering using the novel TG-CNN approach, which accounts for the time between events, shows a clear separation among different clusters and is better able to represent patient/user trajectories. In future work, we will apply this methodology within CPRD as part of the NIHR-funded DynAIRx project.

Studies in health technology and informaticsVol. 327
University of Leeds (GB)
Good health and well-being, No poverty
Openalex Percentile: Top 81%
Machine Learning in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.