Did I just have a miscarriage?

AM

I'm 5w 5d pregnant and I just passed a clot which looked like lining.

I will be calling my midwife soon. Please can somebody tell me I haven't just miscarried?