3.76 StructureDefinition: PrescribeIT® Drug Quantity
The official URL for this profile is:
http://prescribeit.ca/fhir/StructureDefinition/dtprofile-quantity-drug
3.76.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 SimpleQuantity
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
Quantity | 0..* | SimpleQuantity | qty-3: If a code for the unit is present, the system SHALL also be present sqty-1: The comparator is not used on a SimpleQuantity Definition: A measured or counted amount of a medication expressed as a value and human-readable string with optional coded units expressed in a local coding system Comments: Usage Note: Quantity is used throughout the messages. It may be a drug form (e.g. TAB) an administrable drug (e.g. PUFF) form or a unit of measure (e.g. mg). |
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). |
unit | 1..1 | string | Definition: A human-readable form of the unit. Comments: Usage Note: This will be used to convey the display description of the unit as it is seen or known in the sending system. The receiving systems must always display the unit value as received. |
system | 0..1 | uri | Definition: The identification of the system that provides the coded form of the unit. |
code | 0..1 | code | Definition: A computer processable form of the unit in some unit representation system. Comments: A Code should be supplied if one is available from the PrescribedQuantityUnit (20220331) (required) subset. If the selected or entered prescribed quantity unit does not have a corresponding code in the PrescribedQuantityUnit subset, then the unit can be supplied without a code. The receiving systems can use the code value for auto-population of local data purposes, the code should not be used for display purposes. |
This structure is derived from SimpleQuantity
This structure is derived from SimpleQuantity
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | 0..* | SimpleQuantity | Quantity of a medication | |
value | S | 1..1 | decimal | Numerical value (with implicit precision) |
unit | S | 1..1 | string | Unit representation |
system | S | 0..1 | uri | System that defines coded unit form |
code | S | 0..1 | code | Coded form of the unit |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | I | 0..* | SimpleQuantity | Quantity of a medication |
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) |
unit | SΣ | 1..1 | string | Unit representation |
system | SΣI | 0..1 | uri | System that defines coded unit form |
code | SΣ | 0..1 | code | Coded form of the unit |
Documentation for this format |
Grid View
This structure is derived from SimpleQuantity
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
Quantity | 0..* | SimpleQuantity | qty-3: If a code for the unit is present, the system SHALL also be present sqty-1: The comparator is not used on a SimpleQuantity Definition: A measured or counted amount of a medication expressed as a value and human-readable string with optional coded units expressed in a local coding system Comments: Usage Note: Quantity is used throughout the messages. It may be a drug form (e.g. TAB) an administrable drug (e.g. PUFF) form or a unit of measure (e.g. mg). |
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). |
unit | 1..1 | string | Definition: A human-readable form of the unit. Comments: Usage Note: This will be used to convey the display description of the unit as it is seen or known in the sending system. The receiving systems must always display the unit value as received. |
system | 0..1 | uri | Definition: The identification of the system that provides the coded form of the unit. |
code | 0..1 | code | Definition: A computer processable form of the unit in some unit representation system. Comments: A Code should be supplied if one is available from the PrescribedQuantityUnit (20220331) (required) subset. If the selected or entered prescribed quantity unit does not have a corresponding code in the PrescribedQuantityUnit subset, then the unit can be supplied without a code. The receiving systems can use the code value for auto-population of local data purposes, the code should not be used for display purposes. |
This structure is derived from SimpleQuantity
Differential View
This structure is derived from SimpleQuantity
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | 0..* | SimpleQuantity | Quantity of a medication | |
value | S | 1..1 | decimal | Numerical value (with implicit precision) |
unit | S | 1..1 | string | Unit representation |
system | S | 0..1 | uri | System that defines coded unit form |
code | S | 0..1 | code | Coded form of the unit |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | I | 0..* | SimpleQuantity | Quantity of a medication |
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) |
unit | SΣ | 1..1 | string | Unit representation |
system | SΣI | 0..1 | uri | System that defines coded unit form |
code | SΣ | 0..1 | code | Coded form of the unit |
Documentation for this format |
Other representations of profile: Schematron
3.76.3 Terminology Bindings
3.76.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() | |
sqty-1 | Quantity | The comparator is not used on a SimpleQuantity : comparator.empty() |