Comorbidities of dementia in electronic health records: validation of a natural language processing app and comparison with data linkage
Mirza, L.; Bendayan, R.; Stewart, R.; Davis, K. A. S.
Show abstract
Awareness of comorbidities in people with dementia is vital context for dementia research and clinical management. Natural Language Processing (NLP) applied to free text in the electronic health record (EHR) may help ascertain comorbidity presence. Our aim was to assess the validity of the MedCAT Comorbidity NLP app in a cohort of people with dementia. We used text from the EHR of South London and Maudsley NHS Mental Health Trust via Clinical Records Interactive Search (CRIS), linked to structured data from local primary care (Lambeth DataNet) and hospital admission data in a cohort of 3,543 people with dementia. We evaluated MedCAT Comorbidity, examining internal validity via manual review of text and external validity by cross-validation against linked primary care and hospital data; and comparison of the predictive value of comorbidity measures for mortality. Internal precision was highest for atrial fibrillation (100%) and lowest for diabetes (78%). Cross-validation with linked data varied substantially across conditions, with precision from 96% to 59% and recall 77% to 4%. The median number of comorbidities identified was two using any single source, or three when combined. MedCAT Comorbidity demonstrated predictive ability for mortality (HR 1.11 per condition), although the model fit was better using comorbidity from hospital admission data. In people with dementia, the MedCAT Comorbidity app showed high precision for most conditions during internal validation. The variability of precision and recall on external validity assessment partly reflects incomplete documentation. Results from the MedCAT comorbidity app can assist researchers in understanding comorbidity of cohorts, particularly when primary care or hospital data is not available. Our findings highlight the need to develop quality assurance protocols that include internal and external validity checks before deploying general data extraction apps for specific clinical subpopulations.
Matching journals
The top 8 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- Large Language Models Facilitate the Generation of Electronic Health Record Phenotyping Algorithms 91%
- Use of unstructured text in prognostic clinical prediction models: a systematic review 91%
- medExtractR: A medication extraction algorithm for electronic health records using the R programming language 90%
Similar papers in this journal
- Identifying incident dementia by applying machine learning to a very large administrative claims dataset 93%
- CohortDiagnostics: phenotype evaluation across a network of observational data sources using population-level characterization 92%
- Development and validation of prediction models for predicting social care strengths and vulnerability in older people: Cohort study using routine data in Adult Social Care 92%
Similar papers in this journal
- Association of comorbidities and socioeconomic deprivation among people who died from dementia in England Between 2013-2023: analysis of death certificates 92%
- The Impact of COVID-19 on Adjusted Mortality Risk in Care Homes for Older Adults in Wales, United Kingdom: A retrospective population-based cohort study for mortality in 2016-2020 90%
- The facilitators and barriers to improving functional activity and wellbeing in people with dementia: A qualitative study from the Process Evaluation of Promoting Activity, Independence and Stability in Early Dementia 90%
Similar papers in this journal
- CharMark: A Markov Approach to Linguistic Biomarkers in Dementia 92%
- User Perceptions of Individually-Tailored Health Information in 1 Digital Apps: Development of a Scale 87%
- Medical Clinical Minds Meet Artificial Intelligence: Italian Physicians' Knowledge, Attitudes, and Concordance between Italian Physicians and AI-Generated Diagnoses. A National Cross-Sectional Study 87%
Similar papers in this journal
- Evaluating the GRACE voice assistant for dementia care among caregivers and healthcare professionals: An interview study. 93%
- User Experience Evaluation of Cogscreen for Screening Mild Cognitive Impairment: Formative and Summative Evaluation 91%
- A digital self-care intervention for Ugandan patients with heart failure and their clinicians: User-centred design and usability study 88%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.