But his first doping violation resulted from prescribed medication to treat attention deficit disorder .