phemap.get_all_phecodes() >>> all_phecodes[10] {'phecode': '038.1', 'phenotype': 'Gram negative septicemia', 'phecode_exclude_range': '010-041.99', 'sex': 'Both', 'rollup': '1', 'leaf': '1', 'category_number': '1', 'category': 'infectious diseases', 'phecode_num': ...
The clinical code is used for coding if there is no specific pathologic diagnosis.In many circumstances, a specific pathologic diagnosis cannot be assigned to a specimen. This applies, for example, to a negative urine specimen. In this circumstance you must fall back on the clinical code that ...