def METHOD_NAME(curie, tgt):
    map_dict = {'HP' : 'HPO',
                'OMIM':'OMIM',
                'GO':'GO'
                }
    cui = None
    st = QueryUMLS.get_single_ticket(tgt)
    if curie.split(':')[0] not in map_dict.keys():
        return None
    else:
        db = map_dict[curie.split(':')[0]]
        if db == 'OMIM':
            curie = curie.split(':')[1]
    query = '/search/2018AA?string=' + curie + '&sabs=' + db + '&searchType=exact&inputType=sourceUi'
    print(query)
    r = QueryUMLS.send_query_get(query, st)
    if r is not None:
        ans = [a['ui'] for a in r.json()['result']['results']]
        if ans[0] == 'NONE':
            return None
        return ans
    else:
        return None
    return cui