friday-push-payload.mdx
17.7 KB
-
feat(friday): refund_item 身份 inline(宿主反填真 patient_id)+ drift 误报修复 · ab9ee7d5
push 自洽收尾(判据:PAC 已有主体的不 inline,值不可信的才 inline): - refund_item:spec.patient_id 部分品牌是诊所本地垃圾 id、不可信 → 宿主导出时 JOIN 结算头 把真 patient_id 反填进 spec(inline);删 S.3.1 跨表 lookup,refund_item 单表 push 自洽。 (patient_relation 不动:referee 本身是 PAC 患者实体,referee_sex 可从自有实体解析,无需 inline) - drift 误报修复:refund_full/refund_item 共用 subjectType='refund' 但源表列集不同, detectRawColumnDrift 按「与本批列签名 Jaccard≥0.5」自选同源样本,排除跨源混列(消除 suspectFields 虚警) 验证:元和王永 dry-run refund_item=308(样本 patientExternalId=659325 真 6 位 id,无 lookup)、 refund_full=190、failed=0;299 测试绿、typecheck 干净。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
luoqi committed