Create and Register a Lab Testkit Order
A 3-step recipe with Vital. We can help you get access.
Recipe · 3 steps
Create and Register a Lab Testkit Order
with Vital · Laboratory Services Management
Create a testkit order, register the kit against a sample, and read the order.
- Create an unregistered testkit order for the user and lab test.
- Register the testkit against the physical sample id, binding the patient's details and address to the sample.
- 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 vital-io: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.