PackagesCanonicalsLogsProblems
    Packages
    de.gematik.ti@1.5.0-ballot.2
    https://gematik.de/fhir/ti/StructureDefinition/ti-medication-pharmaceutical-product-dgmp
description: Definiert die Medication-Ressource für eine Komponente einer 'Kombipackung' für den digitale Medikationsprozess (dgMP). Diese Profile sollen von TIMedicationDgMP abgeleitet werden. Aufgrund von Tooling-Problemen kann diese Vererbung derzeit jedoch nicht umgesetzt werden.
package_name: de.gematik.ti
derivation: constraint
name: TIMedicationPharmaceuticalProductDgMP
type: Medication
elements:
  amount:
    mustSupport: true
    index: 57
    elements:
      numerator:
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
        mustSupport: true
        index: 58
        extensions:
          packagingSize: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 59}
          totalQuantity: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 60}
        elements:
          extension:
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
            index: 59
            slicing:
              slices:
                packagingSize:
                  match: {}
                  schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension', index: 59}
                  min: 0
                  max: 1
                totalQuantity:
                  match: {}
                  schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension', index: 60}
                  min: 0
                  max: 1
      denominator:
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
        mustSupport: true
        index: 61
        elements:
          value: {mustSupport: true, index: 62}
          unit: {mustSupport: true, index: 63}
          system: {mustSupport: true, index: 64}
          code: {mustSupport: true, index: 65}
  meta:
    mustSupport: true
    index: 0
    elements:
      versionId: {mustSupport: true, index: 1}
      lastUpdated: {mustSupport: true, index: 2}
  extension:
    type: Extension
    mustSupport: true
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
    index: 4
    slicing:
      slices:
        context:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension', index: 4}
          min: 0
          max: 1
        rxPrescriptionProcessIdentifier:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 5}
          min: 0
          max: 1
        isVaccine:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension', index: 6}
          min: 0
          max: 1
        drugCategory:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
            index: 7
            elements:
              value[x]:
                elements:
                  system: {mustSupport: true, index: 8}
                  code: {mustSupport: true, index: 9}
                required: [system, code]
        normSizeCode:
          match: {}
          schema:
            short: Package size according to N-designation
            type: Extension
            mustSupport: true
            url: http://fhir.de/StructureDefinition/normgroesse
            index: 10
            elements:
              value:
                mustSupport: true
                choices: []
                index: 12
        packaging:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension', index: 13}
          min: 0
          max: 1
        manufacturingInstructions:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension', index: 14}
          min: 0
          max: 1
        type:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
            index: 15
            elements:
              url: {mustSupport: true, index: 16}
              value:
                choices: []
                index: 18
              value[x]:
                elements:
                  system: {mustSupport: true, index: 19}
                  version: {mustSupport: true, index: 20}
                  code: {mustSupport: true, index: 21}
                  display: {mustSupport: true, index: 22}
  contained: {index: 3}
  ingredient:
    short: Active or inactive ingredients of the medication, including pharmaceutical substances as well as individual medicinal products in combination packs.
    mustSupport: true
    index: 66
    extensions:
      darreichungsform: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', min: 0, max: 1, type: Extension, index: 67}
    elements:
      extension:
        type: Extension
        url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
        index: 67
        slicing:
          slices:
            darreichungsform:
              match: {}
              schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', index: 67}
              min: 0
              max: 1
      item:
        short: Eine Medication für ein pharmazeutisches Produkt innerhalb einer Kombipackung darf keine weiteren untergeordneten Medications enthalten.“
        mustSupport: true
        choices: [itemReference]
        index: 89
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                short: Eine Medication für ein pharmazeutisches Produkt innerhalb einer Kombipackung darf keine weiteren untergeordneten Medications enthalten.“
                mustSupport: true
                choices: [itemReference]
                index: 89
              min: 0
              max: 0
      itemCodeableConcept:
        short: Encoded description of the substance or component.
        type: CodeableConcept
        mustSupport: true
        choiceOf: item
        index: 72
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {short: Encoded description of the substance or component., type: CodeableConcept, mustSupport: true, choiceOf: item, index: 72}
              min: 0
              max: 1
      item[x]:
        elements:
          coding:
            mustSupport: true
            index: 73
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: value}
              min: null
              slices:
                ask:
                  match: {system: 'http://fhir.de/CodeSystem/ask'}
                  schema:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'http://fhir.de/CodeSystem/ask'}
                    array: true
                    index: 74
                    elements:
                      system: {mustSupport: true, index: 75}
                      code: {mustSupport: true, index: 76}
                      display: {mustSupport: true, index: 77}
                    required: [system, code]
                atc-de:
                  match: {system: 'http://fhir.de/CodeSystem/bfarm/atc'}
                  schema:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'http://fhir.de/CodeSystem/bfarm/atc'}
                    array: true
                    index: 78
                    elements:
                      system: {mustSupport: true, index: 79}
                      version: {index: 80}
                      code: {mustSupport: true, index: 81}
                      display: {mustSupport: true, index: 82}
                    required: [version, system, code]
                pzn:
                  match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
                  schema:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
                    array: true
                    index: 83
                    elements:
                      system: {mustSupport: true, index: 84}
                      code: {mustSupport: true, index: 85}
                      display: {mustSupport: true, index: 86}
                    required: [system, code]
          text: {mustSupport: true, index: 87}
      itemReference:
        short: Eine Medication für ein pharmazeutisches Produkt innerhalb einer Kombipackung darf keine weiteren untergeordneten Medications enthalten.“
        refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
        type: Reference
        mustSupport: true
        choiceOf: item
        index: 90
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                short: Eine Medication für ein pharmazeutisches Produkt innerhalb einer Kombipackung darf keine weiteren untergeordneten Medications enthalten.“
                refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
                type: Reference
                mustSupport: true
                choiceOf: item
                index: 90
              min: 0
              max: 0
      isActive: {short: 'Is it an active ingredient?', index: 91}
      strength:
        short: Strength
        mustSupport: true
        index: 92
        extensions:
          amountText: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension', min: 0, max: 1, type: Extension, index: 93}
        elements:
          extension:
            type: Extension
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
            index: 93
            slicing:
              slices:
                amountText:
                  match: {}
                  schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension', index: 93}
                  min: 0
                  max: 1
          numerator:
            binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
            mustSupport: true
            index: 94
            elements:
              value: {mustSupport: true, index: 95}
              unit: {mustSupport: true, index: 96}
              system: {mustSupport: true, index: 97}
              code: {mustSupport: true, index: 98}
            required: [value]
          denominator:
            binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
            mustSupport: true
            index: 99
            elements:
              value: {mustSupport: true, index: 100}
              unit: {mustSupport: true, index: 101}
              system: {mustSupport: true, index: 102}
              code: {mustSupport: true, index: 103}
            required: [value]
  status: {short: Status of Medication Information, mustSupport: true, index: 41}
  code:
    short: Medication in coded form or as free text if necessary
    mustSupport: true
    index: 25
    elements:
      coding:
        mustSupport: true
        index: 26
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: null
          slices:
            pzn:
              match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
                index: 27
                elements:
                  system: {mustSupport: true, index: 28}
                  code: {mustSupport: true, index: 29}
                  display: {mustSupport: true, index: 30}
                required: [system, code]
            atc-de:
              match: {system: 'http://fhir.de/CodeSystem/bfarm/atc'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/bfarm/atc'}
                array: true
                index: 31
                elements:
                  system: {mustSupport: true, index: 32}
                  version: {index: 33}
                  code: {mustSupport: true, index: 34}
                  display: {mustSupport: true, index: 35}
                required: [version, system, code]
            ask:
              match: {system: 'http://fhir.de/CodeSystem/ask'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/ask'}
                array: true
                index: 36
                elements:
                  system: {mustSupport: true, index: 37}
                  code: {mustSupport: true, index: 38}
                  display: {mustSupport: true, index: 39}
                required: [system, code]
      text: {mustSupport: true, index: 40}
  identifier:
    index: 23
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: null
      slices:
        RxOriginatorProcessIdentifier:
          match: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier'}
          schema:
            type: Identifier
            pattern:
              type: Identifier
              value: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier'}
            index: 24
          min: 0
          max: 1
  manufacturer:
    short: Manufacturer of the Medication
    mustSupport: true
    index: 42
    elements:
      display: {mustSupport: true, index: 43}
    required: [display]
  form:
    short: Form of Dispensing
    mustSupport: true
    index: 44
    extensions:
      dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 0, max: 1, type: Extension, mustSupport: true, index: 46}
    elements:
      extension:
        mustSupport: true
        index: 45
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 46}
              min: 0
              max: 1
      coding:
        mustSupport: true
        index: 47
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: null
          slices:
            kbvDarreichungsform:
              match: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'}
              schema:
                mustSupport: true
                binding: {strength: required, valueSet: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'}
                pattern:
                  type: Coding
                  value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'}
                index: 48
                elements:
                  system: {mustSupport: true, index: 49}
                  code: {mustSupport: true, index: 50}
                  display: {mustSupport: true, index: 51}
                required: [system, code]
            ifaDarreichungsform:
              match: {system: 'https://fhir.ifaffm.de/CodeSystem/IFA_DARREICHUNGSFORM'}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.ifaffm.de/CodeSystem/IFA_DARREICHUNGSFORM'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'https://fhir.ifaffm.de/CodeSystem/IFA_DARREICHUNGSFORM'}
                index: 52
                elements:
                  system: {mustSupport: true, index: 53}
                  code: {mustSupport: true, index: 54}
                  display: {mustSupport: true, index: 55}
                required: [system, code]
      text: {mustSupport: true, index: 56}
package_version: 1.5.0-ballot.2
extensions:
  context: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 4}
  rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 5}
  isVaccine: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 6}
  drugCategory:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
    type: Extension
    mustSupport: true
    index: 7
    elements:
      value[x]:
        elements:
          system: {mustSupport: true, index: 8}
          code: {mustSupport: true, index: 9}
        required: [system, code]
  normSizeCode:
    url: http://fhir.de/StructureDefinition/normgroesse
    short: Package size according to N-designation
    type: Extension
    mustSupport: true
    index: 10
    elements:
      value:
        mustSupport: true
        choices: []
        index: 12
  packaging: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 13}
  manufacturingInstructions: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 14}
  type:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
    type: Extension
    mustSupport: true
    index: 15
    elements:
      url: {mustSupport: true, index: 16}
      value:
        choices: []
        index: 18
      value[x]:
        elements:
          system: {mustSupport: true, index: 19}
          version: {mustSupport: true, index: 20}
          code: {mustSupport: true, index: 21}
          display: {mustSupport: true, index: 22}
class: profile
kind: resource
url: https://gematik.de/fhir/ti/StructureDefinition/ti-medication-pharmaceutical-product-dgmp
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 1.4.0