Surgery is often the first time patients receive an opioid prescription, and their widespread use raises concerns about patients becoming long-term users.