Commit 48610164 by luoqi

docs(push): 重整 Push 契约 — A(推原生行)为主/C(结构化事件)备选;subjectId 选填;emrId 移入 payload

- 两形态二选一,A 默认(字段最少、口径同数仓、可 reparse 自愈),C 备选(强宿主)。
- 公共 envelope 收敛为真·通用字段(subjectType/action/tenantId/patientId/occurredAt/updatedAt);
  subjectId 选填(有则更准、无则 PAC 用自然键合成),clinicId 条件,emrId 归 payload(资源专属)。
- 幂等:PAC 合成 source_event_id(宿主不发),partial UNIQUE + 内容指纹双层保证,A 即数仓同款已实证。
- 软删走 *_cancelled + updatedAt。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
parent c613d0e1
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