
    Given a medical record field name in snake_case format from the legacy hospital database system, create a function that converts it to camelCase format to ensure compatibility with the new patient readmission risk prediction system. The function should handle any valid snake_case medical attribute name containing lowercase letters and underscores, transforming it into standardized camelCase notation while preserving the original meaning of the field.
    

    
def snake_to_camel(word):
    """
    Given a medical record field name in snake_case format from the legacy hospital database system, create a function that converts it to camelCase format to ensure compatibility with the new patient readmission risk prediction system. The function should handle any valid snake_case medical attribute name containing lowercase letters and underscores, transforming it into standardized camelCase notation while preserving the original meaning of the field.
    

    """
import re

def snake_to_camel(word):
    """
    Given a medical record field name in snake_case format from the legacy hospital database system, create a function that converts it to camelCase format to ensure compatibility with the new patient readmission risk prediction system. The function should handle any valid snake_case medical attribute name containing lowercase letters and underscores, transforming it into standardized camelCase notation while preserving the original meaning of the field.
    

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