# Example 1: 2 attacks, 1 clinical lesion, DIS on MRI
# Result: MS Diagnosed
mcdonald_ms_criteria(2, 1, 1, 0, 0)
# Example 2: CIS (1 attack, 1 lesion), DIS on MRI, No DIT on MRI, but CSF Positive
# Result: MS Diagnosed (CSF substitutes for DIT)
mcdonald_ms_criteria(1, 1, 1, 0, 1)
# Example 3: CIS (1 attack, 2 lesions), No DIT, No CSF
# Result: Possible MS (Missing DIT/CSF)
mcdonald_ms_criteria(1, 2, 0, 0, 0)
Run the code above in your browser using DataLab