3.54 StructureDefinition: Shared Health Duration
The official URL for this profile is:
http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-duration
3.54.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 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..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. Comments: Conformance Rule: Quantity.code must align with Binding: x_TimeUnitsOfMeasure (20230710) |
code | 1..1 | code | Definition: 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
This structure is derived from Quantity
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | SI | 0..* | Quantity | A measured or measurable amount |
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 |
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 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..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. Comments: Conformance Rule: Quantity.code must align with Binding: x_TimeUnitsOfMeasure (20230710) |
code | 1..1 | code | Definition: 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
Differential View
This structure is derived from Quantity
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | SI | 0..* | Quantity | A measured or measurable amount |
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 |
Documentation for this format |
Other representations of profile: Schematron
3.54.3 Terminology Bindings
Terminology Bindings
Path | Conformance | ValueSet |
Quantity.comparator | required | QuantityComparator |
3.54.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() |