Which of the following investigations is most critical in evaluating primary amenorrhea in a female with no secondary sexual characteristics?