Context Information Refinement for Pervasive Medical Systems