In the case of opioids, this often involves precisely not weaning the patient off the medication, but transitioning them onto the safer, longer-acting opioids: methadone or buprenorphine for maintenance treatment.