# Example 1: Mixed Phenotype
# Edema(1), Rings(2), Exudates(1), Furrows(1), Stricture(0)
# Total = 5 (Inflammatory 3, Fibrostenotic 2)
erefs_score(1, 2, 1, 1, 0)
# Example 2: Severe Inflammatory
# Edema(1), Rings(0), Exudates(2), Furrows(2), Stricture(0)
# Total = 5 (Inflammatory 5, Fibrostenotic 0)
erefs_score(1, 0, 2, 2, 0)
Run the code above in your browser using DataLab