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

HL7 FHIR Profile: Occupational Data for Health (ODH), Release 1.1 (Standard for Trial Use) - Local Development build (v1.1.0). See the Directory of published versions

Duration

 

The official URL for this profile is:

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

The length of time that something continues.

This profile builds on Duration.

This profile was published on Wed Sep 04 00:00:00 EDT 2019 as a active by HL7 International Public Health Work Group.

Summary

Extensions

This structure refers to these extensions:

Mapping Source

This structure represents the following mapping definition:

obf.datatype.Duration maps to Duration:

NameFlagsCard.TypeDescription & Constraintsdoco
.. Duration I0..*obf-datatype-Duration
Binding: CommonUCUMCodesForDuration (extensible)
Max Binding: AllUCUMExpressionForTime
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..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... obf-datatype-Number-extension 0..1decimalNumber
URL: http://hl7.org/fhir/us/odh/StructureDefinition/obf-datatype-Number-extension
... obf-datatype-Units-extension 0..1CodeableConceptUnits
URL: http://hl7.org/fhir/us/odh/StructureDefinition/obf-datatype-Units-extension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/us/odh/StructureDefinition/obf-datatype-Units-extension"
.... valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: CommonUCUMCodesForDuration (extensible)
... 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:

obf.datatype.Duration maps to Duration:

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Duration I0..*obf-datatype-Duration
Binding: CommonUCUMCodesForDuration (extensible)
Max Binding: AllUCUMExpressionForTime
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..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... obf-datatype-Number-extension 0..1decimalNumber
URL: http://hl7.org/fhir/us/odh/StructureDefinition/obf-datatype-Number-extension
... obf-datatype-Units-extension 0..1CodeableConceptUnits
URL: http://hl7.org/fhir/us/odh/StructureDefinition/obf-datatype-Units-extension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/us/odh/StructureDefinition/obf-datatype-Units-extension"
.... valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: CommonUCUMCodesForDuration (extensible)
... 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

 

Terminology Bindings

PathConformanceValueSet
DurationextensibleCommonUCUMCodesForDuration
Max Binding: AllUCUMExpressionForTime
Duration.extension:units.valueCodeableConceptextensibleCommonUCUMCodesForDuration
Duration.comparatorrequiredQuantityComparator

 

Constraints

IdPathDetailsRequirements
qty-3DurationIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
drt-1DurationThere 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.
: code.exists() implies ((system = %ucum) and value.exists())