Skip to content

code.activated

code.activated

Sent to endpoints subscribed to code.activated (Settings › Webhooks). Severity critical.

Verify the signature before trusting the body; see webhooks.

data

Field Type Description
codeId string The code activation (stroke code, trauma activation or STEMI) on the ED board
kind string agent or gateway for site events; followup for follow-up events; lay_letter, provider_report or patient_report for MQSA notices; study or document for image exchange pulls; acr, mqsa_cert, state, survey, phantom_cert or other for equipment QC dates; count or specimen for OR films; stroke, trauma or stemi for codes; license, privilege or payer for reader credentials; assign or sign for credential overrides
encounterId string The patient visit the code runs on
startedBy string The member who started the code
notify array Members this event is addressed to

Example

{
  "id": "evt_01JA2Z6Q7Y9K3M5N8P0R2S4TWX",
  "type": "code.activated",
  "version": 1,
  "tenantId": "01JA2Z6Q7Y9K3M5N8P0R2S4TTV",
  "occurredAt": 1792161000000,
  "severity": "critical",
  "data": {
    "codeId": "01JA2Z6Q7Y9K3M5N8P0R2S4TCA",
    "kind": "stroke",
    "encounterId": "01JA2Z6Q7Y9K3M5N8P0R2S4TEN",
    "startedBy": "01JA2Z6Q7Y9K3M5N8P0R2S4T5E",
    "notify": [
      "01JA2Z6Q7Y9K3M5N8P0R2S4T6F"
    ]
  },
  "links": {
    "app": "https://app.pacspilot.com/ed"
  }
}

Verify the signature · All event types