I completely agree, and in fact I started another thread saying exactly the same thing. (Thread has apparently been removed.) When all the hospital beds are being taken up by unvaccinated people with Covid, that starts to impact everybody else. It even impacts other unvaccinated people! Yesterday's paper quoted a doctor in one of those overwhelmed hospitals, asking people not to plan to schedule surgery for themselves, unless they are in a life-threatening situation.
Getting back to the original question, of course the hospital was within their rights. Hospitals make decisions to do transplants (or not) as a routine matter, every day.
But I think there are situations where patients can refuse a certain medication or procedure, based on religious principles. Isn't there a branch of Christianity that refuses blood transfusions?
Of course, most of the anti-vaxxers do not say their refusal is based on religion.