Skip to content

Breathalyzer

View as Markdown

Subscribe to breathalyzer to receive breathalyzer results.

event_type Sent when
breathalyzer.result.posted A breathalyzer result is posted or changed.
breathalyzer.result.deleted A breathalyzer result is deleted.
{
"event_type": "breathalyzer.result.posted",
"data": {
"medical_record_number": "3f2b8c1e-7a4d-4e9b-9c55-0d6a1f2e8b47",
"plan_name": "Standard Plan",
"test_date": "2026-01-01T18:45:00.000Z",
"test_result": "Negative",
"test_type": "Breathalyzer",
"self_reported": false,
"test_notes": "Evening test.",
"test_id": "665f1c2ab7e4d90012a3f4c3"
}
}
Field Type Description
medical_record_number string (UUID) The member’s medical record number.
plan_name string The member’s plan. Optional.
test_date string (date-time) When the test was taken.
test_result string Positive, Negative or Missed.
test_type string Always Breathalyzer.
self_reported boolean true when the member reported the result themselves. false for results read from the device.
test_notes string Notes on the result. Optional.
test_id string The result’s ID. The same ID is sent again if the result changes or is deleted.
{
"event_type": "breathalyzer.result.deleted",
"data": {
"test_id": "665f1c2ab7e4d90012a3f4c3"
}
}
Field Type Description
test_id string The ID of the deleted result.