Documentation Index
Fetch the complete documentation index at: https://docs.morf.health/docs/llms.txt
Use this file to discover all available pages before exploring further.
Events
Triggering Webhook Types
The following event types are associated with the Lab Results event payload from Butterfly Labs.Butterfly Labs Lab Order Results Update
{
"order_definition_code": "BFLY-21H1XI",
"order_id": "ord_dV7RMiCP1Paz0NyxHFWrpF",
"patient_id": "pt_G2d42kA1JrNppciYEE",
"report_generated_date": "2023-06-09T14:08:00+00:00",
"results": [
{
"lab_comments": "Prediabetes: 5.7 - 6.4\nDiabetes: >6.4",
"name": "AST (SGOT)",
"range": null,
"reference_range_high": null,
"reference_range_low": null,
"result_interpretation": "High",
"unit": "IU/L",
"value": null
}
]
}
{
"order_definition_code": "Code identifying the type of lab order",
"order_id": "ID of the order these results belong to",
"patient_id": "ID of the patient these results are for",
"report_generated_date": "When these lab results were generated",
"results": {
"lab_comments": "Additional comments from the lab about this result",
"name": "Name of the test result",
"range": "The range of the test result (in the given units)",
"reference_range_high": "High end of the reference range for this test (in the given units)",
"reference_range_low": "Low end of the reference range for this test (in the given units)",
"result_interpretation": "Interpretation of the result (e.g., High, Low, Ok)",
"unit": "Unit of measurement for the result",
"value": "The value of the test result (in the given units)"
}
}
Payload Field Details
Hide fields
Hide fields
ID of the order these results belong to
CEL
order_id
Example
"ord_dV7RMiCP1Paz0NyxHFWrpF"
ID of the patient these results are for
CEL
patient_id
Example
"pt_G2d42kA1JrNppciYEE"
Code identifying the type of lab order
CEL
order_definition_code
Example
"BFLY-21H1XI"
When these lab results were generated
CEL
report_generated_date
Example
"2023-06-09T14:08:00+00:00"
Description coming soon
CEL
results
Example
[
{
"lab_comments": "Prediabetes: 5.7 - 6.4\nDiabetes: >6.4",
"name": "AST (SGOT)",
"range": null,
"reference_range_high": null,
"reference_range_low": null,
"result_interpretation": "High",
"unit": "IU/L",
"value": null
}
]
Mapped array of: Name of the test result
CEL
results.map(x, x.name)
Example
[
"AST (SGOT)"
]
Mapped array of: The range of the test result (in the given units)
CEL
results.map(x, x.range)
Example
[
null
]
Mapped array of: The value of the test result (in the given units)
CEL
results.map(x, x.value)
Example
[
null
]
Mapped array of: Unit of measurement for the result
CEL
results.map(x, x.unit)
Example
[
"IU/L"
]
Mapped array of: Additional comments from the lab about this result
CEL
results.map(x, x.lab_comments)
Example
[
"Prediabetes: 5.7 - 6.4\nDiabetes: >6.4"
]
Mapped array of: Interpretation of the result (e.g., High, Low, Ok)
CEL
results.map(x, x.result_interpretation)
Example
[
"High"
]
Mapped array of: Low end of the reference range for this test (in the given units)
CEL
results.map(x, x.reference_range_low)
Example
[
null
]
Mapped array of: High end of the reference range for this test (in the given units)
CEL
results.map(x, x.reference_range_high)
Example
[
null
]
