
    Create a function that converts database field names from snake case to camel case to ensure consistent data handling between the emergency room management system's backend database and frontend interface, where snake case field names like "patient_wait_time" need to be transformed to camel case format like "patientWaitTime". The function should handle any valid snake case field name from the emergency room database schema, maintaining the original characters while only modifying the case formatting and removing underscores.
    

    
def snake_to_camel(word):
    """
    Create a function that converts database field names from snake case to camel case to ensure consistent data handling between the emergency room management system's backend database and frontend interface, where snake case field names like "patient_wait_time" need to be transformed to camel case format like "patientWaitTime". The function should handle any valid snake case field name from the emergency room database schema, maintaining the original characters while only modifying the case formatting and removing underscores.
    

    """
import re

def snake_to_camel(word):
    """
    Create a function that converts database field names from snake case to camel case to ensure consistent data handling between the emergency room management system's backend database and frontend interface, where snake case field names like "patient_wait_time" need to be transformed to camel case format like "patientWaitTime". The function should handle any valid snake case field name from the emergency room database schema, maintaining the original characters while only modifying the case formatting and removing underscores.
    

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