code.ai_flagged
code.ai_flagged
Sent to endpoints subscribed to code.ai_flagged (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 |
studyUid |
string | The study's Study Instance UID |
appId |
string | The AI app (Settings › AI apps) |
priority |
"high" | "critical" |
AI priority the study reached (high or critical) for AI events;
the order priority the SLA applies to (stat, asap,
routine or any) for SLA events; for a stopper,
stat, asap or routine
|
notify |
array | Members this event is addressed to |
Example
{
"id": "evt_01JA2Z6Q7Y9K3M5N8P0R2S4TWX",
"type": "code.ai_flagged",
"version": 1,
"tenantId": "01JA2Z6Q7Y9K3M5N8P0R2S4TTV",
"occurredAt": 1792161000000,
"severity": "critical",
"data": {
"codeId": "01JA2Z6Q7Y9K3M5N8P0R2S4TCA",
"kind": "stroke",
"encounterId": "01JA2Z6Q7Y9K3M5N8P0R2S4TEN",
"studyUid": "1.2.826.0.1.3680043.10.543.20261016.1",
"appId": "01JA2Z6Q7Y9K3M5N8P0R2S4TDP",
"priority": "critical",
"notify": [
"01JA2Z6Q7Y9K3M5N8P0R2S4T6F"
]
},
"links": {
"app": "https://app.pacspilot.com/?study=1.2.826.0.1.3680043.10.543.20261016.1"
}
}