-
feat(friday): 摄入契约收敛为 9 张自洽表 — 宿主 inline 自己的引用(全路径一致) · c4636e36
manifest 共用于所有摄入路径(cold-import/file/pull/push/reparse),改它一处全生效。 删 5 处跨表 lookup + 5 张源表,宿主导出时 within-host join 后 inline: - 私有字典(std_diag/std_check_class)→ diag[].stdCode / med_check.class_name(删 lookup + 源表) - 联系方式 1:N(customer_contacts)→ customer_basic_info.phone/phone_relationship(挑默认号) - 计划头(customer_treat_plan)→ 计划行 organization_id/plan_name(删 lookup + 头源表 + group) - 支付通道(settlement_modes)→ 不摄入(金额在结算头 net_receipts_this;payment 去掉 method) - incremental 清废弃表名(patient_settlement_refund/spec_refund)+ 补 patient_settlement_spec export.sh 同步改成自洽形态(within-host join;含 diag stdCode 跨库预取 map); image.yaml primary image_rows→med_check;payment.yaml 去 method。 验证:元和王永 16472 患者 dry-run 逐资源计数与 inline 前**完全一致** (patient/diagnosis 4458/treatment 5781/image 6170/payment 20995/refund 190+308); 中间表 41→33;typecheck 干净;全量 299 测试绿。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
luoqi committed
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| _shared/dict | Loading commit data... | |
| friday | Loading commit data... | |
| jvs-dw | Loading commit data... |