Health minister says it’s aimed at preventing the diversion of take-home prescription opioids onto the street