PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.eu.hdr@0.1.0-ballot
    http://hl7.eu/fhir/hdr/StructureDefinition/medication-eu-hdr
description: This profile constrains the Medication resource for the purpose of this guide, adapted from the MPD work.
package_name: rs/hl7.fhir.eu.hdr
derivation: constraint
name: MedicationEuHdr
type: Medication
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        productName:
          match: {url: null}
          schema: {type: Extension, short: 'Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant.', url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname', index: 1}
          min: 0
          max: 1
        classification:
          match: {url: null}
          schema: {type: Extension, short: 'Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc', url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification', index: 2}
          min: 0
        sizeOfItem:
          match: {url: null}
          schema: {type: Extension, short: 'Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial)', url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem', index: 3}
          min: 0
          max: 1
        device:
          match: {url: null}
          schema: {type: Extension, short: 'Device, typically an administration device, included in the product.', url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device', index: 4}
          min: 0
        characteristic:
          match: {url: null}
          schema: {type: Extension, short: Specifies other descriptive properties of the medication., url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic', index: 5}
          min: 0
        unitOfPresentation:
          match: {url: null}
          schema: {type: Extension, short: 'Unit of presentation of the product (e.g. tablet, vial, ampoule, etc)', url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation', index: 6}
          min: 0
          max: 1
  identifier: {short: 'Identifier for the medicinal product, its generic representation, or packaged product.', index: 7}
  code: {short: A terminology-based code for the product, index: 8}
  form: {short: Dose Form, index: 9}
  ingredient:
    short: Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
    index: 10
    elements:
      item:
        choices: []
        index: 12
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            itemReference:
              match: {}
              schema:
                choices: [itemReference]
                index: 14
              min: 0
              max: 1
      itemReference:
        type: Reference
        choiceOf: item
        refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/medication-eu-hdr']
        index: 15
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                type: Reference
                choiceOf: item
                refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/medication-eu-hdr']
                index: 15
              min: 0
              max: 1
      isActive: {short: Active ingredient flag, index: 16}
      strength:
        short: Amount of substance in product (presentation or concentration strength)
        index: 17
        extensions:
          strengthSubstance: {url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance', min: 0, max: 1, type: Extension, short: Substance for which the strength is provided (this could be different from the precise active ingredient)., index: 18}
        elements:
          extension:
            type: Extension
            short: Substance for which the strength is provided (this could be different from the precise active ingredient).
            url: https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance
            index: 18
            slicing:
              slices:
                strengthSubstance:
                  match: {}
                  schema: {type: Extension, short: Substance for which the strength is provided (this could be different from the precise active ingredient)., url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance', index: 18}
                  min: 0
                  max: 1
package_version: 0.1.0-ballot
extensions:
  productName: {url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname', min: 0, max: 1, type: Extension, short: 'Name of the medicinal product. Names of different types (full name, short name, etc) and in different languages can be provided if relevant.', index: 1}
  classification: {url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification', min: 0, type: Extension, short: 'Classifications of the product, e.g ATC, narcotic/psychotropic, orphan drug, etc', index: 2}
  sizeOfItem: {url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem', min: 0, max: 1, type: Extension, short: 'Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial)', index: 3}
  device: {url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device', min: 0, type: Extension, short: 'Device, typically an administration device, included in the product.', index: 4}
  characteristic: {url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic', min: 0, type: Extension, short: Specifies other descriptive properties of the medication., index: 5}
  unitOfPresentation: {url: 'https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation', min: 0, max: 1, type: Extension, short: 'Unit of presentation of the product (e.g. tablet, vial, ampoule, etc)', index: 6}
class: profile
kind: resource
url: http://hl7.eu/fhir/hdr/StructureDefinition/medication-eu-hdr
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 0.1.0-ballot