# Example 1: Severe Disease
# Pain(10), Stool(10), Well(10), Wt(10), Ht(10), Abd(10), Peri(10), Extra(10),
# Low Hct (11y Male, Hct 30 -> 5pts), ESR 50 (5pts), Alb 2.5 (10pts)
pcdai_score(10, 10, 10, 10, 10, 10, 10, 10, 30, 50, 2.5, 11, "male")
# Example 2: Remission
# All 0s, Normal Labs
pcdai_score(0, 0, 0, 0, 0, 0, 0, 0, 40, 10, 4.0, 12, "female")
Run the code above in your browser using DataLab