import re


def parse_billing_code_col(s:str):
    """Split billing code into separate fields for code_type and code. E.g., 'MSDRG .... 001'."""
    l:list = s.split()
    if 'MS-DRG' in s:
        code_type, code = l[0], l[4]
    elif re.search('CPT|HCPCS', s):
        code_type, code = l[0], l[1]
    else:
        code_type, code = 'Other', None
    return code_type, code