Condition_occurrence source_value: Epic site implementations

Hello.

We are wondering what other Epic sites are using for condition_source_value in the condition_occurrence table.

We set up our ETL to pull in the the verbatim source value (Epic DX_ID) into condition_source_value.

Internally, DX_ID is mapped to ICD9CM and ICD10CM codes via EDG_CURRENT_ICD9 and EDG_CURRENT_ICD10 tables. We are putting the concept_id for the corresponding ICD9CM / 10CM code into condition_source_concept_id. This solves the problem of retaining both our verbatim source value while also being having access the source ICD code.

We are considering modifying our ETLs to put the ICD9CM/ICD10CM code instead of our native DX_ID code into condition_source_concept_id.

We’re wondering what others are doing?
What does the Themis group recommend?

Thanks in advance for any insight,
Piper

Hi @Piper-Ranallo. Here are the top 30 condition_source_value’s in our CDM. Looks like we’re doing the same thing as you.

CONDITION_SOURCE_VALUE
C61
C50.919
C90.00
I10
C50.912
C50.911
C56.9
C43.9
C34.90
C71.9
C18.9
C91.10
G89.29
C34.91
C49.9
D46.9
C20
D64.9
C54.1
C76.0
C34.92
C25.9
E78.5
C92.00
G89.3
E03.9
D50.0
E11.9
F41.9

John

1 Like

Thanks @jmethot, I appreciate you taking the time to provide input. :grinning:

Those look like ICD10CM codes.
Sounds like you’re putting the ICD code rather than the Epic DX_ID into condition_source_value.

@MPhilofsky - Does Themis have a recommendation for how to populate this field? The “verbatim” value in our source data could refer to:

  • The proprietary internal (Epic) PK for diagnoses (DX_ID)
  • The internal (Epic) mapping to ICDx code
  • The internal (within Epic) IMO mappings from DX_ID to SNOMED-CT concepts

Hello @Piper-Ranallo,

No, Themis does not have a convention for this field. In general, Themis doesn’t provide conventions for fields which are not required by the CDM rules/requirements. Since this field is not used for any network research and is not standardized, Themis doesn’t have any recommendations. You can use this field however you want. That being said, what John is doing is what most are doing and the CDM gives guidance here. Having the code in the field makes the ETL easier.

RE: IMO codes, please come see me at poster #141 at the OHDSI Global Symposium for interesting results of mapping IMO codes to concept_ids. The results are enlightening :slight_smile:

Thanks @MPhilofsky!

Will do!