{
  "id":  "38902dfa-63d4-4454-afd4-1280b94f94d6",
  "patient_id":  "e0786666-66d2-4a24-a24c-dafa2622332b",
  "service_ids":  [
    "d17d2538-501f-4915-a801-32e8c418ae14"
  ],
  "status":  "not_started",
  "type":  "visit",
  "visit_datetime":  "2023-05-23T07:30:00-07:00"
}
{
  "id":  "Unique identifier for the visit",
  "patient_id":  "Unique identifier for the patient",
  "service_ids":  "List of service IDs associated with this visit",
  "status":  "Current status of the visit",
  "type":  "Type of the record, always 'visit' for Visit messages",
  "visit_datetime":  "Scheduled date and time of the visit"
}

Events

Triggering Webhook Types

The following event types are associated with the Visit event payload from Axle Health.

  • Axle Health Lab Order Status Update
{
  "id":  "38902dfa-63d4-4454-afd4-1280b94f94d6",
  "patient_id":  "e0786666-66d2-4a24-a24c-dafa2622332b",
  "service_ids":  [
    "d17d2538-501f-4915-a801-32e8c418ae14"
  ],
  "status":  "not_started",
  "type":  "visit",
  "visit_datetime":  "2023-05-23T07:30:00-07:00"
}
{
  "id":  "Unique identifier for the visit",
  "patient_id":  "Unique identifier for the patient",
  "service_ids":  "List of service IDs associated with this visit",
  "status":  "Current status of the visit",
  "type":  "Type of the record, always 'visit' for Visit messages",
  "visit_datetime":  "Scheduled date and time of the visit"
}

Payload Field Details

Visit
Event Payload
type
string
required

Type of the record, always ‘visit’ for Visit messages

CEL
type
Example
"visit"
id
string
required

Unique identifier for the visit

CEL
id
Example
"38902dfa-63d4-4454-afd4-1280b94f94d6"
service_ids
[]string
required

List of service IDs associated with this visit

CEL
service_ids
Example
[
"d17d2538-501f-4915-a801-32e8c418ae14"
]
patient_id
string
required

Unique identifier for the patient

CEL
patient_id
Example
"e0786666-66d2-4a24-a24c-dafa2622332b"
status
string

Current status of the visit

CEL
status
Example
"not_started"
visit_datetime
timing.v1.Timestamp

Scheduled date and time of the visit

CEL
visit_datetime
Example
"2023-05-23T07:30:00-07:00"