| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| adapters | ||
| assembler | ||
| cold-import | ||
| dto | ||
| pipeline | ||
| pull | ||
| push | ||
| reconcile | ||
| transforms | ||
| sync.controller.ts | ||
| sync.module.ts | ||
| sync.service.ts |
- schema+migration:patient_facts (host,tenant,source_unit,subject_id,version)、 patient_return_visits (host,tenant,source_unit,external_id) - fact-writer:writeDraft/bulkWrite 的版本链 findFirst + 史表查 + liveLatest map 全按 (source_unit, subject_id) 复合键隔离;create 带 source_unit (集团内 subject_id 品牌级撞 631,不隔离会取错品牌版本=改坏 fact 历史) - parser-pipeline:按 patientId 查患者 source_unit(批内一次取),注入 PrismaService - cold-import:return_visit upsert 带 source_unit - 删旧原地迁移脚本 — 改用"清空重摄"(本地/服务器均可),无原地改 fact 版本链风险 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| adapters | Loading commit data... | |
| assembler | Loading commit data... | |
| cold-import | Loading commit data... | |
| dto | Loading commit data... | |
| pipeline | Loading commit data... | |
| pull | Loading commit data... | |
| push | Loading commit data... | |
| reconcile | Loading commit data... | |
| transforms | Loading commit data... | |
| sync.controller.ts | Loading commit data... | |
| sync.module.ts | Loading commit data... | |
| sync.service.ts | Loading commit data... |