HL7 FHIR Profile: Occupational Data for Health (ODH), Release 1.0 (Standard for Trial Use)

This page is part of the Occupational Data for Health (ODH) FHIR IG (v1.0.0: STU 1) based on FHIR R4. The current version which supercedes this version is 1.2.0. For a full list of available versions, see the Directory of published versions

OccurrenceTimeOrPeriod

 

The official URL for this extension is:

http://hl7.org/fhir/us/odh/StructureDefinition/obf-datatype-OccurrenceTimeOrPeriod-extension

The point or period of time when the event takes place. Times can be precise (dateTime) or approximate (date). If a time period is used, and the start date or dateTime is missing, the start of the period is not known. If the end date or dateTime is missing, it means that the period is ongoing.

This extension was published on Sat Jan 04 00:00:00 UTC 2020 as a draft by HL7 International Public Health Work Group.

Summary

Mandatory: 0 element (1 nested mandatory element)
Fixed Value: 1 element
Prohibited: 1 element

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionOccurrenceTimeOrPeriod
... extension 0..0
... url uri"http://hl7.org/fhir/us/odh/StructureDefinition/obf-datatype-OccurrenceTimeOrPeriod-extension"
... value[x] 1..
.... valueDatedate
.... valueDateTimedateTime
.... valuePeriodPeriod

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*ExtensionOccurrenceTimeOrPeriod
ext-1: Must have either extensions or value[x], not both
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"http://hl7.org/fhir/us/odh/StructureDefinition/obf-datatype-OccurrenceTimeOrPeriod-extension"
... value[x] 1..1Value of extension
.... valueDatedate
.... valueDateTimedateTime
.... valuePeriodPeriod

doco Documentation for this format

Summary

Mandatory: 0 element (1 nested mandatory element)
Fixed Value: 1 element
Prohibited: 1 element

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionOccurrenceTimeOrPeriod
... extension 0..0
... url uri"http://hl7.org/fhir/us/odh/StructureDefinition/obf-datatype-OccurrenceTimeOrPeriod-extension"
... value[x] 1..
.... valueDatedate
.... valueDateTimedateTime
.... valuePeriodPeriod

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*ExtensionOccurrenceTimeOrPeriod
ext-1: Must have either extensions or value[x], not both
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"http://hl7.org/fhir/us/odh/StructureDefinition/obf-datatype-OccurrenceTimeOrPeriod-extension"
... value[x] 1..1Value of extension
.... valueDatedate
.... valueDateTimedateTime
.... valuePeriodPeriod

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron

 

 

Constraints

IdPathDetailsRequirements
ele-1ExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()

 

Usage

This extension is used in the following profiles: