treatment_review.yaml
1.91 KB
-
fix(ingest): treat_plan 的复查/拆线/暂观归为 actual(本次治疗),不再误落治疗计划 · 99b39c08
EMR.treat_plan = 本次治疗(actual,本次确实做了);EMR.plan = 治疗计划(planned)。 treatment_review_rows 100% 来自 treat_plan(plan 字段的复查项当前 drop), 但 treatment_review.yaml 原写死 action=treatment_planned → parser 推 kind=planned, 导致"拆线/复查/暂观"等本次做的事被错误落到「治疗计划」。 修复:treatment_review.yaml action → treatment_completed(kind=actual / status=fulfilled)。 - 韩滨 2024-04-07 拆线 18;48 现正确落「本次治疗」,与源数据 treat_plan 一致 - 验证无副作用:chain S4 复查信号按 category='review' 匹配(不看 kind); review 已排除在 actual 治疗链 S3 外、不触发 scenario ⑤a → 召回逻辑不受影响 - 留注释:未来若 union EMR.plan 的复查项进来(那才是 planned),需按来源分流 kind 至此 treatment_record 的 kind 完全由来源字段决定:treat_plan→actual / plan→planned。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
luoqi committed