Honestly, the doctor is the very last person I'd be ashamed of telling about my addiction. That's what they're there for. If something's affecting your health they want to know about it.
Did he come up with anything that sounded like it would work for you?