As long as your urine samples will be clean, then there is nothing to worry about. A lot of people in the forces have used and are still using substances, so don't worry, as long as you never touch drugs again. Your doctor can not tell anyone about your medical history. If she/he does this, you are entitled to sue his ass and, 99,99% of the time, you will win. Feel free to start training.