Prescription Rejected By Pharmacy

🚧

No active firing code found

We searched the codebase for anywhere this event is actually created and found no call site at all (not even a test fixture). It is defined and would be returned by the event dictionary, but does not appear to currently fire in practice. Treat the example below as illustrative only.

Pharmacy rejection states instead arrive through the generic Pharmacy Prescription Status Update event (pharmacy_prescription_status_update), whose eventData.newStatus reflects the pharmacy state (e.g. CANCELLED). Subscribe to that event rather than this one.

{
    "ownerEntityModel": "Patient",
    "targetEntityModel": "PrescriptionFulfillment",
    "deleted": false,
    "ownerEntity": "pat::43e3b917-xxxx-xxxx-xxxx-70679b4a1b3f",
    "targetEntity": "prfm::8579e3c2-xxxx-xxxx-xxxx-424c82e68945",
    "eventTitle": "The prescription was rejected by the pharmacy",
    "eventDescription": "The prescription was rejected by the pharmacy",
    "eventType": "pharmacy_rejected_prescription",
    "eventData": {},
    "createdAt": "2023-06-12T20:15:00.290Z",
    "updatedAt": "2023-06-12T20:15:00.290Z",
    "__v": 0,
    "id": "event::6e9f2a3c-xxxx-xxxx-xxxx-8b2c4d5e6f7a"
}