# Example 1: High Activity
# 10 tender, 8 swollen, Pat GA 6, Prov GA 5, CRP 2.0
# Score = 10 + 8 + 6 + 5 + 2.0 = 31
sdai_rheumatoid_arthritis(10, 8, 6, 5, 2.0)
# Example 2: Remission
# 0 tender, 0 swollen, Pat GA 0.5, Prov GA 0.5, CRP 0.2
# Score = 0 + 0 + 0.5 + 0.5 + 0.2 = 1.2
sdai_rheumatoid_arthritis(0, 0, 0.5, 0.5, 0.2)
Run the code above in your browser using DataLab