tell the doctor, no one else, that you smoke weed. doctor patient confidentiality forces him not to say a word about it unless there is a warrant for the information. if he tells the cops he's in a lot bigger trouble than you would be, and a good lawyer could probably get you off because of the way you were found out.