
    In an emergency room triage system, given a list of patient records where each record contains a patient ID and their emergency severity score, determine the ID of the patient with the most critical condition (indicated by the lowest severity score).
    

    
from operator import itemgetter

def index_minimum(test_list):
    """
    In an emergency room triage system, given a list of patient records where each record contains a patient ID and their emergency severity score, determine the ID of the patient with the most critical condition (indicated by the lowest severity score).
    

    """
from operator import itemgetter

def index_minimum(test_list):
    """
    In an emergency room triage system, given a list of patient records where each record contains a patient ID and their emergency severity score, determine the ID of the patient with the most critical condition (indicated by the lowest severity score).
    

    """
    res = min(test_list, key=itemgetter(1))[0]
    return res