capabilities.work

Vital Await Lab Order Completion and Retrieve Results

A 3-step recipe with Junction. We can help you get access.

Recipe · 3 steps

Vital Await Lab Order Completion and Retrieve Results

with Junction · Laboratory Services Management

Poll an order to completion and retrieve its metadata and raw results.

  1. Read the order and inspect the latest event. Loops while in progress, ends the workflow if cancelled or failed, and proceeds to results once completed.
  2. Fetch metadata about the order's results, such as lab metadata, provider, and sample dates.
  3. Fetch both the metadata and the raw JSON test data for the order.
What you'll need to have ready
  • apiKey: Your Vital API key, sent in the x-vital-api-key header.
  • orderId: The Vital Order ID to await results for.
For your developer

Arazzo workflow junction-com:await-order-results, 3 operations: get_order_v3_order__order_id__get → get_lab_test_result_metadata_v3_order__order_id__result_metadata_get → get_lab_test_result_raw_v3_order__order_id__result_get. Specs on APIs.io.