Although opioids can be effective medications in certain situations, they are associated with harms, including opioid use disorder and overdose. Studies have revealed unexplained prescribing variation and prescribing mismatched with patient-reported pain for many indications.