{ "created_at": "When this order was created", "details": { "created_at": "When these order details were created", "id": "Unique identifier for the order details", "type": "Type of the order", "updated_at": "When these order details were last updated" }, "events": { "created_at": "When this event occurred", "id": "Unique identifier for the event", "status": "Status update from this event" }, "id": "Unique identifier for the order", "is_labcorp_stat_order": "Whether this is a STAT (urgent) LabCorp order", "lab_test": { "id": "Unique identifier for the lab test", "is_active": "Whether this lab test is currently active", "is_delegated": "Whether this lab test is delegated", "lab": { "city": "City where the lab is located", "first_line_address": "First line of the lab's address", "id": "Unique identifier for the lab", "name": "Name of the laboratory", "sample_types": "Types of samples this lab can process", "slug": "URL-friendly identifier for the lab", "zipcode": "ZIP code of the lab's location" }, "markers": { "id": "Unique identifier for the marker", "name": "Name of the marker", "slug": "URL-friendly identifier for the marker", "type": "Type of the marker measurement", "unit": "Unit of measurement for the marker" }, "method": "Method of sample collection", "name": "Name of the lab test", "sample_type": "Type of sample required", "slug": "URL-friendly identifier for the lab test" }, "notes": "Additional notes about the order", "patient_details": { "email": "Email address of the patient", "first_name": "Patient's first name", "last_name": "Patient's last name", "phone_number": "Patient's phone number" }, "physician": { "first_name": "Physician's first name", "last_name": "Physician's last name", "npi": "National Provider Identifier" }, "sample_id": "Unique identifier for the sample", "status": "Current status of the order", "updated_at": "When this order was last updated", "user_id": "ID of the user this order belongs to"}
Junction
Order
Event payload details and trigger documentation for Order data from Junction
{ "created_at": "When this order was created", "details": { "created_at": "When these order details were created", "id": "Unique identifier for the order details", "type": "Type of the order", "updated_at": "When these order details were last updated" }, "events": { "created_at": "When this event occurred", "id": "Unique identifier for the event", "status": "Status update from this event" }, "id": "Unique identifier for the order", "is_labcorp_stat_order": "Whether this is a STAT (urgent) LabCorp order", "lab_test": { "id": "Unique identifier for the lab test", "is_active": "Whether this lab test is currently active", "is_delegated": "Whether this lab test is delegated", "lab": { "city": "City where the lab is located", "first_line_address": "First line of the lab's address", "id": "Unique identifier for the lab", "name": "Name of the laboratory", "sample_types": "Types of samples this lab can process", "slug": "URL-friendly identifier for the lab", "zipcode": "ZIP code of the lab's location" }, "markers": { "id": "Unique identifier for the marker", "name": "Name of the marker", "slug": "URL-friendly identifier for the marker", "type": "Type of the marker measurement", "unit": "Unit of measurement for the marker" }, "method": "Method of sample collection", "name": "Name of the lab test", "sample_type": "Type of sample required", "slug": "URL-friendly identifier for the lab test" }, "notes": "Additional notes about the order", "patient_details": { "email": "Email address of the patient", "first_name": "Patient's first name", "last_name": "Patient's last name", "phone_number": "Patient's phone number" }, "physician": { "first_name": "Physician's first name", "last_name": "Physician's last name", "npi": "National Provider Identifier" }, "sample_id": "Unique identifier for the sample", "status": "Current status of the order", "updated_at": "When this order was last updated", "user_id": "ID of the user this order belongs to"}
Events
Triggering Webhook Types
The following event types are associated with the Order event payload from Junction.
{ "created_at": "When this order was created", "details": { "created_at": "When these order details were created", "id": "Unique identifier for the order details", "type": "Type of the order", "updated_at": "When these order details were last updated" }, "events": { "created_at": "When this event occurred", "id": "Unique identifier for the event", "status": "Status update from this event" }, "id": "Unique identifier for the order", "is_labcorp_stat_order": "Whether this is a STAT (urgent) LabCorp order", "lab_test": { "id": "Unique identifier for the lab test", "is_active": "Whether this lab test is currently active", "is_delegated": "Whether this lab test is delegated", "lab": { "city": "City where the lab is located", "first_line_address": "First line of the lab's address", "id": "Unique identifier for the lab", "name": "Name of the laboratory", "sample_types": "Types of samples this lab can process", "slug": "URL-friendly identifier for the lab", "zipcode": "ZIP code of the lab's location" }, "markers": { "id": "Unique identifier for the marker", "name": "Name of the marker", "slug": "URL-friendly identifier for the marker", "type": "Type of the marker measurement", "unit": "Unit of measurement for the marker" }, "method": "Method of sample collection", "name": "Name of the lab test", "sample_type": "Type of sample required", "slug": "URL-friendly identifier for the lab test" }, "notes": "Additional notes about the order", "patient_details": { "email": "Email address of the patient", "first_name": "Patient's first name", "last_name": "Patient's last name", "phone_number": "Patient's phone number" }, "physician": { "first_name": "Physician's first name", "last_name": "Physician's last name", "npi": "National Provider Identifier" }, "sample_id": "Unique identifier for the sample", "status": "Current status of the order", "updated_at": "When this order was last updated", "user_id": "ID of the user this order belongs to"}