Does anyone what this could be

Brittany
35 weeks and 3 days I'm 60 to 70% effaced and I got medicine for yeast infection and the doctor checked me and said it was gone but like I told him I have green streaks in my discharge, tiny green streaks and he said could be pieces of my mucus plug but why would my music's plug come out in such tiny pieces, has anyone else had this. Last Thursday I had went to doctor for streaks of blood in my mucus plug, and it went away the next day doctor said it was either mucus plug or shedding lining in my vagina.