A 52-year-old woman reports having hot flashes and intense mood swings. after a year of having irregular menstrual periods, she has not had a period for 6 months. the primary care np should diagnose: