test_method, the draw takes place either at a physical test location or through a home kit mailed to the patient.
Fields
UUID auto-generated by Aniva. Use this to add panels, confirm the draw, and retrieve results.
The UUID of the profile this appointment belongs to.
The UUID of the test location where the draw will take place. Null for home kit appointments.
ISO 8601 datetime of the scheduled blood draw. Must be a future datetime when creating the appointment.
Current lifecycle status. One of
scheduled, confirmed, completed, or cancelled. See Lifecycle below.How the blood draw is performed:
practitioner— drawn at a test location by a healthcare professionalhome— home blood draw kit mailed to the patient
ISO 8601 timestamp of when the appointment was created.
ISO 8601 timestamp of the most recent update. Null if the appointment has never been updated.
The full profile object for the patient, embedded in every appointment response.
Lifecycle
Appointments move through the following statuses:| Status | Meaning |
|---|---|
scheduled | The appointment has been created but the blood draw has not yet been confirmed. |
confirmed | The barcode has been submitted and a lab order has been triggered. |
completed | Lab results have been processed. |
cancelled | The appointment has been cancelled. |
Adding panels
Before confirming the blood draw, add the blood test panels you want to run by calling:panel_ids field. Panel IDs are provided by Aniva for your partner account.
Panels must be added while the appointment is in
scheduled status. You cannot add or change panels after the appointment is confirmed.Confirming the blood draw
After the blood is drawn, submit the kit barcode to trigger the lab order pipeline:scheduled to confirmed and initiates lab processing. This action is irreversible.
Shipment pickup
After blood has been drawn for a batch of appointments, record that the courier has picked up the samples:appointment_ids for which tubes have been collected. This transitions blood_drawn appointments to in_transit. Appointments already in transit or completed are silently skipped.
Requires the
TEST_SESSIONS_OPERATE or TEST_SESSIONS_MANAGE scope.Retrieving lab results
Once the lab has processed the blood samples, retrieve clinical and genetic results:planned) alongside received results, so you can track what is still pending. Lab report PDFs are referenced in the documents array — use GET /api/v1/documents/{id} to download them.
Requires the
RESULTS_VIEW scope.