description: The (FHIR) Subscription (resource) is used to define a push-based subscription from a server to another system. Once a Subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined \"channel\" so that another system can take an appropriate action. package_name: koppeltaalv2.00 derivation: constraint name: KT2_Subscription type: Subscription elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: resource-origin: match: {url: null} schema: {type: Extension, url: 'http://koppeltaal.nl/fhir/StructureDefinition/resource-origin', index: 1} min: 0 error: {index: 2} channel: elements: type: short: rest-hook pattern: {type: Code, value: rest-hook} index: 3 payload: {index: 4} package_version: 0.10.1 extensions: resource-origin: {url: 'http://koppeltaal.nl/fhir/StructureDefinition/resource-origin', min: 0, type: Extension, index: 1} class: profile kind: resource url: http://koppeltaal.nl/fhir/StructureDefinition/KT2Subscription base: http://hl7.org/fhir/StructureDefinition/Subscription version: 0.8.0