# Example 1: Remission
# Well (0), No pain (0), 1 stool, No mass (0), No complications
# Score = 1
harvey_bradshaw_index(0, 0, 1, 0, 0)
# Example 2: Moderate Activity
# Poor well-being (2), Moderate pain (2), 5 stools, No mass (0), 1 Complication
# Score = 2 + 2 + 5 + 0 + 1 = 10
harvey_bradshaw_index(2, 2, 5, 0, 1)
Run the code above in your browser using DataLab