Exposure to childhood trauma increases risk of opioid use disorder among people prescribed opioids for chronic non-cancer pain.