Dynamic prediction of cardiovascular risk from linked primary care records in New South Wales, Australia: protocol

Nicholas I-Hsien Kuo1, Heidi Welberry1, Sanja Lujic1

  • 1Centre for Big Data Research in Health, University of New South Wales, Sydney, Australia.

BMJ Open
|July 27, 2026
PubMed

Insights

This study introduces advanced transformer models for predicting 5-year cardiovascular disease (CVD) risk using electronic medical records. These dynamic models offer improved risk assessment compared to traditional methods.

Area of Science:

  • Health Informatics
  • Machine Learning in Medicine
  • Cardiovascular Epidemiology

Background:

  • Cardiovascular disease (CVD) is a major cause of preventable mortality.
  • Existing CVD prediction tools often rely on static, baseline data.
  • Longitudinal data from electronic medical records (EMRs) are underutilized in current CVD risk prediction.

Purpose of the Study:

  • To develop and validate transformer-based sequence models for predicting 5-year CVD risk at each general practitioner (GP) encounter.
  • To compare the performance of these dynamic models against traditional landmark survival models and static CVD prediction tools.
  • To leverage longitudinal EMR data for more accurate and timely CVD risk assessment.

Main Methods:

  • Utilizing the NSW Lumos linked health data asset, including GP EMRs, hospital admissions, and mortality data.
  • Developing sex-specific dynamic landmark survival models and transformer-based sequence models for 5-year CVD risk prediction.
  • Employing internal validation with patient-level and temporal separation, and evaluating geographic transportability via internal-external validation.

Main Results:

  • Transformer models aim to provide updated, encounter-level CVD risk estimates.
  • Performance will be benchmarked against existing static models and dynamic landmark survival models.
  • The study will assess discrimination, calibration, and decision-curve analyses for model comparison.

Conclusions:

  • Dynamic modelling using transformer-based sequence models holds promise for enhancing CVD risk prediction.
  • This approach can improve patient monitoring and risk assessment in primary care.
  • The findings could lead to more personalized and timely cardiovascular care interventions.
Abstract