New Operation
Sent when a treatment (operation) is added to a patient.
When it’s sent
- A treatment is added to a patient’s chart. Only treatments linked to a procedure from the price list are sent.
type is NEW_OPERATION. See the introduction to subscribe to this event and verify the X-Hub-Signature-256 signature.Headers
HMAC SHA-256 of the raw request body, keyed with your Verify Token, as sha256=<hex>. Sent only when a Verify Token is set.
"sha256=3f1c5e…"
Body
Sent when a treatment (operation) is added to a patient.
Payload version.
v1.0 "v1.0"
Event type.
NEW_OPERATION "NEW_OPERATION"
Operation ID.
"ckx1o0000001"
Quantity.
1
Price.
500
Treatment name.
"Composite filling"
Procedure code.
"D2391"
Tooth numbers.
Procedure ID from the price list.
"ckx1s0000001"
Patient ID.
"ckx1p0000001"
Doctor (user) ID.
"ckx1u0000001"
Basic patient details. Empty object {} when there is no patient.
Branch.
Response
Return any 2xx status within 5 seconds to acknowledge the event. Failed deliveries are not retried.