
    Write a function that validates patient record identifiers in the hospital's electronic health record system by checking if they follow the proper snake_case format consisting of lowercase letters connected by underscores. The function should return true if the identifier follows this format and false otherwise, ensuring consistent record categorization in the readmission prediction database.
    

    
import re

def text_lowercase_underscore(text):
    """
    Write a function that validates patient record identifiers in the hospital's electronic health record system by checking if they follow the proper snake_case format consisting of lowercase letters connected by underscores. The function should return true if the identifier follows this format and false otherwise, ensuring consistent record categorization in the readmission prediction database.
    

    """
import re

def text_lowercase_underscore(text):
    """
    Write a function that validates patient record identifiers in the hospital's electronic health record system by checking if they follow the proper snake_case format consisting of lowercase letters connected by underscores. The function should return true if the identifier follows this format and false otherwise, ensuring consistent record categorization in the readmission prediction database.
    

    """
    patterns = '^[a-z]+_[a-z]+$'
    if re.search(patterns, text):
        return True
    else:
        return False