webhooks

A patient has been discharged from a clinic program

postWebhookpatient.discharge

Payload

typestring

The event type

Example payload

{
  "type": "patient.discharge",
  "data": {
    "patientId": "182c2e54-3494-4b85-aba5-038cf539d5bf",
    "programId": "9a5e64b0-0a73-4cb5-ab32-44fea16da4e1"
  }
}

Response

200 status indicates that the data was received successfully

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.