Add EDC MongoDB import with change history tracking

New import_to_mongo.py: imports Medidata EDC Data Listing CSVs into
MongoDB (db: edc), filters CZE-only rows, uses dot-notation collections
(e.g. UCO3001.ConcomitantTherapy), and tracks field changes over time
in a history[] array per document.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-26 12:19:03 +02:00
parent 2159511ff0
commit 08d8cd75ee
4 changed files with 5454 additions and 2 deletions
+3 -2
View File
@@ -3,8 +3,9 @@ from download_uco3001 import download_datalisting_reports_3001
# === Vyber jeden řádek, odkomentuj ho a spusť ===
# --- Trial Disposition ---
download_datalisting_reports_3001("Trial Disposition (Completion / Discontinuation)")
download_datalisting_reports_3001("Date of Visit")
# download_datalisting_reports_3001("Trial Disposition (Completion / Discontinuation)")
# download_datalisting_reports_3001("Date of Visit")
download_datalisting_reports_3001("Concomitant Therapy", country="CZE")
# download_datalisting_reports_3001("Trial Disposition (Completion / Discontinuation)", country="CZE")
# --- Date of Visit ---