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

Medication Prescription and Dispense (MPD), published by Integrating the Healthcare Enterprise (IHE). This guide is not an authorized publication; it is the continuous build for version 1.0.0-comment-3 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/pharm-mpd/tree/98-pc-clarify-the-transaction-pharm-5 and changes regularly. See the Directory of published versions

## Extension: MedicationRequest - Prescribed Quantity

Official URL: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medicationrequest-prescribedQuantity | Version: 1.0.0-comment-3
Active as of 2026-04-23 | 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

Usages:

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

You can also check for usages in the FHIR IG Statistics

### 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 Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | MedicationRequest - Prescribed Quantity
extension |  | 0..0 |  | Extension
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 Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | MedicationRequest - Prescribed Quantity
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
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 Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | MedicationRequest - Prescribed Quantity
extension |  | 0..0 |  | Extension
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 Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | MedicationRequest - Prescribed Quantity
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
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) | Description | Expression
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()`