description: This cross-version extension represents SubscriptionStatus from http://hl7.org/fhir/StructureDefinition/SubscriptionStatus|4.3.0 for use in FHIR R4. package_name: hl7.fhir.uv.xver-r4b.r4 derivation: constraint name: ext_R4B_SubscriptionStatus type: Extension elements: extension: array: true min: 2 index: 0 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 2 slices: status: match: {url: null} schema: short: requested | active | error | off | entered-in-error isModifier: false index: 1 elements: value: base: {path: 'Extension.value[x]'} short: requested | active | error | off | entered-in-error choices: [valueCode] index: 3 valueCode: base: {path: 'Extension.value[x]'} type: code short: requested | active | error | off | entered-in-error choiceOf: value index: 4 type: match: {url: null} schema: isModifier: true short: handshake | heartbeat | event-notification | query-status | query-event _required: true isModifierReason: Not known why this is labelled a modifier index: 5 elements: value: base: {path: 'Extension.value[x]'} short: handshake | heartbeat | event-notification | query-status | query-event choices: [valueCode] index: 7 valueCode: base: {path: 'Extension.value[x]'} type: code short: handshake | heartbeat | event-notification | query-status | query-event choiceOf: value index: 8 eventsSinceSubscriptionStart: match: {url: null} schema: short: Events since the Subscription was created isModifier: false index: 9 elements: value: base: {path: 'Extension.value[x]'} short: Events since the Subscription was created choices: [valueString] index: 11 valueString: base: {path: 'Extension.value[x]'} type: string short: Events since the Subscription was created choiceOf: value index: 12 notificationEvent: match: {url: null} schema: short: Detailed information about any events relevant to this notification isModifier: false array: true index: 13 extensions: eventNumber: url: null short: Event number isModifier: false _required: true index: 15 elements: value: base: {path: 'Extension.value[x]'} short: Event number choices: [valueString] index: 17 valueString: base: {path: 'Extension.value[x]'} type: string short: Event number choiceOf: value index: 18 timestamp: url: null short: The instant this event occurred isModifier: false index: 19 elements: value: base: {path: 'Extension.value[x]'} short: The instant this event occurred choices: [valueInstant] index: 21 valueInstant: base: {path: 'Extension.value[x]'} type: instant short: The instant this event occurred choiceOf: value index: 22 focus: url: null short: The focus of this event isModifier: false index: 23 elements: value: base: {path: 'Extension.value[x]'} short: The focus of this event choices: [valueReference] index: 25 valueReference: base: {path: 'Extension.value[x]'} type: Reference short: The focus of this event choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 26 additionalContext: url: null short: Additional context for this event isModifier: false array: true index: 27 elements: value: base: {path: 'Extension.value[x]'} short: Additional context for this event choices: [valueReference] index: 29 valueReference: base: {path: 'Extension.value[x]'} type: Reference short: Additional context for this event choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 30 elements: extension: array: true min: 1 index: 14 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 1 slices: eventNumber: match: {url: null} schema: short: Event number isModifier: false _required: true index: 15 elements: value: base: {path: 'Extension.value[x]'} short: Event number choices: [valueString] index: 17 valueString: base: {path: 'Extension.value[x]'} type: string short: Event number choiceOf: value index: 18 timestamp: match: {url: null} schema: short: The instant this event occurred isModifier: false index: 19 elements: value: base: {path: 'Extension.value[x]'} short: The instant this event occurred choices: [valueInstant] index: 21 valueInstant: base: {path: 'Extension.value[x]'} type: instant short: The instant this event occurred choiceOf: value index: 22 focus: match: {url: null} schema: short: The focus of this event isModifier: false index: 23 elements: value: base: {path: 'Extension.value[x]'} short: The focus of this event choices: [valueReference] index: 25 valueReference: base: {path: 'Extension.value[x]'} type: Reference short: The focus of this event choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 26 additionalContext: match: {url: null} schema: short: Additional context for this event isModifier: false array: true index: 27 elements: value: base: {path: 'Extension.value[x]'} short: Additional context for this event choices: [valueReference] index: 29 valueReference: base: {path: 'Extension.value[x]'} type: Reference short: Additional context for this event choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 30 required: [extension] subscription: match: {url: null} schema: short: Reference to the Subscription responsible for this notification isModifier: false _required: true index: 31 elements: value: base: {path: 'Extension.value[x]'} short: Reference to the Subscription responsible for this notification choices: [valueReference] index: 33 valueReference: base: {path: 'Extension.value[x]'} type: Reference short: Reference to the Subscription responsible for this notification choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Subscription'] index: 34 topic: match: {url: null} schema: short: Reference to the SubscriptionTopic this notification relates to isModifier: false index: 35 elements: value: base: {path: 'Extension.value[x]'} short: Reference to the SubscriptionTopic this notification relates to choices: [valueCanonical] index: 37 valueCanonical: base: {path: 'Extension.value[x]'} type: canonical short: Reference to the SubscriptionTopic this notification relates to choiceOf: value index: 38 error: match: {url: null} schema: short: List of errors on the subscription isModifier: false array: true index: 39 elements: value: base: {path: 'Extension.value[x]'} short: List of errors on the subscription choices: [valueCodeableConcept] index: 41 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: List of errors on the subscription choiceOf: value index: 42 url: pattern: {type: uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-SubscriptionStatus'} type: uri index: 43 package_version: 0.0.1-snapshot-1 extensions: status: url: null short: requested | active | error | off | entered-in-error isModifier: false index: 1 elements: value: base: {path: 'Extension.value[x]'} short: requested | active | error | off | entered-in-error choices: [valueCode] index: 3 valueCode: base: {path: 'Extension.value[x]'} type: code short: requested | active | error | off | entered-in-error choiceOf: value index: 4 type: url: null isModifier: true short: handshake | heartbeat | event-notification | query-status | query-event _required: true isModifierReason: Not known why this is labelled a modifier index: 5 elements: value: base: {path: 'Extension.value[x]'} short: handshake | heartbeat | event-notification | query-status | query-event choices: [valueCode] index: 7 valueCode: base: {path: 'Extension.value[x]'} type: code short: handshake | heartbeat | event-notification | query-status | query-event choiceOf: value index: 8 eventsSinceSubscriptionStart: url: null short: Events since the Subscription was created isModifier: false index: 9 elements: value: base: {path: 'Extension.value[x]'} short: Events since the Subscription was created choices: [valueString] index: 11 valueString: base: {path: 'Extension.value[x]'} type: string short: Events since the Subscription was created choiceOf: value index: 12 notificationEvent: url: null short: Detailed information about any events relevant to this notification isModifier: false array: true index: 13 extensions: eventNumber: url: null short: Event number isModifier: false _required: true index: 15 elements: value: base: {path: 'Extension.value[x]'} short: Event number choices: [valueString] index: 17 valueString: base: {path: 'Extension.value[x]'} type: string short: Event number choiceOf: value index: 18 timestamp: url: null short: The instant this event occurred isModifier: false index: 19 elements: value: base: {path: 'Extension.value[x]'} short: The instant this event occurred choices: [valueInstant] index: 21 valueInstant: base: {path: 'Extension.value[x]'} type: instant short: The instant this event occurred choiceOf: value index: 22 focus: url: null short: The focus of this event isModifier: false index: 23 elements: value: base: {path: 'Extension.value[x]'} short: The focus of this event choices: [valueReference] index: 25 valueReference: base: {path: 'Extension.value[x]'} type: Reference short: The focus of this event choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 26 additionalContext: url: null short: Additional context for this event isModifier: false array: true index: 27 elements: value: base: {path: 'Extension.value[x]'} short: Additional context for this event choices: [valueReference] index: 29 valueReference: base: {path: 'Extension.value[x]'} type: Reference short: Additional context for this event choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 30 elements: extension: array: true min: 1 index: 14 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 1 slices: eventNumber: match: {url: null} schema: short: Event number isModifier: false _required: true index: 15 elements: value: base: {path: 'Extension.value[x]'} short: Event number choices: [valueString] index: 17 valueString: base: {path: 'Extension.value[x]'} type: string short: Event number choiceOf: value index: 18 timestamp: match: {url: null} schema: short: The instant this event occurred isModifier: false index: 19 elements: value: base: {path: 'Extension.value[x]'} short: The instant this event occurred choices: [valueInstant] index: 21 valueInstant: base: {path: 'Extension.value[x]'} type: instant short: The instant this event occurred choiceOf: value index: 22 focus: match: {url: null} schema: short: The focus of this event isModifier: false index: 23 elements: value: base: {path: 'Extension.value[x]'} short: The focus of this event choices: [valueReference] index: 25 valueReference: base: {path: 'Extension.value[x]'} type: Reference short: The focus of this event choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 26 additionalContext: match: {url: null} schema: short: Additional context for this event isModifier: false array: true index: 27 elements: value: base: {path: 'Extension.value[x]'} short: Additional context for this event choices: [valueReference] index: 29 valueReference: base: {path: 'Extension.value[x]'} type: Reference short: Additional context for this event choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 30 required: [extension] subscription: url: null short: Reference to the Subscription responsible for this notification isModifier: false _required: true index: 31 elements: value: base: {path: 'Extension.value[x]'} short: Reference to the Subscription responsible for this notification choices: [valueReference] index: 33 valueReference: base: {path: 'Extension.value[x]'} type: Reference short: Reference to the Subscription responsible for this notification choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Subscription'] index: 34 topic: url: null short: Reference to the SubscriptionTopic this notification relates to isModifier: false index: 35 elements: value: base: {path: 'Extension.value[x]'} short: Reference to the SubscriptionTopic this notification relates to choices: [valueCanonical] index: 37 valueCanonical: base: {path: 'Extension.value[x]'} type: canonical short: Reference to the SubscriptionTopic this notification relates to choiceOf: value index: 38 error: url: null short: List of errors on the subscription isModifier: false array: true index: 39 elements: value: base: {path: 'Extension.value[x]'} short: List of errors on the subscription choices: [valueCodeableConcept] index: 41 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: List of errors on the subscription choiceOf: value index: 42 class: extension kind: complex-type url: http://hl7.org/fhir/4.3/StructureDefinition/extension-SubscriptionStatus base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.0.1-snapshot-1 required: [url]