Psychologic aspect in cancer and chronic non-cancer pain patients