as mentioned throughout the comments I've also seen many situations where patients that were given prescriptions were then turned away by pharmacists because they didn't like the type of clothes that the person was wearing or they didn't think that there was a diagnosis to match the prescription, or that the doctor was too far away in a different town in the same state, Even though the patient might have been taking this medication for 20 years or more... This is only happening recently within the last few years, specifically after the multibillion dollar settlement by CVS and Walgreens that happened in November of 2022... so I'm not buying it that pharmacists are allowed to Trump the decision making of medical doctors.
I guess you are right, according to some articles online [1], a pharmacist can refuse to dispense a prescription due "moral and/or religious" reasons.... so they literally can just look at you and say well you know what I don't think you deserve this stuff sorry go somewhere else and I guess it's perfectly okay, because of a moral duty, which is vague and specious.