(oops) Yes, but that is a seperate issue from whether a pharmacist can be compelled to dispense medication that will arguably end a life against his/her sincerely held religious beliefs.
If that clause was in his contract I'd agree with you. I admire standing on principle. What I don't admire is not fulfilling your duties in the job you were hired to do. Again if your personal convictions were so strong you owe it to your employer to inform him before you accept employment. Otherwise don't cry when he cans your ass for not doing the job he hired you to do.