Doctors use a set of guidelines to help diagnose the disorder. Your symptoms, your family medical history, and the results of medical tests factor into the criteria.