Commit Graph

15 Commits

Author SHA1 Message Date
administrator 61c6aeea23 z230 2026-06-03 15:56:52 +02:00
administrator ea9d611719 Migrate IWRS from MySQL to MongoDB
- Add IWRS/common/mongo_writer.py with shared connection, indexes,
  upsert+snapshot helpers
- Add IWRS/Patients/import_to_mongo.py (subject_summary + visits)
- Add IWRS/Patients/import_notifications_to_mongo.py: parse PDF/JSON
  directly to Mongo (incl. PDF as BinData), replaces 2-step MySQL flow
- Add IWRS/Drugs/import_to_mongo.py (shipments, items, inventory,
  destruction)
- Add IWRS/backfill_mysql_to_mongo.py: one-shot history backfill
- Switch IWRS/Patients/run_all.py and IWRS/Drugs/run_all.py to Mongo
- Rewrite IWRS/Drugs/create_report.py data loaders to read from Mongo
- 8 main collections (upsert = latest state) + 5 snapshot collections
  (append-only with import_id) under studie database; notifications and
  destruction are immutable and need no snapshots

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 07:24:36 +02:00
administrator 681095d557 notebook 2026-06-03 07:10:15 +02:00
administrator 9ed9f97140 Document memory sync setup in memory store
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 22:58:36 +02:00
administrator 2d65ad2988 Add Claude memory store synced via Gitea
Move ~/.claude/projects/U--janssen/memory into repo (claude-memory/)
linked back via a directory junction so memory persists across machines.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 22:57:44 +02:00
administrator f11d407b73 z230 2026-06-02 17:29:41 +02:00
administrator b433ef0446 z230 2026-06-02 17:20:20 +02:00
administrator ec187e673a z230 2026-06-02 17:19:44 +02:00
administrator dd39339497 z230 2026-06-02 17:19:43 +02:00
administrator 06ad59a22a notebook 2026-06-02 06:15:02 +02:00
administrator bdf5bf6b03 notebook 2026-06-01 21:59:00 +02:00
administrator 1eb7491177 z230 2026-06-01 16:50:50 +02:00
administrator d017203644 z230 2026-06-01 16:49:38 +02:00
administrator bed30c985b Add back Clario/Downloads, Medidata/downloads, browser_profiles, auth/session files 2026-06-01 15:38:22 +02:00
administrator bb604e593e Initial commit — clean history (removed large test files, browser profiles, Medidata/Clario downloads) 2026-06-01 15:36:31 +02:00