HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE) Release 1 - US Realm | STU Ballot 1

This page is part of the HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE) Release 1 - US Realm | STU1 (v0.9.1: STU 1 Ballot 1) based on FHIR R4. The current version which supercedes this version is 2.0.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/mcode/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 Thu Aug 01 00:00:00 EDT 2019 as a draft by HL7 International Clinical Interoperability Council.

Summary

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*OccurrenceTimeOrPeriod
... extension 0..0
... url uri"http://hl7.org/fhir/us/mcode/StructureDefinition/obf-datatype-OccurrenceTimeOrPeriod-extension"
... value[x] 1..date, dateTime, Period

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*OccurrenceTimeOrPeriod
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/mcode/StructureDefinition/obf-datatype-OccurrenceTimeOrPeriod-extension"
... value[x] 1..1date, dateTime, PeriodValue of extension

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..*OccurrenceTimeOrPeriod
... extension 0..0
... url uri"http://hl7.org/fhir/us/mcode/StructureDefinition/obf-datatype-OccurrenceTimeOrPeriod-extension"
... value[x] 1..date, dateTime, Period

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*OccurrenceTimeOrPeriod
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/mcode/StructureDefinition/obf-datatype-OccurrenceTimeOrPeriod-extension"
... value[x] 1..1date, dateTime, PeriodValue of extension

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: