Part of the way they come up with a diagnosis for any mental illness is conversing with the patient and watching how they respond and how they act. Yes they look at past medical history and ask you to fill out some questionnaires, but a lot of it is based on how you act and respond.