webhooks

A patient has been transferred from one program to another

postWebhookpatient.transfer

Payload

typestring

The event type

Example payload

{
  "type": "patient.transfer",
  "data": {
    "patientId": "182c2e54-3494-4b85-aba5-038cf539d5bf",
    "fromProgramId": "9a5e64b0-0a73-4cb5-ab32-44fea16da4e1",
    "toProgramId": "1eddacc4-26b1-4e65-bf34-897e3be577c1"
  }
}

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.