Vagina kinda sore and almost a little burning feeling and green discharge after 3 cervix checks?

I was at labor and delivery this week because of preterm labor. I'm 34 weeks today and I noticed the discharge just started and it smells funny. Could this be from them checking me?