PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r5.examples@5.0.0-ballot
    http://hl7.org/fhir/StructureDefinition/Subscription
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:
  maxCount: {isModifier: false, short: Maximum number of triggering resources included in notification bundles, type: positiveInt, mustSupport: false, isSummary: true, index: 20}
  content:
    isModifier: false
    short: empty | id-only | full-resource
    type: code
    mustSupport: false
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/subscription-payload-content|5.0.0-ballot'}
    isSummary: true
    index: 19
  name: {isModifier: false, short: Human readable name for this subscription, type: string, mustSupport: false, isSummary: true, index: 1}
  topic: {isModifier: false, short: Reference to the subscription topic being subscribed to, type: canonical, mustSupport: false, isSummary: true, index: 3}
  header: {isModifier: false, short: Usage depends on the channel type, type: string, mustSupport: false, array: true, isSummary: true, index: 15}
  reason: {isModifier: false, short: Description of why this subscription was created, type: string, mustSupport: false, isSummary: true, index: 7}
  heartbeatPeriod: {isModifier: false, short: Interval in seconds to send 'heartbeat' notification, type: unsignedInt, mustSupport: false, isSummary: true, index: 16}
  status:
    isModifier: true
    short: requested | active | error | off | entered-in-error
    index: 2
    type: code
    mustSupport: false
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/subscription-status|5.0.0-ballot'}
    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
  identifier: {isModifier: false, short: Additional identifiers (business identifier), type: Identifier, mustSupport: false, array: true, isSummary: true, index: 0}
  contentType:
    isModifier: false
    short: MIME type to send, or omit for no payload
    type: code
    mustSupport: false
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/mimetypes|5.0.0-ballot'}
    isSummary: true
    index: 18
  timeout: {isModifier: false, short: Timeout in seconds to attempt notification delivery, type: unsignedInt, mustSupport: false, isSummary: true, index: 17}
  managingEntity:
    isModifier: false
    short: Entity responsible for Subscription changes
    refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/HealthcareService', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    type: Reference
    mustSupport: false
    isSummary: true
    index: 6
  end: {isModifier: false, short: When to automatically delete the subscription, type: instant, mustSupport: false, isSummary: true, index: 5}
  filterBy:
    isModifier: false
    short: Criteria for narrowing the subscription topic stream
    index: 8
    type: BackboneElement
    mustSupport: false
    array: true
    elements:
      resourceType:
        isModifier: false
        short: Allowed Data type or Resource (reference to definition) for this Subscription
        type: uri
        mustSupport: false
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/fhir-types'}
        isSummary: true
        index: 9
      filterParameter: {isModifier: false, short: Filter label defined in SubscriptionTopic, type: string, mustSupport: false, isSummary: true, index: 10}
      modifier:
        isModifier: false
        short: = | eq | ne | gt | lt | ge | le | sa | eb | ap | above | below | in | not-in | of-type
        type: code
        mustSupport: false
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/subscription-search-modifier|5.0.0-ballot'}
        isSummary: true
        index: 11
      value: {isModifier: false, short: Literal value or resource path, type: string, mustSupport: false, isSummary: true, index: 12}
    required: [filterParameter, value]
    isSummary: true
  endpoint: {isModifier: false, short: Where the channel points to, type: url, mustSupport: false, isSummary: true, index: 14}
  contact: {isModifier: false, short: Contact details for source (e.g. troubleshooting), type: ContactPoint, mustSupport: false, array: true, isSummary: true, index: 4}
  channelType:
    isModifier: false
    short: Channel type for notifications
    type: Coding
    mustSupport: false
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/subscription-channel-type'}
    isSummary: true
    index: 13
package_version: 5.0.0-ballot
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/Subscription
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 5.0.0-ballot
required: [status, channelType, topic]