Quality of Life of People Living With Dementia Residing in Nursing Homes: Secondary Analysis of Observational Data.
Journal of medical Internet research · 2026
Abstract originale
BACKGROUND: 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. OBJECTIVE: 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. METHODS: 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. RESULTS: 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 (sits at the table) in limited indoor settings (living room). Emotional well-being was often described in positive terms (smiles and laughs), whereas explicitly negative expressions (cries and distress) 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. CONCLUSIONS: 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.
Parole chiave
Leggi il testo integrale originale
Testo estratto dalla pubblicazione: sono esclusi immagini, media, supplementi e parti soggette a diritti distinti.
Quality of Life of People Living With Dementia Residing in Nursing Homes: Secondary Analysis of Observational Data
Abstract
Background
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.
Objective
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.
Methods
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.
Results
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 (sits at the table) in limited indoor settings (living room). Emotional well-being was often described in positive terms (smiles and laughs), whereas explicitly negative expressions (cries and distress) 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.
Conclusions
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.
Introduction
Dementia is a neurocognitive disorder with cognitive decline, leading to impairments in cognitive, social, and behavioral functioning [1,2]. While the symptoms of dementia can negatively affect quality of life (QoL), factors such as individual needs, lived experiences, and environmental support also play a crucial role [3-5]. Lawton conceptualizes QoL in people living with dementia as a multidimensional concept, consisting of 4 domains: behavioral competence (physical health and functional ability), psychological well-being (mood), objective environment (environmental factors), and perceived QoL (the individual’s own evaluation of their functioning, mood, and overall life) [3,6]. This holistic perspective emphasizes that QoL extends beyond symptom severity, with consideration of the way individuals interact with their environment and preserve a sense of identity and autonomy. Improved QoL in people living with dementia has been linked to reduced agitation and depression and to an improved sense of autonomy and satisfaction with care [4,7-10].
As dementia progresses, declines in communication, memory, and executive functions often make it difficult for people living with dementia to recall and express their preferences, emotions, and sources of discomfort. This can reduce the usefulness of self-report QoL measures [11,12]. Other measures include proxy-based questionnaires and systematic observational methods. However, these methods are not always capable of reflecting the dynamics and nuances associated with day-to-day QoL [13,14]. In recent years, observation tools such as the Maastricht Electronic Daily Life Observation (MEDLO) have introduced a more comprehensive assessment approach by integrating quantitative information with narrative descriptions of the behavior, mood, and environment of people living with dementia in nursing homes [15]. These narrative descriptions, hereafter referred to as narrative data, are collected by a trained observer and contain written information about the behavior of an individual and the environmental contextual information in which this behavior occurred. They capture detailed, real-time descriptions of the daily lives of people living with dementia in long-term care settings, offering a unique window into the everyday QoL. However, the MEDLO tool was not developed to assess QoL specifically, as it does not include a predefined QoL scoring system, validated QoL subscales, or direct self-reported evaluations of QoL by the person living with dementia. Therefore, the narrative data may contain signals that are relevant to QoL, but these signals remain implicit. Moreover, manual analysis of these narrative data is time-consuming, difficult to scale, and susceptible to interpretative bias [16-20]. Consequently, large volumes of narrative data collected with the MEDLO tool remain underanalyzed and underutilized for deriving QoL-related insights in dementia care.
However, recent advances in AI, particularly in natural language processing (NLP), hold at least a partial solution to the practical limitations of current methods for analyzing narrative data in long-term care. NLP focuses on the analysis and interpretation of human language in textual form by enabling automated computerized detection of themes, tones, and meaning within large volumes of narrative data [21]. In recent years, large language models (LLMs) have represented a significant advance in NLP, enabling models to interpret linguistic patterns with greater contextual and semantic depth than previous alternative approaches [22,23]. Trained on vast corpora of text, LLMs are capable of analyzing large volumes of text that would otherwise be impractical to analyze due to limited resources. LLM-based analysis can systematically extract recurring language patterns, emotional tone, and semantically related themes from large volumes of unstructured narrative data [24,25]. Therefore, LLMs could potentially also be used to identify QoL-relevant patterns in unstructured narrative data, with the potential to transform these data into interpretable QoL-related information [26]. Recent studies have used NLP and LLMs to extract information from free-text electronic health records [27-32]. Few studies have applied these methods within dementia care [27,33-35], and none have focused on QoL.
The study aims to explore whether LLM-based analyses can be used to structure existing narrative data, stemming from MEDLO data, into interpretable QoL-relevant patterns among people living with dementia residing in nursing homes in the Netherlands. Specifically, we examine 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. As MEDLO was not developed as a QoL instrument, these outputs are interpreted as exploratory QoL-relevant signals rather than direct measurements of QoL. This study contributes to the field by showing how routinely collected observational text may be transformed into structured, QoL-relevant patterns for dementia care research
Methods
Study Design
This study builds on a previous exploratory observational study by analyzing the existing narrative data to explore whether LLM-based analyses can transform these narratives of daily life into interpretable insights of QoL in people living with dementia.
Data Collection
The dataset used in this study was originally collected as part of the “Green Care Farms—an innovative care environment for adults living with dementia” project [36]. Similar to the current study, the Green Care Farms project was conducted within the Living Lab in Ageing and Long-Term Care in South Limburg, the Netherlands [37]. The Green Care Farms project aimed to monitor the daily lives of people living with dementia residing in Dutch care farms and traditional nursing homes, examining how the care farm environment influences their well-being.
Data were collected using the MEDLO tool, a tablet-based observation instrument specifically developed to capture detailed, real-time descriptions of the daily lives of people living with dementia in long-term care settings [14,15].
Data were collected over a period of 2 months per Green Care Farm, and the period of the day of the observation was selected randomly. Three researchers and 2 research assistants carried out observations at the 4 green care farms. All observers were trained by an experienced user of the MEDLO tool. This training consisted of studying the manual, practicing the training, and discussing the data. Within this training, both researchers observed the same people living with dementia and discussed their findings. The researchers conducted observations independently when they reached a complete agreement.
People living with dementia were observed for one morning (7 AM-11:30 AM), one afternoon (11:30 AM-4 PM), and one evening (4 PM-8:30 PM), with a 30-minute break each day. Every 20 minutes, a maximum of 11 people living with dementia were observed for 1 minute in a random sequence. This led to 12 observations per individual living with dementia per observation day and 36 momentary assessments per individual living with dementia in total. The people living with dementia were observed for 1 minute. By randomly selecting time points within the days of a person with dementia, insight into their daily lives was gained [15]. All observed people living with dementia had a formal diagnosis of dementia, confirmed by medical staff.
During each 1-minute observation, observers recorded both quantitative scores and narrative descriptions on four domains of daily living: (1) activity performance, (2) physical environment, (3) social interaction, and (4) emotional well-being. The narrative descriptions were written as free-text entries in natural language, without predefined categories or templates, allowing observers to capture contextual details and subtle nuances often overlooked in standardized formats [13,14]. For example (translated from Dutch): “She is sitting at the dining table next to the kitchen unit, staring at a newspaper in front of her.” These narrative descriptions served as the primary dataset for the current study’s NLP analysis.
Ethical Considerations
Data were derived from the Green Care Farms study. This study was reviewed and approved by the Medical Ethics Committee of Zuyderland, the Netherlands (METCZ20210097). An amendment to the study protocol received a positive decision from the same ethics committee on February 20, 2024. The present study used anonymized observational data collected within this approved study protocol for secondary analysis. All procedures were conducted in accordance with the ethical standards of the institutional and/or national research committee and with the Declaration of Helsinki and its later amendments [38]. The data used in the present study had been anonymized by the researchers from the original study before being transferred to the current research team.
Data Preprocessing
Preprocessing is a critical step in text mining, as it prepares raw text for analysis by removing noisy or unreliable data that may interfere with accurate interpretation [19,39]. In this context, “noise” refers to inconsistencies in the data that do not carry meaningful information for analysis [40]. For the current study, preprocessing and analysis were performed using Python version 3.11.8, a free software package for general-purpose programming language [41]. The code for all the analyses can be found on GitHub [42].
While traditional NLP pipelines often involve extensive text cleaning, such as tokenization, normalization, stop-word removal, stemming, and handling punctuation and numbers, minimal preprocessing was conducted in this study [43]. The rationale for this approach was to preserve the natural language, contextual detail, and subtle nuances in the narrative data [44]. These nuances, including emotional tone and subtle behavioral cues, are essential for understanding the QoL of people living with dementia.
Although this study applied minimal preprocessing, several preprocessing steps were carried out in collaboration with researchers from the original Green Care Farm project, leveraging their familiarity with the data to ensure high data quality. (1) All narrative data from the MEDLO tool were extracted from the Excel file into a plain text file and loaded into Python; (2) all words were lowercased to enable consistent matching of identical terms regardless of case and to facilitate abbreviation expansion; (3) commonly used abbreviations, introduced during data collection to expedite note-taking, were replaced with their full-length equivalents (eg, lr: living room, bk: big kitchen); (4) double spaces and stray blank spaces were removed, and numbers were written out in words to improve textual consistency; and (5) the final preprocessed text file was converted into a PDF format, which was then used as input for LLM-based analyses, allowing the model to process the narrative data in its original form. The conversion to PDF was a pragmatic workflow decision rather than an analytical preprocessing step. The secure analysis pipeline had originally been developed to process PDF input files, and therefore, the final preprocessed text file was converted to PDF to ensure compatibility with this existing pipeline.
Model Architecture
This study analyzed the narrative data using an LLM approach, using GPT-4.0-mini deployed through the Azure OpenAI Service (Microsoft) [45]. The analysis was conducted in Python 3.11.8 using the OpenAI Python package (openai==1.59.6), which was used to send requests to the Azure OpenAI chat-completion end point [46,47]. Supporting packages included PyPDF2 for extracting text from the PDF input file and pandas for structuring the extracted text during analysis [48,49]. The extracted narrative text was combined into a single Dutch text corpus and submitted to the deployed model through the local Azure deployment named 4OMINI using API version 2023-09-01-preview. The request specified a maximum generated output length of 4096 tokens. Temperature, seed, and structured response format were not explicitly set in the request. Therefore, outputs were generated without explicitly controlling randomness or enforcing a structured response format [50-52]. The analyses were performed via the model between November 2024 and May 2025. The model was not trained or fine-tuned on these data but was used only for inference. All preprocessing, prompt preparation, and output storage were conducted within the local secure research environment of Maastricht University. This secure and scalable blueprint of the model enables organizations to use LLMs, such as GPT-4.0-mini, while safeguarding data privacy.
Prompt Engineering
Overview
Prompt engineering was used to instruct the model in extracting language pattern insights from the narrative data. Three task-specific prompts were developed in Dutch: (1) N-gram identification and QoL-domain mapping, (2) sentiment scoring of N-grams, and (3) topic modeling with QoL-domain mapping. Each prompt specified the analytical task, the expected output format, the use of Lawton QoL domains as the conceptual framework, and instructions to remain close to the wording of the original observational narratives. The final prompts can be found at the repository at GitHub [42].
Prompt development followed an iterative refinement process [53]. After each analytical run, coauthors (DS, MCS, RFvdW, SA) evaluated whether the output was coherent, sufficiently specific, grounded in the narrative data, and consistent with the predefined QoL-domain framework. Prompt adjustments were made when outputs were too broad, semantically unclear, or inconsistent with the predefined QoL-domain framework. This iterative process continued until the coauthors reached consensus that the outputs were sufficiently interpretable, contextually plausible, and aligned with the study aim. In total, the N-gram identification and QoL-domain mapping prompt were run 9 times, the sentiment scoring prompt was run 6 times, and the topic modeling and QoL-domain mapping prompt were run 10 times. All prompt versions and corresponding outputs were stored to document the development process and are available from the corresponding author upon request. The final prompts were each executed once for the final analysis and were not repeated multiple times as identical runs to formally assess run-to-run stability. Therefore, some degree of output variability cannot be ruled out.
All analyses were conducted on the original Dutch narrative data. The narratives were not translated before analysis. English translations of selected examples are provided only for reporting purposes in this paper.
N-Gram Frequency Analysis and Sentiment Analysis
The first analysis performed by the model was N-gram frequency analysis, and the second analysis was sentiment analysis. To accomplish both analyses, 2 different prompts were developed to guide the model’s analyses: one prompt to identify the most frequent N-grams per QoL domain and the other prompt to determine the most positive and most negative sentiment-scoring N-grams per QoL domain.
An N-gram is a sequence of N consecutive words extracted from a text [54]. For example, the sentence “The resident smiled while listening to music” can be broken down into the following: (1) unigrams: “The,” “resident,” “smiled,” “while,” “listening,” “to,” “music;” (2) bigrams: “The resident,” ‘‘resident smiled,” “smiled while,” “while listening;” and (3) trigrams: “The resident smiled,” “resident smiled while,” “smiled while listening.” Using the first prompt, the model was instructed to identify the N-grams across the narrative data. The next step in this prompt was to categorize each N-gram into an appropriate QoL domain. The mapping of N-grams to QoL domains was operationalized using the Lawton QoL framework. The definitions of behavioral competence, psychological well-being, objective environment, and perceived QoL were added to the context section of the prompts. Based on these definitions, the model was instructed to assign each N-gram to the most appropriate QoL domain. Consequently, the prompt instructed the model to report the 15 most frequent N-grams per QoL domain. The 15 N-grams assigned to each QoL domain were then reviewed by the coauthors and cross-referenced with the literature to assess whether they were contextually plausible and consistent with the domain to which they had been assigned.
In cases where an N-gram appeared too ambiguous to convey a clear meaning, the model was instructed, using the first prompt, to extend the N-gram by one additional word, derived from the original narrative context, rather than generated independently, in order to improve the clarity of the N-gram. For instance, the trigram “is happy with” could be extended to “is happy with visits” depending on its original context. This approach could ensure that N-grams reflect meaningful language units rather than isolated, ambiguous terms. Consequently, using the second prompt, the model identified the most positive and most negative sentiment-scoring N-grams categorized per QoL domain. Specifically, this prompt first identified all N-grams present in the narrative data and then applied sentiment analysis to all N-grams. Thus, sentiment analysis was not performed on the most frequent N-grams, from the first prompt, but on all N-grams identified in the narrative data. N-gram sentiment analysis involves determining the emotional tone of a given text [19,39,55]. For example, “The resident smiled while listening to music” would typically be classified as positive, whereas “The resident sat alone and looked down without responding” would be classified as negative. Neutral sentiment could be applied to emotionally neutral statements such as “The resident walked across the room.”
Each identified N-gram was assigned a sentiment score on a scale from −1 (“very negative”) to 1 or ambiguous sentences (“very positive”), with 0 indicating neutral sentiment. The model was instructed to apply both lexicon-based and context-aware sentiment score approaches to improve the accuracy of the sentiment scores assigned to the N-grams. Lexicon-based sentiment analysis relies on predefined emotional associations of individual words; for instance, “happy” is typically associated with positive sentiment. However, this method may misclassify more complex or ambiguous sentences. To address this complexity, a context-aware sentiment analysis was also used to interpret the meaning based on phrasing and tone. For example, although the sentence “The resident smiled briefly at the caregiver but avoided eye contact and stayed silent” included the word “smiled,” the overall sentiment might be neutral or negative due to the surrounding disengagement indicators.
While the most positive and most negative sentiment-scoring N-grams of each QoL domain were identified based on their sentiment scores, it should be noted that these N-grams might have appeared only once in the narrative data. As such, these most positive and most negative sentiment-scoring N-grams do not necessarily provide insight into a general sentiment tendency within each QoL domain. To gain insight into broader sentiment patterns, weighted sentiment summaries were calculated [56]. For each N-gram of the most positive and most negative sentiment-scoring N-grams in a QoL domain, the sentiment score of that N-gram was multiplied by its frequency of occurrence in the narrative data. Subsequently, the sum of these products was then divided by the total frequency of all the N-grams within each QoL domain. This yielded a weighted sentiment score for each QoL domain.
Topic Modeling With QoL Domain Mapping
The third analysis regarded topic modeling, which was used to identify recurring themes in the narrative data. This analytical task was instructed via a third prompt. Topic modeling refers to the process of grouping semantically related keywords into overarching themes [19,57,58]. For example, keywords such as pacing, fidgeting, frustration, wandering, and repetitive movement might be clustered under the topic label agitation and restlessness. In this study, topic modeling was implemented as an LLM-based analytical task rather than as a traditional statistical topic modeling [59,60]. The definitions of Lawton 4 QoL domains were included in the context section of the prompt. The model was instructed to group semantically related words into topics, assign a descriptive label to each topic, and then link each topic to one or more QoL domains (as a single topic might reflect more than one aspect of QoL) based on the associated words in the narrative data [60,61]. Coauthors then reviewed whether the topics with included keywords, their labels, and their assigned QoL domains were coherent, plausible, and consistent with the Lawton framework.
The prompt also included guidance to enhance analytical granularity, such as splitting broad topic clusters into more specific clusters. To improve the accuracy of the topic modeling analysis over time, the model was further guided, via the prompt, to suggest refinements to the prompt itself. As with the N-gram and sentiment analysis, prompt development followed an iterative process, with adjustments to structure, wording, and level of detail made in response to the relevance and coherence of earlier outputs.
Expert Model Evaluation
Expert evaluation was used to assess whether selected model outputs were meaningful and contextually plausible in relation to long-term care practice. For sentiment analysis, 2 researchers (LF and KR, both with 5 years of research experience in long-term care) from the original Green Care Farm project independently reviewed the top positive and negative N-grams per QoL domain [62]. They assessed whether the assigned sentiment direction and intensity were plausible, given the wording of the N-gram and its interpretation within the context of observational dementia care. Disagreements between reviewers were recorded and discussed, and the final interpretation was based on consensus.
For topic modeling, the model-generated clusters were reviewed by 4 members of the research team (DS, HC, SA, and MCS), with expertise in dementia care and QoL research, long-term care research, and health care AI methods. The topic clusters were assessed using 2 qualitative criteria: coherence and distinctiveness. Coherence referred to the internal consistency of each topic cluster, that is, whether the terms grouped under a given label were meaningfully related [58]. For example, a cluster containing the terms music, dancing, laughter, and clapping was assessed to be coherent and appropriately labeled as leisure activities. In contrast, if an unrelated term, such as agitation, appeared within that same cluster, it indicated a lack of coherence, which resulted in further fine-tuning of the prompt. Distinctiveness was assessed by examining the boundaries between topic clusters to avoid redundancy or overlap. If an overlap between topic clusters was identified by the research team, the model was iteratively prompted to generate more distinct clusters. This process of prompt engineering continued until the research team reached consensus that the topic clusters were sufficiently distinct, with minimal thematic overlap.
Results
Overview
In total, 5652 observations were conducted on 151 people living with dementia during the Green Care Farms study [62]. Narrative descriptions were missing in 30 (0.53%) observations. The narrative descriptions totaled 50,106 words. An average of 10.5 (SD 5.8) words was noted per narrative. Table 1 presents the background characteristics of the 151 individuals living with dementia who were observed.
Table 1. Characteristics of people living with dementia observed in the Green Care Farm study.
Characteristics Participants (N=151)
Age, mean (SD) 84.7 (7.1)
Sex (female), n (%) 108 (72)
S-MMSEa score, mean (SD) 10.5 (7.4)
Barthel Index scoreb, mean (SD) 13 (5.6)
aS-MMSE: Standardized Mini-Mental State Examination. The S-MMSE assesses global cognitive functioning, with lower scores indicating greater cognitive impairment.
bThe Barthel Index measures independence in activities of daily living, with lower scores indicating greater dependency. The table is adapted from the original study [62].
N-Gram Frequency Analysis
The N-gram frequency analysis revealed language patterns related to QoL. Frequently observed terms included laughing, smiling, satisfied, and nice, suggesting that people living with dementia were often described as being in a state of positive emotional well-being. Negative affective expressions, such as becoming angry, crying, and feeling distressed, appeared far less frequently than positive affective expressions.
Ten of the 15 N-grams within the QoL domain behavior competence reflected low-activity behavior. Observers frequently noted people living with dementia sitting at the table, reading the newspaper, or looking outside. Although terms that encompass “activity” such as helps with cooking or participates in gymnastics were present, they were less common. This suggests a pattern of predominantly passive engagement in daily life, despite generally positive emotional expressions.
The daily lives of people living with dementia were most often observed in 2 core settings: the private room and the living room. Additionally, a few observations of people living with dementia were made in outdoor spaces, such as a terrace, the garden, or in the sun.
Similar to other QoL domains, N-grams within the perceived QoL domain were mainly positive affective expressions, such as satisfied, nice, beautiful, and happy. The partial overlap in N-grams from the domain of psychological well-being was observed (ie, satisfied and happy). The 15 most frequent N-grams identified within each QoL domain are presented in Figure 1.
Figure 1 shows the 15 most frequent N-grams identified in the observational field notes for each of Lawton QoL domains. Frequencies indicate the number of times each N-gram occurred in the contextualized text segments included in the N-gram analysis. The panels show that psychological well-being was mainly represented by affective expressions such as “lachen,” “glimlacht,” and “blij;” behavioral competence by passive activity phrases such as “zit aan tafel” and “kijkt naar buiten;” objective environment by indoor settings such as “eigen kamer” and “woonkamer;” and perceived QoL by evaluative or experiential expressions such as “tevreden,” “leuk,” and “mooi.”
Although the model was instructed to extend ambiguous N-grams by one word to improve clarity, some N-grams still lacked semantic clarity and contextual relevance. For instance, certain N-grams live or direct reaction offered limited insight.
Sentiment Analysis
Figure 2 presents the 5 most positively and negatively scored N-grams within each QoL domain, showing a wide range from strongly negative to strongly positive sentiment. The analysis of the N-grams identifies distinct sentiment patterns across QoL domains. High positive sentiment-scoring N-grams (around +0.8 to+0.9) show engagement and enjoyment of people living with dementia, such as experiencing fun during games, being cheerful with visitors, and going walking with a group. On the contrary, strongly negative sentiment-scoring N-grams (around −0.8) appear in expressions such as crying, appearing confused, and feeling anxious, which predominantly capture emotional distress in people living with dementia.
Within each QoL domain, the sentiment polarity of the N-grams is clear. Perceived QoL ranges from female client seems satisfied to feels bad. Psychological well-being ranges from happy with visitors to crying. Behavioral competence ranges from goes walking with a group to complaining.
While these examples reflect a mix of positive and negative-scoring N-grams, the overall sentiment distribution in the narrative data was skewed. Across all QoL domains, negative sentiment outweighed positive sentiment. Positive sentiment made up between 17.9% and 24.9% of the total weighted sentiment, depending on the QoL domain. This suggests that the average sentiment per QoL domain was driven downward by the higher intensity of negative sentiment-scoring N-grams. Even when positive sentiment-scoring N-grams appeared more frequently, their lower sentiment scores were insufficient to offset the impact of fewer but more intensely negative sentiment-scoring N-grams. Table 2 presents the weighted positive and negative sentiment scores for each QoL domain.
Figure 2 shows sentiment scores for the top 5 most positive and negative N-grams categorized by Lawton QoL domains. Bars to the right of 0 represent positively scored N-grams, whereas bars to the left of 0 represent negatively scored N-grams. Colors indicate the QoL domain to which each N-gram was assigned: behavioral competence, psychological well-being, objective environment, or perceived QoL. These sentiment scores reflect the polarity of documented textual expressions and should not be interpreted as direct measures of participants’ QoL.
Table 2.Weighted sentiment scores for the most positive and negative N-grams by Lawton quality-of-life (QoL) domains.
QoL domain Positive (wsuma) Negative (wsum) Pos/neg ratiob %Positivec %Negative
Behavioral competence 43.1 140.0 0.3 24.9 75.1
Psychological well-being 39.9 182.5 0.2 17.9 82.1
Objective environment 38.9 153.7 0.25 20.2 79.8
Perceived QoL 42.8 135.0 0.3 24.4 75.6
awsum: weighted sum of sentiment scores, calculated as N-gram frequency multiplied by the sentiment score.
bPos/neg ratio: ratio of positive to negative weighted sentiment.
cPercentage weighted sentiment: proportion of positive or negative sentiment relative to the total weighted sentiment per QoL domain. These scores reflect sentiment patterns in documented observational text and should not be interpreted as direct measures of participants’ QoL.
Topic Modeling
Topic modeling identified 8 main topics in the narrative data. Each topic was defined by a set of representative keywords and was linked to one or more QoL domains, as shown in Table 3.
The model inferred thematic correlations based on the co-occurrence of keywords across different QoL domains. This showed that narrative data involving social interaction and daily activities (ie, eating and walking) frequently appeared alongside positive emotional expressions (ie, smiling and feeling relaxed). On the contrary, negative emotional states (ie, restlessness or sadness) were often reported in contexts of social isolation or reduced stimulation, such as when people living with dementia remained in bed or stayed alone in their rooms.
Perceived QoL was linked to the highest number of topics (6/8). The other QoL domains appeared in 4 topics. Many topics were assigned to multiple QoL domains, indicating that a single thematic cluster often reflects multiple QoL domains. For example, the topic eating and drinking was linked to behavioral competence, objective environment, and perceived QoL, reflecting the multidimensional nature of QoL.
Table 3.Overview of identified topics including keywords and associated Lawton quality-of-life (QoL) domains.
Topica Keywords QoL domains
Daily activities Sleeping, eating, singing, reading, and cooking Behavioral competence, objective environment, and perceived QoL
Psychological well-being Laughing, smiling, angry, confused, and content Psychological well-being and perceived QoL
Communication with staff and coresidents Talking, conversations, and singing Psychological well-being and perceived QoL
Physical activity and mobility Walking, grocery shopping, walking around, and moving Behavioral competence and objective environment
Personal care and support Dressing, showering, medication, and helping Behavioral competence and psychological well-being
Social interaction Visits, family, residents, and being together Psychological well-being and perceived QoL
Eating and drinking Sandwich, coffee, soup, tea, cookie, and meal Behavioral competence, objective environment, and perceived QoL
Environmental factors Terrace, garden, kitchen, living room, sun, and flowers Objective environment and perceived QoL
aTopics were identified from the observational field notes and linked to Lawton QoL domains based on the content of the associated keywords.
Discussion
Principal Findings
The study aimed to explore whether an LLM could be used to structure existing MEDLO narrative data into interpretable QoL-relevant patterns in people living with dementia residing in nursing homes in the Netherlands. Specifically, it examined whether N-gram analysis, sentiment analysis, and LLM-based topic modeling could identify recurring language patterns, emotional tone, and semantic clusters that could be mapped to the Lawton QoL domains.
A first implication from this study concerns the need to incorporate context into observational data when reporting and analyzing affect in people living with dementia. The findings from this study indicated that while people living with dementia were predominantly observed during passive activities and in a limited range of indoor settings, they were often observed expressing positive emotions during the day. In addition, the sentiment analysis showed that although negative expressions were documented less frequently, they received more extreme negative sentiment scores. This finding is consistent with the literature, suggesting that people living with dementia are frequently documented as comfortable and content in their daily lives; however, their well-being remains sensitive to moments when physical, emotional, or social needs are not fully met [3,63-65]. The reported high-intensity negative expressions may reflect moments when these needs are not adequately addressed [66,67]. However, measuring emotions in people living with dementia is challenging because their emotional expression is often characterized by neutral affect [63]. Consequently, in this study, observations reflecting neutral affect may have contributed little to the weighted sentiment scores, while less common negative expressions could have stood out against this neutral baseline and received relatively high-intensity scores, thereby influencing the weighted sentiment results.
Hence, there is a need to develop documentation guidelines to encourage observers to standardize their data collection methods and practices. While traditional NLP methods, such as term frequency-inverse document frequency, rely on word occurrences, LLMs interpret meaning from the surrounding context [23]. Consequently, the descriptive detail of the narrative data directly affects the outputs. This dependency on context-rich narrative data means that variation in how observers phrase their descriptions can lead to systematic differences in model outputs, even when experiences are similar [67-69]. For example, what to record, how detailed to be, and which emotions or behaviors to emphasize are each influenced by time constraints and professional judgment. Therefore, developing documentation guidelines could encourage observers to standardize their documentation. An example of such documentation guidelines is to include narrative information about the social context, setting, and activity, alongside emotional expressions, in care descriptions, which could provide richer input for LLM-based models while remaining feasible within care routines [70-72]. This also aligns with broader debates in health care–based LLM use, where the quality and style of input text have been shown to shape model performance in long-term care, potentially improving care for people living with dementia [70-72].
A second implication of this study concerns the ways in which LLM-generated conceptualizations of QoL can provide insight into how different aspects of QoL can co-occur and interact in dementia care and in what circumstances they do so [62,66,73-75]. The Kitwood personhood framework, along with later work on person-centered care, emphasizes that QoL derives from opportunities for purposeful activity, social reciprocity, and recognition of individuality rather than from momentary affective expressions alone [67,76,77]. From this perspective, positive documented expressions during passive activities in low-variation indoor settings may be interpreted as reflecting momentary positive affect, while leaving unanswered questions about the extent of meaningful engagement [78,79]. In our analysis, the LLM-generated outputs linked affective terms with descriptions of activity, agency, and social interaction. These textual patterns may provide contextual information that could support further exploration of the distinction between momentary positive affect and meaningful engagement. Furthermore, the topic modeling in this study provides support for the idea that all of Lawton QoL domains are interwoven [3,6,80]. For example, the description of enjoying helping with cooking may simultaneously reflect behavioral competence, psychological well-being, and perceived QoL. In the future, LLM-generated clusters may help describe how emotional, physical, social, and environmental aspects co-occur within observational narratives, while existing questionnaires currently isolate experiences into predefined categories [81-83].
In sum, this study aligns with broader developments in health care, where increasing attention is being given to the analysis of narrative data [24,84-87]. The current findings demonstrate that even brief narrative care data can be structured into recurring textual patterns. This creates opportunities to integrate near–real-time feedback loops into tools such as the MEDLO. Embedding LLM-based analysis within such tools may enable the immediate analysis of narrative descriptions, transforming routine documentation into dynamic QoL feedback of people living with dementia. For example, the automatic detection of subtle changes in emotional tone or activity diversity could help care teams recognize early signs of reduced well-being. Such insights may enable staff to identify emerging needs earlier and adjust activities, environments, or interactions in a more proactive and person-centered manner [67,88,89]. Importantly, these integrated feedback loops should complement, not replace, the expertise of care professionals by offering timely, data-informed insights to support daily practice [90,91]. Evidence from long-term care indicates that these technologies must be developed in close collaboration with domain experts, including care professionals, researchers, and technology developers, to ensure integration into daily workflows, meet usability requirements, and uphold ethical standards [92-95].
Strengths and Limitations
A key strength of this study was the unique nature of this real-world dementia-specific dataset. The manual analysis of this dataset would be very time-consuming. However, analyzing these data with an LLM enabled the systematic exploration of thousands of brief descriptions. Another strength lies in the decision to use minimal preprocessing, preserving the authenticity and contextual richness of the observational language. This approach enabled the LLM to capture the nuances of natural expression, thereby maintaining practical relevance in real-world care contexts. Transparency and reproducibility were also prioritized: all coding materials and prompts were made openly available, supporting replication and further adaptation of the analytical workflow in other settings. Finally, the black-box nature of LLMs limits insight into how specific outputs were generated. To mitigate this, 2 experts manually reviewed the most positive and most negative-scoring N-grams to assess whether the assigned sentiment scores aligned with their contextual meaning.
Several limitations should also be acknowledged. First, individual narrative descriptions were often brief and fragmented with an average length of 10.5 (SD 5.80) words. This limited the semantic richness available for LLM-based analysis and may have affected the quality of all outputs. However, analyzing the entire corpus at scale partly offset this limitation, allowing recurring patterns to emerge, despite the brevity of individual notes. Second, the data were collected and analyzed in Dutch nursing home settings, which may limit the generalizability and transferability of the findings to other long-term care contexts and languages. However, analyzing the narratives in their original language avoided potential loss of meaning that could have occurred through translation before analysis. Third, although the final prompts were developed through an iterative refinement process, each final prompt was executed only once for the final analysis. LLM-based outputs may vary across repeated executions and model versions, even when prompts and input data remain unchanged [50,96]. We documented the model, deployment, API version, software package version, analysis period, prompts, and code; however, exact computational reproducibility cannot be guaranteed. Fourth, although the expert panel evaluated the sentiment scores of the top-scoring N-grams, the analysis relied on a general-language lexicon rather than a dementia-specific lexicon. Consequently, some context-dependent terms may have been mis-scored and, if they did not appear among the reviewed N-grams, remained underutilized. Finally, the expert review assessed whether selected outputs were coherent, plausible, and meaningful in relation to long-term care practice but did not perform formal validation or allow for the calculation of agreement metrics. Because QoL in dementia is subjective and lacks a single objective gold standard for validation, the findings should be interpreted as exploratory QoL-relevant patterns rather than validated classifications or measurements of QoL [66].
Future Research
Future research should build on these findings in several directions. First, larger and more comprehensive datasets, including greater and richer volumes of observational narrative descriptions, are needed to strengthen the robustness and generalizability of the analysis. Second, a dementia-specific lexicon should be developed and validated to ensure that terms are weighted appropriately in this context. Third, prospective validation studies are required to examine whether LLM-based themes and sentiment patterns correspond to established QoL instrument scores. Fourth, research should explore the real-time integration of LLM-based analysis into observation tools such as MEDLO, evaluating usability, interpretability, and workflow alignment through co-design with care professionals.
These findings should be interpreted as exploratory. Although the current analysis suggests that LLM-based analyses may help structure observational narratives into QoL-relevant patterns, the approach is not yet validated against QoL measures. Before such outputs can inform person-centered care, further research is needed to examine whether LLM-generated outputs correspond to established QoL measures if validated and integrated into care workflows.
Conclusion
LLM-based analyses predominantly identified passive activities in little variation in indoor settings; however, people living with dementia were often described as having a positive affect. These findings suggest that LLM-based analyses can structure observational narratives into interpretable patterns of activity, emotional expression, and social interaction. Further validation is required before such outputs can support multidisciplinary reflection and person-centered dementia care.
References
1.Sachdev PS Blacker D Blazer DG et alClassifying neurocognitive disorders: the DSM-5 approach Nat Rev Neurol Nov2014 10 11 634 642 doi10.1038/nrneurol.2014.181 Medline25266297
2.Banerjee S Samsi K Petrie CD et alWhat do we know about quality of life in dementia? A review of the emerging evidence on the predictive and explanatory value of disease specific measures of health related quality of life in people with dementia Int J Geriatr Psychiatry 012009 24 1 15 24 doi10.1002/gps.2090 Medline18727132
3.Lawton MP A multidimensional view of quality of life in frail eldersBirren JE Rowe JC Deutchman DE Lubben JE The Concept and Measurement of Quality of Life in the Frail Elderly Elsevier1991 3 27 doi10.1016/B978-0-12-101275-5.50005-3
4.Cerejeira J Lagarto L Mukaetova-Ladinska EB Behavioral and psychological symptoms of dementia Front Neurol 2012 3 73doi10.3389/fneur.2012.00073 Medline22586419 PMC3345875
5.Dröes RM Boelens-Van Der Knoop EC Bos J et alQuality of life in dementia in perspective: an explorative study of variations in opinions among people with dementia and their professional caregivers, and in literature Dementia 2006 5 4 533 558 doi10.1177/1471301206069929
6.Ettema TP Dröes RM de Lange J Ooms ME Mellenbergh GJ Ribbe MW The concept of quality of life in dementia in the different stages of the disease Int Psychogeriatr Sep2005 17 3 353 370 doi10.1017/s1041610205002073 Medline16252370
7.Schmüdderich K Holle D Ströbel A Holle B Palm R Relationship between the severity of agitation and quality of life in residents with dementia living in German nursing homes - a secondary data analysis BMC Psychiatry Apr132021 21 1 191doi10.1186/s12888-021-03167-5 Medline33849487 PMC8042694
8.Banerjee S Smith SC Lamping DL et alQuality of life in dementia: more than just cognition. An analysis of associations with quality of life in dementia J Neurol Neurosurg Psychiatry Feb12006 77 2 146 148 doi10.1136/jnnp.2005.072983 Medline16421113 PMC2077592
9.Hoe J Hancock G Livingston G Orrell M Quality of life of people with dementia in residential care homes Br J Psychiatry 052006 188 5 460 464 doi10.1192/bjp.bp.104.007658 Medline16648533
10.Scherrer Júnior G Okuno MFP de Oliveira LM et alQuality of life of institutionalized aged with and without symptoms of depression Rev Bras Enferm Nov2019 72 suppl 2 127 133 doi10.1590/0034-7167-2018-0316 Medline31826201
11.Banovic S Zunic LJ Sinanovic O Communication difficulties as a result of dementia Mater Sociomed Oct2018 30 3 221 224 doi10.5455/msm.2018.30.221-224 Medline30515063 PMC6195406
12.Warren A Behavioral and psychological symptoms of dementia as a means of communication: considerations for reducing stigma and promoting person-centered care Front Psychol 2022 13 875246doi10.3389/fpsyg.2022.875246 Medline35422728 PMC9002111
13.Sanghera S Walther A Peters TJ Coast J Challenges in using recommended quality of life measures to assess fluctuating health: a think-aloud study to understand how recall and timing of assessment influence patient responses Patient 072022 15 4 445 457 doi10.1007/s40271-021-00555-7 Medline34854064 PMC9197908
14.Beerens HC Adding life to years: quality of life of people with dementia receiving long-term care [Doctoral Dissertation] Maastricht University2016 URLhttps://cris.maastrichtuniversity.nl/en/publications/adding-life-to-years-quality-of-life-of-people-with-dementia-rece/Accessed27-08-2026
15.de Boer B Beerens HC Zwakhalen SMG Tan FES Hamers JPH Verbeek H Daily lives of residents with dementia in nursing homes: development of the Maastricht electronic daily life observation tool Int Psychogeriatr Aug2016 28 8 1333 1343 doi10.1017/S1041610216000478 Medline27008094
16.Nikhil R Tikoo N Kurle S Pisupati HS Prasad GR A survey on text mining and sentiment analysis for unstructured web data J Emerg Technol Innov Res 2015 2 4 1292 1296 URLhttps://www.jetir.org/view?paper=JETIR1504084Accessed27-08-2026
17.Adnan K Akbar R Khor SW Ali ABA Role and challenges of unstructured big data in healthcareSharma N Chakrabarti A Balas VE Data Management, Analytics and Innovation: Proceedings of ICDMAI 2019, Volume 1 Springer2020 301 323 doi10.1007/978-981-32-9949-8_22
18.Tayefi M Ngo P Chomutare T et alChallenges and opportunities beyond structured data in analysis of electronic health records WIREs Comput Stat Nov2021 13 6 e1549doi10.1002/wics.1549
19.Hacking C Verbeek H Hamers JPH Aarts S Comparing text mining and manual coding methods: analysing interview data on quality of care in long-term care for older adults PLoS ONE 2023 18 11 e0292578doi10.1371/journal.pone.0292578 Medline37939098 PMC10631650
20.Razzaqe MA Basak T Text mining in unstructured text: techniques, methods and analysis World Sci News An Int Sci J 2022 174 76 92 URLhttps://www.researchgate.net/profile/Tapati-Basak/publication/375583862_Text_mining_in_unstructured_text_techniques_methods_and_analysis/links/6550735c3fa26f66f4f47eca/Text-mining-in-unstructured-text-techniques-methods-and-analysis.pdfAccessed27-08-2026
21.Young T Hazarika D Poria S Cambria E Recent trends in deep learning based natural language processing IEEE Comput Intell Mag 2018 13 3 55 75 doi10.1109/MCI.2018.2840738
22.Brown T Mann B Ryder N et alLanguage models are few-shot learners Presented atNIPS’20: The 34th International Conference on Neural Information Processing SystemsDec 6-12, 2020Vancouver BC CanadaURLhttps://dl.acm.org/doi/abs/10.5555/3495724.3495883Accessed27-08-2026
23.Vaswani A Shazeer N Parmar N et alAttention is all you need Presented atNIPS’17: The 31st International Conference on Neural Information Processing SystemsDec 4-9, 2017Long Beach, California, USAURLhttps://dl.acm.org/doi/10.5555/3295222.3295349Accessed27-08-2026
24.Wieland-Jorna Y van Kooten D Verheij RA de Man Y Francke AL Oosterveld-Vlug MG Natural language processing systems for extracting information from electronic health records about activities of daily living. A systematic review JAMIA Open 072024 7 2 ooae044doi10.1093/jamiaopen/ooae044 Medline38798774 PMC11126158
25.Feizollah A Lin CY O’Malley L Thompson W Listl S Byrne M The use of natural language processing to interpret unstructured patient feedback on health services: scoping review J Med Internet Res Aug142025 27 e72853doi10.2196/72853 Medline40811803 PMC12352804
26.Lázaro E Moscardó V Qualitative health-related quality of life and natural language processing: characteristics, implications, and challenges Healthcare (Basel) Oct82024 12 19 2008doi10.3390/healthcare12192008 Medline39408187 PMC11475930
27.Rickman S Fernandez JL Malley J Understanding patterns of loneliness in older long-term care users using natural language processing with free text case notes PLoS One 2025 20 4 e0319745doi10.1371/journal.pone.0319745 Medline40173389 PMC11964460
28.Chaichulee S Promchai C Kaewkomon T Kongkamol C Ingviya T Sangsupawanich P Multi-label classification of symptom terms from free-text bilingual adverse drug reaction reports using natural language processing PLoS ONE 2022 17 8 e0270595doi10.1371/journal.pone.0270595 Medline35925971 PMC9352066
29.Blinov P Avetisian M Kokh V Umerenkov D Tuzhilin A Predicting clinical diagnosis from patients electronic health records using BERT-based neural networksMichalowski M Moskovitch R Artificial Intelligence in Medicine: 18th International Conference on Artificial Intelligence in Medicine, AIME 2020, Minneapolis, MN, USA, August 25–28, 2020, Proceedings Springer2020 111 121 doi10.1007/978-3-030-59137-3_11
30.Li Y Rao S Solares JRA et alBEHRT: transformer for electronic health records Sci Rep 2020 10 1 7155doi10.1038/s41598-020-62922-y 32346050 PMC7189231
31.Guevara M Chen S Thomas S et alLarge language models to identify social determinants of health in electronic health records NPJ Digit Med 01112024 7 1 6doi10.1038/s41746-023-00970-0 Medline38200151 PMC10781957
32.Zhu VJ Lenert LA Bunnell BE Obeid JS Jefferson M Halbert CH Automatically identifying social isolation from clinical narratives for patients with prostate cancer BMC Med Inform Decis Mak Mar142019 19 1 43doi10.1186/s12911-019-0795-y Medline30871518 PMC6416852
33.Paek H Fortinsky RH Lee K et alReal-world insights into dementia diagnosis trajectory and clinical practice patterns unveiled by natural language processing: development and usability study JMIR Aging Feb252025 8 e65221doi10.2196/65221 Medline39999185 PMC11878476
34.Ryvicker M Barrón Y Song J et alUsing natural language processing to identify home health care patients at risk for diagnosis of Alzheimer’s disease and related dementias J Appl Gerontol Oct2024 43 10 1461 1472 doi10.1177/07334648241242321 Medline38556756 PMC11368608
35.Zhang H Vithanage D Song T Deng C Yu P Leveraging retrieval augmented generation-driven large language models to extract dementia agitation symptoms and triggers from free-text nursing notes Stud Health Technol Inform Aug72025 329 799 803 doi10.3233/SHTI250950 Medline40775968
36.Rosteius K de Boer B Steinmann G Verbeek H What can other dementia care settings learn from Green Care Farms? An exploration of their functions and forms Innov Aging Dec212023 7 Supplement_1 233 234 doi10.1093/geroni/igad104.0768
37.Verbeek H Zwakhalen SMG Schols JMGA Kempen GIJM Hamers JPH The living lab in ageing and long-term care: a sustainable model for translational research improving quality of life, quality of care and quality of work J Nutr Health Aging 2020 24 1 43 47 doi10.1007/s12603-019-1288-5 Medline31886807 PMC6934630
38.World Medical AssociationWorld Medical Association Declaration of Helsinki: ethical principles for medical research involving human participants JAMA 0172025 333 1 71 74 doi10.1001/jama.2024.21972 Medline39425955
39.Hofmann M Chisholm A Text Mining and Visualization: Case Studies Using Open-Source Tools CRC Press2016 ISBN9781482237580
40.Han J Kamber M Pei J Data Mining: Concepts and Techniques Morgan kaufmann2022 ISBN978-0-12-381479-1
41.van Rossum G Python reference manual Centrum voor Wiskunde en Informatica (CWI)1995 URLhttps://ir.cwi.nl/pub/5008/05008D.pdfAccessed27-08-2026
42.QoLEAD llms-based secure and reliable workflow GitHub 2024 URLhttps://github.com/HR-DataLab-Healthcare/RESEARCH_SUPPORT/tree/main/PROJECTS/QoLEADAccessed27-08-2026
43.Manning CD Raghavan P Schütze H Introduction to Information Retrieval Cambridge university press2008 URLhttps://www.cambridge.org/core/product/identifier/9780511809071/type/bookAccessed27-08-2026
44.Camacho-Collados J Pilehvar MT On the role of text preprocessing in neural network architectures: an evaluation study on text categorization and sentiment analysisLinzen T Chrupała G Alishahi A Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP Association for Computational Linguistics2018 40 46 doi10.18653/v1/W18-5406
45.Microsoft 2026 URLhttps://www.microsoft.com/en-inAccessed27-08-2026
46.OpenAI 2025 URLhttps://openai.com/Accessed27-08-2026
47.Sánchez AG Azure OpenAI Service for Cloud Native Applications: Designing, Planning, and Implementing Generative AI Solutions O’Reilly Media, Inc2024 URLhttps://www.oreilly.com/library/view/azure-openai-service/9781098154981/Accessed27-08-2026
48.McKinney W Pandas: a foundational python library for data analysis and statistics Presented atPython for High Performance and Scientific Computing (PyHPC 2011)Nov 18, 2011Seattle, Washington, USAURLhttps://www.researchgate.net/publication/265194455_pandas_a_Foundational_Python_Library_for_Data_Analysis_and_StatisticsAccessed31-08-2026
49.PyPDF2 301 2026 URLhttps://pypi.org/project/PyPDF2/Accessed31-08-2026
50.Learn how to use reproducible output (preview) (classic) Microsoft 2026 URLhttps://learn.microsoft.com/en-us/azure/foundry-classic/openai/how-to/reproducible-output?tabs=pythonAccessed31-08-2026
51.Structured outputs Microsoft 2026 URLhttps://learn.microsoft.com/en-us/azure/foundry/openai/how-to/structured-outputs?source=recommendations&tabs=python-secure%2Cdotnet-entra-id%2Cjavascript-secure&pivots=programming-language-pythonAccessed27-08-2026
52.ChatCompletionsOptions.temperature property Microsoft Learn 2026 URLhttps://learn.microsoft.com/en-us/dotnet/api/azure.ai.inference.chatcompletionsoptions.temperature?view=azure-dotnet-previewAccessed27-08-2026
53.Madaan A Tandon N Gupta P et alSelf-refine: iterative refinement with self-feedback Presented atAdvances in Neural Information Processing Systems 36Dec 10-16, 2023New Orleans, Louisiana, USAdoi10.52202/075280-2019
54.Manning C Schutze H Foundations of Statistical Natural Language Processing MIT press1999 ISBN9780262133609
55.Hotho A Nürnberger A Paaß G A brief survey of text mining J Lang Technol Comput Linguistics 2005 20 1 19 62 doi10.21248/jlcl.20.2005.68
56.Reagan AJ Danforth CM Tivnan B Williams JR Dodds PS Sentiment analysis methods for understanding large-scale texts: a case for using continuum-scored words and word shift graphs EPJ Data Sci Dec2017 6 1 28 doi10.1140/epjds/s13688-017-0121-9
57.Bock HH Clustering methods: a history of k-means algorithmsBrito P Cucumel G Bertrand P de Carvalho F Selected Contributions in Data Analysis and Classification Springer2007 161 172 doi10.1007/978-3-540-73560-1_15
58.Kherwa P Bansal P Topic modeling: a comprehensive review EAI Endorsed Trans Scalable Inf Syst 2019 7 24 e2doi10.4108/eai.13-7-2018.159623
59.Mu Y Dong C Bontcheva K Song X Large language models offer an alternative to the traditional approach of topic modellingCalzolari N Kan MY Hoste V Lenci A Sakti S Xue N Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024) ELRA and ICCL2024 10160 10171 URLhttps://aclanthology.org/2024.lrec-main.887/Accessed27-08-2026
60.Kozlowski D Pradier C Benz P Generative AI for automatic topic labelling Can J Inf Libr Sci 2026 49 2 26 34 doi10.5206/cjils-rcsib.v49i2.24099
61.Gale NK Heath G Cameron E Rashid S Redwood S Using the framework method for the analysis of qualitative data in multi-disciplinary health research BMC Med Res Methodol Sep182013 13 117doi10.1186/1471-2288-13-117 Medline24047204 PMC3848812
62.Frissen L Aarts S Rosteius K de Boer B Gabrio A Verbeek H The influence of social interactions on mood in residents with dementia in Green Care Farms: an observational study using ecological momentary assessments Int Psychogeriatr Sep2025 37 5 100091 doi10.1016/j.inpsyc.2025.100091 Medline40413108
63.Brooker D Latham I Person-Centred Dementia Care: Making Services Better with the VIPS Framework Jessica Kingsley Publishers2015 ISBN9781849056663
64.van Wijngaarden E van der Wedden H Henning Z Komen R The AM Entangled in uncertainty: the experience of living with dementia from the perspective of family caregivers PLoS ONE 2018 13 6 e0198034doi10.1371/journal.pone.0198034 Medline29897922 PMC5999274
65.Hofbauer LM Rodriguez FS Psychosocial wellbeing of people with dementia: systematic review and construct analysis Acta Neuropsychiatr Jun232025 37 e71doi10.1017/neu.2025.10021 Medline40545769 PMC13130359
66.Jonker C Gerritsen DL Bosboom PR Van Der Steen JT A model for quality of life measures in patients with dementia: Lawton’s next step Dement Geriatr Cogn Disord 2004 18 2 159 164 doi10.1159/000079196 Medline15211071
67.Kitwood T The experience of dementia Aging Ment Health Feb1997 1 1 13 22 doi10.1080/13607869757344
68.Young JC Arthur R Williams HTP CIDER: context-sensitive polarity measurement for short-form text PLoS ONE 2024 19 4 e0299490doi10.1371/journal.pone.0299490 Medline38635650 PMC11025856
69.Loughran T Mcdonald B When is a liability not a liability? Textual analysis, dictionaries, and 10‐Ks J Finance Feb2011 66 1 35 65 doi10.1111/j.1540-6261.2010.01625.x
70.Liu J Capurro D Nguyen A Verspoor K “Note Bloat” impacts deep learning-based NLP models for clinical prediction tasks J Biomed Inform Sep2022 133 104149 doi10.1016/j.jbi.2022.104149 Medline35878821
71.Sohn S Wang Y Wi CI et alClinical documentation variations and NLP system portability: a case study in asthma birth cohorts across institutions J Am Med Inform Assoc Mar12018 25 3 353 359 doi10.1093/jamia/ocx138 Medline29202185 PMC7378885
72.Scharp D Hobensack M Davoudi A Topaz M Natural language processing applied to clinical documentation in post-acute care settings: a scoping review J Am Med Dir Assoc 012024 25 1 69 83 doi10.1016/j.jamda.2023.09.006 Medline37838000 PMC10792659
73.Kaufmann EG Engel SA Dementia and well-being: a conceptual framework based on Tom Kitwood’s model of needs Dementia (London) 072016 15 4 774 788 doi10.1177/1471301214539690 Medline24948470
74.Han A Radel J McDowd JM Sabata D Perspectives of people with dementia about meaningful activities: a synthesis Am J Alzheimers Dis Other Demen Mar2016 31 2 115 123 doi10.1177/1533317515598857 Medline26340962 PMC10852553
75.Rosteius K de Boer B Steinmann G Verbeek H Fostering an active daily life: an ethnographic study unravelling the mechanisms of Green Care Farms as innovative long-term care environment for people with dementia Int Psychogeriatr Mar2025 37 2 100017 doi10.1016/j.inpsyc.2024.100017 Medline40086913
76.Kitwood T Towards a theory of dementia care: the interpersonal process Ageing Soc Mar1993 13 1 51 67 doi10.1017/S0144686X00000647
77.Edvardsson D Winblad B Sandman PO Person-centred care of people with severe Alzheimer’s disease: current status and ways forward Lancet Neurol Apr2008 7 4 362 367 doi10.1016/S1474-4422(08)70063-2 Medline18339351
78.Kane RA Long-term care and a good quality of life: bringing them closer together Gerontologist Jun2001 41 3 293 304 doi10.1093/geront/41.3.293 Medline11405425
79.Beerens HC de Boer B Zwakhalen SMG et alThe association between aspects of daily life and quality of life of people with dementia living in long-term care facilities: a momentary assessment study Int Psychogeriatr Aug2016 28 8 1323 1331 doi10.1017/S1041610216000466 Medline27068245
80.Lawton MP Assessing quality of life in Alzheimer disease research Alzheimer Dis Assoc Disord 1997 11 Suppl 6 91 99 Medline9437453
81.Ettema TP Dröes RM de Lange J Mellenbergh GJ Ribbe MW QUALIDEM: development and evaluation of a dementia specific quality of life instrument--validation Int J Geriatr Psychiatry 052007 22 5 424 430 doi10.1002/gps.1692 Medline17044131
82.Smith SC Lamping DL Banerjee S et alMeasurement of health-related quality of life for people with dementia: development of a new instrument (DEMQOL) and an evaluation of current methodology Health Technol Assess Mar2005 9 10 1 93 doi10.3310/hta9100 Medline15774233
83.Habbal S Mian M Imam M Tahiri J Amor A Reddy PH Harnessing artificial intelligence for transforming dementia care: innovations in early detection and treatment Brain Organoid Syst Neurosci J Dec2025 3 122 133 doi10.1016/j.bosn.2025.05.001
84.Jerfy A Selden O Balkrishnan R The growing impact of natural language processing in healthcare and public health Inquiry 2024 61 469580241290095 doi10.1177/00469580241290095 Medline39396164 PMC11475376
85.Shankar R Bundele A Mukhopadhyay A Natural language processing of electronic health records for early detection of cognitive decline: a systematic review NPJ Digit Med Mar12025 8 1 133doi10.1038/s41746-025-01527-z Medline40025194 PMC11873039
86.Hendriks A Hacking C Verbeek H Aarts S Data science techniques to gain novel insights into quality of care: a scoping review of long-term care for older adults Explor Digit Health Technol 2024 2 2 67 85 doi10.37349/edht.2024.00012
87.Shakeri A Farmanbar M Natural language processing in Alzheimer’s disease research: systematic review of methods, data, and efficacy Alzheimers Dement (Amst) 012025 17 1 e70082doi10.1002/dad2.70082 Medline39935888 PMC11812127
88.Mitchell G Agnelli J Person-centred care for people with dementia: Kitwood reconsidered Nurs Stand Oct142015 30 7 46 50 doi10.7748/ns.30.7.46.s47 Medline26463810
89.Brooker D What is person-centred care in dementia? Rev Clin Gerontol Aug2003 13 3 215 222 doi10.1017/S095925980400108X
90.Sokol K Fackler J Vogt JE Artificial intelligence should genuinely support clinical reasoning and decision making to bridge the translational gap NPJ Digit Med Jun102025 8 1 345doi10.1038/s41746-025-01725-9 Medline40494886 PMC12152152
91.Sezgin E Artificial intelligence in healthcare: complementing, not replacing, doctors and healthcare providers Digit Health 2023 9 20552076231186520doi10.1177/20552076231186520 Medline37426593 PMC10328041
92.Lukkien DRM Ipakchian Askari S Stolwijk NE et alMaking co-design more responsible: case study on the development of an AI-based decision support system in dementia care JMIR Hum Factors 07312024 11 e55961doi10.2196/55961 Medline39083768 PMC11325107
93.Zicari RV Ahmed S Amann J et alCo-design of a trustworthy AI system in healthcare: deep learning based skin lesion classifier Front Hum Dyn 2021 3 2021 doi10.3389/fhumd.2021.688152
94.Silvola S Restelli U Bonfanti M Croce D Co-design as enabling factor for patient-centred healthcare: a bibliometric literature review Clinicoecon Outcomes Res 2023 15 333 347 doi10.2147/CEOR.S403243 Medline37220481 PMC10200122
95.Steijger D Christie H Aarts S IJselsteijn W Verbeek H de Vugt M Use of artificial intelligence to support quality of life of people with dementia: a scoping review Ageing Res Rev Jun2025 108 102741 doi10.1016/j.arr.2025.102741 Medline40188991
96.Herrera-Poyatos D Peláez-González C Zuheros C et alAn overview of model uncertainty and variability in LLM-based sentiment analysis: challenges, mitigation strategies, and the role of explainability Front Artif Intell 2025 8 1609097doi10.3389/frai.2025.1609097 Medline40860717 PMC12375657
Come citare questo studio
Dirk Steijger, Mark C Scheper, Robert Frans van der Willigen, Hannah Christie, Marjolein E de Vugt, Hilde Verbeek, Sil Aarts. (2026). Quality of Life of People Living With Dementia Residing in Nursing Homes: Secondary Analysis of Observational Data.. Journal of medical Internet research. DOI: 10.2196/91968
Consulta la pubblicazione originale ↗