description: 'A date/time value that is determined based on a duration offset from a target event. DEPRECATED: This extension has been deprecated in favor of the new relative-time extension.' package_name: hl7.fhir.uv.extensions.r3 derivation: constraint name: RelativeDateTime type: Extension elements: extension: type: Extension short: Relative to what event index: 0 slicing: slices: target: match: {} schema: type: Extension short: Relative to what event _required: true index: 0 extensions: {} elements: extension: {index: 1} url: type: uri pattern: {type: uri, value: target} index: 2 value: choices: [valueReference] index: 4 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 5 required: [value, valueReference] targetPath: match: {} schema: short: Relative to which element on the event type: Extension _required: true index: 6 extensions: {} elements: extension: {index: 7} url: type: uri pattern: {type: uri, value: targetPath} index: 8 value: choices: [valueString] index: 10 valueString: {type: string, choiceOf: value, index: 11} required: [value, valueString] relationship: match: {} schema: type: Extension short: before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end _required: true index: 12 extensions: {} elements: extension: {index: 13} url: type: uri pattern: {type: uri, value: relationship} index: 14 value: choices: [valueCode] index: 16 valueCode: {type: code, choiceOf: value, index: 17} required: [value, valueCode] offset: match: {} schema: type: Extension short: How long _required: true index: 18 extensions: {} elements: extension: {index: 19} url: type: uri pattern: {type: uri, value: offset} index: 20 value: choices: [valueDuration, valueRange] index: 22 valueDuration: {type: Duration, choiceOf: value, index: 23} valueRange: {type: Range, choiceOf: value, index: 24} required: [value, valueDuration, valueRange] url: pattern: {type: uri, value: 'http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime'} type: uri index: 25 value: choices: [] index: 27 package_version: 5.3.0-ballot extensions: target: url: null type: Extension short: Relative to what event _required: true index: 0 extensions: {} elements: extension: {index: 1} url: type: uri pattern: {type: uri, value: target} index: 2 value: choices: [valueReference] index: 4 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 5 required: [value, valueReference] targetPath: url: null short: Relative to which element on the event type: Extension _required: true index: 6 extensions: {} elements: extension: {index: 7} url: type: uri pattern: {type: uri, value: targetPath} index: 8 value: choices: [valueString] index: 10 valueString: {type: string, choiceOf: value, index: 11} required: [value, valueString] relationship: url: null type: Extension short: before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end _required: true index: 12 extensions: {} elements: extension: {index: 13} url: type: uri pattern: {type: uri, value: relationship} index: 14 value: choices: [valueCode] index: 16 valueCode: {type: code, choiceOf: value, index: 17} required: [value, valueCode] offset: url: null type: Extension short: How long _required: true index: 18 extensions: {} elements: extension: {index: 19} url: type: uri pattern: {type: uri, value: offset} index: 20 value: choices: [valueDuration, valueRange] index: 22 valueDuration: {type: Duration, choiceOf: value, index: 23} valueRange: {type: Range, choiceOf: value, index: 24} required: [value, valueDuration, valueRange] class: extension kind: complex-type url: http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime base: http://hl7.org/fhir/StructureDefinition/Extension version: 5.3.0-ballot required: [extension]