# Example 1: Significant Pain
# Grimacing (2), Restless (2), Tense (1), Fighting vent (2)
# Score = 7
cpot_pain_score(2, 2, 1, 2)
# Example 2: No Pain
# Relaxed (0), No movement (0), Relaxed muscles (0), Tolerating vent (0)
# Score = 0
cpot_pain_score(0, 0, 0, 0)
Run the code above in your browser using DataLab