| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| admin.ts | ||
| agent.ts | ||
| auth.ts | ||
| canonical.ts | ||
| common.ts | ||
| fact.ts | ||
| index.ts | ||
| patient.ts | ||
| persona.ts | ||
| plan.ts | ||
| reason-signals.ts | ||
| sync.ts | ||
| wrap.ts |
测试库 phone 全为造数假号;业务提供 1500 名患者的真实手机号(按病历号 file_num 对照)。 - schema: Patient 加 phoneVerified(默认 false)+ migration;true = 外部对照表核实替换的真号。 - cli/import-real-phones: 读 CSV(file_num,client_phone)→ 按 medical_record_number 匹配 → phone 改真号 + phoneVerified=true;支持 --dry-run;号码做基本卫生(去非数字)。 - 列表: ListPlansQuerySchema 加 phoneVerified(query 串 'true' preprocess 还原布尔); plan.service 把 keyword 与 phoneVerified 合并进 patient 子查询;PlanPatientBrief 透出 phoneVerified。 - web: 筛选条加"真实号码"开关(teal 高亮);行内手机号旁加"真"角标(tooltip 注明已核实)。 本地验证:1500 行对照表匹配 12 名(本地数据不全属预期)→ 更新 12; 列表 all=274 → phoneVerified=true 筛出 12,行内标记正确。两端 tsc 0。 注:重新全量摄入会被宿主假号覆盖 phone(phoneVerified 不回退)→ 重摄后需重跑导入脚本。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| admin.ts | Loading commit data... | |
| agent.ts | Loading commit data... | |
| auth.ts | Loading commit data... | |
| canonical.ts | Loading commit data... | |
| common.ts | Loading commit data... | |
| fact.ts | Loading commit data... | |
| index.ts | Loading commit data... | |
| patient.ts | Loading commit data... | |
| persona.ts | Loading commit data... | |
| plan.ts | Loading commit data... | |
| reason-signals.ts | Loading commit data... | |
| sync.ts | Loading commit data... | |
| wrap.ts | Loading commit data... |