A machine-learning model to predict postoperative delirium following knee arthroplasty using electronic health records

Abstract Background Postoperative delirium is a challenging complication due to its adverse outcome such as long hospital stay. The aims of this study were: 1) to identify preoperative risk factors of postoperative delirium following knee arthroplasty, and 2) to develop a machine-learning prediction...

Full description

Bibliographic Details
Main Authors: Jong Wook Jung, Sunghyun Hwang, Sunho Ko, Changwung Jo, Hye Youn Park, Hyuk-Soo Han, Myung Chul Lee, Jee Eun Park, Du Hyun Ro
Format: Article
Language:English
Published: BMC 2022-06-01
Series:BMC Psychiatry
Subjects:
Online Access:https://doi.org/10.1186/s12888-022-04067-y
_version_ 1828468803366813696
author Jong Wook Jung
Sunghyun Hwang
Sunho Ko
Changwung Jo
Hye Youn Park
Hyuk-Soo Han
Myung Chul Lee
Jee Eun Park
Du Hyun Ro
author_facet Jong Wook Jung
Sunghyun Hwang
Sunho Ko
Changwung Jo
Hye Youn Park
Hyuk-Soo Han
Myung Chul Lee
Jee Eun Park
Du Hyun Ro
author_sort Jong Wook Jung
collection DOAJ
description Abstract Background Postoperative delirium is a challenging complication due to its adverse outcome such as long hospital stay. The aims of this study were: 1) to identify preoperative risk factors of postoperative delirium following knee arthroplasty, and 2) to develop a machine-learning prediction model. Method A total of 3,980 patients from two hospitals were included in this study. The model was developed and trained with 1,931 patients from one hospital and externally validated with 2,049 patients from another hospital. Twenty preoperative variables were collected using electronic hospital records. Feature selection was conducted using the sequential feature selection (SFS). Extreme Gradient Boosting algorithm (XGBoost) model as a machine-learning classifier was applied to predict delirium. A tenfold-stratified area under the curve (AUC) served as the metric for variable selection and internal validation. Results The incidence rate of delirium was 4.9% (n = 196). The following seven key predictors of postoperative delirium were selected: age, serum albumin, number of hypnotics and sedatives drugs taken preoperatively, total number of drugs (any kinds of oral medication) taken preoperatively, neurologic disorders, depression, and fall-down risk (all p < 0.05). The predictive performance of our model was good for the developmental cohort (AUC: 0.80, 95% CI: 0.77–0.84). It was also good for the external validation cohort (AUC: 0.82, 95% CI: 0.80–0.83). Our model can be accessed at https://safetka.connecteve.com . Conclusions A web-based predictive model for delirium after knee arthroplasty was developed using a machine-learning algorithm featuring seven preoperative variables. This model can be used only with information that can be obtained from pre-operative electronic hospital records. Thus, this model could be used to predict delirium before surgery and may assist physician’s effort on delirium prevention.
first_indexed 2024-12-11T04:29:38Z
format Article
id doaj.art-e090d0a982a145068361cc14ae703f7c
institution Directory Open Access Journal
issn 1471-244X
language English
last_indexed 2024-12-11T04:29:38Z
publishDate 2022-06-01
publisher BMC
record_format Article
series BMC Psychiatry
spelling doaj.art-e090d0a982a145068361cc14ae703f7c2022-12-22T01:20:54ZengBMCBMC Psychiatry1471-244X2022-06-0122111110.1186/s12888-022-04067-yA machine-learning model to predict postoperative delirium following knee arthroplasty using electronic health recordsJong Wook Jung0Sunghyun Hwang1Sunho Ko2Changwung Jo3Hye Youn Park4Hyuk-Soo Han5Myung Chul Lee6Jee Eun Park7Du Hyun Ro8Department of Orthopedic Surgery, Seoul National University College of MedicineDepartment of Orthopedic Surgery, Seoul National University HospitalDepartment of Orthopedic Surgery, Seoul National University College of MedicineDepartment of Orthopedic Surgery, Seoul National University College of MedicineDepartment of Psychiatry, Seoul National University Bundang HospitalDepartment of Orthopedic Surgery, Seoul National University College of MedicineDepartment of Orthopedic Surgery, Seoul National University College of MedicineDepartment of Psychiatry, Seoul National University HospitalDepartment of Orthopedic Surgery, Seoul National University College of MedicineAbstract Background Postoperative delirium is a challenging complication due to its adverse outcome such as long hospital stay. The aims of this study were: 1) to identify preoperative risk factors of postoperative delirium following knee arthroplasty, and 2) to develop a machine-learning prediction model. Method A total of 3,980 patients from two hospitals were included in this study. The model was developed and trained with 1,931 patients from one hospital and externally validated with 2,049 patients from another hospital. Twenty preoperative variables were collected using electronic hospital records. Feature selection was conducted using the sequential feature selection (SFS). Extreme Gradient Boosting algorithm (XGBoost) model as a machine-learning classifier was applied to predict delirium. A tenfold-stratified area under the curve (AUC) served as the metric for variable selection and internal validation. Results The incidence rate of delirium was 4.9% (n = 196). The following seven key predictors of postoperative delirium were selected: age, serum albumin, number of hypnotics and sedatives drugs taken preoperatively, total number of drugs (any kinds of oral medication) taken preoperatively, neurologic disorders, depression, and fall-down risk (all p < 0.05). The predictive performance of our model was good for the developmental cohort (AUC: 0.80, 95% CI: 0.77–0.84). It was also good for the external validation cohort (AUC: 0.82, 95% CI: 0.80–0.83). Our model can be accessed at https://safetka.connecteve.com . Conclusions A web-based predictive model for delirium after knee arthroplasty was developed using a machine-learning algorithm featuring seven preoperative variables. This model can be used only with information that can be obtained from pre-operative electronic hospital records. Thus, this model could be used to predict delirium before surgery and may assist physician’s effort on delirium prevention.https://doi.org/10.1186/s12888-022-04067-yDeliriumTotal knee arthroplastyMachine learningPredictionNeurologic disorderPreoperative model
spellingShingle Jong Wook Jung
Sunghyun Hwang
Sunho Ko
Changwung Jo
Hye Youn Park
Hyuk-Soo Han
Myung Chul Lee
Jee Eun Park
Du Hyun Ro
A machine-learning model to predict postoperative delirium following knee arthroplasty using electronic health records
BMC Psychiatry
Delirium
Total knee arthroplasty
Machine learning
Prediction
Neurologic disorder
Preoperative model
title A machine-learning model to predict postoperative delirium following knee arthroplasty using electronic health records
title_full A machine-learning model to predict postoperative delirium following knee arthroplasty using electronic health records
title_fullStr A machine-learning model to predict postoperative delirium following knee arthroplasty using electronic health records
title_full_unstemmed A machine-learning model to predict postoperative delirium following knee arthroplasty using electronic health records
title_short A machine-learning model to predict postoperative delirium following knee arthroplasty using electronic health records
title_sort machine learning model to predict postoperative delirium following knee arthroplasty using electronic health records
topic Delirium
Total knee arthroplasty
Machine learning
Prediction
Neurologic disorder
Preoperative model
url https://doi.org/10.1186/s12888-022-04067-y
work_keys_str_mv AT jongwookjung amachinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT sunghyunhwang amachinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT sunhoko amachinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT changwungjo amachinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT hyeyounpark amachinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT hyuksoohan amachinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT myungchullee amachinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT jeeeunpark amachinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT duhyunro amachinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT jongwookjung machinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT sunghyunhwang machinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT sunhoko machinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT changwungjo machinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT hyeyounpark machinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT hyuksoohan machinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT myungchullee machinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT jeeeunpark machinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords
AT duhyunro machinelearningmodeltopredictpostoperativedeliriumfollowingkneearthroplastyusingelectronichealthrecords