Medical care is highly regulated by government and there is no doubt that those issuing licenses have the power to regulate the licensees' duties as it does drug legality, purity and availability.
So, should an OBGYN perform an abortion on demand not matter what their moral view is?