Unknown

Young lady presents with acute abdominal pain and history of 1 1/2 months amenorrhoea on USG examination there is a collection of fluid in the pouch of Douglas and empty uterine cavity. Diagnosis is