FHIR General Extensions IG
0.1.0 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v0.1.0: Releases Draft) based on FHIR v5.0.0. . For a full list of available versions, see the Directory of published versions

Extension: Relative Date Criteria

Official URL: http://hl7.org/fhir/StructureDefinition/relative-date Version: 0.1.0
Standards status: Trial-use Maturity Level: 1 Computable Name: RelativeDateCriteria

Specifies that a date is relative to some event. The event happens [Duration] after [Event].

Context of Use

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

  • Element ID date
  • Element ID dateTime

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

Mandatory: 6 elements (1 nested mandatory element)
Fixed Value: 5 elements
Prohibited: 5 elements

Maturity: 1

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionRelative Date Criteria
... extension:target 1..1ExtensionEvent that the date is relative to
.... extension 0..0
.... url 1..1uri"target"
.... value[x] 1..1CodeableReference()Value of extension
... extension:targetPath 0..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 (preferred)
.... extension 0..0
.... url 1..1uri"offset"
.... value[x] 1..1Value of extension
..... valueDurationDuration
..... valueRangeRange
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/relative-date"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionRelative Date Criteria
... 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..1ExtensionEvent that the date is relative to
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"target"
.... value[x] 1..1CodeableReference()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 (preferred)
... extension:offset 1..1ExtensionDuration after the event
.... 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/relative-date"

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 6 elements (1 nested mandatory element)
Fixed Value: 5 elements
Prohibited: 5 elements

Maturity: 1

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionRelative Date Criteria
... extension:target 1..1ExtensionEvent that the date is relative to
.... extension 0..0
.... url 1..1uri"target"
.... value[x] 1..1CodeableReference()Value of extension
... extension:targetPath 0..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 (preferred)
.... extension 0..0
.... url 1..1uri"offset"
.... value[x] 1..1Value of extension
..... valueDurationDuration
..... valueRangeRange
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/relative-date"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionRelative Date Criteria
... 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..1ExtensionEvent that the date is relative to
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"target"
.... value[x] 1..1CodeableReference()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 (preferred)
... extension:offset 1..1ExtensionDuration after the event
.... 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/relative-date"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

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

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)

;