mucus in 4 mo old stool w/ atopic dermatitis

A

so I've been seeing mucusy stools and the pediatrician diagnosed DS with atopic dermatitis. wondering gif I need to cut out dairy as I don't eat eggs, gluten or soy. I plan on calling a lactation consultant Monday but wanted to get some thoughts