Nothing in this act shall be deemed to authorize or require medical examination, immunization or treatment for those who object thereto on religious grounds, except where such is necessary for the protection of the health or safety of others.
N.J.S. § 26:12-16