Try a food diary and a pain diary together. Cut food types, see how it affects ect (as well as going to the dr obvs which you’re already doing)
I agree with starting out with a food diary and try and make correlations- if any as to when flare ups occur. I would start with eliminating dairy as this is what we did as it would make my son’s belly really hard and bloated when he’d have dairy so we eliminated that and it helped massively. Hope this gets sorted asap.
I've had these symptoms as an adult and turned out I had a hernia from my bellybutton. Always worth asking them to check for something like this just in case :) hope your little one gets the treatment needed ♡ xx
I would speak to the doctors and ask about possible impaction. she may appear to be doing poos but they might be small, hard and her bowels are not clearing properly. She may need prescribed laxatives to move it. My son had similar issues and one of my friends daughters has just had the same.