I'm pretty sure that they have to let you know if they are doing a drug screen in advance. It was probably routine for that doc/clinic, but still sneaky. You should be told the process before hand and then you can decide to go through the whole thing or not. I could be wrong.
Add: I don't think I would trust them after that either.