PrescribeIT™ Specification and Guide Version 2.0 Revision F

 

The official URL for this profile is:

http://prescribeit.ca/fhir/StructureDefinition/dtprofile-quantity-drug

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 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..1decimalDefinition:
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..1stringDefinition:
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..1uriDefinition:
The identification of the system that provides the coded form of the unit.

..  code 0..1code​Binding: PrescribedQuantityUnit (extensible)
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

Summary

Mandatory: 2 elements
Must-Support: 4 elements

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity SI0..*Quantity of a medication
... 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..1stringUnit representation
... system SΣI0..1uriSystem that defines coded unit form
... code SΣ0..1code​Coded form of the unit
Binding: PrescribedQuantityUnit (extensible)

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 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..1decimalDefinition:
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..1stringDefinition:
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..1uriDefinition:
The identification of the system that provides the coded form of the unit.

..  code 0..1code​Binding: PrescribedQuantityUnit (extensible)
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

Summary

Mandatory: 2 elements
Must-Support: 4 elements

Differential View

This structure is derived from SimpleQuantity

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity SI0..*Quantity of a medication
... 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..1stringUnit representation
... system SΣI0..1uriSystem that defines coded unit form
... code SΣ0..1code​Coded form of the unit
Binding: PrescribedQuantityUnit (extensible)

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathNameConformanceValueSet
Quantity.codePrescribedQuantityUnitextensible​PrescribedQuantityUnit

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()