What is happening !!!!

Zariya
I just went to the restroom a few minutes ago and my poop was green. I had this same problem yesterday and experienced pain so I went to the hospital and they said I was dehydrated. But I'm still experiencing green poop. Can someone tell me what this means ? Is it a sign of labor ? Is labor coming soon ?