though the green poop is not good i thnk you should go and consult again
im 32 weeks had the same problm, i contacted my doc and she recommended i stay hydrated and gave me pecolyte' for my runny tummy i knw its terrible, the reason y i didnt panic much because my bby was constantly active, i think its stomach bug, but consult with your doc, oh and try to eat grated carrot and apple it helps. i had exactly the same problm jus bout three days ago... Good luck