# Example 1: Moderate EoE
# Daily symptoms(2), Localized inflam(1), Eos 40(1), BZH(2)
# Score = 2 + 1 + 1 + 2 = 6 (Wait, 6 is Mild? Check logic. Mild 1-6. So Mild/Moderate border.)
isee_eoe_severity_index(2, 0, 0, 0, 0, 0, 1, 1, 0, 1)
# Example 2: Severe EoE
# Stricture requiring dilation (+15), Daily Sx (+2)
# Score = 17
isee_eoe_severity_index(2, 0, 0, 0, 0, 0, 1, 1, 3, 0)
Run the code above in your browser using DataLab