I quite agree... The pharmacist hasn't the right to impose his/her values...
But she has the right to impose her values (or lack of them) on him?
That she should be allowed, legally, to force him to perform an act which he considers immoral and against his code of ethics (Hippocratic Oath)?
Freedom is kind of a one-way street with you, isn't it?
Of course he has the right to refuse to fill the prescription. She can go elsewhere. That is her right.
Stealing the script is a different question. She should have called the police immediately while still in the store.