I'm sure there are exceptions for medical necessity, but I'm still not on board with this. Lot's of reasons to choose formula over breast milk, from a child not taking, nutritional imbalances, pain or not producing enough, moms with difficult work schedules, and so on. I think it should be solely the family's decision. 

Vaccination, however, should be mandatory because not doing it threatens the safety of others.