N.B.
It may be some type of food allergy. Lactose intolerance and celiac disease come to mind. Simple constipation shouldn't be on-going, especially if she's been taking stool softeners. I would keep a brief diary of what she eats, and look for trends. What days is it better or worse, and what did she eat those days. Then go back to the Dr. This isn't normal.