Shared Health Specification and Guide Version 5.0

 

The official URL for this profile is:

http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-duration

Download Excel representation

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

>

This structure is derived from Quantity

NameCard.TypeConstraints and Usage
.  Quantity 0..*Quantityqty-3: If a code for the unit is present, the system SHALL also be present
Definition:
A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.


Comments:
Usage Note: Quantity profile is mimicking Duration profile.

..  value 1..1decimalDefinition:
The value of the measured amount. The value includes an implicit precision in the presentation of the value.


Comments:
The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).

..  system 1..1uriDefinition:
The identification of the system that provides the coded form of the unit.


Comments:
Conformance Rule: Quantity.code must align with Binding: x_TimeUnitsOfMeasure (20230710)

..  code 1..1codeDefinition:
A computer processable form of the unit in some unit representation system.


Comments:
Conformance Rule: Quantity.code must align with Binding: x_TimeUnitsOfMeasure (20230710)

This structure is derived from Quantity

Summary

Mandatory: 3 elements
Must-Support: 3 elements

This structure is derived from Quantity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity S0..*QuantityA measured or measurable amount
... value S1..1decimalNumerical value (with implicit precision)
... system S1..1uriSystem that defines coded unit form
... code S1..1codeCoded form of the unit

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity SI0..*QuantityA measured or measurable amount
... id 0..1idxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
... value SΣ1..1decimalNumerical value (with implicit precision)
... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

... unit Σ0..1stringUnit representation
... system SΣI1..1uriSystem that defines coded unit form
... code SΣ1..1codeCoded form of the unit

doco Documentation for this format

Grid View

This structure is derived from Quantity

NameCard.TypeConstraints and Usage
.  Quantity 0..*Quantityqty-3: If a code for the unit is present, the system SHALL also be present
Definition:
A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.


Comments:
Usage Note: Quantity profile is mimicking Duration profile.

..  value 1..1decimalDefinition:
The value of the measured amount. The value includes an implicit precision in the presentation of the value.


Comments:
The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).

..  system 1..1uriDefinition:
The identification of the system that provides the coded form of the unit.


Comments:
Conformance Rule: Quantity.code must align with Binding: x_TimeUnitsOfMeasure (20230710)

..  code 1..1codeDefinition:
A computer processable form of the unit in some unit representation system.


Comments:
Conformance Rule: Quantity.code must align with Binding: x_TimeUnitsOfMeasure (20230710)

This structure is derived from Quantity

Summary

Mandatory: 3 elements
Must-Support: 3 elements

Differential View

This structure is derived from Quantity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity S0..*QuantityA measured or measurable amount
... value S1..1decimalNumerical value (with implicit precision)
... system S1..1uriSystem that defines coded unit form
... code S1..1codeCoded form of the unit

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity SI0..*QuantityA measured or measurable amount
... id 0..1idxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
... value SΣ1..1decimalNumerical value (with implicit precision)
... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

... unit Σ0..1stringUnit representation
... system SΣI1..1uriSystem that defines coded unit form
... code SΣ1..1codeCoded form of the unit

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet
Quantity.comparatorrequiredQuantityComparator

Constraints

IdPathDetailsRequirements
qty-3QuantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()