3.38 StructureDefinition: Shared Health Money
The official URL for this profile is:
http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-quantity-money
3.38.2 Formal Views of Profile Content
Download Excel representation
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Quantity
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
Quantity | 0..* | Quantity | qty-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..1 | decimal | Definition: 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..1 | uri | Definition: The identification of the system that provides the coded form of the unit. |
code | 1..1 | code | Fixed 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
This structure is derived from Quantity
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | I | 0..* | Quantity | Canadian money |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
value | SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
unit | Σ | 0..1 | string | Unit representation |
system | SΣI | 1..1 | uri | System that defines coded unit form |
code | SΣ | 1..1 | code | Coded form of the unit Fixed Value: CAD |
Documentation for this format |
Grid View
This structure is derived from Quantity
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
Quantity | 0..* | Quantity | qty-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..1 | decimal | Definition: 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..1 | uri | Definition: The identification of the system that provides the coded form of the unit. |
code | 1..1 | code | Fixed 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
Differential View
This structure is derived from Quantity
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | I | 0..* | Quantity | Canadian money |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
value | SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
comparator | ?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
unit | Σ | 0..1 | string | Unit representation |
system | SΣI | 1..1 | uri | System that defines coded unit form |
code | SΣ | 1..1 | code | Coded form of the unit Fixed Value: CAD |
Documentation for this format |
Other representations of profile: Schematron
3.38.3 Terminology Bindings
Terminology Bindings
Path | Conformance | ValueSet |
Quantity.comparator | required | QuantityComparator |
3.38.4 Constraints
Constraints
Id | Path | Details | Requirements |
qty-3 | Quantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() |