Can the state require you to bring your child to the doctor

Asking for a friend who doesn’t vaccinate her children and her doctors office just called and said if she dosent bring her children in for a check up there going to call CPS can they do that ?