The objective is to develop and validate an artificial intelligence model, specifically an artificial neural network (ANN), to predict length of stay (LOS), discharge disposition, and inpatient charges for primary anatomic total (aTSA), reverse total (rTSA), and hemi- (HSA) shoulder arthroplasty to establish internal validity in predicting patient-specific value metrics.
Using data from the National Inpatient Sample between 2003 and 2014, 4 different ANN models to predict LOS, discharge disposition, and inpatient costs using 39 preoperative variables were developed based on diagnosis and arthroplasty type: primary chronic/degenerative aTSA, primary chronic/degenerative rTSA, primary traumatic/acute rTSA, and primary acute/traumatic HSA. Models were also combined into diagnosis type only. Outcome metrics included accuracy and area under the curve (AUC) for a receiver operating characteristic curve.
A total of 111,147 patients undergoing primary shoulder replacement were included. The machine learning algorithm predicting the overall chronic/degenerative conditions model (aTSA, rTSA) achieved accuracies of 76.5%, 91.8%, and 73.1% for total cost, LOS, and disposition, respectively; AUCs were 0.75, 0.89, and 0.77 for total cost, LOS, and disposition, respectively. The overall acute/traumatic conditions model (rTSA, HSA) had accuracies of 70.3%, 79.1%, and 72.0% and AUCs of 0.72, 0.78, and 0.79 for total cost, LOS, and discharge disposition, respectively.
Our ANN demonstrated fair to good accuracy and reliability for predicting inpatient cost, LOS, and discharge disposition in shoulder arthroplasty for both chronic/degenerative and acute/traumatic conditions. Machine learning has the potential to preoperatively predict costs, LOS, and disposition using patient-specific data for expectation management between health care providers, patients, and payers.