Cramps & Pooping..

I am 31 weeks pregnant. I have been having period like cramps for most of the arvo that last up to 30secs & I just had diarrhoea (1st time at all in my pregnancy). Assuming it's braxton hicks?