{
  "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"
}
{
  "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."
}

Events

Triggering Webhook Types

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

  • Elation Lab Test Updated
  • Elation Lab Test Deleted
{
  "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"
}
{
  "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."
}

Payload Field Details

Lab Test
Event Payload
id
string
required

ID Unique identifier for the test.

CEL
id
Example
"140748306251838"
name
string
required

Name of the test.

CEL
name
Example
"TSH"
code
string

Code identifier for the test, if available.

CEL
code
Example
""
procedure_class
string

Procedure class of the test, if applicable.

CEL
procedure_class
Example
"123"
practice_created_id
string

Practice-specific identifier for the test, if available.

CEL
practice_created_id
Example
"42"
lab_vendor_id
string

Lab vendor identifier for the test, if available.

CEL
lab_vendor_id
Example
"3"
compendium_id
string

Compendium identifier for the test, if available.

CEL
compendium_id
Example
"3"
cpt_codes
[]int64
required

List of CPT codes associated with the test.

CEL
cpt_codes
Example
1
test_synonyms
[]string
required

List of alternative names or synonyms for the test.

CEL
test_synonyms
Example
"TSH"
questions
object
required

List of questions associated with the test.

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

Timestamp when the test was created.

CEL
created_at
Example
"2020-01-27T16:17:43Z"
deleted_at
timing.v1.Timestamp

Timestamp when the test was deleted, if applicable.

CEL
deleted_at
Example
"2020-01-28T13:11:23Z"