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 Feb 26;14(5):1580.
doi: 10.3390/jcm14051580.

A Large Language Model-Based Approach for Coding Information from Free-Text Reported in Fall Risk Surveillance Systems: New Opportunities for In-Hospital Risk Management

Affiliations

A Large Language Model-Based Approach for Coding Information from Free-Text Reported in Fall Risk Surveillance Systems: New Opportunities for In-Hospital Risk Management

Davide Rango et al. J Clin Med. .

Abstract

Background/Objectives: Falls are the most common adverse in-hospital event, resulting in a considerable social and economic burden on individuals, their families, and the healthcare system. This study aims to develop and implement an automatic coding system using large language models (LLMs) to extract and categorize free-text information (including the location of the fall and any resulting injury) from in-hospital fall records. Methods: The study used the narrative description of the falls reported through the Incident Reporting system to the Risk Management Service of an Italian Local Health Authority in Italy (name not disclosed as per research agreement). The OpenAI application programming interface (API) was used to access the generative pre-trained transformers (GPT) models, extract data from the narrative description of the falls, and perform the classification task. The GPT-4-turbo models were used for the classification task. Two independent reviewers manually coded the information, representing the gold standard for the classification task. Sensitivity, specificity, and accuracy were calculated to evaluate the performance of the task. Results: The analysis included 187 fall records with free-text event descriptions detailing the location of the fall and 93 records providing information about the presence or absence of an injury. GPT-4-turbo showed excellent performance, with specificity, sensitivity, and accuracy values of at least 0.913 for detecting the location and 0.953 for detecting the injury. Conclusions: The GPT models effectively extracted and categorized the information, even though the text was not optimized for GPT-based analysis. This shows their potential for the use of LLMs in clinical risk management research.

Keywords: free text; in-hospital falls; large language models; risk management.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflicts of interest.

Similar articles

References

    1. LeLaurin J.H., Shorr R.I. Preventing Falls in Hospitalized Patients: State of the Science. Clin. Geriatr. Med. 2019;35:273–283. doi: 10.1016/j.cger.2019.01.007. - DOI - PMC - PubMed
    1. Morello R.T., Barker A.L., Watts J.J., Haines T., Zavarsek S.S., Hill K.D., Brand C., Sherrington C., Wolfe R., Bohensky M.A., et al. The Extra Resource Burden of In-Hospital Falls: A Cost of Falls Study. Med. J. Aust. 2015;203:367. doi: 10.5694/mja15.00296. - DOI - PubMed
    1. World Health Organization . Global Patient Safety Action Plan 2021–2030: Towards Eliminating Avoidable Harm in Health Care. World Health Organization; Geneva, Switzerland: 2021.
    1. Appeadu M.K., Bordoni B. StatPearls [Internet] StatPearls Publishing; Treasure Island, FL, USA: 2023. Falls and Fall Prevention in the Elderly. - PubMed
    1. Satoh M., Miura T., Shimada T., Hamazaki T. Risk Stratification for Early and Late Falls in Acute Care Settings. J. Clin. Nurs. 2023;32:494–505. doi: 10.1111/jocn.16267. - DOI - PMC - PubMed

LinkOut - more resources