FHIR Extensions Pack
1.0.0 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v1.0.0: Releases) based on FHIR v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Extension: Relative date time

Official URL: http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime Version: 1.0.0
Standards status: Trial-use Maturity Level: 3 Computable Name: RelativeDateTime

A date/time value that is determined based on a duration offset from a target event.

Context of Use

This extension may be used on the following element(s):

  • Element ID Element

Usage info

Usage:

  • This Extension is not used by any profiles in this Implementation Guide

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

Summary

Complex Extension: A date/time value that is determined based on a duration offset from a target event.

  • target: Reference: The event that the date/time value is relative to.
  • targetPath: string: The path to the element that defines the effective period for the event that the date/time value is relative to.
  • relationship: code: The relationship to the effective period of the target event that the date/time value is relative to.
  • offset: Duration, Range: A duration or range of durations that specifies the offset between the date/time value and the target event. For example, 30-60 minutes before.

Maturity: 3

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionA date/time that is specified relative to another event
... extension:target 1..1ExtensionRelative to what event
.... extension 0..0
.... url 1..1uri"target"
.... value[x] 1..1Reference(Resource)Value of extension
... extension:targetPath 1..1ExtensionRelative to which element on the event
.... extension 0..0
.... url 1..1uri"targetPath"
.... value[x] 1..1stringValue of extension
... extension:relationship 1..1Extensionbefore-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end
.... extension 0..0
.... url 1..1uri"relationship"
.... value[x] 1..1codeValue of extension
Binding: ActionRelationshipType (required)
.... extension 0..0
.... url 1..1uri"offset"
.... value[x] 1..1Value of extension
..... valueDurationDuration
..... valueRangeRange
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionA date/time that is specified relative to another event
... id 0..1idUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:target 1..1ExtensionRelative to what event
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"target"
.... value[x] 1..1Reference(Resource)Value of extension
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"targetPath"
.... value[x] 1..1stringValue of extension
... extension:relationship 1..1Extensionbefore-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"relationship"
.... value[x] 1..1codeValue of extension
Binding: ActionRelationshipType (required)
... extension:offset 1..1ExtensionHow long
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"offset"
.... value[x] 1..1Value of extension
..... valueDurationDuration
..... valueRangeRange
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: A date/time value that is determined based on a duration offset from a target event.

  • target: Reference: The event that the date/time value is relative to.
  • targetPath: string: The path to the element that defines the effective period for the event that the date/time value is relative to.
  • relationship: code: The relationship to the effective period of the target event that the date/time value is relative to.
  • offset: Duration, Range: A duration or range of durations that specifies the offset between the date/time value and the target event. For example, 30-60 minutes before.

Maturity: 3

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionA date/time that is specified relative to another event
... extension:target 1..1ExtensionRelative to what event
.... extension 0..0
.... url 1..1uri"target"
.... value[x] 1..1Reference(Resource)Value of extension
... extension:targetPath 1..1ExtensionRelative to which element on the event
.... extension 0..0
.... url 1..1uri"targetPath"
.... value[x] 1..1stringValue of extension
... extension:relationship 1..1Extensionbefore-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end
.... extension 0..0
.... url 1..1uri"relationship"
.... value[x] 1..1codeValue of extension
Binding: ActionRelationshipType (required)
.... extension 0..0
.... url 1..1uri"offset"
.... value[x] 1..1Value of extension
..... valueDurationDuration
..... valueRangeRange
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionA date/time that is specified relative to another event
... id 0..1idUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:target 1..1ExtensionRelative to what event
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"target"
.... value[x] 1..1Reference(Resource)Value of extension
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"targetPath"
.... value[x] 1..1stringValue of extension
... extension:relationship 1..1Extensionbefore-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"relationship"
.... value[x] 1..1codeValue of extension
Binding: ActionRelationshipType (required)
... extension:offset 1..1ExtensionHow long
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"offset"
.... value[x] 1..1Value of extension
..... valueDurationDuration
..... valueRangeRange
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Extension.extension:relationship.value[x]requiredActionRelationshipType

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Search Parameters for this Extension

(none found)