Commit 418d47d9 by luoqi

docs(algorithm): 对齐 potential-treatment-recall-flow 到代码实现

§L3 召回 SQL 重写到当前实现:
- 子场景 4 → 10(K00–K09 全覆盖),表补全 base/dx/rec/cooldown/window/urgent/exclude
  (真理源 SUB_SCENARIOS + DiagnosisTreatmentMap@canonical-codes)
- 入池 SQL 修正:
  · 只设时间下界 cooldown,️ 去掉上界(W3 末:缺口不自愈,超 window 仍入池交 scorer 衰减)
  · COALESCE(occurred_at, planned_for)(诊断 vs 推荐)
  · 排除升级为牙位级 overlap(W4)+ 时间方向 tx.occurred_at >= sig + ⑤b拔除 ⑤c未来预约排除
- 合并逻辑:旧"取 days_since 最大丢其余" → tooth-overlap union-find
  · sub_key = '<sub>@<union(tooth)|whole>';同 patient 同 sub 不同牙位 = 多 reason 行
  · cluster_triggers/factIds 全量;来源标签 dx+rec → "(诊断+医生建议)"
- 总览图 mermaid "4 子规则" → 10
- 实现状态:scenario 3→10 子规则;DW 增量 cursor 🟡→(统一 sync 重构)
parent ddeb2661
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment