Depression due to chronic pain