patient compliance

If the goal is guaranteeing the safety of children, as well as protecting the general population being from infectious diseases, then why is the act of shaming playing any role in vaccine compliance?
In an effort to combat patient non-compliance with medications, the Food and Drug Administration approved the first pill with an ingestible tracking sensor. Will it be used for good or evil, or something in between?