http://en.wikipedia.org/wiki/Jacobson_v._Massachusetts
as noted in the end of it, vaccines against diseases spread by intimate contact are very different than diseases spread by air. meaning, i don't see how a government could compulsory order people to get vaccinated for HPV, but for measles? there's legal precedent and it makes sense