PrescribeIT™ Specification and Guide Version 2.0 Revision F

 

The official URL for this profile is:

http://prescribeit.ca/fhir/StructureDefinition/dtprofile-quantity-unit-price

Download Excel representation

Description of Profiles, Differentials, Snapshots and how the different presentations work.

>

This structure is derived from SimpleQuantity

NameCard.TypeConstraints and Usage
.  Quantity 0..*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..1decimalDefinition:
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..1stringDefinition:
A human-readable form of the unit.


Comments:
This should be expressed as $/tablet, $/mL, $/mg, etc.

..  system 0..1uriDefinition:
The identification of the system that provides the coded form of the unit.


Comments:
This will generally be UCUM.

..  code 0..1codeDefinition:
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

Summary

Mandatory: 2 elements
Must-Support: 4 elements

This structure is derived from SimpleQuantity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity S0..*Unit Price of a prescribable item
... value S1..1decimal
... unit S1..1stringHuman-readable unit cost
... system S0..1uri
... code S0..1code

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity SI0..*Unit Price of a prescribable item
... id 0..1idxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
... value SΣ1..1decimalNumerical value (with implicit precision)
... unit SΣ1..1stringHuman-readable unit cost
... system SΣI0..1uriSystem that defines coded unit form
... code SΣ0..1codeCoded form of the unit

doco Documentation for this format

Grid View

This structure is derived from SimpleQuantity

NameCard.TypeConstraints and Usage
.  Quantity 0..*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..1decimalDefinition:
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..1stringDefinition:
A human-readable form of the unit.


Comments:
This should be expressed as $/tablet, $/mL, $/mg, etc.

..  system 0..1uriDefinition:
The identification of the system that provides the coded form of the unit.


Comments:
This will generally be UCUM.

..  code 0..1codeDefinition:
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

Summary

Mandatory: 2 elements
Must-Support: 4 elements

Differential View

This structure is derived from SimpleQuantity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity S0..*Unit Price of a prescribable item
... value S1..1decimal
... unit S1..1stringHuman-readable unit cost
... system S0..1uri
... code S0..1code

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity SI0..*Unit Price of a prescribable item
... id 0..1idxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
... value SΣ1..1decimalNumerical value (with implicit precision)
... unit SΣ1..1stringHuman-readable unit cost
... system SΣI0..1uriSystem that defines coded unit form
... code SΣ0..1codeCoded form of the unit

doco Documentation for this format

 

Other representations of profile: Schematron

Constraints

IdPathDetailsRequirements
qty-3QuantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1QuantityThe comparator is not used on a SimpleQuantity
: comparator.empty()