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

Specifies that a date is relative to some event. The event happens [Duration] after [Event].
description: Specifies that a date is relative to some event. The event happens [Duration] after [Event].
derivation: constraint
name: Relative Date Criteria
type: Extension
elements:
  extension:
    short: Event that the date is relative to
    index: 0
    slicing:
      slices:
        event:
          match: {}
          schema:
            short: Event that the date is relative to
            _required: true
            index: 0
            extensions: {}
            elements:
              extension: {index: 1}
              url:
                pattern: {type: Uri, value: event}
                index: 2
              value:
                choices: []
                index: 4
            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: 5
            extensions: {}
            elements:
              extension: {index: 6}
              url:
                pattern: {type: Uri, value: relationship}
                index: 7
              value:
                choices: []
                index: 9
            required: [value]
        offset:
          match: {}
          schema:
            short: Duration after the event
            _required: true
            index: 10
            extensions: {}
            elements:
              extension: {index: 11}
              url:
                pattern: {type: Uri, value: offset}
                index: 12
              value:
                choices: []
                index: 14
            required: [value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/relative-date'}
    index: 15
  value:
    choices: []
    index: 17
extensions:
  event:
    url: null
    short: Event that the date is relative to
    _required: true
    index: 0
    extensions: {}
    elements:
      extension: {index: 1}
      url:
        pattern: {type: Uri, value: event}
        index: 2
      value:
        choices: []
        index: 4
    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: 5
    extensions: {}
    elements:
      extension: {index: 6}
      url:
        pattern: {type: Uri, value: relationship}
        index: 7
      value:
        choices: []
        index: 9
    required: [value]
  offset:
    url: null
    short: Duration after the event
    _required: true
    index: 10
    extensions: {}
    elements:
      extension: {index: 11}
      url:
        pattern: {type: Uri, value: offset}
        index: 12
      value:
        choices: []
        index: 14
    required: [value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/relative-date
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 4.0.1
required: [extension]