http://hl7.org/fhir/StructureDefinition/relative-date|5.2.0

Specifies that a date is relative to some event. The event happens [Duration] after [Event]. DEPRECATED: This extension has been deprecated in favor of the new relative-time extension.
description: 'Specifies that a date is relative to some event. The event happens [Duration] after [Event]. DEPRECATED: This extension has been deprecated in favor of the new relative-time extension.'
derivation: constraint
name: RelativeDateCriteria
type: Extension
elements:
  extension:
    short: Specific event that the date is relative to
    index: 0
    slicing:
      slices:
        targetReference:
          match: {}
          schema:
            short: Specific event that the date is relative to
            _required: true
            index: 0
            extensions: {}
            elements:
              extension: {index: 1}
              url:
                pattern: {type: Uri, value: targetReference}
                index: 2
              value:
                choices: []
                index: 4
            required: [value]
        targetCode:
          match: {}
          schema:
            short: Kind of event that the date is relative to
            _required: true
            index: 5
            extensions: {}
            elements:
              extension: {index: 6}
              url:
                pattern: {type: Uri, value: targetCode}
                index: 7
              value:
                choices: []
                index: 9
            required: [value]
        targetPath:
          match: {}
          schema:
            short: Relative to which element on the event
            index: 10
            extensions: {}
            elements:
              extension: {index: 11}
              url:
                pattern: {type: Uri, value: targetPath}
                index: 12
              value:
                choices: []
                index: 14
            required: [value]
        relationship:
          match: {}
          schema:
            short: before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end
            _required: true
            index: 15
            extensions: {}
            elements:
              extension: {index: 16}
              url:
                pattern: {type: Uri, value: relationship}
                index: 17
              value:
                choices: []
                index: 19
            required: [value]
        offset:
          match: {}
          schema:
            short: Duration after the event
            _required: true
            index: 20
            extensions: {}
            elements:
              extension: {index: 21}
              url:
                pattern: {type: Uri, value: offset}
                index: 22
              value:
                choices: []
                index: 24
            required: [value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/relative-date'}
    index: 25
  value:
    choices: []
    index: 27
extensions:
  targetReference:
    url: null
    short: Specific event that the date is relative to
    _required: true
    index: 0
    extensions: {}
    elements:
      extension: {index: 1}
      url:
        pattern: {type: Uri, value: targetReference}
        index: 2
      value:
        choices: []
        index: 4
    required: [value]
  targetCode:
    url: null
    short: Kind of event that the date is relative to
    _required: true
    index: 5
    extensions: {}
    elements:
      extension: {index: 6}
      url:
        pattern: {type: Uri, value: targetCode}
        index: 7
      value:
        choices: []
        index: 9
    required: [value]
  targetPath:
    url: null
    short: Relative to which element on the event
    index: 10
    extensions: {}
    elements:
      extension: {index: 11}
      url:
        pattern: {type: Uri, value: targetPath}
        index: 12
      value:
        choices: []
        index: 14
    required: [value]
  relationship:
    url: null
    short: before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end
    _required: true
    index: 15
    extensions: {}
    elements:
      extension: {index: 16}
      url:
        pattern: {type: Uri, value: relationship}
        index: 17
      value:
        choices: []
        index: 19
    required: [value]
  offset:
    url: null
    short: Duration after the event
    _required: true
    index: 20
    extensions: {}
    elements:
      extension: {index: 21}
      url:
        pattern: {type: Uri, value: offset}
        index: 22
      value:
        choices: []
        index: 24
    required: [value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/relative-date
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 5.2.0
required: [extension]