PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r3.r5@0.1.0
    http://hl7.org/fhir/3.0/StructureDefinition/extension-Subscription.channel
description: 'STU3: `Subscription.channel` (new:BackboneElement)'
package_name: hl7.fhir.uv.xver-r3.r5
derivation: constraint
name: ExtensionSubscription_Channel
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    min: 1
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        type:
          match: {url: type}
          schema:
            short: 'STU3: rest-hook | websocket | email | sms | message (new)'
            _required: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: type}
                index: 2
              value:
                short: rest-hook | websocket | email | sms | message
                choices: [valueCode]
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                index: 4
              valueCode:
                short: rest-hook | websocket | email | sms | message
                type: code
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 5
            required: [url, valueCode, value]
        endpoint:
          match: {url: endpoint}
          schema:
            short: 'STU3: Where the channel points to (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: endpoint}
                index: 7
              value:
                short: Where the channel points to
                choices: [valueUri]
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                index: 9
              valueUri:
                short: Where the channel points to
                type: uri
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 10
            required: [url]
        payload:
          match: {url: payload}
          schema:
            short: 'STU3: Mimetype to send, or omit for no payload (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: payload}
                index: 12
              value:
                short: Mimetype to send, or omit for no payload
                choices: [valueString]
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                index: 14
              valueString:
                short: Mimetype to send, or omit for no payload
                type: string
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 15
            required: [url]
        header:
          match: {url: header}
          schema:
            short: 'STU3: Usage depends on the channel type (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 16
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: header}
                index: 17
              value:
                short: Usage depends on the channel type
                choices: [valueString]
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                index: 19
              valueString:
                short: Usage depends on the channel type
                type: string
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 20
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Subscription.channel'}
    index: 21
  value:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    choices: []
    index: 23
package_version: 0.1.0
extensions:
  type:
    url: type
    short: 'STU3: rest-hook | websocket | email | sms | message (new)'
    _required: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: type}
        index: 2
      value:
        short: rest-hook | websocket | email | sms | message
        choices: [valueCode]
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        index: 4
      valueCode:
        short: rest-hook | websocket | email | sms | message
        type: code
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 5
    required: [url, valueCode, value]
  endpoint:
    url: endpoint
    short: 'STU3: Where the channel points to (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: endpoint}
        index: 7
      value:
        short: Where the channel points to
        choices: [valueUri]
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        index: 9
      valueUri:
        short: Where the channel points to
        type: uri
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 10
    required: [url]
  payload:
    url: payload
    short: 'STU3: Mimetype to send, or omit for no payload (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: payload}
        index: 12
      value:
        short: Mimetype to send, or omit for no payload
        choices: [valueString]
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        index: 14
      valueString:
        short: Mimetype to send, or omit for no payload
        type: string
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 15
    required: [url]
  header:
    url: header
    short: 'STU3: Usage depends on the channel type (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 16
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: header}
        index: 17
      value:
        short: Usage depends on the channel type
        choices: [valueString]
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        index: 19
      valueString:
        short: Usage depends on the channel type
        type: string
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 20
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/3.0/StructureDefinition/extension-Subscription.channel
base: http://hl7.org/fhir/StructureDefinition/Extension|5.0.0
version: 0.1.0
required: [url, extension]