Fires when a pharmacy bundle (fax) is sent for an order's prescriptions, once per pharmacy on the order. targetEntity is the Order. Categories: ORDER, PHARMACY. The eventType is pharmacy_bundle_fax_sent.
Field guarantees
| Field | Guarantee |
|---|---|
eventData.pharmacy | ✅ Always present (v1) |
pharmacy_id in v2 | ✅ Always present (pharmacy aliases to pharmacy_id) |
v1 payload (legacy)
ownerEntity is the full patient document (contains PHI); abbreviated here.
{
"ownerEntityModel": "Patient",
"targetEntityModel": "Order",
"deleted": false,
"ownerEntity": { "id": "pat::43e3b917-xxxx-xxxx-xxxx-70679b4a1b3f", "firstName": "<PATIENT_FIRST_NAME>", "lastName": "<PATIENT_LAST_NAME>", "…": "full patient document" },
"targetEntity": "order::b6b288b5-xxxx-xxxx-xxxx-074dcdbfc4b2",
"eventTitle": "Pharmacy bundle fax sent.",
"eventType": "pharmacy_bundle_fax_sent",
"eventData": {
"pharmacy": "phar::4c1228bf-xxxx-xxxx-xxxx-f62157e57e9c"
},
"createdAt": "2023-06-12T22:00:16.876Z",
"updatedAt": "2023-06-12T22:00:16.876Z",
"__v": 0,
"id": "event::04304618-xxxx-xxxx-xxxx-e9451fe604eb"
}eventData field | Type | Always? | Notes |
|---|---|---|---|
pharmacy | string | ✅ | Pharmacy id the bundle was sent to |
v2 payload
Sanitized envelope. pharmacy aliases to pharmacy_id; order_id/order_status resolve from the target order.
{
"event_type": "pharmacy_bundle_fax_sent",
"event_id": "event::04304618-xxxx-xxxx-xxxx-e9451fe604eb",
"api_version": "2026-08-09",
"timestamp": "2026-05-30T14:00:00.000Z",
"affiliate_id": "aff::c1636be3-xxxx-xxxx-xxxx-9dddc26e77b3",
"patient_id": "pat::43e3b917-xxxx-xxxx-xxxx-70679b4a1b3f",
"patient_external_id": "ext-patient-123",
"patient_marketing_consent": false,
"is_returning_patient": true,
"pharmacy_id": "phar::4c1228bf-xxxx-xxxx-xxxx-f62157e57e9c",
"order_id": "order::b6b288b5-xxxx-xxxx-xxxx-074dcdbfc4b2",
"order_status": "requires_order_processing"
}| Field | Delivered in v2 | Notes |
|---|---|---|
| Envelope + patient identity | ✅ | |
pharmacy_id | ✅ | From eventData.pharmacy |
order_id, order_status | ✅ | Resolved from the target order |
