HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE), v0.9.0

- Local Development build (v0.9.0). See the Directory of published versions

Duration

 

The official URL for this profile is:

http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Duration

The length of time that something continues.

This profile builds on Duration.

This profile was published on Wed Apr 17 00:00:00 EDT 2019 as a draft by The MITRE Corporation.

Summary

Extensions

This structure refers to these extensions:

Mapping Source

This structure represents the following mapping definition:

shr.core.Duration maps to Duration:

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity Σshr-core-Duration
... extension Slice: Unordered, Open by value:url
... shr-core-Number-extension 0..1decimalNumber
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Number-extension
... shr-core-Units-extension 0..1CodingUnits
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Units-extension
Binding: AllUnitsVS (preferred)
.... valueCoding Binding: TimeUnitOfMeasureVS (required)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity ΣI0..*shr-core-Duration
qty-3: If a code for the unit is present, the system SHALL also be present
drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
... id 0..1idxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... shr-core-Number-extension 0..1decimalNumber
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Number-extension
... shr-core-Units-extension 0..1CodingUnits
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Units-extension
Binding: AllUnitsVS (preferred)
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Units-extension"
.... valueCoding 1..1CodingValue of extension
Binding: TimeUnitOfMeasureVS (required)
... value Σ0..1decimalNumerical value (with implicit precision)
... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required)
... unit Σ0..1stringUnit representation
... system ΣI0..1uriSystem that defines coded unit form
... code Σ0..1codeCoded form of the unit

doco Documentation for this format

Summary

Extensions

This structure refers to these extensions:

Mapping Source

This structure represents the following mapping definition:

shr.core.Duration maps to Duration:

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity Σshr-core-Duration
... extension Slice: Unordered, Open by value:url
... shr-core-Number-extension 0..1decimalNumber
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Number-extension
... shr-core-Units-extension 0..1CodingUnits
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Units-extension
Binding: AllUnitsVS (preferred)
.... valueCoding Binding: TimeUnitOfMeasureVS (required)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity ΣI0..*shr-core-Duration
qty-3: If a code for the unit is present, the system SHALL also be present
drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
... id 0..1idxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... shr-core-Number-extension 0..1decimalNumber
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Number-extension
... shr-core-Units-extension 0..1CodingUnits
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Units-extension
Binding: AllUnitsVS (preferred)
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Units-extension"
.... valueCoding 1..1CodingValue of extension
Binding: TimeUnitOfMeasureVS (required)
... value Σ0..1decimalNumerical value (with implicit precision)
... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required)
... unit Σ0..1stringUnit representation
... system ΣI0..1uriSystem that defines coded unit form
... code Σ0..1codeCoded form of the unit

doco Documentation for this format

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

 

 

Constraints

IdPathDetailsRequirements
qty-3QuantityIf a code for the unit is present, the system SHALL also be present
:
drt-1QuantityThere SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.
: