王敏 BJ0U017412 牙26:诊断只写"牙列缺损",但 emr_record.exam_findings 写
"缺失,缺牙间隙已关闭"→ 间隙没了无需修复,召回看不到检查文本 → 误召。
方案A(不升 examine 为主体,排除时读 fact.content):
- gap 核心 resolvedTeethSql 加分支:解析 emr_record.exam_findings(JSON 字符串数组),
牙位 message 中"缺失/缺牙"与"间隙关闭/无修复间隙"同段共现 → 该牙计入已解决;
- 词典 NO_RESTORATION_GAP_EXAM_PATTERNS 放 types 单一源(与同语义的
RESTORATION_INELIGIBLE_DX_NAMES 并列);共现限定排除正畸"关闭间隙"治疗噪音
(单独"间隙关闭"全库多在正畸语境;共现后 104 患者命中);
- 时间方向与治疗家族同口径(afterDxFor('emrx'))。
验证(21 人本地):王敏 26 移除、37;47 真缺牙保留;总理由数 45 不变(零误杀);
recompute exit=0。Layer C 上线后此分支平移给抽取器即可。仅本地,未部署。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| cli | Loading commit data... | |
| common | Loading commit data... | |
| config | Loading commit data... | |
| modules | Loading commit data... | |
| openapi | Loading commit data... | |
| prisma | Loading commit data... | |
| queues | Loading commit data... | |
| redis | Loading commit data... | |
| types | Loading commit data... | |
| app.module.ts | Loading commit data... | |
| health.controller.ts | Loading commit data... | |
| main.ts | Loading commit data... |