:information_source: All Orpha codes will be mapped to a SNOMED Code. The mapping information is available in OMOP in the `cds_etl_helper.TABLE.orpha_snomed_mapping`.
:information_source: All ICD10GM codes will be mapped to a SNOMED Code. The mapping information is available in OMOP in the `cds_etl_helper.MATERIALIZED VIEW.icd_snomed_domain_lookup`, which is generated from ICD10GM vocabulary (CONCEPT) and CONCEPT_RELATIONSHIP tables.
:information_source: All ICD10GM codes will be mapped to a Standard Concept. The mapping information is available in OMOP in the `cds_etl_helper.MATERIALIZED VIEW.icd10gm_standard_lookup`, which is generated from ICD10GM vocabulary (CONCEPT) and CONCEPT_RELATIONSHIP tables.
:information_source: This mapper will check the right domain for the SNOMED code and then maps it to the right table in OMOP CDM.
:information_source: This mapper will check the right domain for the Standard Concept and then maps it to the right table in OMOP CDM.
| | | condition_occurrence_id | :heavy_check_mark:| This id is generated for each condition resource automatically. |
| subject.reference or <br> subject.identifier.value | | person_id | :heavy_check_mark: | The patient reference is used to search for the person_id in PERSON. |
| | | condition_concept_id | :heavy_check_mark: | standard concept (SNOMED) associated with the source code from condition_source_value |
| | | condition_concept_id | :heavy_check_mark: | standard concept associated with the source code from condition_source_value |
| recordedDate or <br> onsetPeriod.start or <br> onsetDateTime.value | :heavy_check_mark: <br><br> | condition_start_date | :heavy_check_mark: | |
| recordedDate or <br> onsetPeriod.start or <br> onsetDateTime.value | :heavy_check_mark: <br><br> | condition_start_datetime | | |
| | | measurement_id | :heavy_check_mark: | This id is generated for each condition resource automatically. |
| subject.reference or <br> subject.identifier.value | | person_id | :heavy_check_mark: | The patient reference is used to search for the person_id in PERSON. |
| | |measurement_concept_id| :heavy_check_mark: | standard concept (SNOMED) associated with the source code from condition_source_value |
| | |measurement_concept_id| :heavy_check_mark: | standard concept associated with the source code from condition_source_value |
|recordedDate or <br> onsetPeriod.start or <br> onsetDateTime.value | :heavy_check_mark: <br><br> |measurement_date |:heavy_check_mark:| |
|recordedDate or <br> onsetPeriod.start or <br> onsetDateTime.value | :heavy_check_mark: <br><br> |measurement_datetime|| |
| | | procedure_occurrence_id| :heavy_check_mark: |This id is generated for each condition resource automatically. |
| subject.reference or <br> subject.identifier.value | | person_id | :heavy_check_mark: | The patient reference is used to search for the person_id in PERSON. |
| | |procedure_concept_id| :heavy_check_mark: | standard concept (SNOMED) associated with the source code from condition_source_value |
| | |procedure_concept_id| :heavy_check_mark: | standard concept associated with the source code from condition_source_value |
|recordedDate or <br> onsetPeriod.start or <br> onsetDateTime.value | :heavy_check_mark: <br><br> |procedure_date| :heavy_check_mark: | |
|recordedDate or <br> onsetPeriod.start or <br> onsetDateTime.value | :heavy_check_mark: <br><br> |procedure_datetime| | |
| | | observation_id | :heavy_check_mark: |This id is generated for each condition resource automatically. |
| subject.reference or <br> subject.identifier.value | | person_id | :heavy_check_mark: | The patient reference is used to search for the person_id in PERSON. |
| | |observation_concept_id| :heavy_check_mark: | standard concept (SNOMED) associated with the source code from condition_source_value |
| | |observation_concept_id| :heavy_check_mark: | standard concept associated with the source code from condition_source_value |
|recordedDate or <br> onsetPeriod.start or <br> onsetDateTime.value | :heavy_check_mark: <br><br> |observation_date|:heavy_check_mark: | |
|recordedDate or <br> onsetPeriod.start or <br> onsetDateTime.value | :heavy_check_mark: <br><br> |observation_datetime| | |
| | | observation_id | :heavy_check_mark: |This id is generated for each condition resource automatically. |
| subject.reference or <br> subject.identifier.value | | person_id | :heavy_check_mark: | The patient reference is used to search for the person_id in PERSON. |
| | |observation_concept_id| :heavy_check_mark: | SNOMED concept associated with the value from observation_source_value <br> See mapping in source_to_concept_map. |
| code.coding.code.extension.valueCoding.code | |observation_concept_id| :heavy_check_mark: | Extension WHERE system = "http://fhir.de/CodeSystem/kbv/s-icd-seitenlokalisation" <br> Detailed mapping is in SOURCE_TO_CONCEPT_MAP, where source_vocabulary_id is __Localization__ |
|recordedDate or <br> onsetPeriod.start or <br> onsetDateTime.value | :heavy_check_mark: <br><br> |observation_date|:heavy_check_mark: | |
|recordedDate or <br> onsetPeriod.start or <br> onsetDateTime.value | :heavy_check_mark: <br><br> |observation_datetime| | |
| encounter.reference or <br> encounter.identifier.value | | visit_occurrence_id | | The encounter reference is used to search for the visit_occurrence_id in VISIT_OCCURRENCE. |
| | | observation_source_concept_id| | SNOMED concept associated with the value from observation_source_value <br> See mapping in source_to_concept_map. |