National-Clinical-Cohort-Collaborative / Data-Ingestion-and-Harmonization

Data Ingestion and Harmonization
42 stars 12 forks source link

ADT data coming in from the source CDM should be mapped to VISIT_DETAIL domain #80

Closed stephanieshong closed 2 years ago

stephanieshong commented 2 years ago

Add VISIT_DETAIL domain to all CDM pipeline

OMOP: VISIT_DETAIL map to VISIT_DETAIL

pk should be mapped to newly generated n3c ids pk should exist in the payload, if not they should be added to rejected_visit_detail

done

PCORNet : map OBS_GEN to VISIT_DETAIL IF obsgen_type == UD_ADTEVENT

ACT: map observation_fact to VISIT_DETAIL if concept_cd contains one of the following: N3C:ADT_ED, N3C:ADT_ICU, N3C:ADT_OTHER.

done

TriNetX : more information is needed to map ADT event data to VISIT_DETAIL domain from TriNetX CDM

waiting on further documentation

stephanieshong commented 2 years ago

OMOP pipeline has been updated. Plans are in place to create a new template version that includes the VISIT_DETAIL and deploy to all OMOP sites for this week's build. included in the build.

stephanieshong commented 2 years ago

ADT enhancement code is in with PCORnet and ACT unit test sites. Once the unit test code is validated then we can roll them out to the template source.

stephanieshong commented 2 years ago

ADTEvent PR to PCORNet template source, done.

stephanieshong commented 2 years ago

ADTEvent PR for ACT CDM done. PR merged to build visit_detail.

stephanieshong commented 2 years ago
stephanieshong commented 2 years ago

Waiting on TriNetX data design documentation. All other CDMs are complete.

stephanieshong commented 2 years ago

5/25/22 -Received ADT documentation today with one site's data submission. Adding code changes to build visit_detail dataset based on today's spec.

stephanieshong commented 2 years ago

Completed TriNetX CDM ADT transformation code to build the visit_detail dataset.