Thank you.
The process on the street depends a lot on the officer's situation. Obviously, it's difficult, with your scenario, to give you a precise answer. A bag with miscellaneous pills would usually be seized or some phone calls would be made to doctors or pharmacists to confirm the person's identity as well as details of the prescription such as dosage and quantities. That would usually be the rule on the street.