Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Sep 3;14(3):e003270.
doi: 10.1136/bmjoq-2024-003270.

Artificial intelligence approach to optimise safety for hospitalised patients with dementia

Affiliations

Artificial intelligence approach to optimise safety for hospitalised patients with dementia

Lauren Bangerter et al. BMJ Open Qual. .

Abstract

Background: The aim of the study is to develop a machine learning (ML) model to identify contributing factors to dementia-related safety events using patient safety event report data.

Method: This study uses dementia-related safety event reports from a patient safety reporting system of a 10-hospital health system in the USA. Contributing factors to safety events were coded using the Yorkshire contributory factors framework based on free-text descriptions in the reports. The coded event reports were used to develop two ML models using eXtreme Gradient Boosting (XGBoost), one to classify situational patient factors and another to classify active failures relating to human error.

Results: We used 1387 safety event reports for model development, 989 (71.3%) reports related to situational factors and 119 (8.6%) reports related to active failures. The model for situational factors achieved a precision of 0.843 and a recall of 0.826. The F1 score was 0.834, indicating a balance of precision and recall performance. The specificity of the model was 0.639 and the area under the receiver operating characteristic curve (ROC AUC) was 0.833. The final model for active failure achieved a precision of 0.333 and a recall of 0.056. The F1 score was 0.095, reflective of imbalanced precision and recall performance. The specificity of the model was 0.992, indicating a strong ability to identify negative cases, and the ROC AUC was 0.817.

Conclusion: ML techniques can provide insights into situational factors and active failures that drive dementia-related safety events. These insights can inform targeted interventions such as specialised staff training for behavioural symptoms management and pharmacist-led medication optimisation, to enhance care and safety for hospitalised people living with dementia.

Keywords: Adverse events, epidemiology and detection; Chart review methodologies; Healthcare quality improvement; Human error; Human factors.

PubMed Disclaimer

Conflict of interest statement

Competing interests: None declared.

Figures

Figure 1
Figure 1. Flowchart of safety events for model development. Inclusion criteria were safety events that included dementia-related keywords (dementia OR demented OR cognitively impaired OR Alzheimer’s Disease OR impaired OR vascular dementia OR Lewy body dementia OR Parkinson’s OR slow thinking OR encephalopathy OR memory loss OR altered mental status OR Frontotemporal dementia OR mild cognitive impairment). Safety events were removed if they were irrelevant (eg, if dementia was mentioned in the text but was not directly related to the safety event) or duplicates (eg, follow- up reports to a specific event), leaving a final sample of 1387 event reports which were manually coded and used in the model development.

Similar articles

References

    1. Shepherd H, Livingston G, Chan J, et al. Hospitalisation rates and predictors in people with dementia: a systematic review and meta-analysis. BMC Med. 2019;17:130. doi: 10.1186/s12916-019-1369-7. - DOI - PMC - PubMed
    1. Sommerlad A, Perera G, Mueller C, et al. Hospitalisation of people with dementia: evidence from English electronic health records from 2008 to 2016. Eur J Epidemiol. 2019;34:567–77. doi: 10.1007/s10654-019-00481-x. - DOI - PMC - PubMed
    1. Reilly JC, Houghton C. The experiences and perceptions of care in acute settings for patients living with dementia: A qualitative evidence synthesis. Int J Nurs Stud. 2019;96:82–90. doi: 10.1016/j.ijnurstu.2019.04.018. - DOI - PubMed
    1. Hung L, Phinney A, Chaudhury H, et al. “Little things matter!” Exploring the perspectives of patients with dementia about the hospital environment. Int J Older People Nurs. 2017;12:e12153. doi: 10.1111/opn.12153. - DOI - PMC - PubMed
    1. Timmons S, O’Shea E, O’Neill D, et al. Acute hospital dementia care: results from a national audit. BMC Geriatr. 2016;16:113. doi: 10.1186/s12877-016-0293-3. - DOI - PMC - PubMed

LinkOut - more resources