Clinical Model for Pattern Recognition in Pain Assessment