An ectopic pregnancy occurs when a fertilized egg implants outside the uterine cavity and begins to develop, usually in