RADar-AZDelta / Rabbit-in-a-Blender

An ETL pipeline to transform your EMP data to OMOP.
https://radar-azdelta.github.io/Rabbit-in-a-Blender/
GNU General Public License v3.0
11 stars 3 forks source link

Make link between episode_parent_id and episode_id #95

Closed hannevanl closed 2 months ago

hannevanl commented 3 months ago

OHDSI has a bug in their documentation: episode_parent_id is not a foreignkey, while it should be Issue has been made at the ohdsi platform: https://github.com/OHDSI/CommonDataModel/issues/707 In the mean time it should be solved by hard coding it into riab (like it was done for note_nlp: https://github.com/RADar-AZDelta/Rabbit-in-a-Blender/blob/main/src/riab/etl/etl_base.py#L107)