“…Covariates also included whether the surgery was major or minor, classifications that were made based on prior literature. 11,13,14 The Agency for Healthcare Research and Quality's Clinical Classification Software was used to create indicators for mental health diagnoses. The subcategories of the mental health diagnoses by the Clinical Classification Software were mood disorders (ie, adjustment, anxiety, and depression), suicide, disruptive behavior disorders (ie, attention-deficit/hyperactivity disorder, conduct and disruptive behavior disorders, and impulse control disorders), personality disorders, schizophrenia, other mental disorders, and substance use disorders (ie, alcohol and other substance-related disorders).…”