In the United States, modafinil is approved by the FDA for the treatment of narcolepsy, obstructive sleep apnea/hypopnea and shift work sleep disorder. In some countries, it is also approved for idiopathic hypersomnia (all forms of excessive daytime sleepiness where causes can't be established).
Interesting stimulant.