Skip to content

Commit

Permalink
added original_visit_id to the ehrshot output
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaoPang committed Jan 12, 2025
1 parent 6215db4 commit 9a89ee6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cehrbert_data/tools/ehrshot_to_omop.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,7 @@ def main(args):
f.col("ehr.unit").alias("unit"),
f.col("ehr.omop_table").alias("omop_table"),
f.col("ehr.visit_id").alias("visit_id"),
f.col("ehr.original_visit_id").alias("original_visit_id"),
)
ehr_shot_data.write.mode("overwrite").parquet(ehr_shot_path)

Expand Down

0 comments on commit 9a89ee6

Please sign in to comment.