Sure, that’s somewhat analogous. But not all abortions are done simply to remove an unwanted pregnancy, and certainly hormones are often prescribed for reasons that have nothing to do with contraception, even if that is an incidental effect, and quite a few medications that have nothing to do with contraception can dramatically affect sex drive and fertility, such as some anti-depressants. No doctor is required to perform any surgery they feel they cannot do in good conscience, but it is not always a simple matter there either. In such cases as the surgeon feels unable to make a clear or informed decision, they generally confer with other medics and perhaps ask someone who feels more comfortable with performing the procedure, or the patient, if they are able, finds another doctor.
On the other hand, it is not a pharmacist’s job to decide what should and should not be prescribed, but to follow the chain of command from the prescribing physician, knowledgeably and without error, to protect the patient from possible misuse, or catch mistakes in dosages, interactions and so forth. If they cannot accept that, then they should choose a different career, or perhaps go into pharmacological research rather than dispensation. I mean, there are some religions that do not believe in ANY medical treatment or prescribed medication - so what would, say, a Christian Science fringe extremist pharmacist do? Not be a pharmacist, that’s what.
Way off topic, but I wanted to enlarge a bit on your analogy. In the case of dogs in a cab, I can see why in some cases, for health and sanitary reasons, that might not be acceptable - but seeing-eye dogs are extremely intelligent, clean and highly trained, as well as absolutely vital to their master’s functioning, and such person is likely to be in a much harder spot than most if they cannot get the transportation they need. So yes, fining the cab driver was quite right, and if a cab driver can’t get over that mistaken prejudice, then he should take a different job. Training for such situations involving the handicapped should be required by law for people with a chauffeur/taxi license, whether the service is run privately or by the state.
And yes, agreed on the bartender/server part, since they are legally partly responsible for their customers’ consumption of an intoxicant. And here, pretty much all cab drivers realize that they are doing a very ethical thing by driving people who have overindulged to protect both the intoxicated person and anyone that might get hurt if they DID try to drive - and even provide that service for free in special circumstances and especially on certain holidays, like New year’s