I have read your question,
In your case there is an urgency for you to get admitted into a nursing home , since severe diarrhea
are the symptoms that have to be given quick attention in the state of pregnancy
, and since you are saying that it is from a week it requires attention.
Any drug that to be prescribed again would require physical examination and medical history , hence just by taking right food for diarrhea is not enough to subside it.
I recommend you to consult a nearby gynecologist immediately.
Wishing you a good health,