Next Article in Journal
Diagnostic and Prognostic Potential of MiR-379/656 MicroRNA Cluster in Molecular Subtypes of Breast Cancer
Next Article in Special Issue
Prevalence of Restless Legs Syndrome and its Symptoms among Patients with Spinal Disorders
Previous Article in Journal
Proposal of a New Definition of “Very Early” Intrahepatic Cholangiocarcinoma—A Retrospective Single-Center Analysis
Previous Article in Special Issue
Pain Control Affects the Radiographic Diagnosis of Segmental Instability in Patients with Degenerative Lumbar Spondylolisthesis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Machine Learning Prediction of Length of Stay in Adult Spinal Deformity Patients Undergoing Posterior Spine Fusion Surgery

1
Department of Orthopaedic Surgery, Warren Alpert Medical School of Brown University, Rhode Island Hospital, Providence, RI 02912, USA
2
Division of Applied Mathematics, Brown University, Providence, RI 02912, USA
*
Author to whom correspondence should be addressed.
J. Clin. Med. 2021, 10(18), 4074; https://doi.org/10.3390/jcm10184074
Submission received: 18 August 2021 / Revised: 6 September 2021 / Accepted: 7 September 2021 / Published: 9 September 2021
(This article belongs to the Special Issue Spinal Disorders: Current Treatment and Future Opportunities)

Abstract

:
(1) Background: Length of stay (LOS) is a commonly reported metric used to assess surgical success, patient outcomes, and economic impact. The focus of this study is to use a variety of machine learning algorithms to reliably predict whether a patient undergoing posterior spinal fusion surgery treatment for Adult Spine Deformity (ASD) will experience a prolonged LOS. (2) Methods: Patients undergoing treatment for ASD with posterior spinal fusion surgery were selected from the American College of Surgeon’s NSQIP dataset. Prolonged LOS was defined as a LOS greater than or equal to 9 days. Data was analyzed with the Logistic Regression, Decision Tree, Random Forest, XGBoost, and Gradient Boosting functions in Python with the Sci-Kit learn package. Prediction accuracy and area under the curve (AUC) were calculated. (3) Results: 1281 posterior patients were analyzed. The five algorithms had prediction accuracies between 68% and 83% for posterior cases (AUC: 0.566–0.821). Multivariable regression indicated that increased Work Relative Value Units (RVU), elevated American Society of Anesthesiologists (ASA) class, and longer operating times were linked to longer LOS. (4) Conclusions: Machine learning algorithms can predict if patients will experience an increased LOS following ASD surgery. Therefore, medical resources can be more appropriately allocated towards patients who are at risk of prolonged LOS.

1. Introduction

Length of stay (LOS) is a commonly reported metric used to assess surgical success and patient outcomes. However, in the face of rising healthcare costs, LOS is also a measure often targeted to reduce these expenses. Bundled payments have become more prevalent, and therefore, tremendous efforts have been made to safely minimize patient LOS. Procedures such as total shoulder (TSA) and hip arthroplasties (THA) are sometimes performed as outpatient procedures, which are on average 30% less costly than the same procedures that require admission [1].
However, more invasive orthopedic procedures, such as spinal fusion for adult spinal deformity (ASD), cannot inherently make this transition due to patient immobility, intraoperative blood loss, and inadequate perioperative pain control. In such cases, ensuring that patients avoid unnecessary extensions in length of stay is imperative. A study by Boylan et al. conducted on adolescent scoliosis surgery costs indicated that each additional day of hospitalization incurred more than $1100 in insurance costs and close to $5200 in hospitals costs [2]. Furthermore, patients who experience a prolonged LOS can accrue an additional $19,000 in total hospital costs compared to shorter LOS counterparts [3]. Similar trends have been published for spinal fusion surgery for ASD, thereby prompting the need for further research efforts to either reduce LOS or avoid unnecessary extensions [4].
Several studies have identified risk factors for increased LOS after spinal fusion surgery for ASD. Phan et al. found that increased operative time was associated with prolonged LOS for adult spinal deformity surgery [5]. In a multicenter study, Klineberg et al. identified age, heart disease, Charlson Comordity Index scores, number of levels fused, infection, neurologic deficits, and intraoperative complications as risk factors for increased LOS [6]. Another study using Danish hospital data corroborated these findings by showing that increased age and Charlson Comorbidity Index scores lead to increased LOS [7]. Although risk factors are useful in identifying patients predisposed to longer LOS, they cannot deterministically predict whether a given patient will go on to experience a prolonged LOS. However, machine learning algorithms can synthesize these studies and predict whether a given patient will undergo a short or long hospitalization based on several demographic and comorbidity data taken collectively rather than considering risk factors individually.
In this investigation, Logistic Regression (LR), Decision Tree (DT), Random Forest (RF), XGBoost (XGB), and Gradient Boosting (GB) classifiers are used to predict whether posterior fusion surgery patients will experience a short or long LOS using the National Surgical Quality Improvement Database (NSQIP), a large repository of surgery case data supported by the American College of Surgeons (ACS) [8].

2. Methods

The ACS-NSQIP database was queried to select patients that underwent spine fusion surgery for ASD between 2006 and 2018. This cohort consisted of patients with current procedural terminology (CPT) codes of posterior (22800, 22802, and 22804) spinal fusions. A long LOS for posterior procedures was considered greater than or equal to 9 days. Both metrics are above the 75th percentile in their respective LOS distributions [6]. Patients with LOS equal to 8 days were excluded from the sample population. Hospitalizations shorter than 8 days for posterior spinal fusion were considered short LOS. A two-sided t-test was performed between key variables of the short and long LOS patient groups to determine statistically significant differences among both patient groups with a significance level set at 0.05, a priori.
Predictive variables included sex, race, American Society of Anesthesiologist’s (ASA) class, steroid use (Steroid), smoking history (Smoke), body mass index (BMI), surgeon Work Relative Value Units (Work RVU), age, and operating time (Op Time) as well pre-operative lab values: white blood cell count (WBC), creatinine levels (CREAT), platelet count (PLATE), hematocrit levels (HCT), blood urea nitrogen (BUN), sodium levels (SODM), and alkaline phosphatase (ALKPH). Work RVUs serve as a proxy for surgical invasiveness as they take into consideration factors, such as physician skill, effort, and time to perform the surgery. Patients that had undergone emergency surgery or had missing data in one or more missing predictive categorical values were excluded from the analysis. Due to the high proportion of missing preoperative laboratory values, a nearest neighbor imputation algorithm was applied to the missing laboratory values. Nearest neighbor imputations find correlations among patients with and without a value for a given variable. Based on these correlations, the nearest neighbor algorithm can be utilized to predict the missing value [9].
Patients were then randomly partitioned into two groups for the posterior procedural groups. The first group, consisting of 90% of the data, was designated as the training group. The second group, with the remaining patient data, formed the testing group. LR algorithms utilize a binomial logistic regression to predict prolonged LOS, while DT, RF, XGB, and GB algorithms use decision trees of various complexity to predict LOS. DT algorithms are less complex, and therefore, less thorough than RF algorithms. XGB and GB algorithms are the most complex algorithms, and therefore, they are thought to have the best predictive power. LR algorithms are less computationally intensive than DT, RF, XGB, and GB algorithms; however, this often comes at the expense of accuracy and predictability [10,11,12,13]. The five algorithms were used to predict patient LOS for the posterior patients with the Sci-Kit Learn package in Python (National Institute for Research in Computer Science and Automation, Rocquencourt, France) [14]. The algorithms’ predictive capacities were determined through analysis of the testing group. Prediction accuracy, area under the curve (AUC), and Brier scores were calculated to measure the strengths of the algorithms. Prediction accuracy is the proportion of patients correctly predicted as having a short or long LOS. AUC is a measure of how effective the algorithm is at distinguishing between patients who were and were not readmitted. The best AUC score is 1, indicating perfect distinctive capacity, while the worst AUC score is 0.5, indicating poor predictive accuracy [15,16,17]. Brier scores indicate how accurate the probabilities used to determine the predictions are, with a score close to 0 indicating high probabilistic predictive power, while a score closest to 1 indicates poor probabilistic predictive power [18].

3. Results

In total, 1907 patients that underwent posterior ASD surgery were examined. After removing missing values, 1281 patients were analyzed. The mean LOS for posterior ASD patients was 6.8 days. Among posterior cases, 262 patients had undergone a short LOS (20.5%). A comparative breakdown of short and long LOS cases by CPT code is displayed in Figure 1.
For the posterior fusion patients, the two-sided t-test results indicated that there was a statistically significant difference between short and long LOS among patients for the following variables: Caucasian, elevated ASA class, steroids, BMI, Work RVUs, age, operating time, HCT, BUN, and SODM. The full results of the two-tailed t-test of proportions and means are detailed in Table 1.
For posterior fusion patients, the five machine learning algorithms had AUC values of between 0.566 and 0.821 and prediction accuracies of between 68.4% and 83.1%. The Brier scores (Brier) for all five algorithms among posterior cases was close to 0, indicating a high prediction accuracy. The complete set of machine learning metrics are outlined in Table 2.
The corresponding ROC curves for each procedure show the tradeoff between the false positive and false negative rate (Figure 2). As seen from both ROC curves, sensitivity and 1-specificity are directly correlated, indicating that sensitivity and specificity are directly correlated.
The calibration curves for the five algorithms are depicted in Figure 3 for posterior cases. The XGB and GB algorithms align closest with the dotted midline (Mid), indicating strong accuracy relative to the other three algorithms for posterior cases [19,20].
The multivariable regression indicated that increased Work RVU, elevated ASA class, and longer operating times were linked to longer LOS for posterior cases (Table 3). A forest plot of the regression results is graphed in Figure 4.
A complete summary of the results is outlined in a flowchart in Figure 5.

4. Discussion

Prolonged LOS following ASD surgery has the potential to pose a substantial financial burden to both the patient and the healthcare system [4,19]. This is particularly seen in neurosurgery and orthopedic spine cases, where current research has found that an extended LOS was linked to higher complication rates and hospital costs among relevant cases. Ansari et al. found that prolonged LOS was associated with higher risks of readmission in neurosurgery patients; however, the paper concedes that this may have been due to underlying patient comorbidities rather than LOS itself [20]. Among lumbar fusion patients, extended LOS has been linked to increased risk of anemia requiring transfusion, altered mental status, pneumonia, readmission, and hardware complications requiring reoperation [21]. One previous study in neurosurgical patients revealed that a physical therapy consultation and discharge to a specialized nursing facility were both associated with a 2.4 day and 6.2 day longer LOS, respectively [22].
While many risk factors have been identified for increased LOS, no systematic model has been presented to determine whether a patient will experience a short or long LOS. This study not only found statistically significant differences in comorbidity and demographic related data between patients and their LOS, but more importantly, it demonstrated the efficacy of using tree-based machine learning techniques to predict short vs. long LOS. The implications of these results are significant because they contribute to a more comprehensive understanding of a patient’s individual risk profile and may allow for more appropriate resource allocation and accurate discharge planning practices. The variables used in the machine learning algorithm have been used to formulate a user interface webpage link for LOS prediction after ASD (https://asdlos.herokuapp.com/).
Four of the five algorithms (LR, RF, XGB, and GB) tested in this study had AUC values greater than 0.7 and were, thus, highly effective in predicting and distinguishing between the test cases [23]. The results of this study compare favorably against similar publications exploring the implementation of machine learning in both spine and other orthopedic subspecialties. Prior studies using machine learning to predict intraoperative blood loss, prolonged LOS, patient reported outcome measures, and discharge disposition in the fields have utilized similar tree-based approaches or neural networks with similar or inferior results [24,25,26,27,28,29]. The results of this paper provide further evidence that machine learning has much utility in orthopedic surgery, as the current study builds upon existing literature using machine learning in spinal surgery. Moreover, Kobayashi et al. found that elevated ASA Class and longer operating times were associated with increased LOS after posterior spine fusion, of which the results of this study concur with [30]. Adogwa et al. identified surgeon practice style and preference as risk factors for extended LOS, which aligns with our study’s findings that surgeon Work RVU and operating time were associated with increased LOS [31]. However, operating time cannot be solely attributed to surgeon style or preference, as there may be patient comorbidities that lead to an increased operative time [32].
The Risk Assessment Prediction Tool (RAPT) is a validated six-question survey designed to predict patient discharge disposition following total joint arthroplasty. It helps both patients and physicians better understand barriers to discharge and aids in the shared decision-making process to streamline the discharge process [33]. Similarly, the results of this study could be extrapolated as a foundation for the development of a similar tool. It would be tremendously helpful for patient and physician alike to be able to quantify a patient’s risks prior to surgery. This not only allows for a more appropriate setting of expectations, but also enables the entire patient care team to devise an individualized care plan aimed at maximizing patient safety and satisfaction while simultaneously reducing length of stay.
Despite the strength of the machine learning algorithms presented, the study does have some potential limitations. The NSQIP dataset is a national database, and the results of studies from the database may not be clinically relevant to individual hospitals or medical institutions. Furthermore, for the algorithms to be most clinically useful, they must be based on a sample that is truly reflective of the population of patients undergoing spine fusion surgery for ASD treatment. However, the NSQIP database is overrepresented with patients from large teaching hospitals and underrepresented with patients from smaller community hospitals. Thus, the algorithms presented here are based on somewhat skewed data [34]. Moreover, due to the inherent limitations of CPT coding, we were unable to distinguish between cervical, thoracic, and lumbar spinal constructs in the patient population. Finally, the number of patients undergoing spine fusion surgery for ASD treatment is characteristically low, thus reducing the power of any inferential statistical procedure, such as machine learning [35].

5. Conclusions

The results of this investigation indicate that machine learning algorithms, specifically tree-based, are effective in predicting the LOS duration for patients undergoing spinal fusion surgery to treat ASD. The clinical implications of these algorithms can be immense, as patients and their providers can be empowered with a way to predict the expected LOS after surgery. With this information in hand, specific measures can be taken to reduce LOS and, consequently, reduce expenses for both patients and hospitals alike. More research is warranted to determine the overall effectiveness of these algorithms relative to hospital-specific cases.

Author Contributions

Conceptualization, A.S.Z., A.V. and A.H.D.; methodology, A.V., E.O.K. and A.H.D.; validation, A.S.Z., A.V. and A.H.D.; formal analysis, A.S.Z. and A.V.; investigation, A.S.Z., A.V. and A.H.D.; writing—original draft preparation, A.S.Z., A.V. and A.H.D.; writing—review and editing, A.S.Z., A.V., M.S.Q., D.A., E.O.K. and A.H.D.; supervision, E.O.K. and A.H.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

This study used the American College of Surgeon’s NSQIP dataset. https://www.facs.org/quality-programs/acs-nsqip (accessed on 22 January 2021).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Huang, A.; Ryu, J.J.; Dervin, G. Cost savings of outpatient versus standard inpatient total knee arthroplasty. Can. J. Surg. 2017, 60, 57–62. [Google Scholar] [CrossRef] [PubMed]
  2. Boylan, M.R.; Riesgo, A.M.; Chu, A.; Paulino, C.B.; Feldman, D.S. Costs and complications of increased length of stay following adolescent idiopathic scoliosis surgery. J. Pediatr. Orthop. Part B 2019, 28, 27–31. [Google Scholar] [CrossRef] [PubMed]
  3. Elsamadicy, A.A.; Koo, A.B.; Kundishora, A.J.; Chouairi, F.; Lee, M.; Hengartner, A.; Camara-Quintana, J.; Kahle, K.T.; DiLuna, M.L. Impact of patient and hospital-level risk factors on extended length of stay following spinal fusion for adolescent idiopathic scoliosis. J. Neurosurg. Pediatr. 2019, 24, 469–475. [Google Scholar] [CrossRef]
  4. McCarthy, I.M.; Hostin, R.A.; O’Brien, M.F.; Fleming, N.S.; Ogola, G.; Kudyakov, R.; Richter, K.M.; Saigal, R.; Berven, S.H.; Ames, C.P. Analysis of the direct cost of surgery for four diagnostic categories of adult spinal deformity. Spine J. 2013, 13, 1843–1848. [Google Scholar] [CrossRef]
  5. Phan, K.; Kim, J.; Di Capua, J.; Lee, N.J.; Kothari, P.; Dowdell, J.; Overley, S.C.; Guzman, J.Z.; Cho, S.K. Impact of Operation Time on 30-Day Complications After Adult Spinal Deformity Surgery. Glob. Spine J. 2017, 7, 664–671. [Google Scholar] [CrossRef] [PubMed]
  6. Klineberg, E.O.; Passias, P.G.; Jalai, C.M.; Worley, N.; Sciubba, D.M.; Burton, D.C.; Gupta, M.C.; Soroceanu, A.; Zebala, L.P.; Mundis, G.M.; et al. Predicting extended length of hospital stay in an adult spinal deformity surgical population. Spine 2016, 41, E798–E805. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Pitter, F.T.; Lindberg-Larsen, M.; Pedersen, A.B.; Dahl, B.; Gehrchen, M. Readmissions, Length of Stay, and Mortality After Primary Surgery for Adult Spinal Deformity. Spine 2019, 44, E107–E116. [Google Scholar] [CrossRef]
  8. ACS National Surgical Quality Improvement Program. Available online: https://www.facs.org/quality-programs/acs-nsqip (accessed on 20 August 2020).
  9. Beretta, L.; Santaniello, A. Nearest neighbor imputation algorithms: A critical evaluation. BMC Med. Inform. Decis. Mak. 2016, 16 (Suppl. 3), 197–208. [Google Scholar] [CrossRef] [Green Version]
  10. Hu, Y.J.; Ku, T.H.; Jan, R.H.; Wang, K.; Tseng, Y.C.; Yang, S.F. Decision tree-based learning to predict patient controlled analgesia consumption and readjustment. BMC Med. Inform. Decis. Mak. 2012, 12, 131. [Google Scholar] [CrossRef] [Green Version]
  11. Alam, M.Z.; Rahman, M.S.; Rahman, M.S. A Random Forest based predictor for medical data classification using feature ranking. Inform. Med. Unlocked 2019, 15, 100180. [Google Scholar] [CrossRef]
  12. Deng, H.; Urman, R.; Gilliland, F.D.; Eckel, S.P. Understanding the importance of key risk factors in predicting chronic bronchitic symptoms using a machine learning approach. BMC Med. Res. Methodol. 2019, 19, 70. [Google Scholar] [CrossRef]
  13. Zhang, Z.; Zhao, Y.; Canes, A.; Steinberg, D.; Lyashevska, O. Predictive analytics with gradient boosting in clinical medicine. Ann. Transl. Med. 2019, 7, 152. [Google Scholar] [CrossRef] [PubMed]
  14. Varoquaux, G.; Buitinck, L.; Louppe, G.; Grisel, O.; Pedregosa, F.; Mueller, A. Scikit-learn: Machine Learning without Learning the Machinery. GetMob. Mob. Comput. Commun. 2015, 19, 29–33. [Google Scholar] [CrossRef]
  15. Hajian-Tilaki, K. Receiver operating characteristic (ROC) curve analysis for medical diagnostic test evaluation. Casp. J. Intern. Med. 2013, 4, 627–635. [Google Scholar]
  16. Obuchowski, N.A.; Bullen, J.A. Receiver operating characteristic (ROC) curves: Review of methods with applications in diagnostic medicine. Phys. Med. Biol. 2018, 63, 07TR01. [Google Scholar] [CrossRef] [PubMed]
  17. Liao, P.; Wu, H.; Yu, T. ROC Curve Analysis in the Presence of Imperfect Reference Standards. Stat. Biosci. 2017, 9, 91–104. [Google Scholar] [CrossRef]
  18. Rufibach, K. Use of Brier score to assess binary predictions. J. Clin. Epidemiol. 2010, 63, 938–939. [Google Scholar] [CrossRef]
  19. Shields, L.B.; Clark, L.; Glassman, S.D.; Shields, C.B. Decreasing hospital length of stay following lumbar fusion utilizing multidisciplinary committee meetings involving surgeons and other caretakers. Surg. Neurol. Int. 2017, 8, 5. [Google Scholar] [CrossRef]
  20. Ansari, S.F.; Yan, H.; Zou, J.; Worth, R.M.; Barbaro, N.M. Hospital Length of Stay and Readmission Rate for Neurosurgical Patients. Neurosurgery 2018, 82, 173–181. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  21. Gruskay, J.A.; Fu, M.; Bohl, D.D.; Webb, M.L.; Grauer, J.N. Factors affecting length of stay after elective posterior lumbar spine surgery: A multivariate analysis. Spine J. 2015, 15, 1188–1195. [Google Scholar] [CrossRef] [PubMed]
  22. Linzey, J.R.; Kahn, E.N.; Shlykov, M.A.; Johnson, K.T.; Sullivan, K.; Pandey, A.S. Length of Stay Beyond Medical Readiness in Neurosurgical Patients: A Prospective Analysis. Neurosurgery 2019, 85, E60–E65. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  23. Florkowski, C.M. Sensitivity, Specificity, Receiver-Operating Characteristic (ROC) Curves and Likelihood Ratios: Communicating the Performance of Diagnostic Tests. Clin. Biochem. Rev. 2008, 29 (Suppl. 1), S83–S87. Available online: http://www.ncbi.nlm.nih.gov/pubmed/18852864 (accessed on 4 January 2021).
  24. Biron, D.R.; Sinha, I.; Kleiner, J.E.; Aluthge, D.P.; Goodman, A.D.; Sarkar, I.N.; Cohen, E.; Daniels, A.H. A Novel Machine Learning Model Developed to Assist in Patient Selection for Outpatient Total Shoulder Arthroplasty. J. Am. Acad. Orthop. Surg. 2019, 28, e580–e585. [Google Scholar] [CrossRef] [PubMed]
  25. Navarro, S.M.; Wang, E.Y.; Haeberle, H.S.; Mont, M.A.; Krebs, V.E.; Patterson, B.; Ramkumar, P.N. Machine Learning and Primary Total Knee Arthroplasty: Patient Forecasting for a Patient-Specific Payment Model. J. Arthroplast. 2018, 33, 3617–3623. [Google Scholar] [CrossRef] [PubMed]
  26. Durand, W.M.; DePasse, J.M.; Daniels, A.H. Predictive Modeling for Blood Transfusion Following Adult Spinal Deformity Surgery. Spine 2018, 43, 1058–1066. [Google Scholar] [CrossRef]
  27. Fontana, M.A.; Lyman, S.; Sarker, G.K.; Padgett, D.E.; MacLean, C.H. Can machine learning algorithms predict which patients will achieve minimally clinically important differences from total joint arthroplasty? In Clinical Orthopaedics and Related Research; Lippincott Williams and Wilkins: Philadelphia, PA, USA, 2019; Volume 477, pp. 1267–1279. [Google Scholar] [CrossRef] [Green Version]
  28. Goyal, A.; Ngufor, C.; Kerezoudis, P.; McCutcheon, B.; Storlie, C.; Bydon, M. Can machine learning algorithms accurately predict discharge to nonhome facility and early unplanned readmissions following spinal fusion? Analysis of a national surgical registry. J. Neurosurg. Spine 2019, 31, 568–578. [Google Scholar] [CrossRef] [PubMed]
  29. Malik, A.T.; Khan, S.N. Predictive modeling in spine surgery. Ann. Transl. Med. 2019, 7, S173. [Google Scholar] [CrossRef]
  30. Kobayashi, K.; Ando, K.; Kato, F.; Kanemura, T.; Sato, K.; Hachiya, Y.; Matsubara, Y.; Kamiya, M.; Sakai, Y.; Yagi, H.; et al. Predictors of Prolonged Length of Stay After Lumbar Interbody Fusion: A Multicenter Study. Glob. Spine J. 2019, 9, 466–472. [Google Scholar] [CrossRef] [Green Version]
  31. Adogwa, O.; Lilly, D.T.; Khalid, S.; Desai, S.A.; Vuong, V.D.; Davison, M.A.; Ouyang, B.; Bagley, C.A.; Cheng, J. Extended Length of Stay After Lumbar Spine Surgery: Sick Patients, Postoperative Complications, or Practice Style Differences Among Hospitals and Physicians? World Neurosurg. 2019, 123, e734–e739. [Google Scholar] [CrossRef]
  32. Kim, B.D.; Hsu, W.K.; De Oliveira, G.S.; Saha, S.; Kim, J.Y.S. Operative duration as an independent risk factor for postoperative complications in single-level lumbar fusion: An analysis of 4588 surgical cases. Spine 2014, 39, 510–520. [Google Scholar] [CrossRef]
  33. Dibra, F.F.; Silverberg, A.J.; Vasilopoulos, T.; Gray, C.F.; Parvataneni, H.K.; Prieto, H.A. Arthroplasty Care Redesign Impacts the Predictive Accuracy of the Risk Assessment and Prediction Tool. J. Arthroplast. 2019, 34, 2549–2554. [Google Scholar] [CrossRef] [PubMed]
  34. Pitt, H.A.; Kilbane, M.; Strasberg, S.M.; Pawlik, T.M.; Dixon, E.; Zyromski, N.J.; Aloia, T.A.; Henderson, J.M.; Mulvihill, S.J. ACS-NSQIP has the potential to create an HPB-NSQIP option. HPB 2009, 11, 405–413. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  35. Lieber, R.L. Statistical significance and statistical power in hypothesis testing. J. Orthop. Res. 1990, 8, 304–309. [Google Scholar] [CrossRef] [PubMed]
Figure 1. A breakdown of short and long LOS distribution by CPT code.
Figure 1. A breakdown of short and long LOS distribution by CPT code.
Jcm 10 04074 g001
Figure 2. ROC curves of the five machine learning algorithms for posterior cases.
Figure 2. ROC curves of the five machine learning algorithms for posterior cases.
Jcm 10 04074 g002
Figure 3. Calibration curves of the five machine learning algorithms for posterior cases.
Figure 3. Calibration curves of the five machine learning algorithms for posterior cases.
Jcm 10 04074 g003
Figure 4. A forest plot visualization of the multivariable regression results. Lab values were removed from the forest plots due to near-zero confidence interval ranges and odds ratios close to 1.
Figure 4. A forest plot visualization of the multivariable regression results. Lab values were removed from the forest plots due to near-zero confidence interval ranges and odds ratios close to 1.
Jcm 10 04074 g004
Figure 5. A flowchart visualization of the results.
Figure 5. A flowchart visualization of the results.
Jcm 10 04074 g005
Table 1. A demographics table of patients with short and long LOS for posterior spine fusion cases.
Table 1. A demographics table of patients with short and long LOS for posterior spine fusion cases.
Short LOSLong LOSp-Value
% Male360 (34.88%)85 (32.44%)0.46
Caucasian794 (76.94%)156 (59.54%)<0.0001
ASA > 2530 (51.36%)210 (80.15%)<0.0001
Steroid44 (4.26%)20 (7.63%)0.02
Smoke159 (15.41%)42 (16.03%)0.8
BMI27.328.50.01
Work RVU28.932<0.0001
Age (years)51.357.5<0.0001
Operation Time (minutes)321440.5<0.0001
WBC7.17.40.18
CREAT0.90.90.3
PLATE252.52490.49
HCT40.338.9<0.0001
BUN15.316.30.03
SODM139.2138.5<0.0001
ALKPH83.989.60.06
LOS4.515.3<0.0001
Total1032262
Table 2. The results of the machine learning analysis of the five machine learning algorithms for the posterior cases.
Table 2. The results of the machine learning analysis of the five machine learning algorithms for the posterior cases.
AUCPrediction Accuracy (%)Brier
LR0.81483.1%0.13
DT0.56668.4%0.29
RF0.82178.5%0.14
XGB0.73673.1%0.20
GB0.78280.8%0.14
Table 3. Results of the multivariable regression analysis for posterior cases.
Table 3. Results of the multivariable regression analysis for posterior cases.
Posterior
Odds RatioLowerUpperp-Value
BMI0.980.931.030.49
Work RVU1.341.151.55<0.001
Age1.000.971.020.71
Male0.690.331.430.32
Caucasian0.270.023.300.31
ASA > 24.262.088.74<0.001
Steroid1.070.195.850.94
Smoke1.010.432.370.98
Op Time1.001.001.01<0.001
WBC1.020.861.220.82
CREAT0.420.082.120.29
PLATE1.001.001.010.29
HCT0.950.881.030.20
BUN1.010.951.080.74
SODM1.040.931.170.50
ALKPH1.000.991.010.84
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhang, A.S.; Veeramani, A.; Quinn, M.S.; Alsoof, D.; Kuris, E.O.; Daniels, A.H. Machine Learning Prediction of Length of Stay in Adult Spinal Deformity Patients Undergoing Posterior Spine Fusion Surgery. J. Clin. Med. 2021, 10, 4074. https://doi.org/10.3390/jcm10184074

AMA Style

Zhang AS, Veeramani A, Quinn MS, Alsoof D, Kuris EO, Daniels AH. Machine Learning Prediction of Length of Stay in Adult Spinal Deformity Patients Undergoing Posterior Spine Fusion Surgery. Journal of Clinical Medicine. 2021; 10(18):4074. https://doi.org/10.3390/jcm10184074

Chicago/Turabian Style

Zhang, Andrew S, Ashwin Veeramani, Matthew S. Quinn, Daniel Alsoof, Eren O. Kuris, and Alan H. Daniels. 2021. "Machine Learning Prediction of Length of Stay in Adult Spinal Deformity Patients Undergoing Posterior Spine Fusion Surgery" Journal of Clinical Medicine 10, no. 18: 4074. https://doi.org/10.3390/jcm10184074

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop