Doctors diagnose it by talking to you, looking at your history, using special tests, and doing sleep studies. They rule out other reasons for your sleepiness.