It could be a viral o
bacterial intestinal infection. But other symptoms like blood or mucus, could indicate definitely bacterial infection. In that case, you can do this:
1. Do a copro analysis, to look for
amoebas, or parasites.
2. Hemogram: to detect white blood cells level (which indicates infection)
3. Empiric treatment of symptoms, with probiotics, like
lactobacillus every 8 hours, or other, Hioscina bromuro every 8 hours, and
metoclopramide every 8 hours.
4.After getting results, maybe specific treatment like antibiotics, if there is a bacterial infection, would be needed. But you should consult again, in order to administer antibiotics as well.
Hope your daughter gets better soon, and this information is helpfull.
Good bye