Does Target have a right to know your medical history before you can go buy your kid a new backpack... No, but they have the right to ask you if you've been vaccinated before you enter their property. You don't have to answer or get vaccinated, but they have the right to ask you not to enter if you refuse.
Easy. With this kind of mindset, you just lie and say "yes". How would they know?