description: The subscription resource describes a particular client's request to be notified about a SubscriptionTopic. package_name: hl7.fhir.r5.examples derivation: specialization name: Subscription type: Subscription elements: content: short: empty | id-only | full-resource type: code binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/subscription-payload-content|4.5.0'} isSummary: true index: 17 name: {type: string, short: Human readable name for this subscription, isSummary: true, index: 1} topic: short: Reference to the subscription topic being subscribed to refers: ['http://hl7.org/fhir/StructureDefinition/SubscriptionTopic'] type: Reference isSummary: true index: 3 header: {short: Usage depends on the channel type, type: string, array: true, isSummary: true, index: 13} reason: {short: Description of why this subscription was created, type: string, isSummary: true, index: 6} heartbeatPeriod: {type: unsignedInt, short: Interval in seconds to send 'heartbeat' notification, isSummary: true, index: 14} status: isModifier: true short: requested | active | error | off type: code binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/subscription-state|4.5.0'} isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid isSummary: true index: 2 identifier: {short: Additional identifiers (business identifier), type: Identifier, array: true, isSummary: true, index: 0} contentType: short: MIME type to send, or omit for no payload type: code binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/mimetypes|4.5.0'} isSummary: true index: 16 timeout: {type: unsignedInt, short: Timeout in seconds to attempt notification delivery, isSummary: true, index: 15} end: {short: When to automatically delete the subscription, type: instant, isSummary: true, index: 5} filterBy: type: BackboneElement short: Criteria for narrowing the subscription topic stream isSummary: true array: true index: 7 elements: searchParamName: {type: string, short: Filter label defined in SubscriptionTopic, isSummary: true, index: 8} searchModifier: short: = | eq | ne | gt | lt | ge | le | sa | eb | ap | above | below | in | not-in | of-type type: code binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/subscription-search-modifier|4.5.0'} isSummary: true index: 9 value: {type: string, short: Literal value or resource path, isSummary: true, index: 10} required: [searchParamName, value] endpoint: {short: Where the channel points to, type: url, isSummary: true, index: 12} contact: {short: Contact details for source (e.g. troubleshooting), type: ContactPoint, array: true, isSummary: true, index: 4} channelType: short: Channel type for notifications type: Coding binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/subscription-channel-type'} isSummary: true index: 11 package_version: 4.5.0 class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/Subscription base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 4.5.0 required: [status, channelType, topic]