In the case of the cab drivers it is fair, because they're given choices.
They can find another job where their religious sensibilities aren't offended.
They can relocate to live under the religious laws of their choice.
So can Doctors and pharmacist.
True, and that's what makes it fair in the case of the cab drivers.
You seem to have trouble understanding that the cab drivers in this case have agreed to certain stipulations in their licensing process.
I did have trouble understanding it, however, it finally sunk in, I just thought it unfair. Roe v. Wade made abortion legal inside the United States, however, there is a clause inside it that says if a person's religious or moral principles are offended they don't have to perform those services. I merely wondered why doctors get a choice and other professional do not (such as pharmacist and cab drivers) don't get a clause to protect their religious beliefs.
In any event I am tired of this discussion, it's just too complicated the more you get into it.