... in exchange for something.
If you give $20 to the clerk for an item, and he keeps it and you recieve no merchandise, were you stolen from?
He shouldn't have kept the prescription but that isn't the salient point. The question is do pharmacist, doctors etc. have a right to refuse to participate in what they see as the detruction of human life. I think the answer to that is clear. Of course they do.