# Example 1: High Activity
# 8 tender, 6 swollen, Pt Global 7, Prov Global 6
# Score = 8 + 6 + 7 + 6 = 27
cdai_rheumatoid_arthritis(8, 6, 7, 6)
# Example 2: Remission
# 0 tender, 0 swollen, Pt Global 1, Prov Global 0.5
# Score = 1.5
cdai_rheumatoid_arthritis(0, 0, 1, 0.5)
Run the code above in your browser using DataLab