
    Write a function that analyzes a patient monitoring station identifier string (containing ward number, bed number, and status codes) and returns the first character that appears exactly once, which serves as a unique monitoring station marker in the ICU system. The function should process the identifier string from left to right and maintain the original sequence of characters while determining the first non-repeated element.
    

    
def first_non_repeating_character(str1):
    """
    Write a function that analyzes a patient monitoring station identifier string (containing ward number, bed number, and status codes) and returns the first character that appears exactly once, which serves as a unique monitoring station marker in the ICU system. The function should process the identifier string from left to right and maintain the original sequence of characters while determining the first non-repeated element.
    

    """
def first_non_repeating_character(str1):
    """
    Write a function that analyzes a patient monitoring station identifier string (containing ward number, bed number, and status codes) and returns the first character that appears exactly once, which serves as a unique monitoring station marker in the ICU system. The function should process the identifier string from left to right and maintain the original sequence of characters while determining the first non-repeated element.
    

    """
    char_order = []
    ctr = {}
    for c in str1:
        if c in ctr:
            ctr[c] += 1
        else:
            ctr[c] = 1
            char_order.append(c)
    for c in char_order:
        if ctr[c] == 1:
            return c
    return None