Pain monitoring: A dynamic and context-sensitive system