Being under the influence of even prescription meds while driving is unlawful. It is possible that the protocol where you are prefers urine over blood for drug tests - and there are some drugs that are more readily tested in urine than in blood. It may have been a judgment call depending on the meds you had allegedly ingested, or the officer suspected.
- Carl