{
  "answers":  [
    {
      "created_at":  "2021-03-25T04:33:40Z",
      "deleted_at":  "2021-03-26T04:33:40Z",
      "question":  "123",
      "test":  "140748306251838",
      "value":  "Yes"
    }
  ],
  "bill_type":  "thirdparty",
  "ccs":  "131074",
  "chart_date":  "2021-03-25T04:33:40Z",
  "confidential":  false,
  "content":  {
    "collection_datetime":  null,
    "fasting_method":  "fasting_random",
    "icd10_codes":  [
      {
        "code":  "D72.9",
        "description":  "Disorder of white blood cells, unspecified"
      }
    ],
    "id":  "140754512117861",
    "patient_instructions":  "",
    "standing_order_end_date":  null,
    "standing_order_frequency":  "",
    "stat_method":  "LAB_STAT_METHOD_WET_READING_PHONE",
    "test_center_notes":  "",
    "tests":  [
      {
        "code":  "",
        "compendium_id":  "3",
        "cpt_codes":  1,
        "created_at":  "2020-01-27T16:17:43Z",
        "deleted_at":  "2020-01-28T13:11:23Z",
        "id":  "140748306251838",
        "lab_vendor_id":  "3",
        "name":  "TSH",
        "practice_created_id":  "42",
        "procedure_class":  "123",
        "questions":  {
          "answers":  [
            {
              "response":  "5 cups"
            }
          ],
          "question":  "Briefly describe any caffeine use - e.g. how many cups of coffee a day?"
        },
        "test_synonyms":  "TSH"
      }
    ]
  },
  "created_at":  "2021-03-25T04:33:40Z",
  "document_created_at":  "2021-03-25T04:33:40Z",
  "facility":  "123456",
  "follow_up_method":  "phone",
  "id":  "140754512183329",
  "ordering_physician_id":  "140754510217218",
  "patient_id":  "140754511659009",
  "practice_id":  "140754506678276",
  "requisition_id":  "140754512183329",
  "resolution":  {
    "created_at":  "2021-03-25T04:33:40Z",
    "deleted_at":  "2021-03-26T04:33:40Z",
    "document":  "140754512183329",
    "id":  "140754511659009",
    "note":  "Test cancelled due to insurance",
    "resolving_document":  "140754512183329",
    "state":  "LAB_ORDER_RESOLUTION_STATE_OUTSTANDING"
  },
  "signed_by":  "140754510217218",
  "signed_date":  "2021-03-25T04:33:40Z",
  "site":  {
    "address":  {
      "international_address":  {
        "city_state_county_or_districts":  null,
        "country":  null,
        "lines":  null,
        "postal_code":  null
      },
      "us_address":  {
        "city":  null,
        "line1":  null,
        "line2":  null,
        "state":  null,
        "zip_code":  null
      }
    },
    "fax_number":  "415-555-5678",
    "name":  "Quest Diagnostics",
    "phone_number":  "415-555-1234"
  },
  "special_insurance":  {
    "code":  "ABC12",
    "name":  "Special Insurance Name"
  },
  "specimens":  [
    {
      "body_site":  {
        "code":  "LA",
        "deleted_at":  "2021-03-26T04:33:40Z",
        "text":  "Left Arm"
      },
      "container_id":  "12345",
      "description":  "Blood sample",
      "modifiers":  [
        {
          "code":  "ANT",
          "sequence":  1,
          "text":  "Anterior"
        }
      ],
      "test":  "140748306251838"
    }
  ],
  "submissions":  [
    {
      "state":  "submitted",
      "state_metadata":  "ERROR: Invalid insurance information",
      "time_acknowledged":  "2021-03-25T04:34:00Z",
      "time_submitted":  "2021-03-25T04:33:40Z"
    }
  ],
  "tags":  null,
  "test_date":  "2021-03-25",
  "vendor":  "67191701750"
}
{
  "answers":  {
    "created_at":  "When the answer was created.",
    "deleted_at":  "When the answer was deleted.",
    "question":  "The id of the AOE question for which this answer pertains.",
    "test":  "The id of the test for which this answer pertains.",
    "value":  "The value entered by freetext or chosen by the ordering physician."
  },
  "bill_type":  "Who is financially responsible for the order.",
  "ccs":  "List of physician ids who should be cc'd on any reports.",
  "chart_date":  "Date at which this order was seen in the patient's chart.",
  "confidential":  "Whether the provider has marked this order as confidential. Should not be shared with a patient.",
  "content":  {
    "collection_datetime":  "Date and time when the specimen was collected.",
    "fasting_method":  "Indicates whether the patient should be fasting for the test.",
    "icd10_codes":  {
      "code":  "The code of the ICD-10 diagnosis.",
      "description":  "The description of the ICD-10 diagnosis."
    },
    "id":  "Unique identifier for the lab order content.",
    "patient_instructions":  "Instructions for the patient regarding the lab order.",
    "standing_order_end_date":  "End date for a standing order, if applicable.",
    "standing_order_frequency":  "Frequency of a standing order, if applicable.",
    "stat_method":  "Indicates if the order is marked as stat (urgent).",
    "test_center_notes":  "Notes for the test center performing the lab work.",
    "tests":  {
      "code":  "Code identifier for the test, if available.",
      "compendium_id":  "Compendium identifier for the test, if available.",
      "cpt_codes":  "List of CPT codes associated with the test.",
      "created_at":  "Timestamp when the test was created.",
      "deleted_at":  "Timestamp when the test was deleted, if applicable.",
      "id":  "Unique identifier for the test.",
      "lab_vendor_id":  "Lab vendor identifier for the test, if available.",
      "name":  "Name of the test.",
      "practice_created_id":  "Practice-specific identifier for the test, if available.",
      "procedure_class":  "Procedure class of the test, if applicable.",
      "questions":  "List of questions associated with the test.",
      "test_synonyms":  "List of alternative names or synonyms for the test."
    }
  },
  "created_at":  "Time at which elation created this order.",
  "document_created_at":  "Time at which this order was created in whichever system created it. Could be historical or same as the created_at.",
  "facility":  "An identifier that represents the facility placing the order.",
  "follow_up_method":  "Freetext field communicating how the patient should receive their results.",
  "id":  "The id of the lab order in Elation's systems.",
  "ordering_physician_id":  "The id of the physician who created the order.",
  "patient_id":  "The id of the patient.",
  "practice_id":  "The id of the practice.",
  "requisition_id":  "The requisition id of the order. Can be different from the order id if and when the order was created outside of elation.",
  "resolution":  {
    "created_at":  "The datetime when this resolution state was created.",
    "deleted_at":  "The datetime when this resolution was deleted. Should never be null because we're providing the most updated resolution.",
    "document":  "Will be the same as the id of the lab order.",
    "id":  "Internal id to represent the resolution state.",
    "note":  "Any note that was added to represent why an order was cancelled.",
    "resolving_document":  "If the order is fulfilled will indicate the document referenced. For lab orders will usually be a report.",
    "state":  "The resolution state of the order."
  },
  "signed_by":  "The id of the physician who signed off on the order.",
  "signed_date":  "The time when the order was signed.",
  "site":  {
    "address":  {
      "international_address":  {
        "city_state_county_or_districts":  null,
        "country":  null,
        "lines":  null,
        "postal_code":  null
      },
      "us_address":  {
        "city":  null,
        "line1":  null,
        "line2":  null,
        "state":  null,
        "zip_code":  null
      }
    },
    "fax_number":  {
      "country_code":  null,
      "country_code_source":  null,
      "extension":  null,
      "italian_leading_zero":  null,
      "national_number":  null,
      "number_of_leading_zeros":  null,
      "preferred_domestic_carrier_code":  null,
      "raw_input":  null
    },
    "name":  "The name of the site.",
    "phone_number":  {
      "country_code":  null,
      "country_code_source":  null,
      "extension":  null,
      "italian_leading_zero":  null,
      "national_number":  null,
      "number_of_leading_zeros":  null,
      "preferred_domestic_carrier_code":  null,
      "raw_input":  null
    }
  },
  "special_insurance":  {
    "code":  "Special insurance code.",
    "name":  "Special insurance name."
  },
  "specimens":  {
    "body_site":  {
      "code":  "The HL7 code representing the body site from which a specimen was collected",
      "deleted_at":  "Represents if the body site was removed from the specimen.",
      "text":  "A textual description of the body site from which the specimen was collected."
    },
    "container_id":  "An identifier representing the container used to store the specimen.",
    "description":  "A freetext description of the specimen.",
    "modifiers":  {
      "code":  "The HL7 code representing the modifier on the body site from which a specimen was collected",
      "sequence":  "The cardinal position in which the modifiers should be listed.",
      "text":  "A textual description of the modifier of the body site from which the specimen was collected."
    },
    "test":  "The lab order test for which the specimen was collected."
  },
  "submissions":  {
    "state":  "The state of the electronic order submission.",
    "state_metadata":  "Useful error information collected as part of the submission. Including ERRORs or ACKs.",
    "time_acknowledged":  "The time at which vendor acknowledged any error shown to them about the electronic submission.",
    "time_submitted":  "The time the electronic order was submitted to the lab vendor."
  },
  "tags":  "Any tags associated with the lab order.",
  "test_date":  "The date on which the tests should be performed, or were performed. Can be different than document_date, create_date",
  "vendor":  "The id of the lab vendor."
}

Events

Triggering Webhook Types

The following event types are associated with the Lab Order event payload from Elation.

  • Elation Lab Order Outstanding
  • Elation Lab Order Fulfilled
  • Elation Lab Order Cancelled
  • Elation Lab Order Deleted
{
  "answers":  [
    {
      "created_at":  "2021-03-25T04:33:40Z",
      "deleted_at":  "2021-03-26T04:33:40Z",
      "question":  "123",
      "test":  "140748306251838",
      "value":  "Yes"
    }
  ],
  "bill_type":  "thirdparty",
  "ccs":  "131074",
  "chart_date":  "2021-03-25T04:33:40Z",
  "confidential":  false,
  "content":  {
    "collection_datetime":  null,
    "fasting_method":  "fasting_random",
    "icd10_codes":  [
      {
        "code":  "D72.9",
        "description":  "Disorder of white blood cells, unspecified"
      }
    ],
    "id":  "140754512117861",
    "patient_instructions":  "",
    "standing_order_end_date":  null,
    "standing_order_frequency":  "",
    "stat_method":  "LAB_STAT_METHOD_WET_READING_PHONE",
    "test_center_notes":  "",
    "tests":  [
      {
        "code":  "",
        "compendium_id":  "3",
        "cpt_codes":  1,
        "created_at":  "2020-01-27T16:17:43Z",
        "deleted_at":  "2020-01-28T13:11:23Z",
        "id":  "140748306251838",
        "lab_vendor_id":  "3",
        "name":  "TSH",
        "practice_created_id":  "42",
        "procedure_class":  "123",
        "questions":  {
          "answers":  [
            {
              "response":  "5 cups"
            }
          ],
          "question":  "Briefly describe any caffeine use - e.g. how many cups of coffee a day?"
        },
        "test_synonyms":  "TSH"
      }
    ]
  },
  "created_at":  "2021-03-25T04:33:40Z",
  "document_created_at":  "2021-03-25T04:33:40Z",
  "facility":  "123456",
  "follow_up_method":  "phone",
  "id":  "140754512183329",
  "ordering_physician_id":  "140754510217218",
  "patient_id":  "140754511659009",
  "practice_id":  "140754506678276",
  "requisition_id":  "140754512183329",
  "resolution":  {
    "created_at":  "2021-03-25T04:33:40Z",
    "deleted_at":  "2021-03-26T04:33:40Z",
    "document":  "140754512183329",
    "id":  "140754511659009",
    "note":  "Test cancelled due to insurance",
    "resolving_document":  "140754512183329",
    "state":  "LAB_ORDER_RESOLUTION_STATE_OUTSTANDING"
  },
  "signed_by":  "140754510217218",
  "signed_date":  "2021-03-25T04:33:40Z",
  "site":  {
    "address":  {
      "international_address":  {
        "city_state_county_or_districts":  null,
        "country":  null,
        "lines":  null,
        "postal_code":  null
      },
      "us_address":  {
        "city":  null,
        "line1":  null,
        "line2":  null,
        "state":  null,
        "zip_code":  null
      }
    },
    "fax_number":  "415-555-5678",
    "name":  "Quest Diagnostics",
    "phone_number":  "415-555-1234"
  },
  "special_insurance":  {
    "code":  "ABC12",
    "name":  "Special Insurance Name"
  },
  "specimens":  [
    {
      "body_site":  {
        "code":  "LA",
        "deleted_at":  "2021-03-26T04:33:40Z",
        "text":  "Left Arm"
      },
      "container_id":  "12345",
      "description":  "Blood sample",
      "modifiers":  [
        {
          "code":  "ANT",
          "sequence":  1,
          "text":  "Anterior"
        }
      ],
      "test":  "140748306251838"
    }
  ],
  "submissions":  [
    {
      "state":  "submitted",
      "state_metadata":  "ERROR: Invalid insurance information",
      "time_acknowledged":  "2021-03-25T04:34:00Z",
      "time_submitted":  "2021-03-25T04:33:40Z"
    }
  ],
  "tags":  null,
  "test_date":  "2021-03-25",
  "vendor":  "67191701750"
}
{
  "answers":  {
    "created_at":  "When the answer was created.",
    "deleted_at":  "When the answer was deleted.",
    "question":  "The id of the AOE question for which this answer pertains.",
    "test":  "The id of the test for which this answer pertains.",
    "value":  "The value entered by freetext or chosen by the ordering physician."
  },
  "bill_type":  "Who is financially responsible for the order.",
  "ccs":  "List of physician ids who should be cc'd on any reports.",
  "chart_date":  "Date at which this order was seen in the patient's chart.",
  "confidential":  "Whether the provider has marked this order as confidential. Should not be shared with a patient.",
  "content":  {
    "collection_datetime":  "Date and time when the specimen was collected.",
    "fasting_method":  "Indicates whether the patient should be fasting for the test.",
    "icd10_codes":  {
      "code":  "The code of the ICD-10 diagnosis.",
      "description":  "The description of the ICD-10 diagnosis."
    },
    "id":  "Unique identifier for the lab order content.",
    "patient_instructions":  "Instructions for the patient regarding the lab order.",
    "standing_order_end_date":  "End date for a standing order, if applicable.",
    "standing_order_frequency":  "Frequency of a standing order, if applicable.",
    "stat_method":  "Indicates if the order is marked as stat (urgent).",
    "test_center_notes":  "Notes for the test center performing the lab work.",
    "tests":  {
      "code":  "Code identifier for the test, if available.",
      "compendium_id":  "Compendium identifier for the test, if available.",
      "cpt_codes":  "List of CPT codes associated with the test.",
      "created_at":  "Timestamp when the test was created.",
      "deleted_at":  "Timestamp when the test was deleted, if applicable.",
      "id":  "Unique identifier for the test.",
      "lab_vendor_id":  "Lab vendor identifier for the test, if available.",
      "name":  "Name of the test.",
      "practice_created_id":  "Practice-specific identifier for the test, if available.",
      "procedure_class":  "Procedure class of the test, if applicable.",
      "questions":  "List of questions associated with the test.",
      "test_synonyms":  "List of alternative names or synonyms for the test."
    }
  },
  "created_at":  "Time at which elation created this order.",
  "document_created_at":  "Time at which this order was created in whichever system created it. Could be historical or same as the created_at.",
  "facility":  "An identifier that represents the facility placing the order.",
  "follow_up_method":  "Freetext field communicating how the patient should receive their results.",
  "id":  "The id of the lab order in Elation's systems.",
  "ordering_physician_id":  "The id of the physician who created the order.",
  "patient_id":  "The id of the patient.",
  "practice_id":  "The id of the practice.",
  "requisition_id":  "The requisition id of the order. Can be different from the order id if and when the order was created outside of elation.",
  "resolution":  {
    "created_at":  "The datetime when this resolution state was created.",
    "deleted_at":  "The datetime when this resolution was deleted. Should never be null because we're providing the most updated resolution.",
    "document":  "Will be the same as the id of the lab order.",
    "id":  "Internal id to represent the resolution state.",
    "note":  "Any note that was added to represent why an order was cancelled.",
    "resolving_document":  "If the order is fulfilled will indicate the document referenced. For lab orders will usually be a report.",
    "state":  "The resolution state of the order."
  },
  "signed_by":  "The id of the physician who signed off on the order.",
  "signed_date":  "The time when the order was signed.",
  "site":  {
    "address":  {
      "international_address":  {
        "city_state_county_or_districts":  null,
        "country":  null,
        "lines":  null,
        "postal_code":  null
      },
      "us_address":  {
        "city":  null,
        "line1":  null,
        "line2":  null,
        "state":  null,
        "zip_code":  null
      }
    },
    "fax_number":  {
      "country_code":  null,
      "country_code_source":  null,
      "extension":  null,
      "italian_leading_zero":  null,
      "national_number":  null,
      "number_of_leading_zeros":  null,
      "preferred_domestic_carrier_code":  null,
      "raw_input":  null
    },
    "name":  "The name of the site.",
    "phone_number":  {
      "country_code":  null,
      "country_code_source":  null,
      "extension":  null,
      "italian_leading_zero":  null,
      "national_number":  null,
      "number_of_leading_zeros":  null,
      "preferred_domestic_carrier_code":  null,
      "raw_input":  null
    }
  },
  "special_insurance":  {
    "code":  "Special insurance code.",
    "name":  "Special insurance name."
  },
  "specimens":  {
    "body_site":  {
      "code":  "The HL7 code representing the body site from which a specimen was collected",
      "deleted_at":  "Represents if the body site was removed from the specimen.",
      "text":  "A textual description of the body site from which the specimen was collected."
    },
    "container_id":  "An identifier representing the container used to store the specimen.",
    "description":  "A freetext description of the specimen.",
    "modifiers":  {
      "code":  "The HL7 code representing the modifier on the body site from which a specimen was collected",
      "sequence":  "The cardinal position in which the modifiers should be listed.",
      "text":  "A textual description of the modifier of the body site from which the specimen was collected."
    },
    "test":  "The lab order test for which the specimen was collected."
  },
  "submissions":  {
    "state":  "The state of the electronic order submission.",
    "state_metadata":  "Useful error information collected as part of the submission. Including ERRORs or ACKs.",
    "time_acknowledged":  "The time at which vendor acknowledged any error shown to them about the electronic submission.",
    "time_submitted":  "The time the electronic order was submitted to the lab vendor."
  },
  "tags":  "Any tags associated with the lab order.",
  "test_date":  "The date on which the tests should be performed, or were performed. Can be different than document_date, create_date",
  "vendor":  "The id of the lab vendor."
}

Payload Field Details

Lab Order
Event Payload
id
string
required

The id of the lab order in Elation’s systems.

CEL
id
Example
"140754512183329"
answers
object
required

List of the answers provided for the Ask on Entry (AOE) questions if required by any lab order tests.

CEL
answers
Example
[
{
"created_at":  "2021-03-25T04:33:40Z",
"deleted_at":  "2021-03-26T04:33:40Z",
"question":  "123",
"test":  "140748306251838",
"value":  "Yes"
}
]
answers.map(x, x.test)
[]string
required

Mapped array of: The id of the test for which this answer pertains.

CEL
answers.map(x, x.test)
Example
[
"140748306251838"
]
answers.map(x, x.question)
[]string
required

Mapped array of: The id of the AOE question for which this answer pertains.

CEL
answers.map(x, x.question)
Example
[
"123"
]
answers.map(x, x.value)
[]string
required

Mapped array of: The value entered by freetext or chosen by the ordering physician.

CEL
answers.map(x, x.value)
Example
[
"Yes"
]
answers.map(x, x.created_at)
[]timing.v1.Timestamp
required

Mapped array of: When the answer was created.

CEL
answers.map(x, x.created_at)
Example
[
"2021-03-25T04:33:40Z"
]
answers.map(x, x.deleted_at)
[]timing.v1.Timestamp
required

Mapped array of: When the answer was deleted.

CEL
answers.map(x, x.deleted_at)
Example
[
"2021-03-26T04:33:40Z"
]
bill_type
string

Who is financially responsible for the order.

CEL
bill_type
Example
"thirdparty"
ccs
[]string
required

List of physician ids who should be cc’d on any reports.

CEL
ccs
Example
"131074"
chart_date
timing.v1.Timestamp
required

Date at which this order was seen in the patient’s chart.

CEL
chart_date
Example
"2021-03-25T04:33:40Z"
confidential
bool
required

Whether the provider has marked this order as confidential. Should not be shared with a patient.

CEL
confidential
Example
false
content
object
required

Represents the content of the lab order report.

CEL
content
Example
{
"collection_datetime":  null,
"fasting_method":  "fasting_random",
"icd10_codes":  [
{
"code":  "D72.9",
"description":  "Disorder of white blood cells, unspecified"
}
],
"id":  "140754512117861",
"patient_instructions":  "",
"standing_order_end_date":  null,
"standing_order_frequency":  "",
"stat_method":  "LAB_STAT_METHOD_WET_READING_PHONE",
"test_center_notes":  "",
"tests":  [
{
"code":  "",
"compendium_id":  "3",
"cpt_codes":  1,
"created_at":  "2020-01-27T16:17:43Z",
"deleted_at":  "2020-01-28T13:11:23Z",
"id":  "140748306251838",
"lab_vendor_id":  "3",
"name":  "TSH",
"practice_created_id":  "42",
"procedure_class":  "123",
"questions":  {
  "answers":  [
    {
      "response":  "5 cups"
    }
  ],
  "question":  "Briefly describe any caffeine use - e.g. how many cups of coffee a day?"
},
"test_synonyms":  "TSH"
}
]
}
content.id
string
required

ID Unique identifier for the lab order content.

CEL
content.id
Example
"140754512117861"
content.stat_method
elation.v1.LabStatMethod

Indicates if the order is marked as stat (urgent).

CEL
content.stat_method
Example
LAB_STAT_METHOD_WET_READING_PHONE
LAB_STAT_METHOD_WET_READING_FAX
LAB_STAT_METHOD_STAT_PHONE
LAB_STAT_METHOD_STAT_FAX
LAB_STAT_METHOD_STAT_PHONE_FAX
content.patient_instructions
string

Instructions for the patient regarding the lab order.

CEL
content.patient_instructions
Example
""
content.test_center_notes
string

Notes for the test center performing the lab work.

CEL
content.test_center_notes
Example
""
content.fasting_method
elation.v1.LabFastingMethod

Indicates whether the patient should be fasting for the test.

CEL
content.fasting_method
Example
LAB_FASTING_METHOD_FASTING_12_HOUR
LAB_FASTING_METHOD_FASTING_8_HOUR
LAB_FASTING_METHOD_FASTING_2_HOUR
LAB_FASTING_METHOD_FASTING_NONE
LAB_FASTING_METHOD_FASTING_RANDOM
content.standing_order_frequency
string

Frequency of a standing order, if applicable.

CEL
content.standing_order_frequency
Example
""
content.standing_order_end_date
values.v1.Date

End date for a standing order, if applicable.

CEL
content.standing_order_end_date
Example
null
content.collection_datetime
timing.v1.Timestamp

Date and time when the specimen was collected.

CEL
content.collection_datetime
Example
null
content.icd10_codes
object
required

List of ICD-10 diagnosis codes associated with the lab order.

CEL
content.icd10_codes
Example
[
{
"code":  "D72.9",
"description":  "Disorder of white blood cells, unspecified"
}
]
content.icd10_codes.map(x, x.code)
[]string
required

Mapped array of: The code of the ICD-10 diagnosis.

CEL
content.icd10_codes.map(x, x.code)
Example
[
"D72.9"
]
content.icd10_codes.map(x, x.description)
[]string
required

Mapped array of: The description of the ICD-10 diagnosis.

CEL
content.icd10_codes.map(x, x.description)
Example
[
"Disorder of white blood cells, unspecified"
]
content.tests
object
required

List of tests included in this lab order.

CEL
content.tests
Example
[
{
"code":  "",
"compendium_id":  "3",
"cpt_codes":  1,
"created_at":  "2020-01-27T16:17:43Z",
"deleted_at":  "2020-01-28T13:11:23Z",
"id":  "140748306251838",
"lab_vendor_id":  "3",
"name":  "TSH",
"practice_created_id":  "42",
"procedure_class":  "123",
"questions":  {
"answers":  [
  {
    "response":  "5 cups"
  }
],
"question":  "Briefly describe any caffeine use - e.g. how many cups of coffee a day?"
},
"test_synonyms":  "TSH"
}
]
content.tests.map(x, x.id)
[]string
required

ID Mapped array of: Unique identifier for the test.

CEL
content.tests.map(x, x.id)
Example
[
"140748306251838"
]
content.tests.map(x, x.name)
[]string
required

Mapped array of: Name of the test.

CEL
content.tests.map(x, x.name)
Example
[
"TSH"
]
content.tests.map(x, x.code)
[]string
required

Mapped array of: Code identifier for the test, if available.

CEL
content.tests.map(x, x.code)
Example
[
""
]
content.tests.map(x, x.procedure_class)
[]string
required

Mapped array of: Procedure class of the test, if applicable.

CEL
content.tests.map(x, x.procedure_class)
Example
[
"123"
]
content.tests.map(x, x.practice_created_id)
[]string
required

Mapped array of: Practice-specific identifier for the test, if available.

CEL
content.tests.map(x, x.practice_created_id)
Example
[
"42"
]
content.tests.map(x, x.lab_vendor_id)
[]string
required

Mapped array of: Lab vendor identifier for the test, if available.

CEL
content.tests.map(x, x.lab_vendor_id)
Example
[
"3"
]
content.tests.map(x, x.compendium_id)
[]string
required

Mapped array of: Compendium identifier for the test, if available.

CEL
content.tests.map(x, x.compendium_id)
Example
[
"3"
]
content.tests.map(x, x.cpt_codes)
[]bool
required

Mapped array of: List of CPT codes associated with the test.

CEL
content.tests.map(x, x.cpt_codes)
Example
[
1
]
content.tests.map(x, x.test_synonyms)
[]bool
required

Mapped array of: List of alternative names or synonyms for the test.

CEL
content.tests.map(x, x.test_synonyms)
Example
[
"TSH"
]
content.tests.map(x, x.questions)
[]bool
required

Mapped array of: List of questions associated with the test.

CEL
content.tests.map(x, x.questions)
Example
[
{
"answers":  [
{
  "response":  "5 cups"
}
],
"question":  "Briefly describe any caffeine use - e.g. how many cups of coffee a day?"
}
]
content.tests.map(x, x.created_at)
[]timing.v1.Timestamp
required

Mapped array of: Timestamp when the test was created.

CEL
content.tests.map(x, x.created_at)
Example
[
"2020-01-27T16:17:43Z"
]
content.tests.map(x, x.deleted_at)
[]timing.v1.Timestamp
required

Mapped array of: Timestamp when the test was deleted, if applicable.

CEL
content.tests.map(x, x.deleted_at)
Example
[
"2020-01-28T13:11:23Z"
]
created_at
timing.v1.Timestamp
required

Time at which elation created this order.

CEL
created_at
Example
"2021-03-25T04:33:40Z"
document_created_at
timing.v1.Timestamp
required

Time at which this order was created in whichever system created it. Could be historical or same as the created_at.

CEL
document_created_at
Example
"2021-03-25T04:33:40Z"
facility
string

An identifier that represents the facility placing the order.

CEL
facility
Example
"123456"
follow_up_method
string

Freetext field communicating how the patient should receive their results.

CEL
follow_up_method
Example
"phone"
ordering_physician_id
string
required

The id of the physician who created the order.

CEL
ordering_physician_id
Example
"140754510217218"
patient_id
string
required

ID The id of the patient.

CEL
patient_id
Example
"140754511659009"
practice_id
string
required

The id of the practice.

CEL
practice_id
Example
"140754506678276"
requisition_id
string
required

The requisition id of the order. Can be different from the order id if and when the order was created outside of elation.

CEL
requisition_id
Example
"140754512183329"
resolution
object

Information about the resolution state of the order.

CEL
resolution
Example
{
"created_at":  "2021-03-25T04:33:40Z",
"deleted_at":  "2021-03-26T04:33:40Z",
"document":  "140754512183329",
"id":  "140754511659009",
"note":  "Test cancelled due to insurance",
"resolving_document":  "140754512183329",
"state":  "LAB_ORDER_RESOLUTION_STATE_OUTSTANDING"
}
resolution.id
string

ID Internal id to represent the resolution state.

CEL
resolution.id
Example
"140754511659009"
resolution.document
string

Will be the same as the id of the lab order.

CEL
resolution.document
Example
"140754512183329"
resolution.resolving_document
string

If the order is fulfilled will indicate the document referenced. For lab orders will usually be a report.

CEL
resolution.resolving_document
Example
"140754512183329"
resolution.state
elation.v1.LabOrderResolutionState

The resolution state of the order.

CEL
resolution.state
Example
LAB_ORDER_RESOLUTION_STATE_OUTSTANDING
LAB_ORDER_RESOLUTION_STATE_FULFILLED
LAB_ORDER_RESOLUTION_STATE_CANCELLED
resolution.note
string

Any note that was added to represent why an order was cancelled.

CEL
resolution.note
Example
"Test cancelled due to insurance"
resolution.created_at
timing.v1.Timestamp

The datetime when this resolution state was created.

CEL
resolution.created_at
Example
"2021-03-25T04:33:40Z"
resolution.deleted_at
timing.v1.Timestamp

The datetime when this resolution was deleted. Should never be null because we’re providing the most updated resolution.

CEL
resolution.deleted_at
Example
"2021-03-26T04:33:40Z"
signed_by
string
required

The id of the physician who signed off on the order.

CEL
signed_by
Example
"140754510217218"
signed_date
timing.v1.Timestamp
required

The time when the order was signed.

CEL
signed_date
Example
"2021-03-25T04:33:40Z"
site
object

The location where the patient will have the lab performed. Sites are specific to their lab vendor.

CEL
site
Example
{
"address":  {
"international_address":  {
"city_state_county_or_districts":  null,
"country":  null,
"lines":  null,
"postal_code":  null
},
"us_address":  {
"city":  null,
"line1":  null,
"line2":  null,
"state":  null,
"zip_code":  null
}
},
"fax_number":  "415-555-5678",
"name":  "Quest Diagnostics",
"phone_number":  "415-555-1234"
}
site.name
string

The name of the site.

CEL
site.name
Example
"Quest Diagnostics"
site.address
object

The address of the lab site.

CEL
site.address
Example
{
"international_address":  {
"city_state_county_or_districts":  null,
"country":  null,
"lines":  null,
"postal_code":  null
},
"us_address":  {
"city":  null,
"line1":  null,
"line2":  null,
"state":  null,
"zip_code":  null
}
}
site.address.us_address
object

Description coming soon

CEL
site.address.us_address
Example
{
"city":  null,
"line1":  null,
"line2":  null,
"state":  null,
"zip_code":  null
}
site.address.us_address.line1
string

Description coming soon

CEL
site.address.us_address.line1
Example
null
site.address.us_address.line2
string

Description coming soon

CEL
site.address.us_address.line2
Example
null
site.address.us_address.city
string

Description coming soon

CEL
site.address.us_address.city
Example
null
site.address.us_address.state
string

Description coming soon

CEL
site.address.us_address.state
Example
null
site.address.us_address.zip_code
string

Description coming soon

CEL
site.address.us_address.zip_code
Example
null
site.address.international_address
object

Description coming soon

CEL
site.address.international_address
Example
{
"city_state_county_or_districts":  null,
"country":  null,
"lines":  null,
"postal_code":  null
}
site.address.international_address.lines
[]string

Description coming soon

CEL
site.address.international_address.lines
Example
null
site.address.international_address.city_state_county_or_districts
[]string

Description coming soon

CEL
site.address.international_address.city_state_county_or_districts
Example
null
site.address.international_address.postal_code
string

Description coming soon

CEL
site.address.international_address.postal_code
Example
null
site.address.international_address.country
string

Description coming soon

CEL
site.address.international_address.country
Example
null
site.phone_number
object

The phone number of the lab site.

CEL
site.phone_number
Example
"415-555-1234"
site.phone_number.country_code
int64

Description coming soon

CEL
site.phone_number.country_code
Example
null
site.phone_number.national_number
uint64

Description coming soon

CEL
site.phone_number.national_number
Example
null
site.phone_number.extension
string

Description coming soon

CEL
site.phone_number.extension
Example
null
site.phone_number.italian_leading_zero
bool

Description coming soon

CEL
site.phone_number.italian_leading_zero
Example
null
site.phone_number.number_of_leading_zeros
int64

Description coming soon

CEL
site.phone_number.number_of_leading_zeros
Example
null
site.phone_number.raw_input
string

Description coming soon

CEL
site.phone_number.raw_input
Example
null
site.phone_number.country_code_source
phonenumbers.PhoneNumber.CountryCodeSource

Description coming soon

CEL
site.phone_number.country_code_source
Example
FROM_NUMBER_WITH_PLUS_SIGN
FROM_NUMBER_WITH_IDD
FROM_NUMBER_WITHOUT_PLUS_SIGN
FROM_DEFAULT_COUNTRY
site.phone_number.preferred_domestic_carrier_code
string

Description coming soon

CEL
site.phone_number.preferred_domestic_carrier_code
Example
null
site.fax_number
object

The fax number of the lab site.

CEL
site.fax_number
Example
"415-555-5678"
site.fax_number.country_code
int64

Description coming soon

CEL
site.fax_number.country_code
Example
null
site.fax_number.national_number
uint64

Description coming soon

CEL
site.fax_number.national_number
Example
null
site.fax_number.extension
string

Description coming soon

CEL
site.fax_number.extension
Example
null
site.fax_number.italian_leading_zero
bool

Description coming soon

CEL
site.fax_number.italian_leading_zero
Example
null
site.fax_number.number_of_leading_zeros
int64

Description coming soon

CEL
site.fax_number.number_of_leading_zeros
Example
null
site.fax_number.raw_input
string

Description coming soon

CEL
site.fax_number.raw_input
Example
null
site.fax_number.country_code_source
phonenumbers.PhoneNumber.CountryCodeSource

Description coming soon

CEL
site.fax_number.country_code_source
Example
FROM_NUMBER_WITH_PLUS_SIGN
FROM_NUMBER_WITH_IDD
FROM_NUMBER_WITHOUT_PLUS_SIGN
FROM_DEFAULT_COUNTRY
site.fax_number.preferred_domestic_carrier_code
string

Description coming soon

CEL
site.fax_number.preferred_domestic_carrier_code
Example
null
special_insurance
object

Used primarily to support specific electronic lab order integrations.

CEL
special_insurance
Example
{
"code":  "ABC12",
"name":  "Special Insurance Name"
}
special_insurance.code
string

Special insurance code.

CEL
special_insurance.code
Example
"ABC12"
special_insurance.name
string

Special insurance name.

CEL
special_insurance.name
Example
"Special Insurance Name"
submissions
object
required

Record of the attempts to submit the electronic order.

CEL
submissions
Example
[
{
"state":  "submitted",
"state_metadata":  "ERROR: Invalid insurance information",
"time_acknowledged":  "2021-03-25T04:34:00Z",
"time_submitted":  "2021-03-25T04:33:40Z"
}
]
submissions.map(x, x.state)
[]string
required

Mapped array of: The state of the electronic order submission.

CEL
submissions.map(x, x.state)
Example
[
"submitted"
]
submissions.map(x, x.time_submitted)
[]timing.v1.Timestamp
required

Mapped array of: The time the electronic order was submitted to the lab vendor.

CEL
submissions.map(x, x.time_submitted)
Example
[
"2021-03-25T04:33:40Z"
]
submissions.map(x, x.time_acknowledged)
[]timing.v1.Timestamp
required

Mapped array of: The time at which vendor acknowledged any error shown to them about the electronic submission.

CEL
submissions.map(x, x.time_acknowledged)
Example
[
"2021-03-25T04:34:00Z"
]
submissions.map(x, x.state_metadata)
[]string
required

Mapped array of: Useful error information collected as part of the submission. Including ERRORs or ACKs.

CEL
submissions.map(x, x.state_metadata)
Example
[
"ERROR: Invalid insurance information"
]
specimens
object
required

Record of any specimens collected when creating the order.

CEL
specimens
Example
[
{
"body_site":  {
"code":  "LA",
"deleted_at":  "2021-03-26T04:33:40Z",
"text":  "Left Arm"
},
"container_id":  "12345",
"description":  "Blood sample",
"modifiers":  [
{
  "code":  "ANT",
  "sequence":  1,
  "text":  "Anterior"
}
],
"test":  "140748306251838"
}
]
specimens.map(x, x.test)
[]string
required

Mapped array of: The lab order test for which the specimen was collected.

CEL
specimens.map(x, x.test)
Example
[
"140748306251838"
]
specimens.map(x, x.body_site)
[]bool
required

Mapped array of: Information about the body site where the specimen was collected.

CEL
specimens.map(x, x.body_site)
Example
[
{
"code":  "LA",
"deleted_at":  "2021-03-26T04:33:40Z",
"text":  "Left Arm"
}
]
specimens.map(x, x.body_site)
[]string
required

Mapped array of: Information about the body site where the specimen was collected.

CEL
specimens.map(x, x.body_site)
Example
[
{
"code":  "LA",
"deleted_at":  "2021-03-26T04:33:40Z",
"text":  "Left Arm"
}
]
specimens.map(x, x.body_site)
[]string
required

Mapped array of: Information about the body site where the specimen was collected.

CEL
specimens.map(x, x.body_site)
Example
[
{
"code":  "LA",
"deleted_at":  "2021-03-26T04:33:40Z",
"text":  "Left Arm"
}
]
specimens.map(x, x.body_site)
[]timing.v1.Timestamp
required

Mapped array of: Information about the body site where the specimen was collected.

CEL
specimens.map(x, x.body_site)
Example
[
{
"code":  "LA",
"deleted_at":  "2021-03-26T04:33:40Z",
"text":  "Left Arm"
}
]
specimens.map(x, x.description)
[]string
required

Mapped array of: A freetext description of the specimen.

CEL
specimens.map(x, x.description)
Example
[
"Blood sample"
]
specimens.map(x, x.container_id)
[]string
required

Mapped array of: An identifier representing the container used to store the specimen.

CEL
specimens.map(x, x.container_id)
Example
[
"12345"
]
specimens.map(x, x.modifiers)
[]bool
required

Mapped array of: Coded Modifiers indicating more information about the body site from which the specimen was collected.

CEL
specimens.map(x, x.modifiers)
Example
[
[
{
"code":  "ANT",
"sequence":  1,
"text":  "Anterior"
}
]
]
specimens.map(x, x.modifiers)
[]bool
required

Mapped array of: Coded Modifiers indicating more information about the body site from which the specimen was collected.

CEL
specimens.map(x, x.modifiers)
Example
[
[
{
"code":  "ANT",
"sequence":  1,
"text":  "Anterior"
}
]
]
specimens.map(x, x.modifiers)
[]bool
required

Mapped array of: Coded Modifiers indicating more information about the body site from which the specimen was collected.

CEL
specimens.map(x, x.modifiers)
Example
[
[
{
"code":  "ANT",
"sequence":  1,
"text":  "Anterior"
}
]
]
specimens.map(x, x.modifiers)
[]bool
required

Mapped array of: Coded Modifiers indicating more information about the body site from which the specimen was collected.

CEL
specimens.map(x, x.modifiers)
Example
[
[
{
"code":  "ANT",
"sequence":  1,
"text":  "Anterior"
}
]
]
tags
[]string
required

Any tags associated with the lab order.

CEL
tags
Example
null
test_date
values.v1.Date

The date on which the tests should be performed, or were performed. Can be different than document_date, create_date

CEL
test_date
Example
"2021-03-25"
vendor
string
required

The id of the lab vendor.

CEL
vendor
Example
"67191701750"