api.medcat_utils

Module Contents

Functions

ch2pt_from_pt2ch(cdb)

get_all_ch(parent_cui, cdb)

dedupe_preserve_order(items)

snomed_ct_concept_path(cui, cdb)

Attributes

logger

api.medcat_utils.logger
api.medcat_utils.ch2pt_from_pt2ch(cdb)
Parameters:

cdb (medcat.cdb.CDB) –

api.medcat_utils.get_all_ch(parent_cui, cdb)
Parameters:
  • parent_cui (str) –

  • cdb (medcat.cdb.CDB) –

api.medcat_utils.dedupe_preserve_order(items)
Parameters:

items (List[str]) –

Return type:

List[str]

api.medcat_utils.snomed_ct_concept_path(cui, cdb)
Parameters:
  • cui (str) –

  • cdb (medcat.cdb.CDB) –