To overcome the limitations of manual administrative coding in geriatric Cardiovascular Risk Management, this study introduces an automated classification framework leveraging unstructured Electronic Health Records (EHRs). Using a dataset of 3,482 patients, we benchmarked three distinct modeling paradigms on longitudinal Dutch clinical narratives: classical machine learning baselines, specialized deep learning architectures optimized for large-context sequences, and general-purpose generative Large Language Models (LLMs) in a zero-shot setting. Additionally, we evaluated a late fusion strategy to integrate unstructured text with structured medication embeddings and anthropometric data. Our analysis reveals that the custom Transformer architecture outperforms both traditional methods and generative \acs{llm}s, achieving the highest F1-scores and Matthews Correlation Coefficients. These findings underscore the critical role of specialized hierarchical attention mechanisms in capturing long-range dependencies within medical texts, presenting a robust, automated alternative to manual workflows for clinical risk stratification.
@article{arxiv.2603.09685,
title = {Automatic Cardiac Risk Management Classification using large-context Electronic Patients Health Records},
author = {Jacopo Vitale and David Della Morte and Luca Bacco and Mario Merone and Mark de Groot and Saskia Haitjema and Leandro Pecchia and Bram van Es},
journal= {arXiv preprint arXiv:2603.09685},
year = {2026}
}