diagnostics
Post Order
Create a new order, and fulfill a new kit to the patient for that order. If there's already a kit for this patient, use the "register" endpoint instead of this endpoint.
post/diagnostics/v0/orders
Request body
Example request
{
"patient": {
"first_name": "John",
"last_name": "Doe",
"dob": "19950503",
"gender": "male",
"email": "some_mail@gmail.com",
"phone": "430-304-3949",
"street1": "1234 Main St",
"street2": "Apt 9B",
"city": "San Mateo",
"state": "CA",
"zip": "60660"
},
"patient_token": "p4t13ntt0k3n",
"address": {
"name": "Bill Lumbergh",
"street1": "1234 Main St",
"street2": "Apt 9B",
"city": "San Mateo",
"state": "CA",
"zip": "60660"
},
"physician": {
"npi": "1234567890",
"city": "San Mateo",
"state": "CA",
"zip": "60660",
"phone": "430-304-3949",
"credential": "MD"
},
"insurance": {
"payer_name": "Bruce Banner",
"group_id": "006726",
"member_id": "A9321328",
"bin": "997928"
},
"insurance_token": "9502a8162af55927",
"kit_id": "e457d2e7-ebf4-403c-b2c1-a1970f16d011",
"test_id": "84e14b68-0372-4d5b-9a33-5e3fe5b43247",
"custom_data_1": "2012-01-26T13:51:50.417-07:00",
"custom_data_2": "2012-01-26T13:51:50.417-07:00",
"custom_data_3": "2012-01-26T13:51:50.417-07:00"
}Response
Successful