{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,24]],"date-time":"2026-04-24T03:17:20Z","timestamp":1777000640478,"version":"3.51.4"},"reference-count":36,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2025,1,25]],"date-time":"2025-01-25T00:00:00Z","timestamp":1737763200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2025,1,25]],"date-time":"2025-01-25T00:00:00Z","timestamp":1737763200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100004587","name":"Instituto de Salud Carlos III","doi-asserted-by":"publisher","award":["FI20\/0040,PI19\/00535"],"award-info":[{"award-number":["FI20\/0040,PI19\/00535"]}],"id":[{"id":"10.13039\/501100004587","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100011033","name":"Agencia Estatal de Investigaci\u00f3n","doi-asserted-by":"publisher","award":["PID2022-138648OB-I00"],"award-info":[{"award-number":["PID2022-138648OB-I00"]}],"id":[{"id":"10.13039\/501100011033","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["J Med Syst"],"abstract":"<jats:title>Abstract<\/jats:title>\n          <jats:p>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\u2019s 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.<\/jats:p>","DOI":"10.1007\/s10916-024-02138-z","type":"journal-article","created":{"date-parts":[[2025,1,25]],"date-time":"2025-01-25T05:59:10Z","timestamp":1737784750000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":8,"title":["Development of Attention-based Prediction Models for All-cause Mortality, Home Care Need, and Nursing Home Admission in Ageing Adults in Spain Using Longitudinal Electronic Health Record Data"],"prefix":"10.1007","volume":"49","author":[{"given":"Luc\u00eda A.","family":"Carrasco-Ribelles","sequence":"first","affiliation":[]},{"given":"Margarita","family":"Cabrera-Bean","sequence":"additional","affiliation":[]},{"given":"Sara","family":"Khalid","sequence":"additional","affiliation":[]},{"given":"Albert","family":"Roso-Llorach","sequence":"additional","affiliation":[]},{"given":"Concepci\u00f3n","family":"Viol\u00e1n","sequence":"additional","affiliation":[]}],"member":"297","published-online":{"date-parts":[[2025,1,25]]},"reference":[{"issue":"10258","key":"2138_CR1","doi-asserted-by":"publisher","first-page":"1160","DOI":"10.1016\/s0140-6736(20)30977-6","volume":"396","author":"H Wang","year":"2020","unstructured":"Wang, H., Abbas, K. M., Abbasifard, M., Abbasi-Kangevari, M., and Abbastabar, H., et al., Global age-sex-specific fertility, mortality, healthy life expectancy (HALE), and population estimates in 204 countries and territories, 1950\u20132019: a comprehensive demographic analysis for the global burden of disease study 2019. Lancet. 396(10258):1160\u20131203, 2020. https:\/\/doi.org\/10.1016\/s0140-6736(20)30977-6","journal-title":"Lancet"},{"key":"2138_CR2","doi-asserted-by":"publisher","unstructured":"Fertility, G., and COllaborators, F., Global fertility in 204 countries and territories, 1950\u20132021, with forecasts to 2100: a comprehensive demographic analysis for the global burden of disease study 2021. Lancet. 2024. https:\/\/doi.org\/10.1016\/S0140-6736(24)00550-6","DOI":"10.1016\/S0140-6736(24)00550-6"},{"key":"2138_CR3","unstructured":"Population\u00a0Division, D. O. E., and Social\u00a0Affairs, U. N., World population prospects, 2022. https:\/\/population.un.org\/wpp. Accessed 22 Aug 2023."},{"issue":"3","key":"2138_CR4","doi-asserted-by":"publisher","first-page":"753","DOI":"10.1007\/s00167-022-06896-6","volume":"30","author":"C Ley","year":"2022","unstructured":"Ley, C., Martin, R. K., Pareek, A., Groll, A., Seil, R., and Tischer, T., Machine learning and conventional statistics: making sense of the differences. Knee Surgery, Sports Traumatology, Arthroscopy 30(3):753\u2013757, 2022. https:\/\/doi.org\/10.1007\/s00167-022-06896-6","journal-title":"Knee Surgery, Sports Traumatology, Arthroscopy"},{"issue":"9","key":"2138_CR5","doi-asserted-by":"publisher","first-page":"455","DOI":"10.3390\/medicina56090455","volume":"56","author":"HSR Rajula","year":"2020","unstructured":"Rajula, H. S. R., Verlato, G., Manchia, M., Antonucci, N., and Fanos, V., Comparison of conventional statistical methods with machine learning in medicine: Diagnosis, drug development, and treatment. Medicina. 56(9):455, 2020. https:\/\/doi.org\/10.3390\/medicina56090455","journal-title":"Medicina."},{"issue":"Supplement 1","key":"2138_CR6","doi-asserted-by":"publisher","first-page":"63","DOI":"10.3122\/jabfm.2015.s1.150133","volume":"28","author":"M Cifuentes","year":"2015","unstructured":"Cifuentes, M., Davis, M., Fernald, D., Gunn, R., Dickinson, P., and Cohen, D. J., Electronic health record challenges, workarounds, and solutions observed in practices integrating behavioral health and primary care. J. Am. Board Fam. Med. 28(Supplement 1):63\u201372, 2015. https:\/\/doi.org\/10.3122\/jabfm.2015.s1.150133","journal-title":"J. Am. Board Fam. Med."},{"key":"2138_CR7","doi-asserted-by":"publisher","unstructured":"Camm, A. J., and Fox, K. A. A., Strengths and weaknesses of \u201creal-world\u201d studies involving non-vitamin k antagonist oral anticoagulants. Open Heart. 5(1), 2018. https:\/\/doi.org\/10.1136\/openhrt-2018-000788. https:\/\/openheart.bmj.com\/content\/5\/1\/e000788.full.pdf","DOI":"10.1136\/openhrt-2018-000788"},{"key":"2138_CR8","unstructured":"Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., and Polosukhin, I., Attention is all you need, 2017."},{"key":"2138_CR9","unstructured":"Bahdanau, D., Cho, K., and Bengio, Y., Neural machine translation by jointly learning to align and translate, 2016."},{"key":"2138_CR10","doi-asserted-by":"crossref","unstructured":"Luong, M.-T., Pham, H., and Manning, C. D., Effective approaches to attention-based neural machine translation, 2015.","DOI":"10.18653\/v1\/D15-1166"},{"key":"2138_CR11","doi-asserted-by":"publisher","unstructured":"Ribeiro, M. T., Singh, S., and Guestrin, C., Why should i trust you?: explaining the predictions of any classifier. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. KDD \u201916, pp. 1135\u20131144. New York,USA: Association for Computing Machinery, 2016. https:\/\/doi.org\/10.1145\/2939672.2939778","DOI":"10.1145\/2939672.2939778"},{"key":"2138_CR12","unstructured":"Lundberg, S. M., and Lee, S.-I., A unified approach to interpreting model predictions. In: Guyon, I., Luxburg, U. V., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., and Garnett, R. (Eds.), Advances in Neural Information Processing Systems, vol. 30. Curran Associates, Inc., 2017. https:\/\/proceedings.neurips.cc\/paper_files\/paper\/2017\/file\/8a20a8621978632d76c43dfd28b67767-Paper.pdf"},{"key":"2138_CR13","doi-asserted-by":"publisher","first-page":"65333","DOI":"10.1109\/access.2018.2875677","volume":"6","author":"J Zhang","year":"2018","unstructured":"Zhang, J., Kowsari, K., Harrison, J. H., Lobo, J. M., and Barnes, L. E., Patient2vec: a personalized interpretable deep representation of the longitudinal electronic health record. IEEE Access. 6:65333\u201365346, 2018. https:\/\/doi.org\/10.1109\/access.2018.2875677","journal-title":"IEEE Access"},{"key":"2138_CR14","doi-asserted-by":"publisher","unstructured":"Sha, Y., and Wang, M. D., Interpretable predictions of clinical outcomes with an attention-based recurrent neural network. In: Proceedings of the 8th ACM International Conference on Bioinformatics, Computational Biology,and Health Informatics. ACM-BCB \u201917, pp. 233\u2013240. New York, NY, USA: Association for Computing Machinery, 2017. https:\/\/doi.org\/10.1145\/3107411.3107445","DOI":"10.1145\/3107411.3107445"},{"key":"2138_CR15","unstructured":"Choi, E., Bahadori, M. T., Kulas, J. A., Schuetz, A., Stewart, W. F., and Sun, J., Retain: an interpretable predictive model for healthcare using reverse time attention mechanism. In: Proceedings of the 30th International Conference on Neural Information Processing Systems. NIPS\u201916, pp. 3512\u20133520. Red Hook, NY, USA: Curran Associates Inc., (2016)."},{"key":"2138_CR16","doi-asserted-by":"publisher","unstructured":"Collins, G. S., Reitsma, J. B., Altman, D. G., Moons, and K. G. M., Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement. BMJ. 350(jan07 4):7594\u20137594, 2015. https:\/\/doi.org\/10.1136\/bmj.g7594","DOI":"10.1136\/bmj.g7594"},{"key":"2138_CR17","unstructured":"SIDIAP: SIDIAP. www.sidiap.org. Accessed 05 Jan 2023."},{"key":"2138_CR18","doi-asserted-by":"publisher","unstructured":"Recalde, M., Rodr\u00edguez, C., Burn, E., Far, M., and Garc\u00eda, D., et al., Data resource profile: The information system for research in primary care (SIDIAP). Int. J. Epidemiol. 2022. https:\/\/doi.org\/10.1093\/ije\/dyac068","DOI":"10.1093\/ije\/dyac068"},{"key":"2138_CR19","unstructured":"Organization, W. H., International statistical classification of diseases and related health problems 10th Revision. https:\/\/icd.who.int\/browse10\/2019\/en. Accessed 13 July 2023."},{"key":"2138_CR20","unstructured":"Public\u00a0Health, N. I., ATC\/DDD Index, 2023. https:\/\/www.whocc.no\/atc_ddd_index\/. Accessed 13 July 2023."},{"key":"2138_CR21","doi-asserted-by":"publisher","unstructured":"Calder\u00f3n-Larra\u00f1aga, A., Vetrano, D. L., Onder, G., Gimeno-Feliu, L. A., and Coscollar-Santaliestra, C., et al., Assessing and measuring chronic multimorbidity in the older population: A proposal for its operationalization. J. Gerontol. A Biol. Sci. Med. Sci. 233, 2016. https:\/\/doi.org\/10.1093\/gerona\/glw233","DOI":"10.1093\/gerona\/glw233"},{"key":"2138_CR22","doi-asserted-by":"publisher","unstructured":"Orfila, F., Carrasco-Ribelles, L. A., Abellana, R., Roso-Llorach, A., Cegri, F., Reyes, C., and Viol\u00e1n, C., Validation of an electronic frailty index with electronic health records: eFRAGICAP index. BMC Geriatrics. 22(1), 2022. https:\/\/doi.org\/10.1186\/s12877-022-03090-8","DOI":"10.1186\/s12877-022-03090-8"},{"key":"2138_CR23","doi-asserted-by":"publisher","unstructured":"Duque, I., Dom\u00ednguez-Berj\u00f3n, M. F., Cebrecos, A., Prieto-Salceda, M. D., and Esnaola, S., et al.: \u00cdndice de privaci\u00f3n en espa\u00f1a por secci\u00f3n censal en 2011. Gac. Sanit. 35(2):113\u2013122, 2021. https:\/\/doi.org\/10.1016\/j.gaceta.2019.10.008","DOI":"10.1016\/j.gaceta.2019.10.008"},{"key":"2138_CR24","unstructured":"Carrasco-Ribelles, L. A., GitHub\/ARIADNEhr. https:\/\/github.com\/IDIAPJGol\/ARIADNEhr"},{"key":"2138_CR25","doi-asserted-by":"publisher","unstructured":"Lang, M., Binder, M., Richter, J., Schratz, P., Pfisterer, F., Coors, S., Au, Q., Casalicchio, G., Kotthoff, L., Bischl, B.: mlr3: A modern object-oriented machine learning framework in R. J. Open Source Softw. 2019.https:\/\/doi.org\/10.21105\/joss.01903","DOI":"10.21105\/joss.01903"},{"key":"2138_CR26","doi-asserted-by":"publisher","unstructured":"Carrasco-Ribelles, L. A., Roso-Llorach, A., Cabrera-Bean, M., Costa-Garrido, A., and Zabaleta-del-Olmo, E., et al., Dynamics of multimorbidity and frailty, and their contribution to mortality, nursing home and home care need: A primary care cohort of 1 456 052 ageing people. eClinicalMedicine. 52:101610, 2022. https:\/\/doi.org\/10.1016\/j.eclinm.2022.101610","DOI":"10.1016\/j.eclinm.2022.101610"},{"key":"2138_CR27","doi-asserted-by":"publisher","unstructured":"Qiu, W., Chen, H., Dincer, A. B., Lundberg, S., Kaeberlein, M., and Lee, S.-I., Interpretable machine learning prediction of all-cause mortality. Commun. Med. 2(1), 2022. https:\/\/doi.org\/10.1038\/s43856-022-00180-x","DOI":"10.1038\/s43856-022-00180-x"},{"key":"2138_CR28","doi-asserted-by":"publisher","unstructured":"Krasowski, A., Krois, J., Kuhlmey, A., Meyer-Lueckel, H., and Schwendicke, F., Predicting mortality in the very old: a machine learning analysis on claims data. Sci. Rep. 12(1), 2022. https:\/\/doi.org\/10.1038\/s41598-022-21373-3","DOI":"10.1038\/s41598-022-21373-3"},{"issue":"12","key":"2138_CR29","first-page":"535","volume":"20","author":"MA Greiner","year":"2014","unstructured":"Greiner, M. A., Qualls, L. G., Iwata, I., White, H. K., Molony, S. L., Sullivan, M. T., Burke, B., Schulman, K. A., and Setoguchi, S., Predicting nursing home placement among home- and community-based services program participants. Am. J. Manag. Care. 20(12), 535\u2013536, 2014.","journal-title":"Am. J. Manag. Care."},{"key":"2138_CR30","doi-asserted-by":"publisher","unstructured":"Kobewka, D. M., Mulpuru, S., Chass\u00e9, M., Thavorn, K., Lavall\u00e9e, L. T., English, S. W., Neilipovitz, B., Neilipovitz, J., Forster, A. J., and McIsaac, D. I., Predicting the need for supportive services after discharged from hospital: a systematic review. BMC Health Serv. Res. 20(1), 2020. https:\/\/doi.org\/10.1186\/s12913-020-4972-6","DOI":"10.1186\/s12913-020-4972-6"},{"key":"2138_CR31","doi-asserted-by":"publisher","DOI":"10.1093\/jamia\/ocad168","author":"LA Carrasco-Ribelles","year":"2023","unstructured":"Carrasco-Ribelles, L. A., Llanes-Jurado, J., Gallego-Moll, C., Cabrera-Bean, M., Monteagudo-Zaragoza, M., Viol\u00e1n, C., and Zabaleta-del-Olmo, E., Prediction models using artificial intelligence and longitudinal data from electronic health records: a systematic methodological review. J. Am. Med. Inform. Assoc. 2023. https:\/\/doi.org\/10.1093\/jamia\/ocad168","journal-title":"Journal of the American Medical Informatics Association."},{"key":"2138_CR32","unstructured":"Lipton, Z. C., The Mythos of Model Interpretability, 2017"},{"key":"2138_CR33","doi-asserted-by":"crossref","unstructured":"Wiegreffe, S., Pinter, Y., Attention is not not explanation. CoRR. arXiv:1908.04626, 2019","DOI":"10.18653\/v1\/D19-1002"},{"key":"2138_CR34","unstructured":"Jain, S., and Wallace, B. C., Attention is not explanation. CoRR. arXiv:1902.10186, 2019."},{"key":"2138_CR35","doi-asserted-by":"publisher","unstructured":"Bibal, A., Cardon, R., Alfter, D., Wilkens, R., Wang, X., Fran\u00e7ois, T., Watrin, P., Is attention explanation? an introduction to the debate. In: Muresan, S., Nakov, P., Villavicencio, A. (Eds.), Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 3889\u20133900. Dublin, Ireland: Association for Computational Linguistics, 2022. https:\/\/doi.org\/10.18653\/v1\/2022.acl-long.269. https:\/\/aclanthology.org\/2022.acl-long.269","DOI":"10.18653\/v1\/2022.acl-long.269"},{"key":"2138_CR36","unstructured":"SIDIAP: SIDIAP. https:\/\/www.sidiap.org\/index.php\/en\/solicituds-en. Accessed 05 Jan 2023."}],"container-title":["Journal of Medical Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10916-024-02138-z.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s10916-024-02138-z\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10916-024-02138-z.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,1,25]],"date-time":"2025-01-25T05:59:18Z","timestamp":1737784758000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s10916-024-02138-z"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,1,25]]},"references-count":36,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2025,12]]}},"alternative-id":["2138"],"URL":"https:\/\/doi.org\/10.1007\/s10916-024-02138-z","relation":{},"ISSN":["1573-689X"],"issn-type":[{"value":"1573-689X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,1,25]]},"assertion":[{"value":"13 May 2024","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"28 December 2024","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"25 January 2025","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"Approval was obtained from the Ethical Committee of Fundaci\u00f3 Institut Universitari per a la recerca a l\u2019Atenci\u00f3 Prim\u00e0ria de Salut Jordi Gol i Gurina (IDIAPJGol) (#19\/518-P). SIDIAP database is based on opt-out presumed consent. If a patient decides to opt out, their routine data would be excluded of the database.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Ethics approval and consent to participate"}},{"value":"AR is now an employee of AstraZeneca and has interests in the company. The remaining authors declare no financial or non-financial competing interests.","order":3,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}}],"article-number":"17"}}