上一版定的是 active_complex_case_count(计数),多余:
- 闸门只判有无,条数 PAC 不消费,纯属未被消费的精度
- complex_case_info 带 organization_id,跨诊所累加的条数在多品牌 SaaS 里语义含糊;
EXISTS 反而是干净、且宿主易保证正确的口径
改为 has_active_complex_case(接受 1/0 或 true/false,PAC 归一层 coerce 成布尔)。
PAC 侧字段 hostFollowUpActive 不变(本就是布尔)。
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| algorithms | Loading commit data... | |
| api | Loading commit data... | |
| architecture | Loading commit data... | |
| integration | Loading commit data... | |
| start | Loading commit data... | |
| canonical-fields.mdx | Loading commit data... | |
| data-extraction.mdx | Loading commit data... | |
| data-reconciliation.mdx | Loading commit data... | |
| deploy-runbook.mdx | Loading commit data... | |
| deployment.mdx | Loading commit data... | |
| design-system.mdx | Loading commit data... | |
| error-codes.mdx | Loading commit data... | |
| event-enums.mdx | Loading commit data... | |
| ingestion.mdx | Loading commit data... | |
| meta.json | Loading commit data... | |
| monitoring.mdx | Loading commit data... | |
| troubleshooting.mdx | Loading commit data... |