def get_domain_term(cl, domain):
    """
    create the codelist term values for a given domain code
    :param cl: the codelist for domains
    :param domain: the 2 letter domain abbreviation to use to find the codelist term details to return
    :return: term dictionary with the details of the domain codelist term
    """
    term = {}
    for domain_term in cl["terms"]:
        if domain_term["submissionValue"] == domain:
            term["Term"] = domain_term["submissionValue"]
            term["NCI Term Code"] = domain_term["conceptId"]
            term["Decoded Value"] = domain_term["preferredTerm"]
            term["Comment"] = ""
            term["IsNonStandard"] = ""
            term["StandardOID"] = "STD.3"
            return term
    term["Term"] = domain
    term["NCI Term Code"] = ""
    term["Decoded Value"] = ""
    term["Comment"] = ""
    term["IsNonStandard"] = "Yes"
    term["StandardOID"] = ""
    return term