Medication Prescription and Dispense (MPD)
1.0.0-preview - ci-build

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-preview 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/92/merge and changes regularly. See the Directory of published versions

## Resource Profile: IHE Medication

Official URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedication | Version: 1.0.0-preview
Active as of 2025-05-01 | Computable Name: IHEMedication
Copyright/Legal: IHE http://www.ihe.net/Governance/#Intellectual_Property

Medication for clinical use cases. This could be a branded product or a generic concept, also allowing describing pack size and components of complex products.

Usage:

- Refer to this Resource Profile: IHE Medication, IHE Medication Dispense and IHE Medication Order
- Examples for this Resource Profile: Medication/01A-Cefuroxime1500GenericExplicit, Medication/01B-Cefuroxime1500GenericConcept, Medication/01C-Cefuroxime1500Branded, Medication/01D-Cefuroxime750Branded... Show 6 more, Medication/02A-ClotrimazoleCanifugCremolum, Medication/02A1-CanifugCremolumCreamItem, Medication/02A2-CanifugCremolumPessaryItem, Medication/03B-VitaminBComplexBranded, Medication/04-FirmagonBranded and Medication/05A-Tilidin-Branded

### Formal Views of Profile Content

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

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

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Medication |  | 0..* | Medication | Definition of a Medication dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:productName |  | 0..1 | string | Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:classification |  | 0..* | CodeableConcept | Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification Binding: ProductClassification (example) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:sizeOfItem |  | 0..1 | Quantity | Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:device |  | 0..* | (Complex) | Device, typically an administration device, included in the product. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:characteristic |  | 0..* | (Complex) | Specifies other descriptive properties of the medication. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:unitOfPresentation |  | 0..1 | CodeableConcept | Unit of presentation of the product (e.g. tablet, vial, ampoule, etc) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation Binding: UnitOfPresentation (example) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier | S Σ | 0..* | Identifier | Identifier for the medicinal product, its generic representation, or packaged product. ele-1: All FHIR elements must have a @value or children
code | S Σ | 0..1 | CodeableConcept | A terminology-based code for the product Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. ele-1: All FHIR elements must have a @value or children
status | ?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use. ele-1: All FHIR elements must have a @value or children
marketingAuthorizationHolder | S Σ | 0..1 | Reference(Organization) | Organization that has authorization to market medication ele-1: All FHIR elements must have a @value or children
doseForm | S | 0..1 | CodeableConcept | Dose form. For a branded product, this would most likely be authorised dose form, but it could also be administrable dose form. For package items, it could be item's individual dose form. Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication. ele-1: All FHIR elements must have a @value or children
totalVolume | S Σ | 0..1 | Quantity | Total volume or number of package items inside a package. This element should not contain overall prescribed amount, but describe the product itself. In case of complex packages, this element could be left empty, and number of different items could be indicated in the nested Medications. ele-1: All FHIR elements must have a @value or children
ingredient | S | 0..* | BackboneElement | Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength ele-1: All FHIR elements must have a @value or children
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:ingredientRole |  | 0..1 | CodeableConcept | Role of the ingredient in the medication URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-ingredient-role Binding: IngredientRole (example) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
item | S | 1..1 | CodeableReference(Substance | IHE Medication) | Substance (Substance resource or concept from terminology) or a medicinal product (Medication resource or concept from terminology). Medicinal product can be an ingredient in case of extemporal medications or combination packs (e.g Creme + 6 tablets) Binding: SNOMEDCTSubstanceCodes (example) ele-1: All FHIR elements must have a @value or children
isActive | S | 0..1 | boolean | Active ingredient indicator ele-1: All FHIR elements must have a @value or children
strength[x] | S | 0..1 |  | Quantity of ingredient present Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient. ele-1: All FHIR elements must have a @value or children
strength[x]All Types |  |  |  | Content/Rules for all Types
Slices for extension |  |  |  | Content/Rules for all slices
extension:basisOfStrengthSubstance |  | 0..1 | CodeableConcept | Substance for which the strength is provided (this could be different from the precise active ingredient). URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance Binding: SNOMEDCTSubstanceCodes (example) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:strengthType |  | 0..1 | CodeableConcept | Type of the given strength (concentration strength, presentation strength, or other) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthtype ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
strengthRatio |  |  | Ratio |
strengthCodeableConcept |  |  | CodeableConcept |
strengthQuantity |  |  | Quantity |
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
Medication.code | example | SNOMEDCTMedicationCodes `http://hl7.org/fhir/ValueSet/medication-codes` from the FHIR Standard
Medication.status | required | MedicationStatusCodes `http://hl7.org/fhir/ValueSet/medication-status|5.0.0` from the FHIR Standard
Medication.doseForm | example | SNOMEDCTFormCodes `http://hl7.org/fhir/ValueSet/medication-form-codes` from the FHIR Standard
Medication.ingredient.item | example | SNOMEDCTSubstanceCodes `http://hl7.org/fhir/ValueSet/substance-codes` from the FHIR Standard
Medication.ingredient.strength[x] | preferred | MedicationIngredientStrengthCodes `http://hl7.org/fhir/ValueSet/medication-ingredientstrength` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() |
dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | best practice | Medication | A resource should have narrative for robust management : text.`div`.exists() |
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() |

This structure is derived from Medication

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Medication |  | 0..* | Medication | Definition of a Medication
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:productName |  | 0..1 | string | Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
extension:classification |  | 0..* | CodeableConcept | Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification Binding: ProductClassification (example)
extension:sizeOfItem |  | 0..1 | Quantity | Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
extension:device |  | 0..* | (Complex) | Device, typically an administration device, included in the product. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
extension:characteristic |  | 0..* | (Complex) | Specifies other descriptive properties of the medication. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
extension:unitOfPresentation |  | 0..1 | CodeableConcept | Unit of presentation of the product (e.g. tablet, vial, ampoule, etc) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation Binding: UnitOfPresentation (example)
identifier | S | 0..* | Identifier | Identifier for the medicinal product, its generic representation, or packaged product.
code | S | 0..1 | CodeableConcept | A terminology-based code for the product
marketingAuthorizationHolder | S | 0..1 | Reference(Organization) | Organization that has authorization to market medication
doseForm | S | 0..1 | CodeableConcept | Dose form. For a branded product, this would most likely be authorised dose form, but it could also be administrable dose form. For package items, it could be item's individual dose form.
totalVolume | S | 0..1 | Quantity | Total volume or number of package items inside a package. This element should not contain overall prescribed amount, but describe the product itself. In case of complex packages, this element could be left empty, and number of different items could be indicated in the nested Medications.
ingredient | S | 0..* | BackboneElement | Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:ingredientRole |  | 0..1 | CodeableConcept | Role of the ingredient in the medication URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-ingredient-role Binding: IngredientRole (example)
item | S | 1..1 | CodeableReference(Substance | IHE Medication) | Substance (Substance resource or concept from terminology) or a medicinal product (Medication resource or concept from terminology). Medicinal product can be an ingredient in case of extemporal medications or combination packs (e.g Creme + 6 tablets) Binding: SNOMEDCTSubstanceCodes (example)
isActive | S | 0..1 | boolean | Active ingredient indicator
strength[x] | S | 0..1 | Ratio, CodeableConcept, Quantity | Quantity of ingredient present
Slices for extension |  |  |  | Content/Rules for all slices
extension:basisOfStrengthSubstance |  | 0..1 | CodeableConcept | Substance for which the strength is provided (this could be different from the precise active ingredient). URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance Binding: SNOMEDCTSubstanceCodes (example)
extension:strengthType |  | 0..1 | CodeableConcept | Type of the given strength (concentration strength, presentation strength, or other) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthtype
Documentation for this format

#### Terminology Bindings (Differential)

Path | Conformance | ValueSet | URI
Medication.ingredient.item | example | SNOMEDCTSubstanceCodes `http://hl7.org/fhir/ValueSet/substance-codes` from the FHIR Standard

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Medication |  | 0..* | Medication | Definition of a Medication
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:productName |  | 0..1 | string | Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
extension:classification |  | 0..* | CodeableConcept | Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification Binding: ProductClassification (example)
extension:sizeOfItem |  | 0..1 | Quantity | Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
extension:device |  | 0..* | (Complex) | Device, typically an administration device, included in the product. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
extension:characteristic |  | 0..* | (Complex) | Specifies other descriptive properties of the medication. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
extension:unitOfPresentation |  | 0..1 | CodeableConcept | Unit of presentation of the product (e.g. tablet, vial, ampoule, etc) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation Binding: UnitOfPresentation (example)
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..* | Identifier | Identifier for the medicinal product, its generic representation, or packaged product.
code | S Σ | 0..1 | CodeableConcept | A terminology-based code for the product Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
status | ?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use.
marketingAuthorizationHolder | S Σ | 0..1 | Reference(Organization) | Organization that has authorization to market medication
doseForm | S | 0..1 | CodeableConcept | Dose form. For a branded product, this would most likely be authorised dose form, but it could also be administrable dose form. For package items, it could be item's individual dose form. Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
totalVolume | S Σ | 0..1 | Quantity | Total volume or number of package items inside a package. This element should not contain overall prescribed amount, but describe the product itself. In case of complex packages, this element could be left empty, and number of different items could be indicated in the nested Medications.
ingredient | S | 0..* | BackboneElement | Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:ingredientRole |  | 0..1 | CodeableConcept | Role of the ingredient in the medication URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-ingredient-role Binding: IngredientRole (example)
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
item | S | 1..1 | CodeableReference(Substance | IHE Medication) | Substance (Substance resource or concept from terminology) or a medicinal product (Medication resource or concept from terminology). Medicinal product can be an ingredient in case of extemporal medications or combination packs (e.g Creme + 6 tablets) Binding: SNOMEDCTSubstanceCodes (example)
isActive | S | 0..1 | boolean | Active ingredient indicator
strength[x] | S | 0..1 |  | Quantity of ingredient present Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient.
strength[x]All Types |  |  |  | Content/Rules for all Types
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:basisOfStrengthSubstance |  | 0..1 | CodeableConcept | Substance for which the strength is provided (this could be different from the precise active ingredient). URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance Binding: SNOMEDCTSubstanceCodes (example)
extension:strengthType |  | 0..1 | CodeableConcept | Type of the given strength (concentration strength, presentation strength, or other) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthtype
strengthRatio |  |  | Ratio |
strengthCodeableConcept |  |  | CodeableConcept |
strengthQuantity |  |  | Quantity |
batch |  | 0..1 | BackboneElement | Details about packaged medications
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
lotNumber |  | 0..1 | string | Identifier assigned to batch
expirationDate |  | 0..1 | dateTime | When batch will expire
definition |  | 0..1 | Reference(MedicationKnowledge) | Knowledge about this medication
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
Medication.language | required | AllLanguages `http://hl7.org/fhir/ValueSet/all-languages|5.0.0` from the FHIR Standard
Medication.code | example | SNOMEDCTMedicationCodes `http://hl7.org/fhir/ValueSet/medication-codes` from the FHIR Standard
Medication.status | required | MedicationStatusCodes `http://hl7.org/fhir/ValueSet/medication-status|5.0.0` from the FHIR Standard
Medication.doseForm | example | SNOMEDCTFormCodes `http://hl7.org/fhir/ValueSet/medication-form-codes` from the FHIR Standard
Medication.ingredient.item | example | SNOMEDCTSubstanceCodes `http://hl7.org/fhir/ValueSet/substance-codes` from the FHIR Standard
Medication.ingredient.strength[x] | preferred | MedicationIngredientStrengthCodes `http://hl7.org/fhir/ValueSet/medication-ingredientstrength` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() |
dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | best practice | Medication | A resource should have narrative for robust management : text.`div`.exists() |
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() |

This structure is derived from Medication

Summary

Must-Support: 9 elements

Structures

This structure refers to these other structures:

- IHE Medication (http://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedication)

Extensions

This structure refers to these extensions:

- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-ingredient-role
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthtype

Key Elements View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Medication |  | 0..* | Medication | Definition of a Medication dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:productName |  | 0..1 | string | Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:classification |  | 0..* | CodeableConcept | Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification Binding: ProductClassification (example) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:sizeOfItem |  | 0..1 | Quantity | Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:device |  | 0..* | (Complex) | Device, typically an administration device, included in the product. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:characteristic |  | 0..* | (Complex) | Specifies other descriptive properties of the medication. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:unitOfPresentation |  | 0..1 | CodeableConcept | Unit of presentation of the product (e.g. tablet, vial, ampoule, etc) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation Binding: UnitOfPresentation (example) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier | S Σ | 0..* | Identifier | Identifier for the medicinal product, its generic representation, or packaged product. ele-1: All FHIR elements must have a @value or children
code | S Σ | 0..1 | CodeableConcept | A terminology-based code for the product Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. ele-1: All FHIR elements must have a @value or children
status | ?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use. ele-1: All FHIR elements must have a @value or children
marketingAuthorizationHolder | S Σ | 0..1 | Reference(Organization) | Organization that has authorization to market medication ele-1: All FHIR elements must have a @value or children
doseForm | S | 0..1 | CodeableConcept | Dose form. For a branded product, this would most likely be authorised dose form, but it could also be administrable dose form. For package items, it could be item's individual dose form. Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication. ele-1: All FHIR elements must have a @value or children
totalVolume | S Σ | 0..1 | Quantity | Total volume or number of package items inside a package. This element should not contain overall prescribed amount, but describe the product itself. In case of complex packages, this element could be left empty, and number of different items could be indicated in the nested Medications. ele-1: All FHIR elements must have a @value or children
ingredient | S | 0..* | BackboneElement | Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength ele-1: All FHIR elements must have a @value or children
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:ingredientRole |  | 0..1 | CodeableConcept | Role of the ingredient in the medication URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-ingredient-role Binding: IngredientRole (example) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
item | S | 1..1 | CodeableReference(Substance | IHE Medication) | Substance (Substance resource or concept from terminology) or a medicinal product (Medication resource or concept from terminology). Medicinal product can be an ingredient in case of extemporal medications or combination packs (e.g Creme + 6 tablets) Binding: SNOMEDCTSubstanceCodes (example) ele-1: All FHIR elements must have a @value or children
isActive | S | 0..1 | boolean | Active ingredient indicator ele-1: All FHIR elements must have a @value or children
strength[x] | S | 0..1 |  | Quantity of ingredient present Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient. ele-1: All FHIR elements must have a @value or children
strength[x]All Types |  |  |  | Content/Rules for all Types
Slices for extension |  |  |  | Content/Rules for all slices
extension:basisOfStrengthSubstance |  | 0..1 | CodeableConcept | Substance for which the strength is provided (this could be different from the precise active ingredient). URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance Binding: SNOMEDCTSubstanceCodes (example) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
extension:strengthType |  | 0..1 | CodeableConcept | Type of the given strength (concentration strength, presentation strength, or other) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthtype ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
strengthRatio |  |  | Ratio |
strengthCodeableConcept |  |  | CodeableConcept |
strengthQuantity |  |  | Quantity |
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
Medication.code | example | SNOMEDCTMedicationCodes `http://hl7.org/fhir/ValueSet/medication-codes` from the FHIR Standard
Medication.status | required | MedicationStatusCodes `http://hl7.org/fhir/ValueSet/medication-status|5.0.0` from the FHIR Standard
Medication.doseForm | example | SNOMEDCTFormCodes `http://hl7.org/fhir/ValueSet/medication-form-codes` from the FHIR Standard
Medication.ingredient.item | example | SNOMEDCTSubstanceCodes `http://hl7.org/fhir/ValueSet/substance-codes` from the FHIR Standard
Medication.ingredient.strength[x] | preferred | MedicationIngredientStrengthCodes `http://hl7.org/fhir/ValueSet/medication-ingredientstrength` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() |
dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | best practice | Medication | A resource should have narrative for robust management : text.`div`.exists() |
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() |

Differential View

This structure is derived from Medication

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Medication |  | 0..* | Medication | Definition of a Medication
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:productName |  | 0..1 | string | Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
extension:classification |  | 0..* | CodeableConcept | Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification Binding: ProductClassification (example)
extension:sizeOfItem |  | 0..1 | Quantity | Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
extension:device |  | 0..* | (Complex) | Device, typically an administration device, included in the product. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
extension:characteristic |  | 0..* | (Complex) | Specifies other descriptive properties of the medication. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
extension:unitOfPresentation |  | 0..1 | CodeableConcept | Unit of presentation of the product (e.g. tablet, vial, ampoule, etc) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation Binding: UnitOfPresentation (example)
identifier | S | 0..* | Identifier | Identifier for the medicinal product, its generic representation, or packaged product.
code | S | 0..1 | CodeableConcept | A terminology-based code for the product
marketingAuthorizationHolder | S | 0..1 | Reference(Organization) | Organization that has authorization to market medication
doseForm | S | 0..1 | CodeableConcept | Dose form. For a branded product, this would most likely be authorised dose form, but it could also be administrable dose form. For package items, it could be item's individual dose form.
totalVolume | S | 0..1 | Quantity | Total volume or number of package items inside a package. This element should not contain overall prescribed amount, but describe the product itself. In case of complex packages, this element could be left empty, and number of different items could be indicated in the nested Medications.
ingredient | S | 0..* | BackboneElement | Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:ingredientRole |  | 0..1 | CodeableConcept | Role of the ingredient in the medication URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-ingredient-role Binding: IngredientRole (example)
item | S | 1..1 | CodeableReference(Substance | IHE Medication) | Substance (Substance resource or concept from terminology) or a medicinal product (Medication resource or concept from terminology). Medicinal product can be an ingredient in case of extemporal medications or combination packs (e.g Creme + 6 tablets) Binding: SNOMEDCTSubstanceCodes (example)
isActive | S | 0..1 | boolean | Active ingredient indicator
strength[x] | S | 0..1 | Ratio, CodeableConcept, Quantity | Quantity of ingredient present
Slices for extension |  |  |  | Content/Rules for all slices
extension:basisOfStrengthSubstance |  | 0..1 | CodeableConcept | Substance for which the strength is provided (this could be different from the precise active ingredient). URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance Binding: SNOMEDCTSubstanceCodes (example)
extension:strengthType |  | 0..1 | CodeableConcept | Type of the given strength (concentration strength, presentation strength, or other) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthtype
Documentation for this format

#### Terminology Bindings (Differential)

Path | Conformance | ValueSet | URI
Medication.ingredient.item | example | SNOMEDCTSubstanceCodes `http://hl7.org/fhir/ValueSet/substance-codes` from the FHIR Standard

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Medication |  | 0..* | Medication | Definition of a Medication
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:productName |  | 0..1 | string | Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
extension:classification |  | 0..* | CodeableConcept | Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification Binding: ProductClassification (example)
extension:sizeOfItem |  | 0..1 | Quantity | Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
extension:device |  | 0..* | (Complex) | Device, typically an administration device, included in the product. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
extension:characteristic |  | 0..* | (Complex) | Specifies other descriptive properties of the medication. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
extension:unitOfPresentation |  | 0..1 | CodeableConcept | Unit of presentation of the product (e.g. tablet, vial, ampoule, etc) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation Binding: UnitOfPresentation (example)
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..* | Identifier | Identifier for the medicinal product, its generic representation, or packaged product.
code | S Σ | 0..1 | CodeableConcept | A terminology-based code for the product Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
status | ?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use.
marketingAuthorizationHolder | S Σ | 0..1 | Reference(Organization) | Organization that has authorization to market medication
doseForm | S | 0..1 | CodeableConcept | Dose form. For a branded product, this would most likely be authorised dose form, but it could also be administrable dose form. For package items, it could be item's individual dose form. Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
totalVolume | S Σ | 0..1 | Quantity | Total volume or number of package items inside a package. This element should not contain overall prescribed amount, but describe the product itself. In case of complex packages, this element could be left empty, and number of different items could be indicated in the nested Medications.
ingredient | S | 0..* | BackboneElement | Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:ingredientRole |  | 0..1 | CodeableConcept | Role of the ingredient in the medication URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-ingredient-role Binding: IngredientRole (example)
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
item | S | 1..1 | CodeableReference(Substance | IHE Medication) | Substance (Substance resource or concept from terminology) or a medicinal product (Medication resource or concept from terminology). Medicinal product can be an ingredient in case of extemporal medications or combination packs (e.g Creme + 6 tablets) Binding: SNOMEDCTSubstanceCodes (example)
isActive | S | 0..1 | boolean | Active ingredient indicator
strength[x] | S | 0..1 |  | Quantity of ingredient present Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient.
strength[x]All Types |  |  |  | Content/Rules for all Types
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:basisOfStrengthSubstance |  | 0..1 | CodeableConcept | Substance for which the strength is provided (this could be different from the precise active ingredient). URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance Binding: SNOMEDCTSubstanceCodes (example)
extension:strengthType |  | 0..1 | CodeableConcept | Type of the given strength (concentration strength, presentation strength, or other) URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthtype
strengthRatio |  |  | Ratio |
strengthCodeableConcept |  |  | CodeableConcept |
strengthQuantity |  |  | Quantity |
batch |  | 0..1 | BackboneElement | Details about packaged medications
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
lotNumber |  | 0..1 | string | Identifier assigned to batch
expirationDate |  | 0..1 | dateTime | When batch will expire
definition |  | 0..1 | Reference(MedicationKnowledge) | Knowledge about this medication
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
Medication.language | required | AllLanguages `http://hl7.org/fhir/ValueSet/all-languages|5.0.0` from the FHIR Standard
Medication.code | example | SNOMEDCTMedicationCodes `http://hl7.org/fhir/ValueSet/medication-codes` from the FHIR Standard
Medication.status | required | MedicationStatusCodes `http://hl7.org/fhir/ValueSet/medication-status|5.0.0` from the FHIR Standard
Medication.doseForm | example | SNOMEDCTFormCodes `http://hl7.org/fhir/ValueSet/medication-form-codes` from the FHIR Standard
Medication.ingredient.item | example | SNOMEDCTSubstanceCodes `http://hl7.org/fhir/ValueSet/substance-codes` from the FHIR Standard
Medication.ingredient.strength[x] | preferred | MedicationIngredientStrengthCodes `http://hl7.org/fhir/ValueSet/medication-ingredientstrength` from the FHIR Standard

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() |
dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | best practice | Medication | A resource should have narrative for robust management : text.`div`.exists() |
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() |

This structure is derived from Medication

Summary

Must-Support: 9 elements

Structures

This structure refers to these other structures:

- IHE Medication (http://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedication)

Extensions

This structure refers to these extensions:

- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-ingredient-role
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance
- http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthtype

Other representations of profile: CSV, Excel, Schematron