Shared Health Specification and Guide Version 5.0


v5.0 of this specification has been superseded by v5.3. v5.3 is compatible but adds additional features for Quebec.

The version (Bundle.meta.tag:version) that is sent in the message will remain PrescribeIT5.0

 

The official URL for this profile is:

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

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:
The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.

..  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..1uriFixed Value: http://unitsofmeasure.org
Definition:
The identification of the system that provides the coded form of the unit.


Comments:
Fixed value: http://unitsofmeasure.org

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


Comments:
The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.

This structure is derived from Quantity

Summary

Mandatory: 3 elements
Must-Support: 3 elements
Fixed Value: 1 element
Prohibited: 1 element

This structure is derived from Quantity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity 0..*QuantityA measured or measurable amount
... value S1..1decimalNumerical value (with implicit precision)
... comparator 0..0
... system S1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
... code S1..1codeCoded form of the unit

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity I0..*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)
... unit Σ0..1stringUnit representation
... system SΣI1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
... 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:
The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.

..  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..1uriFixed Value: http://unitsofmeasure.org
Definition:
The identification of the system that provides the coded form of the unit.


Comments:
Fixed value: http://unitsofmeasure.org

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


Comments:
The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.

This structure is derived from Quantity

Summary

Mandatory: 3 elements
Must-Support: 3 elements
Fixed Value: 1 element
Prohibited: 1 element

Differential View

This structure is derived from Quantity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity 0..*QuantityA measured or measurable amount
... value S1..1decimalNumerical value (with implicit precision)
... comparator 0..0
... system S1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
... code S1..1codeCoded form of the unit

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity I0..*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)
... unit Σ0..1stringUnit representation
... system SΣI1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
... code SΣ1..1codeCoded form of the unit

doco Documentation for this format

 

Other representations of profile: Schematron

Constraints

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