Both of those procedures are exceedingly personal medical decisions the ramifications of which will never spread beyond yourself or, at most, your immediate family. The question of vaccination isn't an individual decision - it's a societal decision. We all (or most, technically) get vaccinated so that we can curtail an ongoing pandemic, it isn't effective if done to only a small segment of the population and the US is currently sitting just short of 60% vaccinated with at least one dose.
The big difference is between it validly being a personal choice or being something necessary for society to function.
There is no evidence that these types of coercion tactics actually increase vaccinations. It's an emerging field of study but there is a growing body of evidence that they actually decrease vaccination acceptance.
2-3% of people are medically contraindicated from getting some or even all vaccines because the risks of the vaccine due to their age, existing illness, genetics and medications are higher than the risk of the diseases prevented.
I think it makes more sense to keep the government out of the exam room in all cases.
Never mind that PoC vaccination stats are dwarfed by white people (with good historical reasons) thus de facto segregating them from everyday life.
I’m against both as a concept BTW but my opinion is moot as a non-American.