Order Submitted

Fires when an order is submitted for processing. targetEntity is the Order. The eventType is order_submitted.

Field guarantees

FieldGuarantee
eventData✅ Empty by design — no event-specific fields (v1)
v2 order reference (order_id, order_status)✅ Always present
📘

This event carries no eventData fields — the fact that it fired is the signal. Use the envelope (v1) or the order_id/order_status reference (v2).

v1 payload (legacy)

{
  "_id": "event::966f1e3f-xxxx-xxxx-xxxx-bbd8c763f738",
  "ownerEntity": "pat::7750f95d-xxxx-xxxx-xxxx-3120f5b317f7",
  "ownerEntityModel": "Patient",
  "targetEntity": "order::58a0ec4b-xxxx-xxxx-xxxx-779b6825992a",
  "targetEntityModel": "Order",
  "eventTitle": "Order was submitted.",
  "eventType": "order_submitted",
  "eventData": {},
  "deleted": false,
  "createdAt": { "$date": "2025-10-17T19:38:52.725Z" },
  "updatedAt": { "$date": "2025-10-17T19:38:52.725Z" },
  "__v": 0
}

v2 payload

{
  "event_type": "order_submitted",
  "event_id": "event::966f1e3f-xxxx-xxxx-xxxx-bbd8c763f738",
  "api_version": "2026-08-09",
  "timestamp": "2026-05-30T14:00:00.000Z",
  "affiliate_id": "aff::xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "patient_id": "pat::7750f95d-xxxx-xxxx-xxxx-3120f5b317f7",
  "patient_external_id": "ext-patient-123",
  "patient_marketing_consent": false,
  "is_returning_patient": false,
  "order_id": "order::58a0ec4b-xxxx-xxxx-xxxx-779b6825992a",
  "order_status": "requires_provider_review"
}
FieldDelivered in v2Notes
Envelope + patient identity
order_id, order_statusResolved from the target order