help please

Michaela
I'm 39+2 and I've had four rounds of diarrhea in the last hour. My lower back and hips have really been hurting all day. I keep getting these cramps that I think maybe I should time but then when I go to time it, they turn into diarrhea. Not sure if contractions or just cramps from the diarrhea.
Been having a lot of mucusy discharge today and all week. The stool is green also, tmi sorry, could this be labor or maybe something I ate? 
I didn't eat anything sketchy today but I did have some jelly beans and usually I don't eat candy. 
Tia. 

Glow Resources

Let’s Glow

Glow is here for you on your path to pregnancy

Glow helps you navigate your fertility journey with smart tools, personalized insights, and guidance from medical experts who understand what matters most.

25+ million

Users

4.8 stars

200k+ app ratings

20+

Medical advisors