Missed miscarriage.

If you had a Missed Miscarriage. Was it after you saw a heart beat or before?