Medical College of Wisconsin
CTSIResearch InformaticsREDCap

Development and validation of an artificial intelligence system for surgical case length prediction. Surgery 2025 Mar;179:108942

Date

11/30/2024

Pubmed ID

39613655

DOI

10.1016/j.surg.2024.09.051

Scopus ID

2-s2.0-85210539458 (requires institutional sign-in at Scopus site)

Abstract

BACKGROUND: Accurate case length estimation is a vital part of optimizing operating room use; however, significant inaccuracies exist with current solutions. The purpose of this study was to develop and validate an artificial intelligence system for improved surgical case length prediction by applying natural language processing and machine-learning methods.

METHODS: All inpatient elective surgical cases longer than 30 minutes completed between 2017 and 2023 at a single, quaternary care hospital were considered. Data were split into training, test, and hold-out validation for model training and testing. Linear regression, CategoricalBoost, and feed-forward neural network each were trained and used embeddings created by bidirectional encoder representations from transformers or a bidirectional encoder representations from transformers model pretrained on clinical text. The average root mean squared error and mean absolute error were calculated for each model.

RESULTS: A total of 125,493 cases were included. The highest performing model was the CategoricalBoost Regressor with bidirectional encoder representations from transformers model pretrained on clinical text embeddings (mean absolute error, 46.4 minutes), which was lower than the existing electronic health record estimates (120.0 minutes, P < 0.001). Accurate estimation of case length was defined as within ±20% of the actual case length with our model having 48% accuracy vs 17% accuracy for electronic health record-generated estimates.

CONCLUSION: An artificial intelligence model for surgical case length estimation outperforms existing institutional electronic health record predictions. On average, the estimate improved by 62% and approximately 2.8× the number of cases were correctly estimated. This study shows the successful development of machine learning models using advanced natural language processing techniques for improved surgical case length prediction.

Author List

Ramamurthi A, Neupane B, Deshpande P, Hanson R, Brown KR, Christians KK, Evans DB, Kothari AN

Authors

Kathleen K. Christians MD Professor in the Surgery department at Medical College of Wisconsin
Douglas B. Evans MD Chair, Professor in the Surgery department at Medical College of Wisconsin
Anai N. Kothari MD Assistant Professor in the Surgery department at Medical College of Wisconsin




MESH terms used to index this publication - Major topics in bold

Artificial Intelligence
Elective Surgical Procedures
Humans
Machine Learning
Natural Language Processing
Operating Rooms
Operative Time