3.45 StructureDefinition: PrescribeIT® Drug Quantity
The official URL for this profile is:
http://prescribeit.ca/fhir/StructureDefinition/dtprofile-quantity-drug
3.45.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 must be used to convey the english display that is associated with the code. (Note: Rationale for change: to accommodate fax template) |
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: Conformance Rule: A Code must be supplied if one is available from the PrescribedQuantityUnit subset. If the user picks a prescribed quantity unit that does not have a code in the PrescribedQuantityUnit subset, only then can unit be supplied without a code. If a receiving system receives a code that it doesn't recognize, the system must just display the unit. |
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 must be used to convey the english display that is associated with the code. (Note: Rationale for change: to accommodate fax template) |
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: Conformance Rule: A Code must be supplied if one is available from the PrescribedQuantityUnit subset. If the user picks a prescribed quantity unit that does not have a code in the PrescribedQuantityUnit subset, only then can unit be supplied without a code. If a receiving system receives a code that it doesn't recognize, the system must just display the unit. |
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.45.3 Terminology Bindings
3.45.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() |