description: Specifies that a date is relative to some event. The event happens [Duration] after [Event]. package_name: hl7.fhir.r5.core derivation: constraint name: RelativeDateCriteria type: Extension elements: extension: short: Event that the date is relative to type: Extension index: 0 slicing: slices: target: match: {} schema: short: Event that the date is relative to type: Extension _required: true index: 0 extensions: {} elements: extension: {index: 1} url: type: uri pattern: {type: Uri, value: target} index: 2 value: choices: [valueCodeableReference] index: 4 valueCodeableReference: {type: CodeableReference, choiceOf: value, index: 5} required: [valueCodeableReference, value] targetPath: match: {} schema: short: Relative to which element on the event type: Extension 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: [valueString, value] 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: [valueCode, value] offset: match: {} schema: type: Extension short: Duration after the event _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: [valueRange, value, valueDuration] url: pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/relative-date'} index: 25 value: choices: [] index: 27 package_version: 5.0.0-snapshot3 extensions: target: url: null short: Event that the date is relative to type: Extension _required: true index: 0 extensions: {} elements: extension: {index: 1} url: type: uri pattern: {type: Uri, value: target} index: 2 value: choices: [valueCodeableReference] index: 4 valueCodeableReference: {type: CodeableReference, choiceOf: value, index: 5} required: [valueCodeableReference, value] targetPath: url: null short: Relative to which element on the event type: Extension 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: [valueString, value] 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: [valueCode, value] offset: url: null type: Extension short: Duration after the event _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: [valueRange, value, valueDuration] class: extension kind: complex-type url: http://hl7.org/fhir/StructureDefinition/relative-date base: http://hl7.org/fhir/StructureDefinition/Extension version: 5.0.0-snapshot3 required: [extension]