umop.v1.omop.diagnoses package

Submodules

umop.v1.omop.diagnoses.diagnoses module

OMOP Diagnoses Documentation.

umop.v1.omop.diagnoses.diagnoses.get_diagnoses(engine, pat_list=[])

This method returns full diagnoses list for given patient ids.

Returns PERSON_ID, VISIT_OCCURRENCE_ID, CONTACT_DATE (random shifted date), SNOMED_CODE, PRINCIPAL_PROB_YN, ENC_TYPE

umop.v1.omop.diagnoses.diagnoses.get_icd10_codes(engine, keyword=None)

This method returns ICD10CM codes for given keyword.

Returns CONCEPT_ID, CONCEPT_NAME, CONCEPT_CODE, CONCEPT_CLASS, VOCABULARY_ID, VOCABULARY_NAME

umop.v1.omop.diagnoses.diagnoses.get_snomed_codes(engine, keyword=None)

This method returns SNOMED codes for given keyword.

Returns CONCEPT_ID, CONCEPT_NAME, CONCEPT_CODE, CONCEPT_CLASS, VOCABULARY_ID, VOCABULARY_NAME

umop.v1.omop.diagnoses.diagnoses.icd10_to_snomed(engine, icd10s=[])

This method returns corresponding SNOMED concept_id to given ICD10CM codes.

NOTE This method returns SNOMED CONCEPT_ID, not to be confused with SNOMED CONCEPT_CODE.

Returns ICD10_CODE, SNOMED_CONCEPT_ID

Module contents