Controlled drug prescription validity