. . . "Identification and right treatment of depression in patients with pain is a factor to take into account in order to control their cognitive function." . .