Identifying undetected dementia in UK primary care patients: a retrospective case-control study comparing machine-learning and standard epidemiological approaches
Open accessThe DOI matches its Crossref record; 28 of the 28 references it cites were found in a registry or an index.
Abstract
Background: Identifying dementia early in time, using real world data, is a public health challenge. As only two-thirds of people with dementia now ultimately receive a formal diagnosis in United Kingdom health systems and many receive it late in the disease process, there is ample room for improvement. The policy of the UK government and National Health Service (NHS) is to increase rates of timely dementia diagnosis. We used data from general practice (GP) patient records to create a machine-learning model to identify patients who have or who are developing dementia, but are currently undetected as having the condition by the GP. Methods: We used electronic patient records from Clinical Practice Research Datalink (CPRD). Using a case-control design, we selected patients aged >65y with a diagnosis of dementia (cases) and matched them 1:1 by sex and age to patients with no evidence of dementia (controls). We developed a list of 70 clinical entities related to the onset of dementia and recorded in the 5 years before diagnosis. After creating binary features, we trialled machine learning classifiers to discriminate between cases and controls (logistic regression, naïve Bayes, support vector machines, random forest and neural networks). We examined the most important features contributing to discrimination. Results: The final analysis included data on 93,120 patients, with a median age of 82.6 years; 64.8% were female. The naïve Bayes model performed least well. The logistic regression, support vector machine, neural network and random forest performed very similarly with an AUROC of 0.74. The top features retained in the logistic regression model were disorientation and wandering, behaviour change, schizophrenia, self-neglect, and difficulty managing. Conclusions: Our model could aid GPs or health service planners with the early detection of dementia. Future work could improve the model by exploring the longitudinal nature of patient data and modelling decline in function over time.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“the risk of inaccuracies and misdiagnosis [28, 68, 71, 82, 85, 87, 88, 93, 95, 99–101, 107, 115, 118, 132, 148, 149, 157] due to bias, flawed algorithms, or data inconsistencies raises concerns about patient safety and reliability, requiring cautious implementation strategies.”
From Opportunities, challenges, and requirements for Artificial Intelligence (AI) implementation in Primary Health Care (PHC): a systematic review (2025) · cites this paper as [71]
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Regression shrinkage and selection via the lasso
Tibshirani, R. (1996) · Journal of the Royal Statistical Society Series B: Statistical Methodology · doi:10.1111/j.2517-6161.1996.tb02080.x · Cited by 51,482 · cited 1×
“We first ran a logistic regression model with LASSO penalisation [30].”
Receiver Operating Characteristic Curve in Diagnostic Test Assessment
Mandrekar, J. N. (2010) · Journal of Thoracic Oncology · doi:10.1097/jto.0b013e3181ec173d · Cited by 4,506 · cited 5×
“2 AUROC for all ML models superimposed; 1, 2 – 5 year data effects did not seem to improve the discriminatory power.”
InfluentialData Resource Profile: Clinical Practice Research Datalink (CPRD)
Herrett, E., Gallagher, A. M., Bhaskaran, K., Forbes, H., Mathur, R., van Staa, T., & Smeeth, L. (2015) · International Journal of Epidemiology · doi:10.1093/ije/dyv098 · Cited by 2,667 · cited 3×
“This study used data from the UK Clinical Practice Research Datalink (CPRD) [22], established in 23 1987, which now contains anonymized healthcare records from more than 20 million people of 24 whom more than five million are live in the system, representing 8% of the UK population [10].”
BackgroundMethodInternational Journal of Geriatric Psychiatry
(2006) · International Journal of Geriatric Psychiatry · doi:10.1002/(issn)1099-1166 · Cited by 1,301
Cancer and fertility preservation: international recommendations from an expert meeting
Lambertini, M., Del Mastro, L., Pescio, M. C., Andersen, C. Y., Azim, H. A., Peccatori, F. A., Costa, M., Revelli, A., Salvagno, F., Gennari, A., et al. (2016) · BMC Medicine · doi:10.1186/s12916-015-0545-7 · Cited by 781
The Read clinical classification.
Chisholm, J. (1990) · BMJ · doi:10.1136/bmj.300.6732.1092 · Cited by 504 · cited 2×
“There are > 200,000 different codes, which are sorted into chapters (diagnoses, processes of care and medication) and subchapters [24].”
Connolly, A., Gaehl, E., Martin, H., Morris, J., & Purandare, N. (2011) · Aging & Mental Health · doi:10.1080/13607863.2011.596805 · Cited by 307 · cited 1×
“However, only around two-thirds of the expected numbers of patients with dementia are diagnosed [6] and recorded in GP dementia registers [7], and many of them only at an advanced stage.”
Williams, T., van Staa, T., Puri, S., & Eaton, S. (2012) · Therapeutic Advances in Drug Safety · doi:10.1177/2042098611435911 · Cited by 282 · cited 1×
“smoking, exercise) and prescribing data [10, 23].”
Survival of people with clinical diagnosis of dementia in primary care: cohort study
Rait, G., Walters, K., Bottomley, C., Petersen, I., Iliffe, S., & Nazareth, I. (2010) · BMJ · doi:10.1136/bmj.c3584 · Cited by 221
Current Developments in Dementia Risk Prediction Modelling: An Updated Systematic Review
Tang, E. Y. H., Harrison, S. L., Errington, L., Gordon, M. F., Visser, P. J., Novak, G., Dufouil, C., Brayne, C., Robinson, L., Launer, L. J., et al. (2015) · PLOS ONE · doi:10.1371/journal.pone.0136181 · Cited by 172
General practitioners on dementia: tasks, practices and obstacles
van Hout, H. P. J., Vernooij-Dassen, M. J. F. J., Bakker, K., Blom, M., & Grol, R. P. T. M. (2000) · Patient Education and Counseling · doi:10.1016/s0738-3991(99)00034-8 · Cited by 169
Dementia risk prediction in the population: are screening models accurate?
Stephan, B. C. M., Kurth, T., Matthews, F. E., Brayne, C., & Dufouil, C. (2010) · Nature Reviews Neurology · doi:10.1038/nrneurol.2010.54 · Cited by 160 · cited 1×
“While many studies have attempted to create clinical risk prediction models for dementia [14-18], 17”
BackgroundThe attitudes and practices of general practitioners regarding dementia diagnosis in Ireland
Cahill, S., Clark, M., O'Connell, H., Lawlor, B., Coen, R. F., & Walsh, C. (2008) · International Journal of Geriatric Psychiatry · doi:10.1002/gps.1956 · Cited by 144
Walters, K., Hardoon, S., Petersen, I., Iliffe, S., Omar, R. Z., Nazareth, I., & Rait, G. (2016) · BMC Medicine · doi:10.1186/s12916-016-0549-y · Cited by 144 · cited 1×
“[19], retained 14 clinical and demographic variables using Cox proportional hazards regression with backwards elimination in a cohort design.”
Prediction of Dementia in Primary Care Patients
Jessen, F., Wiese, B., Bickel, H., Eiffländer-Gorfer, S., Fuchs, A., Kaduszkiewicz, H., Köhler, M., Luck, T., Mösch, E., Pentzek, M., et al. (2011) · PLoS ONE · doi:10.1371/journal.pone.0016852 · Cited by 143 · cited 1×
“79; notably this used specific assessment procedures as predictors, which may add to clinic workload in routine primary care [20].”
Trivedi, M. H., Daly, E. J., Kern, J. K., Grannemann, B. D., Sunderajan, P., & Claassen, C. A. (2009) · BMC Medical Informatics and Decision Making · doi:10.1186/1472-6947-9-6 · Cited by 104
Predicting dementia from primary care records: A systematic review and meta-analysis
Ford, E., Greenslade, N., Paudyal, P., Bremner, S., Smith, H. E., Banerjee, S., Sadhwani, S., Rooney, P., Oliver, S., & Cassell, J. (2018) · PLOS ONE · doi:10.1371/journal.pone.0194735 · Cited by 97 · cited 1×
“First we 15 completed a systematic review and meta-analysis of potential features from primary care records 16 research on dementia [28].”
BackgroundSelf-citationPentzek, M., Wollny, A., Wiese, B., Jessen, F., Haller, F., Maier, W., Riedel-Heller, S. G., Angermeyer, M. C., Bickel, H., Mösch, E., et al. (2009) · American Journal of Geriatric Psychiatry · doi:10.1097/jgp.0b013e3181b2075e · Cited by 96
Can primary care record review facilitate earlier diagnosis of dementia?
Bamford, C., Eccles, M., Steen, N., & Robinson, L. (2007) · Family Practice · doi:10.1093/fampra/cml068 · Cited by 66 · cited 2×
“Cognitive symptoms, contact with social care professionals, 13 unpredictable consulting patterns, increased attendance, level of carer involvement, and gait 14 disturbance were all higher in patients who went on to be diagnosed with dementia within the next 15 5 years [12, 13].”
BackgroundSymptoms of Preclinical Dementia in General Practice up to Five Years before Dementia Diagnosis
Ramakers, I. H. G. B., Visser, P. J., Aalten, P., Boesten, J. H. M., Metsemakers, J. F. M., Jolles, J., & Verhey, F. R. J. (2007) · Dementia and Geriatric Cognitive Disorders · doi:10.1159/000107594 · Cited by 62 · cited 2×
“Retrospective studies have demonstrated significant differences in signs and symptoms found in the GP records of patients leading up to a dementia diagnosis compared to patients who do not go on to develop dementia [12, 13].”
Machine-learning based identification of undiagnosed dementia in primary care: a feasibility study
Jammeh, E. A., Carroll, C., Pearson, S., Escudero, J., Anastasiou, A., Zhao, P., Chenore, T., Zajicek, J., & Ifeachor, E. (2018) · BJGP Open · doi:10.3399/bjgpopen18x101589 · Cited by 58 · cited 4×
“Machine learning approaches have been trialled for predicting dementia, using predictors such as known clinical risk factors, dementia symptoms, and behaviours (such as missing appointments) [21].”
InfluentialThe Macroeconomics of Dementia—Will the World Economy Get Alzheimer's Disease?
Banerjee, S. (2012) · Archives of Medical Research · doi:10.1016/j.arcmed.2012.10.006 · Cited by 50 · cited 1×
“The negative impact of 3 this disorder on patients, their carers, family members and society is profound [3].”
BackgroundSelf-citationHow Clinical Practice Research Datalink data are used to support pharmacovigilance
Ghosh, R. E., Crellin, E., Beatty, S., Donegan, K. L., Myles, P. R., & Williams, R. (2019) · Therapeutic Advances in Drug Safety · doi:10.1177/2042098619854010 · Cited by 49 · cited 1×
“These records are frequently used by 7 researchers for epidemiological studies or for monitoring post-marketing drug safety [11].”
BackgroundDesigning Computerized Decision Support That Works for Clinicians and Families
Fiks, A. G. (2011) · Current problems in pediatric and adolescent health care · doi:10.1016/j.cppeds.2010.10.006 · Cited by 39 · cited 1×
“With no better performance of one model over another, it is worth considering that clinicians 12 appreciate knowing the reasons behind decisions reached by computer-aided decision support 13 algorithms [32], to allow them autonomy and flexibility in the use of such algorithms [33].”
BackgroundRussell, P., Banerjee, S., Watt, J., Adleman, R., Agoe, B., Burnie, N., Carefull, A., Chandan, K., Constable, D., Daniels, M., et al. (2013) · BMJ Open · doi:10.1136/bmjopen-2013-004023 · Cited by 38
Self-citationComposite risk scores for predicting dementia
Stephan, B. C. M., Tang, E. Y. H., & Terrera, G. M. (2016) · Current Opinion in Psychiatry · doi:10.1097/yco.0000000000000235 · Cited by 31 · cited 1×
“While many studies have attempted to create clinical risk prediction models for dementia [14-18], 17”
Risk Factors and Screening Methods for Detecting Dementia: A Narrative Review
Stephan, B. C. M., & Brayne, C. (2014) · Journal of Alzheimer's Disease · doi:10.3233/jad-141413 · Cited by 26
Moerel, L., & Storm, M. (2019) · SSRN Electronic Journal · doi:10.2139/ssrn.3356631 · Cited by 9 · cited 1×
“Indeed, the new legislation on use of personal data (GDPR) may require that decisions based on processing of personal or patient data allow for transparent interpretation of how results are reached [34].”
Background
Research works printed but not linked: 3
- Banerjee S The use of antipsychotic medication for people with dementia: time for action 2009 London Department of Health
- Prince M, Knapp M, Guerchet M, McCrone P, Prina M, Comas-Herrera A, Wittenberg R, Adelaja B, Hu B, King D et al: Dementia UK Update In. Edited by Society As, vol. Second Edition. London, UK; 2014.
- The PHG Foundation: Dementia Risk Prediction Models: What do policy makers need to know? In. Cambridge, UK: The University of Cambridge; 2019.
Cited by
Hu, M., Shu, X., Yu, G., Wu, X., Välimäki, M., & Feng, H. (2021) · Journal of Medical Internet Research · doi:10.2196/20298 · Cited by 139
“However, a variety of difficulties have been identified in implementing the results of machine learning in clinical practice, as the data have been collected at one time point only, meaning that the causality of the data can be questioned [13].”
BackgroundMethodInfluentialFord, E. M., Edelman, N. L., Somers, L., Shrewsbury, D., Levy, M. L., van Marwijk, H., Ćurčin, V., & Porat, T. (2021) · BMC Medical Informatics and Decision Making · doi:10.1186/s12911-021-01557-z · Cited by 112
Self-citationSwinckels, L., Bennis, F. C., Ziesemer, K. A., Scheerman, J. F. M., Bijwaard, H., de Keijzer, A., & Bruers, J. J. M. (2024) · Journal of Medical Internet Research · doi:10.2196/48320 · Cited by 112
“In 45% (9/20) of the studies, ML and DL models observed all available EHR data to classify patients as a case or control (ie, ML vs human detection) [30,33,34,36,38,39,42,43,45].”
InfluentialFord, E. M., Milne, R., & Curlewis, K. (2023) · Wiley Interdisciplinary Reviews Data Mining and Knowledge Discovery · doi:10.1002/widm.1492 · Cited by 97
“Another study using the ADReSS Challenge dataset (Luz et al., 2021) compared conventional classifiers with a deep learning model incorporating BERT (Bidirectional Encoder Representations from Transformers; a pre-trained, open source deep learning framework for NLP [Devlin et al., 2018]), and found that the BERT deep l…”
MethodInfluentialSelf-citationYousefi, F., Dehnavieh, R., Laberge, M., Gagnon, M.-P., Ghaemi, M. M., Nadali, M., & Azizi, N. (2025) · BMC Primary Care · doi:10.1186/s12875-025-02785-2 · Cited by 70
“Additional designs included cohort studies ( n = 16) (65, 71, 72, 83, 84, 87, 96, 98, 99, 114, 129, 134, 144, 153, 155, 156 ) , feasibility studies ( n = 5) [77, 89, 105, 119, 130], randomized trials ( n = 3) [127, 133, 160], mixed-methods ( n = 3) [92, 104, 108], cost evaluation ( n = 2) [124,…”
Influential
Metadata
- Authors
- Ford, E., Rooney, P., Oliver, S., Hoile, R., Hurley, P., Banerjee, S., van Marwijk, H., & Cassell, J.
- Affiliations
- Brighton and Sussex Medical School (GB)
- University of Sussex (GB)
- University of Plymouth (GB)
- Corresponding author
- Ford, Elizabeth
- Venue
- BMC Medical Informatics and Decision Making
- Published
- 2019-12
- Volume
- 19
- Issue
- 1
- Pages
- 248-248
- ISSN
- 1472-6947 (ISSN-L)
- PMC
- PMC6889642
- OpenAlex
- W2993648038
- Semantic Scholar
- 90196214e00a23df4b34cb603410bff2bc1bf90f
- Cited by
- 69
- References
- 28
- Citations by year
- 2026: 5 · 2025: 10 · 2024: 14 · 2023: 12 · 2022: 13 · 2021: 9 · 2020: 6
- FWCI
- 5.56
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- cc-by
- creativecommons.org/licenses/by/4.0/ (tdm)
- creativecommons.org/licenses/by/4.0/ (vor, 1 d)
- Locations
- BMC Medical Informatics and Decision Making (publishedVersion, cc-by)
- PubMed Central (publishedVersion, cc-by)
- PubMed (publishedVersion)
- PEARL (University of Plymouth) (submittedVersion)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
- Figshare (submittedVersion, cc-by)
- Sussex Research Online (University of Sussex) (submittedVersion, cc-by)
- Funders
- Wellcome Trust (202133/Z/16/Z)
- Topics
- Health Sciences › Medicine › Psychiatry and Mental health › Dementia and Cognitive Impairment Research
- Health Sciences › Health Professions › Health Information Management › Artificial Intelligence in Healthcare
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning in Healthcare
- Keywords
- dementia, early detection, machine learning, primary care, electronic health records, Clinical Practice Research Datalink, random forest, support vector machine, logistic regression, clinical features, older adults, disorientation, wandering, behavior change, schizophrenia, self-neglect
- MeSH terms
- Machine Learning, Aged, Algorithms, Bayes Theorem, Dementia, Female, United Kingdom, Humans, Male, Primary Health Care, Retrospective Studies, State Medicine, Logistic Models, Case-Control Studies, Neural Networks, Computer, Risk Assessment, Computational Biology, Electronic Health Records, Support Vector Machine
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.

