| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| adapters | ||
| assembler | ||
| cold-import | ||
| dto | ||
| pipeline | ||
| pull | ||
| push | ||
| reconcile | ||
| transforms | ||
| sync.controller.ts | ||
| sync.module.ts | ||
| sync.service.ts |
- patients.source_unit(通用命名空间,NOT NULL 默认 ''):各宿主"在哪层发患者号" 不同,jvs-dw=品牌;'' 非 null 防唯一索引 NULL-distinct 失效 - 唯一键 (host,tenant,external_id) → (host,tenant,source_unit,external_id); 存量 source_unit='' 常量,新键与旧键唯一性等价,迁移安全(95k 患者完整) - 3 处患者 upsert + 2 CLI 改新键(过渡用 sourceUnit:'';stub 与真主档同 '' 不双行) - patientReturnVisit 的 (host,tenant,external_id) 键未动(只改 patients) 下一步:source_unit 真填值(assembler sourceUnit:brand)+ tenant→集团 slug remap。 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... |