Medicine

A 28-year-old lady has put on weight (10 kg over a period of 3 years), and has oligomenorrhea! followed by amenorrhea for 8 months. The blood pressure Is 160/100 mm of Hg. Which of the following Is the most appropriate investigation ?