Back to search

UCL (University College London)

Improving Patient Outcome Prediction by Modelling Event Timing with Deep-Learning Using Sequential Electronic Health Record Data

Abstract

dc:description.abstract

Background: Electronic Health Records (EHRs) have transformed healthcare by digitising patient information and enabling data-driven research. Clinical codes are a key EHR data type, used not only for tracking diseases, standardising procedures, and billing, but also for predictive modelling. Studies using AI with clinical codes to predict patient outcomes face challenges around limited samples, high dimensionality, and irregular time intervals, and many disregard the time between events despite its availability. Materials and methods: Firstly, a systematic review was conducted to summarise current evidence on Deep Learning (DL) models that use sequences of clinical codes for patient predictions. Secondly, approaches to incorporate time-between-event information into DL prediction were applied to the national-scale English CVD-COVID-UK data to predict CVDs after COVID-19 hospitalisation in rare-disease patients. Thirdly, Transformer models using Adaptive Time2Vec were developed and evaluated on six clinical outcomes in MIMIC-IV. Finally, MedGemma was enhanced with Adaptive Time2Vec to examine whether pretrained language models can further leverage temporal information for prediction. Results: Firstly, the review identified 84 studies, with recurrent neural networks being the most common architecture (47/84, 56%), followed by Transformer-based models (22/84, 26%). Secondly, analysis of CVD-COVID-UK (11,962 individuals; 915 cases) showed improved performance with the Transformer model when time information was included (+0.076 AUPRC). Thirdly, Adaptive Time2Vec improved performance across all six MIMIC-IV tasks, with the largest gain for pneumonia (+0.11 AUROC, +0.27 AUPRC). Finally, integrating Adaptive Time2Vec into MedGemma yielded further improvements for acute kidney injury (+0.082 AUROC, +0.095 AUPRC). Discussion and Conclusion: This project demonstrates that incorporating time between clinical events provides meaningful improvements in patient outcome prediction compared to relying solely on event sequences. Future research should scale the approach to larger architectures, validate it on broader external datasets, and extend the framework to additional clinical modalities such as free-text notes and imaging.

Degree

thesis:*
Level dc:type.qualificationlevel
Doctoral
Grantor dc:publisher.institution
UCL (University College London)
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hama, Tuankasfee

Rights

Language dc:language
en, eng

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://discovery.ucl.ac.uk/id/eprint/10231905/

Chain of custody

source
Harvested from
University College London
Base URL
discovery.ucl.ac.uk/cgi/oai2
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Hama, Tuankasfee. Improving Patient Outcome Prediction by Modelling Event Timing with Deep-Learning Using Sequential Electronic Health Record Data. Doctoral thesis, UCL (University College London), 2026. https://discovery.ucl.ac.uk/id/eprint/10231905/