By telling an officer that you are on a prescription medication  you’re giving them more of a reason to further investigate you and do testing A prescription for a medication is not a defense  although it is something that can be shown to the DA down the road