Cookies on this website

We use cookies to ensure that we give you the best experience on our website. If you click 'Accept all cookies' we'll assume that you are happy to receive all cookies and you won't see this message again. If you click 'Reject all non-essential cookies' only necessary cookies providing core functionality such as security, network management, and accessibility will be enabled. Click 'Find out more' for information on how to change your cookie settings.

Predicting health-related outcomes can help with proactive healthcare planning and resource management. This is especially important on the older population, an age group growing in the coming decades. Considering longitudinal rather than cross-sectional information from primary care electronic health records (EHRs) can contribute to more informed predictions. In this work, we developed prediction models using longitudinal EHRs to inform resource allocation. In this study, we developed deep-learning-based prognostic models to predict 1-year and 5-year all-cause mortality, nursing home admission, and home care need in people over 65 years old using all the longitudinal information from EHRs. The models included attention mechanisms to increase their transparency. EHRs were drawn from SIDIAP (primary care, Catalonia (Spain)) from 2010-2019. Performance on the test set was compared to that from baseline models using cross-sectional one-year history only. Data from 1,456,052 individuals over 65 years old were considered. Cohen's kappa obtained using longitudinal data was 3.4-fold (1-year all-cause mortality), 10.3-fold (5-year all-cause mortality), 1.1-fold (5-year nursing home admission), and 1.2-fold (5-year home care need) higher than that obtained by the one-year history baseline models. Our models performed better than those not considering longitudinal data, especially when predicting further into the future. However, nursing home admission and home care need in the long term were harder to predict, suggesting their dependence on more abrupt changes. The attention maps helped to understand the predictions, enhancing model transparency. These prediction models can contribute to improve resource allocation in the general population of aging adults.

Original publication

DOI

10.1007/s10916-024-02138-z

Type

Journal

J Med Syst

Publication Date

25/01/2025

Volume

49

Keywords

Attention mechanism, Electronic health records, Longitudinal data, Predictive modeling, Primary care, Recurrent neural networks, Humans, Nursing Homes, Spain, Aged, Electronic Health Records, Male, Female, Aged, 80 and over, Mortality, Home Care Services, Longitudinal Studies, Deep Learning, Cross-Sectional Studies