Machine Learning for the Prediction of Procedural Case Durations Developed Using a Large Multicenter Database: Algorithm Development and Validation Study (Preprint)
Preprint
- 9 December 2022
- preprint
- Published by JMIR Publications Inc. in JMIR Preprints
Abstract
BACKGROUND Accurate projections of procedural case durations are complex but critical to the planning of perioperative staffing, operating room resources, and patient communication. Nonlinear prediction models using machine learning methods may provide opportunities for hospitals to improve upon current estimates of procedure duration. OBJECTIVE The aim of this study was to determine whether a machine learning algorithm scalable across multiple centers could make estimations of case duration within a tolerance limit because there are substantial resources required for operating room functioning that relate to case duration. METHODS Deep learning, gradient boosting, and ensemble machine learning models were generated using perioperative data available at 3 distinct time points: the time of scheduling, the time of patient arrival to the operating or procedure room (primary model), and the time of surgical incision or procedure start. The primary outcome was procedure duration, defined by the time between the arrival and the departure of the patient from the procedure room. Model performance was assessed by mean absolute error (MAE), the proportion of predictions falling within 20% of the actual duration, and other standard metrics. Performance was compared with a baseline method of historical means within a linear regression model. Model features driving predictions were assessed using Shapley additive explanations values and permutation feature importance. RESULTS A total of 1,177,893 procedures from 13 academic and private hospitals between 2016 and 2019 were used. Across all procedures, the median procedure duration was 94 (IQR 50-167) minutes. In estimating the procedure duration, the gradient boosting machine was the best-performing model, demonstrating an MAE of 34 (SD 47) minutes, with 46% of the predictions falling within 20% of the actual duration in the test data set. This represented a statistically and clinically significant improvement in predictions compared with a baseline linear regression model (MAE 43 min; P<.001; 39% of the predictions falling within 20% of the actual duration). The most important features in model training were historical procedure duration by surgeon, the word “free” within the procedure text, and the time of day. CONCLUSIONS Nonlinear models using machine learning techniques may be used to generate high-performing, automatable, explainable, and scalable prediction models for procedure duration. CLINICALTRIALKeywords
All Related Versions
- Published version: JMIR AI, 2 (1), e44909.
This publication has 36 references indexed in Scilit:
- Use of Historical Surgical Times to Predict Duration of Primary Total Knee ArthroplastyThe Journal of Arthroplasty, 2016
- Optimizing Operating Room SchedulingAnesthesiology Clinics, 2015
- Surgery scheduling optimization considering real life constraints and comprehensive operation cost of operating roomTechnology and Health Care, 2015
- Value of a Scheduled Duration Quantified in Terms of Equivalent Numbers of Historical CasesAnesthesia & Analgesia, 2013
- Using mean duration and variation of procedure times to plan a list of surgical operations to fit into the scheduled list timeEuropean Journal of Anaesthesiology, 2011
- Permutation importance: a corrected feature importance measureBioinformatics, 2010
- Modeling Procedure and Surgical Times for Current Procedural Terminology-Anesthesia-Surgeon Combinations and Evaluation in Terms of Case-Duration Prediction and Operating Room Efficiency: A Multicenter StudyAnesthesia & Analgesia, 2009
- A Strategy for Deciding Operating Room Assignments for Second-Shift AnesthetistsAnesthesia & Analgesia, 1999
- Statistical Modeling to Predict Elective Surgery TimeAnesthesiology, 1996
- Combinatorial representations of the Shapley value based on average relative payoffs1988