Acessibilidade / Reportar erro

Drug-related fall risk in hospitals: a machine learning approach

Abstract

Objective

To compare the performance of machine-learning models with the Medication Fall Risk Score (MFRS) in predicting fall risk related to prescription medications.

Methods

This is a retrospective case-control study of adult and older adult patients in a tertiary hospital in Porto Alegre, RS, Brazil. Prescription drugs and drug classes were investigated. Data were exported to the RStudio software for statistical analysis. The variables were analyzed using Logistic Regression, Naive Bayes, Random Forest, and Gradient Boosting algorithms. Algorithm validation was performed using 10-fold cross validation. The Youden index was the metric selected to evaluate the models. The project was approved by the Research Ethics Committee.

Results

The machine-learning model showing the best performance was the one developed by the Naive Bayes algorithm. The model built from a data set of a specific hospital showed better results for the studied population than did MFRS, a generalizable tool.

Conclusion

Risk-prediction tools that depend on proper application and registration by professionals require time and attention that could be allocated to patient care. Prediction models built through machine-learning algorithms can help identify risks to improve patient care.

Accidental falls; Drug utilization; Supervised machine learning; Patient safety

Resumo

Objetivo

Comparar o desempenho de modelos de aprendizado de máquina com o Medication Fall Risk Score (MFRS) na previsão de risco de queda relacionado a medicamentos prescritos.

Métodos

Trata-se de um estudo caso-controle retrospectivo de pacientes adultos e idosos de um hospital terciário de Porto Alegre, RS, Brasil. Medicamentos prescritos e classes de medicamentos foram investigados. Os dados foram exportados para o software RStudio para análise estatística. As variáveis foram analisadas por meio dos algoritmos de Regressão Logística, Naive Bayes, Random Forest e Gradient Boosting. A validação do algoritmo foi realizada usando validação cruzada de 10 vezes. O índice de Youden foi a métrica selecionada para avaliar os modelos. O projeto foi aprovado pelo Comitê de Ética em Pesquisa.

Resultados

O modelo de aprendizado de máquina que apresentou melhor desempenho foi o desenvolvido pelo algoritmo Naive Bayes. O modelo construído a partir de um conjunto de dados de um hospital específico apresentou melhores resultados para a população estudada do que o MFRS, uma ferramenta generalizável.

Conclusão

Ferramentas de previsão de risco que dependem de aplicação e registro adequados por parte dos profissionais demandam tempo e atenção que poderiam ser alocados ao cuidado do paciente. Modelos de previsão construídos por meio de algoritmos de aprendizado de máquina podem ajudar a identificar riscos para melhorar o atendimento ao paciente.

Acidentes por quedas; Uso de medicamentos; Aprendizado de máquina supervisionado; Segurança do paciente

Resumen

Objetivo

Comparar el desempeño de modelos de aprendizaje de máquina con Medication Fall Risk Score (MFRS) para la previsión del riesgo de caída relacionado con medicamentos prescriptos.

Métodos

Se trata de un estudio caso-control retrospectivo de pacientes adultos y adultos mayores de un hospital terciario de Porto Alegre, estado de Rio Grande do Sul, Brasil. Se investigaron los medicamentos prescriptos y las clases de medicamentos. Los datos fueron exportados al software RStudio para el análisis estadístico. Las variables se analizaron a través de los algoritmos de regresión logística Naive Bayes, Random Forest y Gradient Boosting. La validación del algoritmo se realizó usando validación cruzada de 10 veces. El índice de Youden fue la métrica seleccionada para evaluar los modelos. El proyecto fue aprobado por el Comité de Ética en Investigación.

Resultados

El modelo de aprendizaje de máquina que presentó el mejor desempeño fue el desarrollado por el algoritmo Naive Bayes. El modelo construido a partir de un conjunto de datos de un hospital específico presentó mejores resultados en la población estudiada que el MFRS, una herramienta generalizada.

Conclusión

Herramientas de previsión de riesgo que dependen de la aplicación y el registro adecuados por parte de los profesionales demandan tiempo y atención que podría ser destinado al cuidado del paciente. Modelos de previsión construidos mediante algoritmos de aprendizaje de máquina pueden ayudar a identificar riesgos para mejorar la atención al paciente.

Accidentes por caídas; Utilización de medicamentos; Aprendizaje automático supervisado; Seguridad del paciente

Introduction

Falls are the second leading cause of death from unintentional injury in the world, and each year approximately 684,000 fatal falls occur. Individuals aged 60 years and older experience the largest number of fatal falls.(11. World Health Organization (WHO). Falls: fact sheet: WHO Media Center. Geneva: WHO; 2021 [cited 2022 Aug 4]. Available from: https://www.who.int/en/news-room/fact-sheets/detail/falls
https://www.who.int/en/news-room/fact-sh...
)There are more than 700 million elderly individuals (age ≥ 65 years) in the world, and this number is expected to double by 2050.(22. World Health Organization (WHO). Ageing and Health: Fact Sheets: WHO Media Center. Geneva: WHO; 2018 [cited 2022 Aug 4]. Available from: https://www.who.int/news-room/fact-sheets/detail/ageing-and-health
https://www.who.int/news-room/fact-sheet...
)

Falls are defined as inadvertently coming to rest on the ground or at another lower level.(11. World Health Organization (WHO). Falls: fact sheet: WHO Media Center. Geneva: WHO; 2021 [cited 2022 Aug 4]. Available from: https://www.who.int/en/news-room/fact-sheets/detail/falls
https://www.who.int/en/news-room/fact-sh...
)Falls are multifactorial, and aspects related to fall occurrence may be modifiable and non-modifiable.(33. Sociedade Brasileira de Gerontologia e Gerontologia. Quedas em idosos: prevenção. São Paulo: SBGG; 2019 [citado 2022 Ago 4]. Available from: https://sbgg.org.br/wp-content/uploads/2014/10/queda-idosos.pdf
https://sbgg.org.br/wp-content/uploads/2...
) Medications are highlighted as modifiable risk factors.

Falls can be one of the consequences of using risky drugs and/or drug interactions, and hospitalization considerably increases risk among the elderly. Drugs with central-nervous-system effects, such as opioids, hypnotics, anxiolytics, antidepressants, antipsychotics, and procedural sedatives, significantly increase the risk for falls.(44. Associação Nacional de Hospitais Privados (ANAHP). Manual de Gerenciamento e Assistência ao Idoso. Recomendações dos Hospitais da Associação Nacional de Hospitais Privados. São Paulo: ANAHP; 2018 [citado 2022 Ago 4]. Available from: https://www.eejauditoriaemsaude.com.br/wp-content/uploads/2018/12/manual-de-gerenciamento-e-assistencia-ao-idoso.pdf
https://www.eejauditoriaemsaude.com.br/w...
)

The only tool found in the literature that assesses medication-related fall risk was the Medication Fall Risk Score (MFRS). This score was developed as part of a pharmaceutical fall-prevention program and generates a score based on the degree of risk of medications under use. The recommendation is to consider patients who score six or higher at risk. The MFRS authors recommend the use of this tool together with other fall-risk assessment tools, considering other fall-related risk factors in addition to medication.(55. Beasley B, Patatanian E. Development and Implementation of a Pharmacy Fall Prevention Program. Hospital Pharmacy. 2009;44(12):1095-102.) One study analyzed the predictive validity of using a fall risk scale together with the Medication Fall Risk Score (MFRS). The results showed improvement in specificity, without compromising sensitivity in relation to the individual use of the fall risk scale.(66. Yazdani C, Hall S. Evaluation of the “medication fall risk score”. Am J Health Syst Pharm. 2017;74(1):e32-9.)

Electronic health records contain a range of information regarding patients’ health conditions and enable new approaches to identify risk factors.(77. Lucero RJ, Lindberg DS, Fehlberg EA, Bjarnadottir RI, Li Y, Cimiotti JP, et al. A data-driven and practice-based approach to identify risk factors associated with hospital-acquired falls: applying manual and semi- and fully-automated methods. Int J Med Inform. 2019;122:63-9.)Supervised and unsupervised machine-learning algorithms have shown great potential in acquiring knowledge from large data sets.(88. Alloghani M, Al-Jumeily D, Mustafina J, Hussain A, Aljaaf AJ. A systematic review on supervised and unsupervised machine learning algorithms for data science. In: Berry M, Mohamed A, Yap B. (eds) Supervised and Unsupervised Learning for Data Science. Unsupervised and Semi-Supervised Learning. Switzerland: Springer, Cham; 2020. pp 3–21.)Machine learning is a field of artificial intelligence in which systems obtain knowledge automatically, without explicit programming.(99. Saravanan R, Sujatha P. A state of art techniques on machine learning algorithms: a perspective of supervised learning approaches in data classification. In: 2018 Second International Conference on Intelligent Computing and Control Systems (ICICCS), 14-15 June 2018. Madurai, India: 2018, pp. 945-9.)Supervised learning, the technique applied in this study, reflects the ability of an algorithm to generalize knowledge from available data about a target variable so that it can be used to predict new cases.(88. Alloghani M, Al-Jumeily D, Mustafina J, Hussain A, Aljaaf AJ. A systematic review on supervised and unsupervised machine learning algorithms for data science. In: Berry M, Mohamed A, Yap B. (eds) Supervised and Unsupervised Learning for Data Science. Unsupervised and Semi-Supervised Learning. Switzerland: Springer, Cham; 2020. pp 3–21.)

The application of scores still requires time and interpretation from professionals, and it is one more among the many processes involving health care. The development of prediction models through machine learning can bring important information and even more qualified care, without depending on the correct application of scores. No medication-based fall-risk prediction models developed through machine-learning algorithms have been identified. This study was developed with the hypothesis that medication-related fall-risk prediction based on machine-learning models has better performance than the Medication Fall Risk Score. To this end, it aimed to compare the performance of machine-learning models with that of the Medication Fall Risk Score (MFRS) in predicting risk for falls related to prescription drugs.

Methods

This study was reported according to recommendations by the Transparent Reporting of a Multivariable Prediction Model for individual prognosis or diagnosis (TRIPOD), since specific recommendations for models developed from machine learning are still under construction.(1010. Collins GS, Reitsma JB, Altman DG, Moons KG. Transparent reporting of a multivariable prediction model forindividual prognosis or diagnosis (TRIPOD): the TRIPOD statement. BMC Medicine. 2015;13(1):1-10.,1111. Riley RD, Moons KG, Snell KI, Ensor J, Hooft L, Altman DG, et al. A guide to systematic review and meta-analysis of prognostic factor studies. BMJ. 2019;364:k4597.)

This is a case-control study connected to an umbrella project, and it was conducted in a tertiary hospital in the southern region of Brazil. The population consisted of 9,037 adult (≥18 years) and older adult (≥60 years) patients who were hospitalized in 2016. Patients with notification of falls and medical prescription 48 hours before the fall were included in the fall group (case). All patients with no notification of falls comprised the non-fall group (control). Prescription drugs and drug classes were investigated. It was not possible to identify administered drugs because the institution of the study does not have electronic medication check. The medications were classified according to the American Hospital Formulary Service (AHFS) Pharmacologic-Therapeutic Classification System, a classification used in MFRS.(1212. American Society of Health System Pharmacists (ASHP). AHFS Drug Information. Bethesda, Maryland, EUA: ASHP; 2019 [cited 2022 Aug 4]. Available from: https://www.ashp.org/products-and-services/ahfs-di
https://www.ashp.org/products-and-servic...
)

All variables were extracted from a previously established database originating from the patients’ electronic health records. Falls were extracted from the institution’s computerized safety incident reporting system. Medications were extracted from electronic prescriptions. The medications prescribed 48 hours before the fall were identified for the fall group. As for the non-fall group, the mean number of days from hospital admission to the day when a fall occurred to the participants in the fall group was calculated, and the medications used 48 hours before that mean figure were then extracted. The mean number of days from hospital admission to the day when a fall occurred were 11. Medications prescribed 48 hours before the 11th day of hospitalization were extracted for the non-fall group.

The collected data were organized in Microsoft Excel 2010 spreadsheets and imported into the RStudio software, edition 1.3.1093, for statistical analysis.(1313. R Core Team. R: A Language and Environment for Statistical Computing. Vienna, Austria: R Foundation for Statistical Computing; 2020., 1414. Team R. RStudio: Integrated Development Environment for R. Boston, MA: RStudio, PBC; 2020 [cited 2022 Aug 25].)Descriptive data with absolute and relative frequencies were calculated. Model development and validation were performed using the caret package, version 6.0-86, for hyperparameter fitting, and packages glmnet, version 4.1-1, Naive Bayes, version 0.9.7, Random Forest, version 4.6-24 and gbm, version 2.1.8, for model fitting. To define the best cutoff point, the Cutpointr package, version 1.1.0 was used.(1515. Kuhn M. caret: Classification and Regression Training. R package version 6.0-86. 2020.Available from: https://github.com/topepo/caret/
https://github.com/topepo/caret/...

16. Friedman J, Hastie T, Tibshirani R. Regularization Paths for Generalized Linear Models via Coordinate Descent. J Statistical Software. 2010;33(1):1-22.

17. Majka M. naivebayes: High Performance Implementation of the Naive Bayes Algorithm in R. R package version 0.9.7. 2019 [cited 2022 Aug 25]. Available from: https://github.com/majkamichal/naivebayes
https://github.com/majkamichal/naivebaye...

18. Liaw A, Wiener M. Classification and Regression by randomForest. R News. 2002;2(3):18-22.

19. Greenwell B, Boehmke B, Cunningham J. GBM Developers. gbm: Generalized Boosted Regression Models. R package version 2.1.8. 2020 [cited 2022 Aug 25]. Available from: https://github.com/gbm-developers/gbm
https://github.com/gbm-developers/gbm...
-2020. Thiele C. cutpointr: Determine and Evaluate Optimal Cutpoints in BinaryClassification Tasks. R package version 1.0.32. 2020. [cited 2022 Aug 25]. Available from: https://github.com/thie1e/cutpointr
https://github.com/thie1e/cutpointr...
)

The features selected for the prediction model were medications belonging to the drug classes of analgesics, antipsychotics, anticonvulsants, benzodiazepines, antihypertensives, cardiac medications, antiarrhythmics, antidepressants, and diuretics, the same drug classes included in the Medication Fall Risk Score. In the MFRS analysis, each medication was scored according to MFRS, and a new variable was generated with the total score for each participant. Each high-risk medication receives three points and includes analgesics, antipsychotics, anticonvulsants, and benzodiazepines. Medium-risk medications receive two points each and encompass antihypertensives, cardiac medications, antiarrhythmics, and antidepressants. Diuretics are considered low risk and receive one point each.(55. Beasley B, Patatanian E. Development and Implementation of a Pharmacy Fall Prevention Program. Hospital Pharmacy. 2009;44(12):1095-102.) The target outcome was fall-risk, and the possible values were zero (no) and one (yes).

The data were divided into training and testing data, 80% and 20% respectively, to avoid overestimating the models’ performance. The training data were used for model creation, and the testing data were used for performance evaluation. The division occurred randomly, based on the outcome fall. The training sample was equal to 7,230 hospitalizations and the testing sample was equal to 1,807 hospitalizations.

The variables were analyzed in the following algorithms: Logistic Regression, Naive Bayes, Random Forest, and Gradient Boosting. The models output were fall and not fall.

The Logistic Regression algorithm is a likelihood-based statistical method used for classification problems. The goal is to create a straight line that best fits the data.(2121. Kobylarz J, Santos HD, Barletta H, Silva MC, Vieira R, Morales HM, et al. A Machine Learning Early Warning System: Multicenter Validation in Brazilian Hospitals. In: IEEE 33rd International Symposium on Computer Based Medical Systems (CBMS), 28-30 July 2020. Rochester, MN, USA: CBMS; p. 321-6.)

The Naive Bayes algorithm is a probabilistic algorithm, based on Bayes’ Theorem. This algorithm seeks to assign a set of data to a specific class.(77. Lucero RJ, Lindberg DS, Fehlberg EA, Bjarnadottir RI, Li Y, Cimiotti JP, et al. A data-driven and practice-based approach to identify risk factors associated with hospital-acquired falls: applying manual and semi- and fully-automated methods. Int J Med Inform. 2019;122:63-9.)

The Random Forest and Gradient Boosting algorithms are two ensemble methods. Ensemble methods combine multiple machine-learning algorithms for decision-making. Combining multiple models allows the error of a single algorithm to be compensated for by the others, resulting in better performance over single models.(2222. Sagi O, Rokach L. Ensemble learning: a survey. WIREs Data Mining Knowl Discov. 2018;8:e1249.)

The Random Forest algorithm builds multiple-decision tree models; each model votes for a decision and the choice of an outcome is a consensus among all the trees. Decision trees classify objects according to the value of variables. Each node in a decision tree represents a variable and the branches represent the values that the node can assume.(2323. Muhammad I, Yan Z. Supervised Machine Learning Approaches: a survey. ICTACT J Soft Computing. 2015;5(3):946-52.)

The Gradient Boosting algorithm is also the result of multiple-decision trees; however, the construction of each tree depends on the previously constructed trees. Each new tree will learn from the mistakes of the previous tree.(2323. Muhammad I, Yan Z. Supervised Machine Learning Approaches: a survey. ICTACT J Soft Computing. 2015;5(3):946-52.)

Algorithms like Naive Bayes and Logistic Regression are simpler and require less computational power.(2323. Muhammad I, Yan Z. Supervised Machine Learning Approaches: a survey. ICTACT J Soft Computing. 2015;5(3):946-52.) Random Forest and Gradient Boosting improve the predictive performance of a single model by training multiple models and combining their predictions. However it requires more computational power.(2222. Sagi O, Rokach L. Ensemble learning: a survey. WIREs Data Mining Knowl Discov. 2018;8:e1249.)

Algorithm validation was performed using 10-fold cross validation. Cross-validation is a data resampling method to evaluate the generalization ability of prediction models and avoid overfitting (when the model fits the training data very well, but performance reduces significantly when analyzing new data).(2424. Yazdani C, Hall S. Evaluation of the “medication fall risk score”. Am J Health Syst Pharm. 2017;74(1):e32-9.)

In evaluating the models and the MFRS, the method of maximizing the metric function selected as a summary of the optimal cutoff points in each resampling was used for determining the best cutoff point in each model. The metric selected was the Youden index, as it was used in the paper that evaluated MFRS.(66. Yazdani C, Hall S. Evaluation of the “medication fall risk score”. Am J Health Syst Pharm. 2017;74(1):e32-9.)The MFRS was also evaluated at a cutoff score of 6, the cutoff specified by the MFRS developers.

The project was approved by the Medical School’s Scientific Committee of Pontifical Catholic University of Rio Grande do Sul, and it is connected to the doctoral project entitled “Automatic detection of adverse events using natural language processing in the electronic medical records of a tertiary hospital”, approved by the Research Ethics Committee (CAEE: 71571717.7.0000.5530). The researchers signed a term of commitment for data use, committing to and being responsible for handling and storing the information with the sole objective of the proposed analysis and absolute secrecy regarding the identification of the patients involved.

Results

The population consisted of 9,037 patients. Of these, 4.9% (n = 442) were in the fall group and 95.1% (n = 8,595) were in the non-fall group. Regarding medication analysis, the least prescribed drug appeared in four prescriptions, and the most prescribed, in 7741 prescriptions. According to the Medication Fall Risk Score (MFRS), 24 belonged to the high-risk category, 19 belonged to the medium-risk category, and three belonged to the low-risk category. The median of the Medication Fall Risk Score was nine points (0-26). Most patients (83.9%) were classified as high risk for falls, according to the MFRS. In the fall group, the MFRS median was 10 points (2-25). The four algorithms were trained and, when tested, the model showing the best performance was the Naive Bayes model. The MFRS-based models were generated with cutoff point six, as recommended by the authors, and 11, the best cutoff point for maximizing the Youden index. The model-related results are shown in table 1 and figure 1. Table 1 shows the metrics for model performance analysis, according to the Youden index, AUC, sensitivity, and specificity, and figure 1 shows the ROC curves of the models generated from the algorithms and MFRS.

Table 1
Area under the curve (AUC), Youden index, sensitivity, and specificity of the machine-learning models and MFRS with the two cutoff points applied

Figure 1
ROC curves of the models generated from the algorithms and MFRS

Figure 2 presents the confusion matrix for the application of the Medication Fall Risk Score. Figure 3 presents the confusion matrix for the application of the Naive Bayes model, which performed better.

Figure 2
Confusion matrix for the application of the Medication Fall Risk Score

Figure 3
Confusion matrix for the application of the Naive Bayes model

Discussion

The Medication Fall Risk Score, despite showing low discriminatory capacity, was developed to be a complement to other forms of fall-risk assessment.(66. Yazdani C, Hall S. Evaluation of the “medication fall risk score”. Am J Health Syst Pharm. 2017;74(1):e32-9.)When used together with the Morse Fall Scale (fall risk assessment scale), it showed better performance than when the latter was used individually. MFRS, however, is limited to some drug classes. Muscle relaxants, chemotherapy drugs, insulin, and ophthalmic medications, identified as risk factors in other studies, are not included.(2525. Instituto para práticas seguras no uso de medicamentos. Medicamentos associados à ocorrência de quedas. Belo Horizonte: ISMP; 2017. 6 p.

26. Maly J, Dosedel M, Kubena AA, Mala-Ladova K, Vosatka J, Brabcova I, et al. Analysis of the fall-related risk of pharmacotherapy in Czech hospitals: a case control study. J Eval Clin Pract. 2020;26(3):973-82.

27. Najafpour Z, Godarzi Z, Arab M, Yaseri M. Risk factors for falls in hospital in-patients: a prospective nested case control study. Int J Health Policy Manag. 2019;8(5):300-6.
-2828. O’Neil CA, Krauss MJ, Bettale J, Kessels A, Costantinou E, Dunagan WC, et al. Medications and Patient Characteristics Associated With Falling in the Hospital. J Patient Saf. 2018;14(1):27-33.)

When the same drugs used to calculate MFRS were analyzed in the four machine-learning algorithms, the one showing the best performance was the model developed through the Naive Bayes algorithm. The area under the ROC curve was 0.678, and the Youden index achieved was 0.274, surpassing the respective scores of 0.603 and 0.218. The result of the Naive Bayes algorithm showing better performance compared to the two ensemble methods surprised the authors. Ensemble methods usually show better predictive performance.(2222. Sagi O, Rokach L. Ensemble learning: a survey. WIREs Data Mining Knowl Discov. 2018;8:e1249.)

The Medication Fall Risk Score identified a greater number of positive true values. However, many patients were misclassified at risk. When many people are classified as at risk, there may be the possibility of a trivialization of risk. This can lead to a decrease in prevention strategies, which can lead to more fall events.

Different institutions may host populations with different characteristics. Generalizable risk-prediction tools may not work properly because they do not meet the individualities of each institution.(2929. Yu S, Farooq F, van Esbroeck A, Fung G, Anand V, Krishnapuram B. Predicting readmission risk with institution-specific prediction models. Artif Intell Med. 2015;65(2):89-96.)This study proved that, in the study population, a model built from a specific hospital’s data set performs better than a generalizable tool. Two studies developed hospital-readmission risk-prediction models and performed a comparative analysis with a widely used method to calculate readmission risk. Both identified that the models developed performed better.(2929. Yu S, Farooq F, van Esbroeck A, Fung G, Anand V, Krishnapuram B. Predicting readmission risk with institution-specific prediction models. Artif Intell Med. 2015;65(2):89-96.,3030. Tukpah AC, Cawi E, Wolf L, Nehorai A, Cummings-Vaughn L. Development of an Institution-Specific Readmission Risk Prediction Model for Real-time Prediction and Patient-Centered Interventions. J Gen Intern Med. 2021;36(12):3910-2.) A systematic review identified 26 studies that compared machine learning models to existing risk scores. The majority (24 studies) reported that the models performed better.(3131. Goldstein BA, Navar AM, Pencina MJ, Ioannidis JP. Opportunities and challenges in developing risk prediction models with electronic health records data: a systematic review. J Am Med Inform Assoc. 2017;24(1):198-208. Review.)

Tools such as the Medication Fall Risk Score are restricted to a few variables, considering that health care professionals themselves must evaluate and calculate the score.(3232. Obermeyer Z, Emanuel EJ. Predicting the Future - Big Data, Machine Learning, and Clinical Medicine. N Engl J Med. 2016;375(13):1216-9.)The increase in the data volume present in electronic medical records allows the models to consider a larger number of predictor variables. Moreover, filling out these tools requires time and dedication from these professionals, which could be applied in care provision.

Fall risk prediction models were developed through machine learning, and data were extracted from the electronic health records.(77. Lucero RJ, Lindberg DS, Fehlberg EA, Bjarnadottir RI, Li Y, Cimiotti JP, et al. A data-driven and practice-based approach to identify risk factors associated with hospital-acquired falls: applying manual and semi- and fully-automated methods. Int J Med Inform. 2019;122:63-9.,3333. Yokota S, Ohe K. Construction and evaluation of FiND, a fall risk prediction model of inpatients from nursing data. Jpn J Nurs Sci. 2016;13(2):247-55.) However, these models depend on the quality of electronic records. A study analyzed the quality of the recording of falls at electronic health records compared to the notifications and identified a gap in the registration, as well as inconsistencies between the records at the notification system and electronic health records.(3434. Maciel CO, Burin HM, Silva AP, Santos HP, Vieira R, Urbanetto JS. Análise da concordância entre prontuário eletrônico e notificações no registro de quedas: estudo de coorte. Res Soc Dev. 2020;9(11): e5091210773.)

This study developed and validated fall-risk prediction models based on medications prescribed, but not necessarily administered. This is the main limitation of the study. The authors did not include all prescribed medications, so that the comparison with the existing score was fair. Also, other fall risk factors, drug interactions, administered doses, the analysis of a series of prescriptions, feature importance were not included in this study. Furthermore, the analysis of the model built in combination with other fall-risk assessment scales was not performed.

Prediction models built by using machine-learning algorithms can help identify risks and improve patient care. The model developed in this study could be applied to prescription data and generate warnings. This approach could help professionals to identify and prevent risks. Healthcare professionals’ work will not be replaced, and the time spent applying scales can be allocated to other important aspects of healthcare.

Conclusion

This study proved the research hypothesis that the prediction model developed especially for the population attending the studied institution showed better performance as compared to the Medication Fall Risk Score. The algorithms used are well-established methods; however, their use in predicting the fall risk related to prescribed medications is a novelty. The need for further studies considering other medications in addition to those related to risk for falls by MFRS as well as new aspects, such as drug interactions, administered doses, the analysis of a series of prescriptions and feature importance, was identified. Features such as sex and age are easy to get and have a relevant influence at fall risk. These features can be implemented in future studies, as well as feature selection techniques and model development through more advanced algorithms. Furthermore, it is suggested that the models built should be applied and analyzed as complementary to the fall prediction scales used in institutions.

Acknowledgments

This study was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior – Brasil (CAPES) – Finance Code 001 and Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq). We would like to thank the Grupo Interdisciplinar de Pesquisa em Segurança do Paciente (GIPESP) and the Grupo de Inteligência Artificial na Saúde (GIAs) for valued contributions.

Referências

  • 1
    World Health Organization (WHO). Falls: fact sheet: WHO Media Center. Geneva: WHO; 2021 [cited 2022 Aug 4]. Available from: https://www.who.int/en/news-room/fact-sheets/detail/falls
    » https://www.who.int/en/news-room/fact-sheets/detail/falls
  • 2
    World Health Organization (WHO). Ageing and Health: Fact Sheets: WHO Media Center. Geneva: WHO; 2018 [cited 2022 Aug 4]. Available from: https://www.who.int/news-room/fact-sheets/detail/ageing-and-health
    » https://www.who.int/news-room/fact-sheets/detail/ageing-and-health
  • 3
    Sociedade Brasileira de Gerontologia e Gerontologia. Quedas em idosos: prevenção. São Paulo: SBGG; 2019 [citado 2022 Ago 4]. Available from: https://sbgg.org.br/wp-content/uploads/2014/10/queda-idosos.pdf
    » https://sbgg.org.br/wp-content/uploads/2014/10/queda-idosos.pdf
  • 4
    Associação Nacional de Hospitais Privados (ANAHP). Manual de Gerenciamento e Assistência ao Idoso. Recomendações dos Hospitais da Associação Nacional de Hospitais Privados. São Paulo: ANAHP; 2018 [citado 2022 Ago 4]. Available from: https://www.eejauditoriaemsaude.com.br/wp-content/uploads/2018/12/manual-de-gerenciamento-e-assistencia-ao-idoso.pdf
    » https://www.eejauditoriaemsaude.com.br/wp-content/uploads/2018/12/manual-de-gerenciamento-e-assistencia-ao-idoso.pdf
  • 5
    Beasley B, Patatanian E. Development and Implementation of a Pharmacy Fall Prevention Program. Hospital Pharmacy. 2009;44(12):1095-102.
  • 6
    Yazdani C, Hall S. Evaluation of the “medication fall risk score”. Am J Health Syst Pharm. 2017;74(1):e32-9.
  • 7
    Lucero RJ, Lindberg DS, Fehlberg EA, Bjarnadottir RI, Li Y, Cimiotti JP, et al. A data-driven and practice-based approach to identify risk factors associated with hospital-acquired falls: applying manual and semi- and fully-automated methods. Int J Med Inform. 2019;122:63-9.
  • 8
    Alloghani M, Al-Jumeily D, Mustafina J, Hussain A, Aljaaf AJ. A systematic review on supervised and unsupervised machine learning algorithms for data science. In: Berry M, Mohamed A, Yap B. (eds) Supervised and Unsupervised Learning for Data Science. Unsupervised and Semi-Supervised Learning. Switzerland: Springer, Cham; 2020. pp 3–21.
  • 9
    Saravanan R, Sujatha P. A state of art techniques on machine learning algorithms: a perspective of supervised learning approaches in data classification. In: 2018 Second International Conference on Intelligent Computing and Control Systems (ICICCS), 14-15 June 2018. Madurai, India: 2018, pp. 945-9.
  • 10
    Collins GS, Reitsma JB, Altman DG, Moons KG. Transparent reporting of a multivariable prediction model forindividual prognosis or diagnosis (TRIPOD): the TRIPOD statement. BMC Medicine. 2015;13(1):1-10.
  • 11
    Riley RD, Moons KG, Snell KI, Ensor J, Hooft L, Altman DG, et al. A guide to systematic review and meta-analysis of prognostic factor studies. BMJ. 2019;364:k4597.
  • 12
    American Society of Health System Pharmacists (ASHP). AHFS Drug Information. Bethesda, Maryland, EUA: ASHP; 2019 [cited 2022 Aug 4]. Available from: https://www.ashp.org/products-and-services/ahfs-di
    » https://www.ashp.org/products-and-services/ahfs-di
  • 13
    R Core Team. R: A Language and Environment for Statistical Computing. Vienna, Austria: R Foundation for Statistical Computing; 2020.
  • 14
    Team R. RStudio: Integrated Development Environment for R. Boston, MA: RStudio, PBC; 2020 [cited 2022 Aug 25].
  • 15
    Kuhn M. caret: Classification and Regression Training. R package version 6.0-86. 2020.Available from: https://github.com/topepo/caret/
    » https://github.com/topepo/caret/
  • 16
    Friedman J, Hastie T, Tibshirani R. Regularization Paths for Generalized Linear Models via Coordinate Descent. J Statistical Software. 2010;33(1):1-22.
  • 17
    Majka M. naivebayes: High Performance Implementation of the Naive Bayes Algorithm in R. R package version 0.9.7. 2019 [cited 2022 Aug 25]. Available from: https://github.com/majkamichal/naivebayes
    » https://github.com/majkamichal/naivebayes
  • 18
    Liaw A, Wiener M. Classification and Regression by randomForest. R News. 2002;2(3):18-22.
  • 19
    Greenwell B, Boehmke B, Cunningham J. GBM Developers. gbm: Generalized Boosted Regression Models. R package version 2.1.8. 2020 [cited 2022 Aug 25]. Available from: https://github.com/gbm-developers/gbm
    » https://github.com/gbm-developers/gbm
  • 20
    Thiele C. cutpointr: Determine and Evaluate Optimal Cutpoints in BinaryClassification Tasks. R package version 1.0.32. 2020. [cited 2022 Aug 25]. Available from: https://github.com/thie1e/cutpointr
    » https://github.com/thie1e/cutpointr
  • 21
    Kobylarz J, Santos HD, Barletta H, Silva MC, Vieira R, Morales HM, et al. A Machine Learning Early Warning System: Multicenter Validation in Brazilian Hospitals. In: IEEE 33rd International Symposium on Computer Based Medical Systems (CBMS), 28-30 July 2020. Rochester, MN, USA: CBMS; p. 321-6.
  • 22
    Sagi O, Rokach L. Ensemble learning: a survey. WIREs Data Mining Knowl Discov. 2018;8:e1249.
  • 23
    Muhammad I, Yan Z. Supervised Machine Learning Approaches: a survey. ICTACT J Soft Computing. 2015;5(3):946-52.
  • 24
    Berrar D. Cross-validation. Encyclopedia Bioinformatics Computational Biology. 2019;1:542-5.
  • 24
    Yazdani C, Hall S. Evaluation of the “medication fall risk score”. Am J Health Syst Pharm. 2017;74(1):e32-9.
  • 25
    Instituto para práticas seguras no uso de medicamentos. Medicamentos associados à ocorrência de quedas. Belo Horizonte: ISMP; 2017. 6 p.
  • 26
    Maly J, Dosedel M, Kubena AA, Mala-Ladova K, Vosatka J, Brabcova I, et al. Analysis of the fall-related risk of pharmacotherapy in Czech hospitals: a case control study. J Eval Clin Pract. 2020;26(3):973-82.
  • 27
    Najafpour Z, Godarzi Z, Arab M, Yaseri M. Risk factors for falls in hospital in-patients: a prospective nested case control study. Int J Health Policy Manag. 2019;8(5):300-6.
  • 28
    O’Neil CA, Krauss MJ, Bettale J, Kessels A, Costantinou E, Dunagan WC, et al. Medications and Patient Characteristics Associated With Falling in the Hospital. J Patient Saf. 2018;14(1):27-33.
  • 29
    Yu S, Farooq F, van Esbroeck A, Fung G, Anand V, Krishnapuram B. Predicting readmission risk with institution-specific prediction models. Artif Intell Med. 2015;65(2):89-96.
  • 30
    Tukpah AC, Cawi E, Wolf L, Nehorai A, Cummings-Vaughn L. Development of an Institution-Specific Readmission Risk Prediction Model for Real-time Prediction and Patient-Centered Interventions. J Gen Intern Med. 2021;36(12):3910-2.
  • 31
    Goldstein BA, Navar AM, Pencina MJ, Ioannidis JP. Opportunities and challenges in developing risk prediction models with electronic health records data: a systematic review. J Am Med Inform Assoc. 2017;24(1):198-208. Review.
  • 32
    Obermeyer Z, Emanuel EJ. Predicting the Future - Big Data, Machine Learning, and Clinical Medicine. N Engl J Med. 2016;375(13):1216-9.
  • 33
    Yokota S, Ohe K. Construction and evaluation of FiND, a fall risk prediction model of inpatients from nursing data. Jpn J Nurs Sci. 2016;13(2):247-55.
  • 34
    Maciel CO, Burin HM, Silva AP, Santos HP, Vieira R, Urbanetto JS. Análise da concordância entre prontuário eletrônico e notificações no registro de quedas: estudo de coorte. Res Soc Dev. 2020;9(11): e5091210773.

Edited by

Associate Editor (Peer review process): Edvane Birelo Lopes De Domenico (https://orcid.org/0000-0001-7455-1727) Escola Paulista de Enfermagem, Universidade Federal de São Paulo, São Paulo, SP, Brazil

Publication Dates

  • Publication in this collection
    06 Feb 2023
  • Date of issue
    2023

History

  • Received
    27 Apr 2022
  • Accepted
    31 Aug 2022
Escola Paulista de Enfermagem, Universidade Federal de São Paulo R. Napoleão de Barros, 754, 04024-002 São Paulo - SP/Brasil, Tel./Fax: (55 11) 5576 4430 - São Paulo - SP - Brazil
E-mail: actapaulista@unifesp.br