Quality of Life of People Living With Dementia Residing in Nursing Homes: Secondary Analysis of Observational Data.

Steijger, Dirk; Scheper, Mark C; van der Willigen, Robert Frans; Christie, Hannah; de Vugt, Marjolein E; Verbeek, Hilde; Aarts, Sil · J Med Internet Res · 2026

cross_sectional · Level IV

Where this comes from

Abstract

Quality of life (QoL) plays a crucial role in dementia care; however, QoL and its dynamic, context-dependent nature can be difficult to capture among people living with dementia due to challenges in memory and communication, and limitations of self-reported QoL instruments. Observational tools such as the Maastricht Electronic Daily Life Observation (MEDLO) provide narrative descriptions of the daily life of people living with dementia in nursing homes. However, the MEDLO tool was not developed to assess QoL specifically, and it remains unclear to what extent its narrative descriptions reflect aspects of QoL. Analyzing these narrative descriptions is labor-intensive and time-consuming. Recent advances in natural language processing, including large language models (LLMs), offer the potential to analyze these narrative descriptions at scale. The study aims to explore whether an LLM can be used to structure existing MEDLO narrative data into interpretable QoL-relevant patterns in people living with dementia. Specifically, this study examines whether N-gram analysis, sentiment analysis, and LLM-based topic modeling can identify recurring language patterns, emotional tone, and semantic clusters that can be mapped to Lawton QoL domains. This study conducted a secondary analysis of existing MEDLO observational data from 151 people living with dementia residing in Dutch long-term care. Narrative data had been documented by trained observers, describing activities, interactions, settings, and emotional expressions. For analysis, a local secure pipeline was developed in which GPT-4o-mini was deployed. The pipeline comprised three analytical steps: (1) N-gram frequency analysis, (2) sentiment analysis, and (3) topic modeling. Prompts were iteratively refined through prompt engineering. Coauthors and domain experts reviewed outputs for coherence, contextual plausibility, and relevance to long-term care practice. A total of 5622 narratives (50,106 words) from 151 people living with dementia were analyzed. The narratives were short, averaging 10.5 (SD 5.80) words per narrative. N-gram frequency analysis identified the frequent documentation of passive activities (<i>sits at the table</i>) in limited indoor settings (<i>living room</i>). Emotional well-being was often described in positive terms (<i>smiles</i> and <i>laughs</i>), whereas explicitly negative expressions (<i>cries</i> and <i>distress</i>) occurred less frequently. Weighted sentiment analysis showed that, although fewer in number, negative expressions carried a stronger intensity, resulting in an overall predominance of negative sentiment across all QoL domains. Topic modeling identified 8 coherent clusters, most of which mapped onto multiple QoL domains, underscoring QoL's multidimensionality. LLM-based analyses identified predominantly passive activities with little variation in indoor settings, while people living with dementia were often described as having positive affect. This exploratory study suggests that LLM-based analyses may help structure observational narratives into QoL-relevant patterns, but further validation is needed before such outputs can inform person-centered care practice.

Medical subject headings