The American Academy of Pediatrics says doctors should bring up the importance of vaccinations during visits but should respect a parent’s wishes unless there’s a significant risk to the child.

“In general, pediatricians should avoid discharging patients from their practices solely because a parent refuses to immunize his or her child,” according to guidelines issued by the group.

However, if the relationship between patient and doctor becomes unworkable, the pediatrics academy says, the doctor may want to encourage the vaccine refuser to go to another physician.