The doctor by accepting the license accepts the fact that the state can regulate what he does when acting in the licensed profession. He is of course free to find another job that is not licensed.
Do you support the government telling restaraunts that they may not allow smoking _anywhere_ on their premises, as is the case in Chicago, NYC, and DC?