Consolidated CDA (C-CDA)
4.0.0 - STU4 United States of America flag

This page is part of the CCDA: Consolidated CDA Release (v4.0.0: CCDA 4.0) generated with FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Logical Model: US Realm Date and Time - Interval

Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateTimeInterval Version: 4.0.0
Draft as of 2025-06-20 Computable Name: USRealmDateTimeInterval
Other Identifiers: OID:2.16.840.1.113883.10.20.22.5.3

The US Realm Clinical Document Date and Time datatype flavor records date and time information. If time is provided, it must include a time zone offset.

This data type uses the same rules as US Realm Date and Time (Point in Time), but is used with elements having a datatype of IVL_TS.

Usages:

Changes since version 3.0.0:

  • No changes
  • Formal Views of Template Content

    Description of Template, Differentials, Snapshots and how the different presentations work.

    This structure is derived from IVL_TS

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. IVL_TS C 1..* IVL_TS XML Namespace: urn:hl7-org:v3
    Elements defined in Ancestors:@nullFlavor, @value, @operator, low, center, width, high
    Base for all types and resources
    Logical Container: ClinicalDocument (CDA Class)
    Constraints: ivl-value-shall, ivl-value-should
    ... @value 0..1 ts Either @value or low/high should be present, but not both
    Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    ... low C 0..1 IVXB_TS **MAY** be precise to at least the second
    Constraints: ts-shall-day, ts-should-minute
    .... @value 0..1 ts Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    ... high C 0..1 IVXB_TS **MAY** be precise to at least the second
    Constraints: ts-shall-day, ts-should-minute
    .... @value 0..1 ts Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]

    doco Documentation for this format

    Constraints

    IdGradePath(s)DetailsRequirements
    ivl-value-shallerrorIVL_TSIf a time interval contains @value, then it shall be precise to at least the day.
    : value.exists() implies value.toString().length() >= 10
    ivl-value-shouldwarningIVL_TSIf a time interval contains @value, then it SHOULD contain a time component.
    : value.exists() implies value.toString().length() > 10
    ts-shall-dayerrorIVL_TS.low, IVL_TS.high**SHALL** be precise to at least the day
    : nullFlavor.exists() or value.toString().length() >= 10
    ts-should-minutewarningIVL_TS.low, IVL_TS.high**SHOULD** be precise to at least the minute
    : nullFlavor.exists() or value.toString().length() > 10
    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. IVL_TS C 1..* IVL_TS XML Namespace: urn:hl7-org:v3
    Elements defined in Ancestors:@nullFlavor, @value, @operator, low, center, width, high
    Base for all types and resources
    Logical Container: ClinicalDocument (CDA Class)
    Constraints: ivl-ts-center, ivl-value-shall, ivl-value-should
    ... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ... @value 0..1 ts Either @value or low/high should be present, but not both
    Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    ... @operator 0..1 cs Binding: CDASetOperator (required)
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @value 0..1 ts Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    .... @inclusive 0..1 bl
    ... center 0..1 TS
    ... width 0..1 PQ
    ... high C 0..1 IVXB_TS **MAY** be precise to at least the second
    Constraints: ts-shall-day, ts-should-minute
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @value 0..1 ts Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    .... @inclusive 0..1 bl

    doco Documentation for this format

    Terminology Bindings

    PathConformanceValueSetURI
    IVL_TS.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    IVL_TS.operatorrequiredCDASetOperator
    http://hl7.org/cda/stds/core/ValueSet/CDASetOperator
    IVL_TS.low.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    IVL_TS.high.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

    Constraints

    IdGradePath(s)DetailsRequirements
    ivl-ts-centererrorIVL_TSCenter cannot co-exist with low or high
    : center.empty() or (low.empty() and high.empty())
    ivl-value-shallerrorIVL_TSIf a time interval contains @value, then it shall be precise to at least the day.
    : value.exists() implies value.toString().length() >= 10
    ivl-value-shouldwarningIVL_TSIf a time interval contains @value, then it SHOULD contain a time component.
    : value.exists() implies value.toString().length() > 10
    ts-shall-dayerrorIVL_TS.low, IVL_TS.high**SHALL** be precise to at least the day
    : nullFlavor.exists() or value.toString().length() >= 10
    ts-should-minutewarningIVL_TS.low, IVL_TS.high**SHOULD** be precise to at least the minute
    : nullFlavor.exists() or value.toString().length() > 10
    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. IVL_TS C 1..* IVL_TS XML Namespace: urn:hl7-org:v3
    Elements defined in Ancestors:@nullFlavor, @value, @operator, low, center, width, high
    Base for all types and resources
    Logical Container: ClinicalDocument (CDA Class)
    Constraints: ivl-ts-center, ivl-value-shall, ivl-value-should
    ... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ... @value 0..1 ts Either @value or low/high should be present, but not both
    Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    ... @operator 0..1 cs Binding: CDASetOperator (required)
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @value 0..1 ts Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    .... @inclusive 0..1 bl
    ... center 0..1 TS
    ... width 0..1 PQ
    ... high C 0..1 IVXB_TS **MAY** be precise to at least the second
    Constraints: ts-shall-day, ts-should-minute
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @value 0..1 ts Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    .... @inclusive 0..1 bl

    doco Documentation for this format

    Terminology Bindings

    PathConformanceValueSetURI
    IVL_TS.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    IVL_TS.operatorrequiredCDASetOperator
    http://hl7.org/cda/stds/core/ValueSet/CDASetOperator
    IVL_TS.low.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    IVL_TS.high.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

    Constraints

    IdGradePath(s)DetailsRequirements
    ivl-ts-centererrorIVL_TSCenter cannot co-exist with low or high
    : center.empty() or (low.empty() and high.empty())
    ivl-value-shallerrorIVL_TSIf a time interval contains @value, then it shall be precise to at least the day.
    : value.exists() implies value.toString().length() >= 10
    ivl-value-shouldwarningIVL_TSIf a time interval contains @value, then it SHOULD contain a time component.
    : value.exists() implies value.toString().length() > 10
    ts-shall-dayerrorIVL_TS.low, IVL_TS.high**SHALL** be precise to at least the day
    : nullFlavor.exists() or value.toString().length() >= 10
    ts-should-minutewarningIVL_TS.low, IVL_TS.high**SHOULD** be precise to at least the minute
    : nullFlavor.exists() or value.toString().length() > 10

    This structure is derived from IVL_TS

    Summary

    Differential View

    This structure is derived from IVL_TS

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. IVL_TS C 1..* IVL_TS XML Namespace: urn:hl7-org:v3
    Elements defined in Ancestors:@nullFlavor, @value, @operator, low, center, width, high
    Base for all types and resources
    Logical Container: ClinicalDocument (CDA Class)
    Constraints: ivl-value-shall, ivl-value-should
    ... @value 0..1 ts Either @value or low/high should be present, but not both
    Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    ... low C 0..1 IVXB_TS **MAY** be precise to at least the second
    Constraints: ts-shall-day, ts-should-minute
    .... @value 0..1 ts Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    ... high C 0..1 IVXB_TS **MAY** be precise to at least the second
    Constraints: ts-shall-day, ts-should-minute
    .... @value 0..1 ts Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]

    doco Documentation for this format

    Constraints

    IdGradePath(s)DetailsRequirements
    ivl-value-shallerrorIVL_TSIf a time interval contains @value, then it shall be precise to at least the day.
    : value.exists() implies value.toString().length() >= 10
    ivl-value-shouldwarningIVL_TSIf a time interval contains @value, then it SHOULD contain a time component.
    : value.exists() implies value.toString().length() > 10
    ts-shall-dayerrorIVL_TS.low, IVL_TS.high**SHALL** be precise to at least the day
    : nullFlavor.exists() or value.toString().length() >= 10
    ts-should-minutewarningIVL_TS.low, IVL_TS.high**SHOULD** be precise to at least the minute
    : nullFlavor.exists() or value.toString().length() > 10

    Key Elements View

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. IVL_TS C 1..* IVL_TS XML Namespace: urn:hl7-org:v3
    Elements defined in Ancestors:@nullFlavor, @value, @operator, low, center, width, high
    Base for all types and resources
    Logical Container: ClinicalDocument (CDA Class)
    Constraints: ivl-ts-center, ivl-value-shall, ivl-value-should
    ... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ... @value 0..1 ts Either @value or low/high should be present, but not both
    Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    ... @operator 0..1 cs Binding: CDASetOperator (required)
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @value 0..1 ts Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    .... @inclusive 0..1 bl
    ... center 0..1 TS
    ... width 0..1 PQ
    ... high C 0..1 IVXB_TS **MAY** be precise to at least the second
    Constraints: ts-shall-day, ts-should-minute
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @value 0..1 ts Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    .... @inclusive 0..1 bl

    doco Documentation for this format

    Terminology Bindings

    PathConformanceValueSetURI
    IVL_TS.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    IVL_TS.operatorrequiredCDASetOperator
    http://hl7.org/cda/stds/core/ValueSet/CDASetOperator
    IVL_TS.low.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    IVL_TS.high.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

    Constraints

    IdGradePath(s)DetailsRequirements
    ivl-ts-centererrorIVL_TSCenter cannot co-exist with low or high
    : center.empty() or (low.empty() and high.empty())
    ivl-value-shallerrorIVL_TSIf a time interval contains @value, then it shall be precise to at least the day.
    : value.exists() implies value.toString().length() >= 10
    ivl-value-shouldwarningIVL_TSIf a time interval contains @value, then it SHOULD contain a time component.
    : value.exists() implies value.toString().length() > 10
    ts-shall-dayerrorIVL_TS.low, IVL_TS.high**SHALL** be precise to at least the day
    : nullFlavor.exists() or value.toString().length() >= 10
    ts-should-minutewarningIVL_TS.low, IVL_TS.high**SHOULD** be precise to at least the minute
    : nullFlavor.exists() or value.toString().length() > 10

    Snapshot View

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. IVL_TS C 1..* IVL_TS XML Namespace: urn:hl7-org:v3
    Elements defined in Ancestors:@nullFlavor, @value, @operator, low, center, width, high
    Base for all types and resources
    Logical Container: ClinicalDocument (CDA Class)
    Constraints: ivl-ts-center, ivl-value-shall, ivl-value-should
    ... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    ... @value 0..1 ts Either @value or low/high should be present, but not both
    Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    ... @operator 0..1 cs Binding: CDASetOperator (required)
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @value 0..1 ts Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    .... @inclusive 0..1 bl
    ... center 0..1 TS
    ... width 0..1 PQ
    ... high C 0..1 IVXB_TS **MAY** be precise to at least the second
    Constraints: ts-shall-day, ts-should-minute
    .... @nullFlavor 0..1 cs Binding: CDANullFlavor (required)
    .... @value 0..1 ts Date Format: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
    .... @inclusive 0..1 bl

    doco Documentation for this format

    Terminology Bindings

    PathConformanceValueSetURI
    IVL_TS.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    IVL_TS.operatorrequiredCDASetOperator
    http://hl7.org/cda/stds/core/ValueSet/CDASetOperator
    IVL_TS.low.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    IVL_TS.high.nullFlavorrequiredCDANullFlavor
    http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

    Constraints

    IdGradePath(s)DetailsRequirements
    ivl-ts-centererrorIVL_TSCenter cannot co-exist with low or high
    : center.empty() or (low.empty() and high.empty())
    ivl-value-shallerrorIVL_TSIf a time interval contains @value, then it shall be precise to at least the day.
    : value.exists() implies value.toString().length() >= 10
    ivl-value-shouldwarningIVL_TSIf a time interval contains @value, then it SHOULD contain a time component.
    : value.exists() implies value.toString().length() > 10
    ts-shall-dayerrorIVL_TS.low, IVL_TS.high**SHALL** be precise to at least the day
    : nullFlavor.exists() or value.toString().length() >= 10
    ts-should-minutewarningIVL_TS.low, IVL_TS.high**SHOULD** be precise to at least the minute
    : nullFlavor.exists() or value.toString().length() > 10

    This structure is derived from IVL_TS

    Summary

     

    Other representations of profile: CSV, Excel