Skip to main content
Log in

Artificial intelligence algorithms accurately predict prolonged length of stay following revision total knee arthroplasty

  • KNEE
  • Published:
Knee Surgery, Sports Traumatology, Arthroscopy Aims and scope

Abstract

Purpose

Although the average length of hospital stay following revision total knee arthroplasty (TKA) has decreased over recent years due to improved perioperative and intraoperative techniques and planning, prolonged length of stay (LOS) continues to be a substantial driver of hospital costs. The purpose of this study was to develop and validate artificial intelligence algorithms for the prediction of prolonged length of stay for patients following revision TKA.

Methods

A total of 2512 consecutive patients who underwent revision TKA were evaluated. Those patients with a length of stay greater than 75th percentile for all length of stays were defined as patients with prolonged LOS. Three artificial intelligence algorithms were developed to predict prolonged LOS following revision TKA and these models were assessed by discrimination, calibration and decision curve analysis.

Results

The strongest predictors for prolonged length of stay following revision TKA were age (> 75 years; p < 0.001), Charlson Comorbidity Index (> 6; p < 0.001) and body mass index (> 35 kg/m2; p < 0.001). The three artificial intelligence algorithms all achieved excellent performance across discrimination (AUC > 0.84) and decision curve analysis (p < 0.01).

Conclusion

The study findings demonstrate excellent performance on discrimination, calibration and decision curve analysis for all three candidate algorithms. This highlights the potential of these artificial intelligence algorithms to assist in the preoperative identification of patients with an increased risk of prolonged LOS following revision TKA, which may aid in strategic discharge planning.

Level of evidence

IV.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

Data availability

Data are available upon request. Only standard software was used for analysis.

References

  1. Allahbakhshi K, Khorasani-Zavareh D, Jazani RK, Ghomian Z (2019) Preparedness components of health systems in the Eastern Mediterranean Region for effective responses to dust and sand storms: a systematic review. F1000Research 8:146–151

    Article  Google Scholar 

  2. Burn E, Edwards CJ, Murray DW, Silman A, Cooper C, Arden NK, Pinedo-Villanueva R, Prieto-Alhambra D (2018) Trends and determinants of length of stay and hospital reimbursement following knee and hip replacement: evidence from linked primary care and NHS hospital records from 1997 to 2014. BMJ Open 8:019146–019152

    Google Scholar 

  3. Carter EM, Potts HWW (2014) Predicting length of stay from an electronic patient record system: a primary total knee replacement example. BMC Med Inform Decis Mak 14:26–33

    Article  Google Scholar 

  4. Ching T, Zhu X, Garmire LX (2018) Cox-nnet: an artificial neural network method for prognosis prediction of high-throughput omics data. PLoS Comput Biol 14:1006076–1006082

    Article  Google Scholar 

  5. Collins GS, Reitsma JB, Altman DG, Moons KGM (2015) Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement. BMJ 350:7594–7599

    Article  Google Scholar 

  6. Collins TC, Daley J, Henderson WH, Khuri SF (1999) Risk factors for prolonged length of stay after major elective surgery. Ann Surg 230:251–259

    Article  CAS  Google Scholar 

  7. Darst BF, Malecki KC, Engelman CD (2018) Using recursive feature elimination in random forest to account for correlated variables in high dimensional data. BMC Genet 19:1–6

    Google Scholar 

  8. Ferro CAT (2007) Comparing probabilistic forecasting systems with the Brier score. Weather Forecast 22:1076–1088

    Article  Google Scholar 

  9. Greenwell BM, Boehmke BC, McCarthy AJ (2018) A simple and effective model-based variable importance measure. arXiv 1–27

  10. Helm JM, Swiergosz AM, Haeberle HS, Karnuta JM, Schaffer JL, Krebs VE, Spitzer AI, Ramkumar PN (2020) Machine learning and artificial intelligence: definitions, applications, and future directions. Curr Rev Musculoskelet Med 13:69–76

    Article  Google Scholar 

  11. Karhade AV, Ogink PT, Thio QCBS, Broekman MLD, Cha TD, Hershman SH, Mao J, Peul WC, Schoenfeld AJ, Bono CM, Schwab JH (2019) Machine learning for prediction of sustained opioid prescription after anterior cervical discectomy and fusion. Spine J 19:976–983

    Article  Google Scholar 

  12. Karhade AV, Schwab JH, Bedair HS (2019) Development of machine learning algorithms for prediction of sustained postoperative opioid prescriptions after total hip arthroplasty. J Arthroplasty 34:2272–2277

    Article  Google Scholar 

  13. Karhade AV, Thio QCBS, Ogink PT, Bono CM, Ferrone ML, Oh KS, Saylor PJ, Schoenfeld AJ, Shin JH, Harris MB, Schwab JH (2019) Predicting 90-day and 1-year mortality in spinal metastatic disease: development and internal validation. Neurosurgery 85:671–681

    Article  Google Scholar 

  14. Keswani A, Lovy AJ, Robinson J, Levy R, Chen D, Moucha CS (2016) Risk factors predict increased length of stay and readmission rates in revision joint arthroplasty. J Arthroplasty 1:603–608

    Article  Google Scholar 

  15. Klemt C, Harvey MJ, Robinson MG, Esposito JG, Yeo I, Kwon Y-M (2022) Machine learning algorithms predict extended postoperative opioid use in primary total knee arthroplasty. Knee Surg Sports Traumatol Arthrosc. https://doi.org/10.1007/s00167-021-06812-4

    Article  PubMed  Google Scholar 

  16. Klemt C, Laurencin S, Uzosike AC, Burns JC, Costales TG, Yeo I, Habibi Y, Kwon Y-M (2021) Machine learning models accurately predict recurrent infection following revision total knee arthroplasty for periprosthetic joint infection. Knee Surg Sports Traumatol Arthrosc. https://doi.org/10.1007/s00167-021-06794-3

    Article  PubMed  Google Scholar 

  17. Klemt C, Uzosike AC, Harvey MJ, Laurencin S, Habibi Y, Kwon Y-M (2021) Neural network models accurately predict discharge disposition after revision total knee arthroplasty? Knee Surg Sports Traumatol Arthrosc. https://doi.org/10.1007/s00167-021-06778-3

    Article  PubMed  Google Scholar 

  18. Krell RW, Girotti ME, Dimick JB (2014) Extended length of stay after surgery: complications, inefficient practice, or sick patients? JAMA Surg 149:815–820

    Article  Google Scholar 

  19. Kurtz S, Ong K, Lau E, Mowat F, Halpern M (2007) Projections of primary and revision hip and knee arthroplasty in the United States from 2005 to 2030. J Bone Jt Surg Am 89:780–785

    Article  Google Scholar 

  20. Labek G, Thaler M, Janda W, Agreiter M, Stöckl B (2011) Revision rates after total joint replacement: cumulative results from worldwide joint register datasets. J Bone Jt Surg Br 93:293–297

    Article  CAS  Google Scholar 

  21. Lavernia C, Lee DJ, Hernandez VH (2006) The increasing financial burden of knee revision surgery in the United States. Clin Orthop Relat Res 446:221–226

    Article  Google Scholar 

  22. Lyman S, Fields KG, Nocon AA, Ricciardi BF, Boettner F (2015) Prolonged length of stay is not an acceptable alternative to coded complications in assessing hospital quality in elective joint arthroplasty. J Arthroplasty 30:1863–1867

    Article  Google Scholar 

  23. Panesar SS, D’Souza RN, Yeh F-C, Fernandez-Miranda JC (2019) Machine learning versus logistic regression methods for 2-year mortality prognostication in a small, heterogeneous Glioma database. World Neurosurg X 2:100012–100019

    Article  Google Scholar 

  24. Piuzzi NS, Strnad GJ, Sakr Esa WA, Barsoum WK, Bloomfield MR, Brooks PJ, Higuera-Rueda CA, Joyce MJ, Kattan MW, Klika AA, Krebs V, Mesko NW, Mont MA, Murray TG, Muschler GF, Nickodem RJ, Patel PD, Schaffer JL, Spindler KP, Stearns KL, Suarez JC, Zajichek A, Molloy RM (2019) The main predictors of length of stay after total knee arthroplasty: patient-related or procedure-related risk factors. J Bone Jt Surg Am 101:1093–1101

    Article  Google Scholar 

  25. Raut S, Mertes SC, Muniz-Terrera G, Khanduja V (2012) Factors associated with prolonged length of stay following a total knee replacement in patients aged over 75. Int Orthop 36:1601–1608

    Article  Google Scholar 

  26. Ribeiro MT, Singh S, Guestrin C (2016) Model-agnostic interpretability of machine learning. Int Orthop 19:173–179

    Google Scholar 

  27. Schwartz AJ, Clarke HD, Sassoon A, Neville MR, Etzioni DA (2020) The clinical and financial consequences of the centers for medicare and medicaid services’ two-midnight rule in total joint arthroplasty. J Arthroplasty 35:1–6

    Article  Google Scholar 

  28. Sloan M, Sheth NP (2018) Length of stay and inpatient mortality trends in primary and revision total joint arthroplasty in the United States, 2000–2014. J Orthop 15:645–649

    Article  Google Scholar 

Download references

Funding

The study did not receive any funding.

Author information

Authors and Affiliations

Authors

Contributions

CK: data collection, analysis, write-up. VT: data collection. AB: analysis. WBC-L: write-up. MGR: write-up. Y-MK: study design, write-up.

Corresponding author

Correspondence to Young-Min Kwon.

Ethics declarations

Conflict of interest

All authors report no conflict of interest or financial disclosures.

Ethical approval

We acknowledge that this study was approved by the institutional review board (IRB).

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Klemt, C., Tirumala, V., Barghi, A. et al. Artificial intelligence algorithms accurately predict prolonged length of stay following revision total knee arthroplasty. Knee Surg Sports Traumatol Arthrosc 30, 2556–2564 (2022). https://doi.org/10.1007/s00167-022-06894-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00167-022-06894-8

Keywords

Navigation