Automated detection of patients with dementia whose symptoms have been identified in primary care but have no formal diagnosis: a retrospective case–control study using electronic primary care records
Open Access
- 22 January 2021
- Vol. 11 (1), e039248
- https://doi.org/10.1136/bmjopen-2020-039248
Abstract
Objectives UK statistics suggest only two-thirds of patients with dementia get a diagnosis recorded in primary care. General practitioners (GPs) report barriers to formally diagnosing dementia, so some patients may be known by GPs to have dementia but may be missing a diagnosis in their patient record. We aimed to produce a method to identify these ‘known but unlabelled’ patients with dementia using data from primary care patient records. Design Retrospective case–control study using routinely collected primary care patient records from Clinical Practice Research Datalink. Setting UK general practice. Participants English patients aged >65 years, with a coded diagnosis of dementia recorded in 2000–2012 (cases), matched 1:1 with patients with no diagnosis code for dementia (controls). Interventions Eight coded and nine keyword concepts indicating symptoms, screening tests, referrals and care for dementia recorded in the 5 years before diagnosis. We trialled machine learning classifiers to discriminate between cases and controls (logistic regression, naïve Bayes, random forest). Primary and secondary outcomes The outcome variable was dementia diagnosis code; the accuracy of classifiers was assessed using area under the receiver operating characteristic curve (AUC); the order of features contributing to discrimination was examined. Results 93 426 patients were included; the median age was 83 years (64.8% women). Three classifiers achieved high discrimination and performed very similarly. AUCs were 0.87–0.90 with coded variables, rising to 0.90–0.94 with keywords added. Feature prioritisation was different for each classifier; commonly prioritised features were Alzheimer’s prescription, dementia annual review, memory loss and dementia keywords. Conclusions It is possible to detect patients with dementia who are known to GPs but unlabelled with a diagnostic code, with a high degree of accuracy in electronic primary care record data. Using keywords from clinic notes and letters improves accuracy compared with coded data alone. This approach could improve identification of dementia cases for record-keeping, service planning and delivery of good quality care.This publication has 46 references indexed in Scilit:
- Diagnosis and disclosure of dementia – A comparative qualitative study of Irish and Swedish General PractitionersAging & Mental Health, 2013
- The ethics of disclosing genetic diagnosis for Alzheimer's disease: do we need a new paradigm?British Medical Bulletin, 2011
- Living well with dementia—development of the national dementia strategy for EnglandInternational Journal of Geriatric Psychiatry, 2010
- Survival of people with clinical diagnosis of dementia in primary care: cohort studyBMJ, 2010
- General practitioners' experiences and understandings of diagnosing dementia: Factors impacting on early diagnosisSocial Science & Medicine (1982), 2008
- Improving the quality of care for mild to moderate dementia: an evaluation of the Croydon Memory Service ModelInternational Journal of Geriatric Psychiatry, 2007
- Sooner or later? Issues in the early diagnosis of dementia in general practice: a qualitative studyFamily Practice, 2003
- Early Diagnosis of Alzheimer's Disease: Clinical and Economic BenefitsJournal of the American Geriatrics Society, 2003
- What are the Read Codes?Health Libraries Review, 1994
- The Read clinical classification.BMJ, 1990