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-money

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 dollar amount expressed in Canadian funds


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..1uriDefinition:
The identification of the system that provides the coded form of the unit.

..  code 1..1codeFixed Value: CAD
Definition:
A computer processable form of the unit in some unit representation system.


Comments:
Fixed value: CAD

This structure is derived from Quantity

Summary

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

This structure is derived from Quantity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity 0..*QuantityCanadian money
... value S1..1decimalNumerical value (with implicit precision)
... system S1..1uriSystem that defines coded unit form
... code S1..1codeCoded form of the unit
Fixed Value: CAD

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity I0..*QuantityCanadian money
... 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
Fixed Value: CAD

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 dollar amount expressed in Canadian funds


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..1uriDefinition:
The identification of the system that provides the coded form of the unit.

..  code 1..1codeFixed Value: CAD
Definition:
A computer processable form of the unit in some unit representation system.


Comments:
Fixed value: CAD

This structure is derived from Quantity

Summary

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

Differential View

This structure is derived from Quantity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity 0..*QuantityCanadian money
... value S1..1decimalNumerical value (with implicit precision)
... system S1..1uriSystem that defines coded unit form
... code S1..1codeCoded form of the unit
Fixed Value: CAD

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity I0..*QuantityCanadian money
... 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
Fixed Value: CAD

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()