Can Patients with Dementia Be Identified in Primary Care Electronic Medical Records Using Natural Language Processing?
- 23 January 2023
- journal article
- research article
- Published by Springer Nature in Journal of Healthcare Informatics Research
- Vol. 7 (1) , 42-58
Abstract
Dementia and mild cognitive impairment can be underrecognized in primary care practice and research. Free-text fields in electronic medical records (EMRs) are a rich source of information which might support increased detection and enable a better understanding of populations at risk of dementia. We used natural language processing (NLP) to identify dementia-related features in EMRs and compared the performance of supervised machine learning models to classify patients with dementia. We assembled a cohort of primary care patients aged 66 + years in Ontario, Canada, from EMR notes collected until December 2016: 526 with dementia and 44,148 without dementia. We identified dementia-related features by applying published lists, clinician input, and NLP with word embeddings to free-text progress and consult notes and organized features into thematic groups. Using machine learning models, we compared the performance of features to detect dementia, overall and during time periods relative to dementia case ascertainment in health administrative databases. Over 900 dementia-related features were identified and grouped into eight themes (including symptoms, social, function, cognition). Using notes from all time periods, LASSO had the best performance (F1 score: 77.2%, sensitivity: 71.5%, specificity: 99.8%). Model performance was poor when notes written before case ascertainment were included (F1 score: 14.4%, sensitivity: 8.3%, specificity 99.9%) but improved as later notes were added. While similar models may eventually improve recognition of cognitive issues and dementia in primary care EMRs, our findings suggest that further research is needed to identify which additional EMR components might be useful to promote early detection of dementia.Keywords
Funding Information
- Ontario Neurodegenerative Disease Research Initiative (ONDRI) through the Ontario Brain Institute
- ICES through the Ontario Ministry of Health (MOH) and Ministry of Long-Term Care
- Alzheimer Society Research Program
- Canadian Institute for Health Research Vanier Scholarship Program
This publication has 44 references indexed in Scilit:
- Predicting dementia risk in primary care: development and validation of the Dementia Risk Score using routinely collected dataBMC Medicine, 2016
- Current Developments in Dementia Risk Prediction Modelling: An Updated Systematic ReviewPLOS ONE, 2015
- Are family physicians comprehensively using electronic medical records such that the data can be used for secondary purposes? A Canadian perspectiveBMC Medical Informatics and Decision Making, 2015
- Methods for identifying 30 chronic conditions: application to administrative dataBMC Medical Informatics and Decision Making, 2015
- Validity of Administrative Data for Identifying Patients Who Have Had a Stroke or Transient Ischemic Attack Using EMRALD as a Reference StandardCanadian Journal of Cardiology, 2013
- Diagnosis and Management of the Patient with Suspected Dementia in Primary CareDrugs & Aging, 2013
- Underdiagnosis of dementia in primary care: Variations in the observed prevalence and comparisons to the expected prevalenceAging & Mental Health, 2011
- Clinical recognition of dementia and cognitive impairment in primary care: a meta-analysis of physician accuracyActa Psychiatrica Scandinavica, 2011
- Dementia risk prediction in the population: are screening models accurate?Nature Reviews Neurology, 2010
- Missed and Delayed Diagnosis of Dementia in Primary CareAlzheimer Disease & Associated Disorders, 2009