I’m trying to use cdb.remove_names to remove the name ‘hearing’ from the concept ‘hearing loss’ in my cdb. The help page says the names should be in the format: {'name': {'tokens': tokens, 'snames': snames, 'raw_name': raw_name}, ...}. Please could you advise on what this means?
I tried the following which didn’t work:
cdb.remove_names(cui=‘15188001’, names={‘hearing’: {}})
However, every time I run ‘supervised training’ the name is re-added to the CDB.
I’ve tried to unlink the concept (hearing loss) and name (hearing) using: cat.unlink_concept_name(‘15188001’,‘hearing’, False), but I’m still getting false positives