The number of opioid prescriptions fell by 22 percent between 2013 and 2017.