They are testing for such things as blood in your urine, kidney function or bacteria etc....nothing to do with drugs period. Your doctor won't know you smoke unless you either tell him or drop a big joint on the floor on your way out.