FHIR Extensions Pack
5.1.0-snapshot1 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. 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: 5.1.0-snapshot1
Standards status: Trial-use Maturity Level: 3 Responsible: HL7 International / Clinical Decision Support Computable Name: RelativeDateTime
Other Identifiers: urn:ietf:rfc:3986#Uniform Resource Identifier (URI)#urn:oid:2.16.840.1.113883.4.642.5.1685

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

Changes since version 1.0.0:

  • The resource metadata has changed (publisher)
  • 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 4..*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 4..*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

    PathConformanceValueSetURI
    Extension.extension:relationship.value[x]requiredActionRelationshipType
    http://hl7.org/fhir/ValueSet/action-relationship-type
    from the FHIR Standard

    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)