Commit 53d0127e by luoqi

fix: 删 yaml duplicate key(OHI,涂氟 / OHI,涂氟)

js-yaml strict mode 不允许 duplicate key,cold-import 时报错:
  treatment_actual.yaml:272 'OHI,涂氟' 重复(连续两行同 key 同值)
  treatment_planned.yaml:266-267 'OHI,涂氟'(中逗号)+ 'OHI,涂氟'(英逗号) 共存

normalize op 上线后 DW 中文逗号版自动归一到英文版,中逗号 yaml 条目变 dead config。
删掉 dup / dead,留唯一 'OHI,涂氟' → preventive。

100 患者验证:cold-import success patients=100 txns=0 dups=10235 facts(c=0 u=9810)
(数据全部 unchanged,因 source_event_id 幂等,只刷新 fact metadata)
召回:18 plans(瑞泰 13 + 瑞尔 5),持平 / 略降于改前 23 plans —
EMR 单源 actual 让排除更准(真治疗才算覆盖),净效应略降但更精确。
parent 89e68c1a
......@@ -268,7 +268,6 @@ enum_mapping:
"窝沟封闭。": preventive
窝沟封闭术: preventive
OHI: preventive
"OHI,涂氟": preventive
"OHI,涂氟": preventive
口腔卫生宣教: preventive
口腔检查: preventive
......
......@@ -263,7 +263,6 @@ enum_mapping:
"窝沟封闭。": preventive
窝沟封闭术: preventive
OHI: preventive
"OHI,涂氟": preventive
"OHI,涂氟": preventive
口腔卫生宣教: preventive
口腔检查: preventive
......
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