capabilities.work

Vital Create and Register a Lab Testkit Order

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

Recipe · 3 steps

Vital Create and Register a Lab Testkit Order

with Junction · Laboratory Services Management

Create a testkit order, register the kit against a sample, and read the order.

  1. Create an unregistered testkit order for the user and lab test.
  2. Register the testkit against the physical sample id, binding the patient's details and address to the sample.
  3. Read the registered order to confirm its latest lifecycle state.
What you'll need to have ready
  • apiKey: Your Vital API key, sent in the x-vital-api-key header.
  • userId: The Vital user_id the testkit order is for.
  • labTestId: The lab test id the testkit is for.
  • shippingDetails: Shipping address object per ShippingAddressWithValidation.
  • sampleId: The physical sample id printed on the testkit to register.
  • patientDetails: Patient details object per PatientDetailsWithValidation.
  • patientAddress: Patient address object per PatientAddressWithValidation.
For your developer

Arazzo workflow junction-com:testkit-order-register, 3 operations: create_testkit_order_v3_order_testkit_post → register_testkit_v3_order_testkit_register_post → get_order_v3_order__order_id__get. Specs on APIs.io.