Assessment of pattern recognition for the ultrasound diagnosis of an endometrioma.