I agree with Dena here -__- thats for one just FULLY unprofessional... two it's FULLY illegal. I mean it goes against H.I.P.A.A Regulations. And yes H.I.P.A.A also goes for pharmacists too.
If I were you, I would talk to the manager of the store about it stating that you felt uncomfortable and that it was a violation.
And in turn switch your pharmacy. Target is normally pretty good by the way.

Just stay away from Walmart, they hate trans people... at least at the 4 by me. I have had the manager at one tell me to exit the store just for being in the make up aisle.