Diagnosis of trigeminal neuralgia