PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r3.core@3.0.2
    http://hl7.org/fhir/StructureDefinition/Subscription
description: Base StructureDefinition for Subscription Resource
package_name: hl7.fhir.r3.core
derivation: specialization
name: Subscription
type: Subscription
elements:
  status: {isModifier: true, short: requested | active | error | off, type: code, isSummary: true, index: 0}
  contact: {short: Contact details for source (e.g. troubleshooting), type: ContactPoint, array: true, isSummary: true, index: 1}
  end: {short: When to automatically delete the subscription, type: instant, isSummary: true, index: 2}
  reason: {short: Description of why this subscription was created, type: string, isSummary: true, index: 3}
  criteria: {short: Rule for server push criteria, type: string, isSummary: true, index: 4}
  error: {type: string, short: Latest error note, isSummary: true, index: 5}
  channel:
    type: BackboneElement
    short: The channel on which to report matches to the criteria
    isSummary: true
    index: 6
    elements:
      type: {short: rest-hook | websocket | email | sms | message, type: code, isSummary: true, index: 7}
      endpoint: {short: Where the channel points to, type: uri, isSummary: true, index: 8}
      payload: {short: 'Mimetype to send, or omit for no payload', type: string, isSummary: true, index: 9}
      header: {short: Usage depends on the channel type, type: string, array: true, isSummary: true, index: 10}
    required: [type]
  tag: {short: A tag to add to matching resources, type: Coding, array: true, isSummary: true, index: 11}
package_version: 3.0.2
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/Subscription
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: null
required: [status, reason, channel, criteria]