I'm not talking about parents forcing kids to do something. If you don't get your shots, you simply are not allowed to attend school. This is a preventative measure to ensure that disease isn't spread from child to child.
Seat belts and smoke detectors are also preventative measures that have been made into laws. Sometimes things are proven to save lives, yet people don't take advantage of them so a law is made to force it.
Bookmarks