# Example 1: Severe Pain
# Grimacing(2), Kicking(2), Arched(2), Screaming(2), Difficult to console(2)
flacc_pain_score(2, 2, 2, 2, 2)
# Example 2: Mild Discomfort
# Frown(1), Normal legs(0), Squirming(1), No cry(0), Distractible(1)
# Score = 3
flacc_pain_score(1, 0, 1, 0, 1)
Run the code above in your browser using DataLab