Diagnosis of AUB often begins with a detailed medical history and physical examination. Tests may include transvaginal ultrasound, which can visualize the thickness of the endometrial lining, and an endometrial biopsy to collect tissue samples for microscopic examination. In some cases, a hysteroscopy may be performed to allow direct visualization of the uterine cavity.