PrescribeIT® Specification and Guide Version 5.0

 

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..*SimpleQuantityqty-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..1codeDefinition:
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

This structure is derived from SimpleQuantity

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity 0..*SimpleQuantityQuantity of a medication
... value S1..1decimalNumerical value (with implicit precision)
... unit S1..1stringUnit representation
... system S0..1uriSystem that defines coded unit form
... code S0..1codeCoded form of the unit

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity I0..*SimpleQuantityQuantity 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..1codeCoded form of the unit

doco Documentation for this format

Grid View

This structure is derived from SimpleQuantity

NameCard.TypeConstraints and Usage
.  Quantity 0..*SimpleQuantityqty-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..1codeDefinition:
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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity 0..*SimpleQuantityQuantity of a medication
... value S1..1decimalNumerical value (with implicit precision)
... unit S1..1stringUnit representation
... system S0..1uriSystem that defines coded unit form
... code S0..1codeCoded form of the unit

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity I0..*SimpleQuantityQuantity 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..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()