description: This cross-version extension represents Subscription.channel from http://hl7.org/fhir/StructureDefinition/Subscription|4.0.1 for use in FHIR R5. package_name: hl7.fhir.uv.xver-r4.r5 derivation: constraint name: Ext_R4_Subscription_channel type: Extension elements: extension: base: {max: '*', min: 0, path: Extension.extension} array: true min: 1 index: 0 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 1 slices: type: match: {url: type} schema: short: rest-hook | websocket | email | sms | message _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: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: rest-hook | websocket | email | sms | message choices: [valueCode] index: 4 valueCode: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: code short: rest-hook | websocket | email | sms | message choiceOf: value index: 5 required: [url] endpoint: match: {url: endpoint} schema: short: Where the channel points to 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: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Where the channel points to choices: [valueUrl] index: 9 valueUrl: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: url short: Where the channel points to choiceOf: value index: 10 required: [url] payload: match: {url: payload} schema: short: MIME type to send, or omit for no payload 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: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: MIME type to send, or omit for no payload choices: [valueCode] index: 14 valueCode: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: code short: MIME type to send, or omit for no payload choiceOf: value index: 15 required: [url] header: match: {url: header} schema: short: Usage depends on the channel type 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: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Usage depends on the channel type choices: [valueString] index: 19 valueString: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: string short: Usage depends on the channel type choiceOf: value index: 20 required: [url] url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/4.0/StructureDefinition/extension-Subscription.channel'} index: 21 package_version: 0.0.1-snapshot-2 extensions: type: url: type short: rest-hook | websocket | email | sms | message _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: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: rest-hook | websocket | email | sms | message choices: [valueCode] index: 4 valueCode: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: code short: rest-hook | websocket | email | sms | message choiceOf: value index: 5 required: [url] endpoint: url: endpoint short: Where the channel points to 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: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Where the channel points to choices: [valueUrl] index: 9 valueUrl: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: url short: Where the channel points to choiceOf: value index: 10 required: [url] payload: url: payload short: MIME type to send, or omit for no payload 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: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: MIME type to send, or omit for no payload choices: [valueCode] index: 14 valueCode: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: code short: MIME type to send, or omit for no payload choiceOf: value index: 15 required: [url] header: url: header short: Usage depends on the channel type 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: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Usage depends on the channel type choices: [valueString] index: 19 valueString: base: {max: '1', min: 0, path: 'Extension.value[x]'} type: string short: Usage depends on the channel type choiceOf: value index: 20 required: [url] class: extension kind: complex-type url: http://hl7.org/fhir/4.0/StructureDefinition/extension-Subscription.channel base: http://hl7.org/fhir/StructureDefinition/Extension|5.0.0 version: 0.0.1-snapshot-2 required: [url, extension]