Hospitalization for violent trauma costs as much as $8.5 billion per year in the United States, and reinjury rates are as high as 40%.1 Most trauma reinjury studies include data from a single center. However, nearly 60% of reinjured patients present to a different hospital, making prediction of reinjury difficult.1,2 Machine learning allows computers to learn from iterations without programming. Machine learning is highly accurate for predicting surgical outcomes3 and suicide risk4 but, to our knowledge, has never been used in trauma outcomes. The purpose of this study was to compare several machine learning models for prediction of reinjury after penetrating trauma.
The Nationwide Readmission Database is the only national database that tracks patients across different hospitals within a state. We queried the period from January 1, 2013, through December 31, 2014, for all survivors of nonelective admission with a penetrating trauma E-code. Reinjury was defined as nonelective readmission with a penetrating trauma E-code. Readmissions were excluded if they could be related to the index admission based on previously described methods.1 Prediction models were created using 4 machine learning classifiers independently with cross validation performed by dividing the data set into 10 subsets and using 1 for testing and the remaining 9 for training. This process was repeated using all subsets, and means were calculated for receiver operating characteristic curves. Modeling was performed with RapidMiner Studio software (version 7.5; RapidMiner, Inc). Because this research used a deidentified government database, this study was deemed exempt from approval by the institutional review board of the University of Miami. Furthermore, because this did not constitute human subjects research, consent was not required.
Of 63 678 patients admitted for penetrating trauma, 1229 (1.9%) experienced reinjury. The most common E-code was for suicide and self-inflicted injury by cutting and piercing instrument at admission (n = 22 889 [34.2%]) and readmission (n = 798 [63.3%]). The most common diagnosis group for admission was major depressive disorders and other/unspecified psychoses (n = 6913 [10.3%]); for readmission, bipolar disorders (n = 1329 [12.0%]). The Table and Figure show that the gradient boosted trees classifier had the highest accuracy (96.8%) and area under the curve (AUC) (0.74). This classifier reported high importance percentages for E-codes (11.4%-21.4%) and self-injury (5.2%). The logistic regression classifier also performed well (accuracy, 94.7%; AUC, 0.73) (Table and Figure), and self-injury was a significant attribute (z score, 3.38; P < .01).
This study is, to our knowledge, the first nationwide evaluation of reinjury after penetrating trauma. We found a reinjury rate of 1.9%, similar to rates of prior multi-institutional studies (0.8%-2.0%).1 This study found that the most common E-codes from penetrating injury were related to self-injury, and the most common diagnosis groups were related to psychiatric disorders. As many as half of all patients who commit suicide have been reported to have prior admissions for trauma,5 and nonsuicidal self-injury has been reported to recur in 75% of self-injurers.6
Predicting violent behavior has proven to be difficult. Teo et al2 found that risk assessments by attending psychiatrists were moderately accurate (AUC, 0.70), whereas risk assessments by residents were no better than chance (AUC, 0.52). A growing number of studies have demonstrated the usefulness of machine learning for medical decision making. Outcomes after cerebral arteriovenous malformation radiosurgery have been predicted with 74% accuracy and an AUC of 0.71.3 Suicide attempts have been predicted using machine learning techniques with an AUC of 0.84.4 In this study, machine learning was used for the first time to predict reinjury due to penetrating trauma. We found favorable AUCs with high accuracy (Table and Figure), and self-injury proved to be an important component in making this prediction.
This study is limited by use of an administrative hospital database, which may include coding errors or institutional biases. Predictive models using this type of database are inherently limited by these biases.4 Regardless, this study demonstrated that machine learning may be useful for developing highly accurate predictive models for reinjury after penetrating trauma using a large database of readily available data. Future studies should include validation of the predictive model with outside data and incorporation into existing electronic medical record systems to provide real-time clinical decision support.
Corresponding Author: Rishi Rattan, MD, Department of Surgery, University of Miami Leonard M. Miller School of Medicine, 1800 NW 10th Ave, Building T215, Room D-40, Miami, FL 33136 (rrattan@miami.edu).
Accepted for Publication: June 25, 2017.
Published Online: October 18, 2017. doi:10.1001/jamasurg.2017.3116
Author Contributions: Dr Parreco had full access to all the data in the study and takes responsibility for the integrity of the data and the accuracy of the data analysis.
Study concept and design: Both authors.
Acquisition, analysis, or interpretation of data: Both authors.
Drafting of the manuscript: Both authors.
Critical revision of the manuscript for important intellectual content: Both authors.
Statistical analysis: Parreco.
Administrative, technical, or material support: Rattan.
Study supervision: Rattan.
Conflict of Interest Disclosures: None reported.
Additional Contributions: Antonio Hidalgo, MS, provided technical assistance, for which he was not compensated.
1.Kaufman
E, Rising
K, Wiebe
DJ, Ebler
DJ, Crandall
ML, Delgado
MK. Recurrent violent injury: magnitude, risk factors, and opportunities for intervention from a statewide analysis.
Am J Emerg Med. 2016;34(9):1823-1830.
PubMedGoogle ScholarCrossref 2.Teo
AR, Holley
SR, Leary
M, McNiel
DE. The relationship between level of training and accuracy of violence risk assessment.
Psychiatr Serv. 2012;63(11):1089-1094.
PubMedGoogle ScholarCrossref 3.Oermann
EK, Rubinsteyn
A, Ding
D,
et al. Using a machine learning approach to predict outcomes after radiosurgery for cerebral arteriovenous malformations.
Sci Rep. 2016;6:21161.
PubMedGoogle ScholarCrossref 4.Walsh
CG, Ribeiro
JD, Franklin
JC. Predicting risk of suicide attempts over time through machine learning [published online April 7, 2017].
Clin Psychol Sci. doi:
10.1177/2167702617691560Google Scholar 5.Kiankhooy
A, Crookes
B, Privette
A, Osler
T, Sartorelli
K. Fait accompli: suicide in a rural trauma setting.
J Trauma. 2009;67(2):366-371.
PubMedGoogle ScholarCrossref 6.Whitlock
J, Eckenrode
J, Silverman
D. Self-injurious behaviors in a college population.
Pediatrics. 2006;117(6):1939-1948.
PubMedGoogle ScholarCrossref