| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| admin | ||
| ai | ||
| assistant | ||
| auth | ||
| clinical-gap | ||
| clinical-signals | ||
| facts | ||
| mcp | ||
| patient | ||
| persona | ||
| plan | ||
| plan-aggregate | ||
| realtime-coach | ||
| sync | ||
| weixin-aibot |
DW fact_returnvisit_out 有 created_date / updated_date(均非空),之前没摄。 【为什么不复用本表已有的 created_at / updated_at】那两个是 **PAC 入库时间** (@default(now()) / @updatedAt),存量回填和每次重摄都会把它们刷成"现在", 反映不了业务时间。命名沿用 patient_facts.source_updated_at 的既有口径(source* = 宿主侧)。 【为什么名册需要它】task_date 含**未来排程** —— 生产实测最远到 2033-11-12。 名册按"近 N 月在岗"筛人时若拿 task_date 卡窗口,会把"排了远期任务但早已不干活"的人 算成在岗。用 created_date(任务何时被创建)才是真实的行为时间。 datetimeFields 注册这两个字段(走无时区补 offset 归一);taskDate 刻意不进 —— 它是 @db.Date 纯日期,补 offset 会跨日。 顺带修正上一条 commit 的措辞:DW 给 task_director 的 comment 写的是"专属客服", 但实测近 12 月 367 万对回访,它与患者主档 current_task_director 仅 **23.1%** 相同 —— 本字段是"该任务当时派给谁",患者主档那个是"此刻挂在谁名下",确实是两回事。 测试 808 项(+2)。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| admin | Loading commit data... | |
| ai | Loading commit data... | |
| assistant | Loading commit data... | |
| auth | Loading commit data... | |
| clinical-gap | Loading commit data... | |
| clinical-signals | Loading commit data... | |
| facts | Loading commit data... | |
| mcp | Loading commit data... | |
| patient | Loading commit data... | |
| persona | Loading commit data... | |
| plan | Loading commit data... | |
| plan-aggregate | Loading commit data... | |
| realtime-coach | Loading commit data... | |
| sync | Loading commit data... | |
| weixin-aibot | Loading commit data... |