If ultrasonography detects an intrauterine pregnancy, ectopic pregnancy is extremely unlikely except in women who have used assisted reproductive techniques (which increase risk of heterotopic pregnancy, although it is still rare in these patients).