Medication Prescription and Dispense (MPD)
1.0.0-comment-2 - ballot

Publication Build: This will be filled in by the publication tooling

## Extension: MedicationRequest - Prescribed Quantity

Official URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medicationrequest-prescribedQuantity | Version: 1.0.0-comment-2
Active as of 2025-05-27 | Computable Name: MedicationRequestPrescribedQuantity
Copyright/Legal: IHE http://www.ihe.net/Governance/#Intellectual_Property

Total amount of product being requested. This may refer to number of packages when package size is indicated in Medication resource.

Context of Use

This extension may be used on the following element(s):

- Element ID: `MedicationRequest.dispenseRequest`

Usage info

Usage:

- Use this Extension: IHE Medication Order
- Examples for this Extension: MedicationRequest/10-prescription-cefuroxime-singleline

### Formal Views of Extension Content

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

- Differential Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | MedicationRequest - Prescribed Quantity
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medicationrequest-prescribedQuantity"
value[x] |  | 0..1 | Quantity | Value of extension
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | MedicationRequest - Prescribed Quantity
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medicationrequest-prescribedQuantity"
value[x] |  | 0..1 | Quantity | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Quantity: Total amount of product being requested. This may refer to number of packages when package size is indicated in Medication resource.

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | MedicationRequest - Prescribed Quantity
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medicationrequest-prescribedQuantity"
value[x] |  | 0..1 | Quantity | Value of extension
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | MedicationRequest - Prescribed Quantity
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medicationrequest-prescribedQuantity"
value[x] |  | 0..1 | Quantity | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Quantity: Total amount of product being requested. This may refer to number of packages when package size is indicated in Medication resource.

Other representations of profile: CSV, Excel, Schematron

#### Constraints

Id | Grade | Path(s) | Details | Requirements
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |