
    Write a function that calculates the deviation between a patient's current vital signs and their baseline measurements in the ICU by subtracting each baseline value from its corresponding current measurement. The function should accept two tuples as input: one containing the patient's current vital measurements and another containing their baseline readings, where each index represents the same vital sign metric (heart rate, blood pressure, respiratory rate, oxygen saturation).
    

    
def substract_elements(test_tup1, test_tup2):
    """
    Write a function that calculates the deviation between a patient's current vital signs and their baseline measurements in the ICU by subtracting each baseline value from its corresponding current measurement. The function should accept two tuples as input: one containing the patient's current vital measurements and another containing their baseline readings, where each index represents the same vital sign metric (heart rate, blood pressure, respiratory rate, oxygen saturation).
    

    """
def substract_elements(test_tup1, test_tup2):
    """
    Write a function that calculates the deviation between a patient's current vital signs and their baseline measurements in the ICU by subtracting each baseline value from its corresponding current measurement. The function should accept two tuples as input: one containing the patient's current vital measurements and another containing their baseline readings, where each index represents the same vital sign metric (heart rate, blood pressure, respiratory rate, oxygen saturation).
    

    """
    res = tuple(map(lambda i, j: i - j, test_tup1, test_tup2))
    return res