Order webhook events
Based on the status present inOrder and Appointment Lifecycle - Order Lifecycle,
Vital will trigger two kinds of webhook events, labtest.order.created and
labtest.order.updated.
The labtest.order.created event is triggered when an order is created in the system,
having the ordered status, and all subsequent status changes will trigger a labtest.order.updated event in the system.
The
partial_results status does not trigger a Webhook unless specifically requested from Vital.appointment_scheduled status:
Phlebotomy Order Updated
Appointment webhook events
Based on the status present inOrder and Appointment Lifecycle - Appointment Lifecycle,
Vital will trigger the labtest.appointment.updated webhook event.
The
labtest.appointment.updated event is triggered for all possible appointment statuses, and is the recommended way of integrating to fetch all
At-Home Phlebotomy status updates, together with the Order Webhooks.If the ability to schedule appointments before a requisition has been created is enabled for your team, and you intend to send patient communications for appointment updates, use the
labtest.appointment.updated event. See more on communications for this feature here.scheduled status, after a reschedule has happened:
Phlebotomy Appointment Updated
The
event_data field contains relevant information regarding the current appointment status, and may be specific for each provider.