Generally, the doctor diagnoses the nature of the sleep issue by pinpointing and analyzing some of the symptoms that a sleep disorder shows. With the help of the results of the diagnosis, the doctor will be able to decide the line of treatment.buy modafinil online promotes wakefulness by stimulatIng the brain. The exact mechanism of action of modafinil is unknown