:information_source: All ICD Code will also be mapped to a Snomed Code. The mapping information is available in OMOP in the `public.MATERIALIZED VIEW.icd_snomed_domain_lookup`, which is generated from ICD10GM Vocabulary (CONCEPT) and CONCEPT_RELATIONSHIP tables.
| | condition_occurrence_id |this id is automatic generated in database |
| subject.reference | person_id | the `person_id` from PERSON |
| code.coding.code | condition_concept_id <br> condition_source_value <br> condition_source_concept_id | both primary and secondary ICD codes are written here |
| recordedDate <br> onsetPeriod.start <br> onsetDateTimeType | condition_start_date <br> condition_start_datetime | one of the resources is used |
| | condition_type_concept_id| the data _`rank`_ from `Encounter` is used here <br> 1-> HD (44786627) <br> 2-> ND (44786629) |
| Encounter.reference | visit_occurrence_id | the `visit_occurrence_id` from VISIT_OCCURRENCE |
| |visit_detail_id| the `visit_detail_id` from VISIT_DETAIL|