Welcome to HCM forum
Greenish discharge can be due to either trichomonas vaginitis
or due to leakage and meconium discharge.
Get an ultrasound
done under your doctor's guidance too see the amount of liquor and fetal heart.
If it is vaginal infection
, you have to keep vaginal pessaries which contain antibacterials.