description: 'RelativeTime Type: RelativeTime is used to express a point in time or an interval of time relative to an event defined in data types other than dateTime.' package_name: hl7.fhir.r6.core derivation: specialization name: RelativeTime type: RelativeTime elements: contextReference: short: The specific event occurrence or resource context used as a base point (reference point) in time refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] type: Reference index: 0 contextDefinition: {type: canonical, short: The type of event used as a base point, index: 1} contextPath: {type: string, short: Path to the element defining the point in time, index: 2} contextCode: type: CodeableConcept short: Coded representation of the event used as a base point (reference point) in time binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/evidence-variable-event'} index: 3 offset: short: An offset or offset range before (negative values) or after (positive values) the event choices: [offsetDuration, offsetRange] index: 5 offsetDuration: {type: Duration, short: An offset or offset range before (negative values) or after (positive values) the event, choiceOf: offset, index: 6} offsetRange: {type: Range, short: An offset or offset range before (negative values) or after (positive values) the event, choiceOf: offset, index: 7} text: {type: string, short: Free-text description, index: 8} package_version: 6.0.0-ballot3 class: complex-type kind: complex-type url: http://hl7.org/fhir/StructureDefinition/RelativeTime base: http://hl7.org/fhir/StructureDefinition/BackboneType version: 6.0.0-ballot3