{
  "created_at":  "2023-02-16T03:49:39.667Z",
  "definition_code":  "BFLY-21H1XI",
  "definition_encounter_type":  "HOME_VISIT_WITH_KIT",
  "definition_name":  "Follow-Up Panel",
  "id":  "ord_Lmx2DbrO0pvPBjMaH1d8gBx",
  "patient_email_address":  "test@morf.health",
  "patient_id":  "pt_G2d42kA1JrNppciYEE",
  "status":  "RESULTS_READY",
  "updated_at":  "2023-03-06T16:53:23.835Z"
}
{
  "created_at":  "When this order was created",
  "definition_code":  "Code identifying the type of lab order",
  "definition_encounter_type":  "Type of encounter for this order",
  "definition_name":  "Human-readable name of the order type",
  "id":  "Unique identifier for the order",
  "patient_email_address":  "Email address of the patient",
  "patient_id":  "ID of the patient this order is for",
  "status":  "Current status of the order",
  "updated_at":  "When this order was last updated"
}

Events

Triggering Webhook Types

The following event types are associated with the Order event payload from Butterfly Labs.

  • Butterfly Labs Lab Order Status Update
{
  "created_at":  "2023-02-16T03:49:39.667Z",
  "definition_code":  "BFLY-21H1XI",
  "definition_encounter_type":  "HOME_VISIT_WITH_KIT",
  "definition_name":  "Follow-Up Panel",
  "id":  "ord_Lmx2DbrO0pvPBjMaH1d8gBx",
  "patient_email_address":  "test@morf.health",
  "patient_id":  "pt_G2d42kA1JrNppciYEE",
  "status":  "RESULTS_READY",
  "updated_at":  "2023-03-06T16:53:23.835Z"
}
{
  "created_at":  "When this order was created",
  "definition_code":  "Code identifying the type of lab order",
  "definition_encounter_type":  "Type of encounter for this order",
  "definition_name":  "Human-readable name of the order type",
  "id":  "Unique identifier for the order",
  "patient_email_address":  "Email address of the patient",
  "patient_id":  "ID of the patient this order is for",
  "status":  "Current status of the order",
  "updated_at":  "When this order was last updated"
}

Payload Field Details

Order
Event Payload
id
string
required

Unique identifier for the order

CEL
id
Example
"ord_Lmx2DbrO0pvPBjMaH1d8gBx"
patient_id
string
required

ID of the patient this order is for

CEL
patient_id
Example
"pt_G2d42kA1JrNppciYEE"
patient_email_address
string
required

Email address of the patient

CEL
patient_email_address
Example
"test@morf.health"
status
string
required

Current status of the order

CEL
status
Example
"RESULTS_READY"
definition_code
string
required

Code identifying the type of lab order

CEL
definition_code
Example
"BFLY-21H1XI"
definition_encounter_type
string
required

Type of encounter for this order

CEL
definition_encounter_type
Example
"HOME_VISIT_WITH_KIT"
definition_name
string
required

Human-readable name of the order type

CEL
definition_name
Example
"Follow-Up Panel"
created_at
timing.v1.Timestamp
required

When this order was created

CEL
created_at
Example
"2023-02-16T03:49:39.667Z"
updated_at
timing.v1.Timestamp
required

When this order was last updated

CEL
updated_at
Example
"2023-03-06T16:53:23.835Z"