3.79 StructureDefinition: PrescribeIT® Unit Price Quantity
The official URL for this profile is:
http://prescribeit.ca/fhir/StructureDefinition/dtprofile-quantity-unit-price
3.79.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 cost in dollars for a single unit of a particular drug or other prescribable product 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: This will always be expressed in dollars/unit, even if the value is fraction of a sent. E.g. 0.0023 |
unit | 1..1 | string | Definition: A human-readable form of the unit. Comments: This should be expressed as $/tablet, $/mL, $/mg, etc. |
system | 0..1 | uri | Definition: The identification of the system that provides the coded form of the unit. Comments: This will generally be UCUM. |
code | 0..1 | code | Definition: A computer processable form of the unit in some unit representation system. Comments: If expressed as UCUM, this will be expressed as 1/mL, 1/mg, etc. The fact that the numerator is a dollar amount or the form of the drug will not be conveyed (though it will in the human-readable representation) |
This structure is derived from SimpleQuantity
This structure is derived from SimpleQuantity
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | 0..* | SimpleQuantity | Unit Price of a prescribable item | |
value | S | 1..1 | decimal | Numerical value (with implicit precision) |
unit | S | 1..1 | string | Human-readable unit cost |
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 | Unit Price of a prescribable item |
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 | Human-readable unit cost |
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 cost in dollars for a single unit of a particular drug or other prescribable product 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: This will always be expressed in dollars/unit, even if the value is fraction of a sent. E.g. 0.0023 |
unit | 1..1 | string | Definition: A human-readable form of the unit. Comments: This should be expressed as $/tablet, $/mL, $/mg, etc. |
system | 0..1 | uri | Definition: The identification of the system that provides the coded form of the unit. Comments: This will generally be UCUM. |
code | 0..1 | code | Definition: A computer processable form of the unit in some unit representation system. Comments: If expressed as UCUM, this will be expressed as 1/mL, 1/mg, etc. The fact that the numerator is a dollar amount or the form of the drug will not be conveyed (though it will in the human-readable representation) |
This structure is derived from SimpleQuantity
Differential View
This structure is derived from SimpleQuantity
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | 0..* | SimpleQuantity | Unit Price of a prescribable item | |
value | S | 1..1 | decimal | Numerical value (with implicit precision) |
unit | S | 1..1 | string | Human-readable unit cost |
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 | Unit Price of a prescribable item |
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 | Human-readable unit cost |
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.79.3 Terminology Bindings
3.79.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() |