clinical.lab_result.critical.v1
Constant
import { EVENT_NAMES } from "@platform/contracts";
EVENT_NAMES.CLINICAL_LAB_RESULT_CRITICAL_V1;Publishers
Subscribers
No service currently subscribes to this event.
Payload schema
z.object({
patient_id: z.string(),
brand_id: z.string(),
order_id: z.string().nullable(),
biomarker_codes: z.array(z.string()),
critical_marker_count: z.number().int().nonnegative(),
source_event_type: z.enum(["labtest.result.ready", "labtest.result.critical"]),
reported_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.