Update Condition Mapping authored by Henke, Elisa's avatar Henke, Elisa
......@@ -16,14 +16,14 @@
| onsetPeriod.end | | condition_end_date | | |
| onsetPeriod.end | | condition_end_datetime | | |
| | | condition_type_concept_id| :heavy_check_mark: | default value: 44803913 (Diagnosis) or <br> See post processing for diagnosis rank. |
|code.coding.extension| | condition_status_concept_id | | See mapping in source_to_concept_map. |
| | | :x: condition_status_concept_id | | |
| | | :x: stop_reason | | |
| | | :x: provider_id | | |
| 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. |
| | |visit_detail_id| | See post processing for visit_detail_id |
| | | :X: visit_detail_id| | |
| code.coding.code | :heavy_check_mark: | condition_source_value | | ICD-code WHERE system = "http://fhir.de/CodeSystem/dimdi/icd-10-gm" |
| | | condition_source_concept_id | | ICD-code from condition_source_value <br> CONCEPT.concept_id WHERE CONCEPT.concept_code = condition_source_value |
|code.coding.extension| |condition_status_source_value| | |
| | | :x: condition_status_source_value| | |
| id | | fhir_logical_id | | |
| identifier.value| | fhir_identifier | | |
......@@ -44,7 +44,7 @@
| | | :x: range_low | | |
| | | :x: range_high | | |
| 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. |
| | |visit_detail_id| | See post processing for visit_detail_id |
| | | :x: visit_detail_id| | |
| code.coding.code | :heavy_check_mark: |measurement_source_value || ICD-code WHERE system = "http://fhir.de/CodeSystem/dimdi/icd-10-gm" |
| | |measurement_source_concept_id| | ICD-code from measurement_source_value <br> CONCEPT.concept_id WHERE CONCEPT.concept_code = measurement_source_value |
| | | :x: unit_source_value | | |
......@@ -65,7 +65,7 @@
| | | :x: quantity | | |
| | | :x: provider_id | | |
| 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. |
| | |visit_detail_id| |See post processing for visit_detail_id |
| | | :x: visit_detail_id| | |
| code.coding.code | :heavy_check_mark: |procedure_source_value| | ICD-code WHERE system = "http://fhir.de/CodeSystem/dimdi/icd-10-gm" |
| | |procedure_source_concept_id| | ICD-code from procedure_source_value <br> CONCEPT.concept_id WHERE CONCEPT.concept_code = procedure_source_value |
| | | :x: modifier_source_value | | |
......@@ -90,7 +90,7 @@
| | | :x: unit_concept_id | | |
| | | :x: provider_id | | |
| 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. |
| | |visit_detail_id| | See post processing for visit_detail_id |
| | | :x: visit_detail_id| | |
| code.coding.code | :heavy_check_mark: |observation_source_value| | ICD-code WHERE system = "http://fhir.de/CodeSystem/dimdi/icd-10-gm" |
| | |observation_source_concept_id| | ICD-code from observation_source_value <br> CONCEPT.concept_id WHERE CONCEPT.concept_code = observation_source_value |
| | | :x: unit_source_value | | |
......@@ -108,20 +108,44 @@
|recordedDate or <br> onsetPeriod.start or <br> onsetDateTime.value | :heavy_check_mark: <br> <br> |observation_datetime| | |
| | |observation_type_concept_id| :heavy_check_mark: |default value: 38000280 (Observation recorded from EHR) |
| | | :x: value_as_number | | |
| code.coding.code.extension.valueCoding.value | | value_as_string | | Extension WHERE system = "http://fhir.de/CodeSystem/kbv/s-icd-seitenlokalisation" |
| code.coding.code.extension.valueCoding.code | | value_as_string | | Extension WHERE system = "http://fhir.de/CodeSystem/kbv/s-icd-seitenlokalisation" |
| | | :x: value_as_concept_id | | |
| | | :x: qualifier_concept_id | | |
| | | :x: unit_concept_id | | |
| | | :x: provider_id | | |
| 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. |
| | |visit_detail_id| | See post processing for visit_detail_id |
| code.coding.code.extension.valueCoding.value | |observation_source_value| | Extension WHERE system = "http://fhir.de/CodeSystem/kbv/s-icd-seitenlokalisation" |
| | | :x: visit_detail_id| | |
| code.coding.code.extension.valueCoding.code | |observation_source_value| | Extension WHERE system = "http://fhir.de/CodeSystem/kbv/s-icd-seitenlokalisation" |
| | | :x: observation_source_concept_id| | |
| | | :x: unit_source_value | | |
| | | :x: qualifier_source_value | | |
| id | | fhir_logical_id | | |
| identifier.value| | fhir_identifier | | |
### Information for diagnostic confidence
| FHIR | FHIR - required | OMOP | OMOP - required | Comments |
|:------: |:------: |:------: |:------: |:------: |
| | | 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: | See mapping in source_to_concept_map for Diagnostic Conf. |
|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_type_concept_id| :heavy_check_mark: |default value: 38000280 (Observation recorded from EHR) |
| | | :x: value_as_number | | |
| code.coding.code.extension.valueCoding.code | | value_as_string | | Extension WHERE system = "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_DIAGNOSESICHERHEIT" |
| | | value_as_concept_id | | See mapping in source_to_concept_map for Diagnostic Conf. |
| | | :x: qualifier_concept_id | | |
| | | :x: unit_concept_id | | |
| | | :x: provider_id | | |
| 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. |
| | | :x: visit_detail_id| | |
| code.coding.code.extension.valueCoding.code | |observation_source_value| | Extension WHERE system = "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_DIAGNOSESICHERHEIT" |
| | | observation_source_concept_id| | See mapping in source_to_concept_map for Diagnostic Conf. |
| | | :x: unit_source_value | | |
| | | :x: qualifier_source_value | | |
| id | | fhir_logical_id | | |
| identifier.value| | fhir_identifier | | |
## Condition to POST_PROCESS_MAP
### Information for primary and secondary ICD
......@@ -141,13 +165,25 @@
| ------ | ------ | ------ | ------ | ------ |
| | | data_id | | This id is generated for each condition resource automatically. |
| | | type | | default value: "CONDITION" |
| code.coding.code.extension.valueCoding.value | | data_one | | siteLocalization + ":Observation" |
| code.coding.code.extension.valueCoding.code | | data_one | | siteLocalization + ":Observation" |
| code.coding.code | :heavy_check_mark: | data_two | | It represents the linkage between the ICD code its respective domain. |
| | | omop_id | | This id represents the person_id of the PERSON table. |
| | | omop_table | | default value: "site_localization" |
| id | | fhir_logical_id | | |
| identifier.value| | fhir_identifier | | |
### Information for diagnostic confidence
| FHIR | FHIR - required | OMOP | OMOP - required | Comments |
| ------ | ------ | ------ | ------ | ------ |
| | | data_id | | This id is generated for each condition resource automatically. |
| | | type | | default value: "CONDITION" |
| code.coding.code.extension.valueCoding.code | | data_one | | diagnosticConfidence + ":Observation" |
| code.coding.code | :heavy_check_mark: | data_two | | It represents the linkage between the ICD code its respective domain. |
| | | omop_id | | This id represents the person_id of the PERSON table. |
| | | omop_table | | default value: "diagnostic_confidence" |
| id | | fhir_logical_id | | |
| identifier.value| | fhir_identifier | | |
## Example
### Input Condition Resource
......
......