clinical.bloodwork.uploaded.v1
Constant
import { EVENT_NAMES } from "@platform/contracts";
EVENT_NAMES.CLINICAL_BLOODWORK_UPLOADED_V1;Publishers
Subscribers
No service currently subscribes to this event.
Payload schema
z.object({
bloodwork_id: z.string().uuid(),
patient_id: z.string(),
brand_id: z.string(),
file_name: z.string().nullable(),
content_type: z.enum(["application/pdf", "application/json"]),
source: z.string(),
uploaded_by: z.string(),
uploaded_at: z.string().datetime(),
}Delivery semantics
- At-least-once delivery. Consumers must dedupe by event ID.
- Fanned out to both NATS (in-cluster) and EventBridge (durable). See Events concept.