status: active # 'active' is default, if 'off' - subscription is disabled
# Subscribe to all changes of Patient and Person resources
event: ['all'] # can be all | create | update | delete
# use matcho engine to filter resources
- matcho: { active: true }
# how to deliver notifications
endpoint: https://myservice/subs/patient
# headers to add to request (for consistency use lowercase names)
Authorization: Bearer <......>
# recomended timeout for web hook in ms, server may use it's own
# this is default value, you can use id-only
content: full-resource # full-resource | id-only
# means aidbox format, or fhir+json to get resource in FHIR format
contentType: json # json | fhir+json