No one should be allowed to risk the health of others just because of their personal, moral, philosophical, or religious views. The needs of the many is more important than the needs of the individual.
You say that we should not be allowed to risk the health of others according to religious views. But, many parents hold religious beliefs against vaccination. Forcing such parents to vaccinate their children would violate the 1st Amendment which guarantees citizens the right to the free exercise of their religion
It is also in the constitution that we have a right to bear arms, but there are laws placed on who and at what age a person is allowed to carry one. Making vaccinations mandatory for those children in school would just be like placing a law on gun carry. Heath.harvard.edu stated that an individual that is vaccinated is less contagious to others, if they were to get sick. So by definition if the majority was to get vaccinated then there would be no worry about getting infected. This is also called community immunity. By not having a child get vaccinated they are now risking the heath of not only those near them, but also the rest of the community.
The point you brought up is completely irrelevant because getting vaccinations and carrying guns have no connection at all. I can see where you are coming from but the difference between gun control and vaccinations is nowadays the common cold is not going to kill someone like a gun. Then you say that the community is at risk because of one child but according to www.ncoh.net, there are all kinds of side effects that can occur to a person that can possibly kill them just because they had an allergic reaction to the vaccine.
There are always going to be some kind of side effects no matter what a person does. It all goes back to if one individual thinks that they are more important than the rest of society. Also there runs the risk of death if a child is not presented with a vaccination. It is much cheaper to get a vaccination for an illness than it is to treat one. In fact cdc.gov says that it cost about 15-16 dollars to get a vaccine, where it could cost well over 150 dollars to treat an illness that could have been prevented.
You say and I quote, " There runs the risk of death if a child is not presented with a vaccination," but there also runs a risk of the children dying from these vaccines that are now supposedly saving their lives. Your website cdc.gov also states that "A vaccine, like any medicine, could cause a serious reaction and the risk of a vaccine causing serious harm, or death, is small but not unheard of." So is that one life you say could be saved from spreading a disease worth the risk of them dying from the side effects of the so called life saving vaccination.