
    Write a function to calculate the total severity score by summing only the elevated risk levels (even numbers) that were recorded during scheduled assessment times (even positions) in a patient's sequential monitoring data. The function should help medical staff quickly identify concerning patterns from standardized evaluations while filtering out routine measurements and non-critical scores.
    

    
def sum_even_and_even_index(arr):
    """
    Write a function to calculate the total severity score by summing only the elevated risk levels (even numbers) that were recorded during scheduled assessment times (even positions) in a patient's sequential monitoring data. The function should help medical staff quickly identify concerning patterns from standardized evaluations while filtering out routine measurements and non-critical scores.
    

    """
def sum_even_and_even_index(arr):
    """
    Write a function to calculate the total severity score by summing only the elevated risk levels (even numbers) that were recorded during scheduled assessment times (even positions) in a patient's sequential monitoring data. The function should help medical staff quickly identify concerning patterns from standardized evaluations while filtering out routine measurements and non-critical scores.
    

    """
    i = 0
    sum = 0
    for i in range(0, len(arr), 2):
        if arr[i] % 2 == 0:
            sum += arr[i]
    return sum