
    Create a function that transforms emergency room database field names from the hospital's legacy snake_case format to the modern camelCase notation required by the ER scheduling interface. The function must handle any valid database field name containing only lowercase letters and underscores, converting it to a properly formatted camelCase string without modifying the original meaning of the field name. This standardization is crucial for accurately displaying patient visit analytics and staffing patterns in the emergency department's real-time dashboard.
    

    
def snake_to_camel(word):
    """
    Create a function that transforms emergency room database field names from the hospital's legacy snake_case format to the modern camelCase notation required by the ER scheduling interface. The function must handle any valid database field name containing only lowercase letters and underscores, converting it to a properly formatted camelCase string without modifying the original meaning of the field name. This standardization is crucial for accurately displaying patient visit analytics and staffing patterns in the emergency department's real-time dashboard.
    

    """
import re

def snake_to_camel(word):
    """
    Create a function that transforms emergency room database field names from the hospital's legacy snake_case format to the modern camelCase notation required by the ER scheduling interface. The function must handle any valid database field name containing only lowercase letters and underscores, converting it to a properly formatted camelCase string without modifying the original meaning of the field name. This standardization is crucial for accurately displaying patient visit analytics and staffing patterns in the emergency department's real-time dashboard.
    

    """
    return ''.join((x.capitalize() or '_' for x in word.split('_')))