Nictiz FHIR NL R4 Zib2020
0.9.0 - CI Build

Nictiz FHIR NL R4 Zib2020 - Local Development build (v0.9.0). See the Directory of published versions

Data Type Profile: zib TimeInterval ( Abstract )

Official URL: http://nictiz.nl/fhir/StructureDefinition/zib-TimeInterval Version: 0.9.0
Draft as of 2023-10-17 Computable Name: ZibTimeInterval

Copyright/Legal: Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.

A time interval indicates the time between two moments in time. Interval can be defined by a start time and end time, start time and duration or duration and end time.

This Period datatype profile is one of the three StructureDefinitions that can be used to represent the Dutch (partial) zib (‘Zorginformatiebouwsteen’, i.e. Health and Care Information Model) TimeInterval v1.0 (2020).

This zib is represented in FHIR by a combination of two datatypes: Period and Duration. To support this zib across different FHIR resource types, three related StructureDefinitions are provided:

  • ext-TimeInterval.Duration: extension to provide the Duration datatype to resource types where no element with this datatype is normally available. This exentions should not be used in isolation, but only via one of the two resources described below!
  • zib-TimeInterval (this profile): profile on the Period datatype that defines mappings to zib TimeInterval and brings in the ext-TimeInterval.Duration extension mentioned above. For resource types that natively support an element of the Period datatype but not of the Duration datatype, this profile should be used.
  • ext-TimeInterval.Period: extension to provide the Period datatype plus the Duration extension mentioned above, with mappings to zib TimeInterval. For resource types that support neither elements of datatype Period or Duration, this extension should be used. Note: In hindsight the name of this extension is confusing, ‘ext-TimeInterval’ would have been better suited.
  • Note: when the resource type natively supports elements of datatype Period and Duration, the zib should be mapped onto these elements directly.

Usage:

Formal Views of Profile Content

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

This structure is derived from Period

NameFlagsCard.TypeDescription & Constraintsdoco
.. Period C0..*PeriodThis is an abstract profile. Child profiles: NlcoreTimeInterval
TimeInterval
... duration 0..*DurationExtension
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Duration
... start ΣC0..1dateTimestartDateTime
... end ΣC0..1dateTimeendDateTime

doco Documentation for this format

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()
per-1errorPeriodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
NameFlagsCard.TypeDescription & Constraintsdoco
.. Period C0..*PeriodThis is an abstract profile. Child profiles: NlcoreTimeInterval
TimeInterval
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... duration 0..*DurationExtension
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Duration
... end ΣC0..1dateTimeendDateTime

doco Documentation for this format

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()
per-1errorPeriodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)

This structure is derived from Period

Summary

Extensions

This structure refers to these extensions:

Differential View

This structure is derived from Period

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Period C0..*PeriodThis is an abstract profile. Child profiles: NlcoreTimeInterval
TimeInterval
... duration 0..*DurationExtension
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Duration
... start ΣC0..1dateTimestartDateTime
... end ΣC0..1dateTimeendDateTime

doco Documentation for this format

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()
per-1errorPeriodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Period C0..*PeriodThis is an abstract profile. Child profiles: NlcoreTimeInterval
TimeInterval
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... duration 0..*DurationExtension
URL: http://nictiz.nl/fhir/StructureDefinition/ext-TimeInterval.Duration
... end ΣC0..1dateTimeendDateTime

doco Documentation for this format

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()
per-1errorPeriodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)

This structure is derived from Period

Summary

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron