Ambulatory diagnosis of endometrial pathology