Methods of assessing the quality of life in patients with chronic diseases: application in depression