Welcome to HCM
You are 37 wk pregnant and present with greenish vaginal discharge
It is probably MSL (meconium stained liquor) and a leading cause of fetal distress
It is an emergency and need urgent delivery of the baby by C-section.
So consult with your doctor and admit to a hospital as soon as possible.