Assessing the prognostic features of a pain classification system in advanced cancer patients