# Example 1: Severe Impairment
# Slow gait (+1), SPPB<10 (+1), MMSE<26 (+1), ADL (+1)
# Score = 4
hacks_impairment_index(1, 1, 1, 0, 1, 0)
# Example 2: No Impairment
# All normal
hacks_impairment_index(0, 0, 0, 0, 0, 0)
Run the code above in your browser using DataLab