Pain and discharge

Kadie • :)
I recently had some confusion with a few negative and positive pregnancy test. 2 positive and 2 negatives. I don't have a doctors appt until march 17th. I have been slightly hurting but nothing uncomfortable. I'm past my ovulation window and a week until my expected period that I'm not sure I will get. Last night as I laid down in bed my sides hurt extremely bad. I woke up this morning throwing up and had some very thick, clearish discharge. It was a big amount of discharge. Anyone know what this could be?