Positive visit to the doctor IMO.
Well done, and I can't fault the advise and also the option in the future if necessary. (Try not to "dwell" on the what if's if the stuff he/she said isn't working, too much of this mindset would make what he/she is suggesting to not work, kinda like a "A self-fulfilling prophecy" - in the hope of getting separate sleeping medication).. I know this sounds obvious, but I need to remind myself about it to stay on track, so I just typed it here for you too.
Good luck and hope you feel some kind of "natural" dopamine release from this experience. (I know I would)