description: This extension supports the sharing of the observation(s) that triggered the performance of the main observation. package_name: fhir.r4.ukcore.stu3.currentbuild derivation: constraint name: ExtensionUKCoreTriggeredBy type: Extension elements: extension: array: true min: 2 index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 2 slices: observation: match: {url: observation} schema: short: Triggering observation _required: true index: 1 elements: url: pattern: {type: uri, value: observation} type: uri index: 2 value: choices: [valueReference] index: 4 valueReference: type: Reference choiceOf: value refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation'] index: 5 required: [value, valueReference] type: match: {url: type} schema: short: reflex | repeat | re-run binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/observation-triggeredbytype'} _required: true index: 6 elements: url: pattern: {type: uri, value: type} type: uri index: 7 value: choices: [valueCode] index: 9 valueCode: {type: code, choiceOf: value, index: 10} required: [value, valueCode] reason: match: {url: reason} schema: short: Reason that the observation was triggered index: 11 elements: url: pattern: {type: uri, value: reason} type: uri index: 12 value: choices: [valueString] index: 14 valueString: {type: string, choiceOf: value, index: 15} required: [value, valueString] url: pattern: {type: uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy'} type: uri index: 16 value: choices: [] index: 18 package_version: 0.0.6-pre-release extensions: observation: url: observation short: Triggering observation _required: true index: 1 elements: url: pattern: {type: uri, value: observation} type: uri index: 2 value: choices: [valueReference] index: 4 valueReference: type: Reference choiceOf: value refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation'] index: 5 required: [value, valueReference] type: url: type short: reflex | repeat | re-run binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/observation-triggeredbytype'} _required: true index: 6 elements: url: pattern: {type: uri, value: type} type: uri index: 7 value: choices: [valueCode] index: 9 valueCode: {type: code, choiceOf: value, index: 10} required: [value, valueCode] reason: url: reason short: Reason that the observation was triggered index: 11 elements: url: pattern: {type: uri, value: reason} type: uri index: 12 value: choices: [valueString] index: 14 valueString: {type: string, choiceOf: value, index: 15} required: [value, valueString] class: extension kind: complex-type url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy base: http://hl7.org/fhir/StructureDefinition/Extension version: '1.0'