PackagesCanonicalsLogsProblems
    Packages
    de.gematik.ti@1.4.0-ballot.2
    https://gematik.de/fhir/ti/StructureDefinition/ti-medication-pzn-ingredient-dgmp
description: Definiert die Medication-Ressource für einen PZN-Bestandteil einer Rezeptur zur Verwendung in der TI.
package_name: de.gematik.ti
derivation: constraint
name: TIMedicationPZNIngredientDgMP
type: Medication
elements:
  amount:
    mustSupport: true
    index: 58
    elements:
      numerator:
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
        mustSupport: true
        index: 59
        extensions:
          packagingSize: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 60}
          totalQuantity: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 61}
        elements:
          extension:
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
            index: 60
            slicing:
              slices:
                packagingSize:
                  match: {}
                  schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension', index: 60}
                  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: 61}
                  min: 0
                  max: 1
      denominator:
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
        mustSupport: true
        index: 62
        elements:
          value: {mustSupport: true, index: 63}
          unit: {mustSupport: true, index: 64}
          system: {mustSupport: true, index: 65}
          code: {mustSupport: true, index: 66}
  meta:
    mustSupport: true
    index: 0
    elements:
      versionId: {mustSupport: true, index: 1}
      lastUpdated: {mustSupport: true, index: 2}
  batch:
    mustSupport: true
    index: 106
    elements:
      lotNumber: {mustSupport: true, index: 107}
  extension:
    index: 4
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        context:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension', index: 5}
          min: 0
          max: 1
        rxPrescriptionProcessIdentifier:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 6}
          min: 0
          max: 1
        isVaccine:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension', index: 7}
          min: 0
          max: 1
        drugCategory:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
            index: 8
            elements:
              value[x]:
                elements:
                  system: {mustSupport: true, index: 9}
                  code: {mustSupport: true, index: 10}
                required: [system, code]
        normSizeCode:
          match: {url: null}
          schema:
            short: Package size according to N-designation
            type: Extension
            mustSupport: true
            url: http://fhir.de/StructureDefinition/normgroesse
            index: 11
            elements:
              value:
                mustSupport: true
                choices: []
                index: 13
        packaging:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension', index: 14}
          min: 0
          max: 1
        manufacturingInstructions:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension', index: 15}
          min: 0
          max: 1
        type:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
            index: 16
            elements:
              url: {mustSupport: true, index: 17}
              value:
                choices: []
                index: 19
              value[x]:
                elements:
                  system: {mustSupport: true, index: 20}
                  version: {mustSupport: true, index: 21}
                  code: {mustSupport: true, index: 22}
                  display: {mustSupport: true, index: 23}
  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: 67
    extensions:
      darreichungsform: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', min: 0, max: 1, type: Extension, index: 69}
    elements:
      extension:
        index: 68
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            darreichungsform:
              match: {url: null}
              schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', index: 69}
              min: 0
              max: 1
      item:
        short: Ein Bestandteil einer Rezeptur darf keine weiteren untergeordneten Medications enthalten.
        mustSupport: true
        choices: [itemReference]
        index: 91
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                short: Ein Bestandteil einer Rezeptur darf keine weiteren untergeordneten Medications enthalten.
                mustSupport: true
                choices: [itemReference]
                index: 91
              min: 0
              max: 0
      itemCodeableConcept:
        short: Encoded description of the substance or component.
        type: CodeableConcept
        mustSupport: true
        choiceOf: item
        index: 74
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {short: Encoded description of the substance or component., type: CodeableConcept, mustSupport: true, choiceOf: item, index: 74}
              min: 0
              max: 1
      item[x]:
        elements:
          coding:
            mustSupport: true
            index: 75
            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: 76
                    elements:
                      system: {mustSupport: true, index: 77}
                      code: {mustSupport: true, index: 78}
                      display: {mustSupport: true, index: 79}
                    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: 80
                    elements:
                      system: {mustSupport: true, index: 81}
                      version: {index: 82}
                      code: {mustSupport: true, index: 83}
                      display: {mustSupport: true, index: 84}
                    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: 85
                    elements:
                      system: {mustSupport: true, index: 86}
                      code: {mustSupport: true, index: 87}
                      display: {mustSupport: true, index: 88}
                    required: [system, code]
          text: {mustSupport: true, index: 89}
      itemReference:
        short: Ein Bestandteil einer Rezeptur darf keine weiteren untergeordneten Medications enthalten.
        refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
        type: Reference
        mustSupport: true
        choiceOf: item
        index: 92
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                short: Ein Bestandteil einer Rezeptur darf keine weiteren untergeordneten Medications enthalten.
                refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
                type: Reference
                mustSupport: true
                choiceOf: item
                index: 92
              min: 0
              max: 0
      isActive: {short: 'Is it an active ingredient?', index: 93}
      strength:
        short: Strength
        mustSupport: true
        index: 94
        extensions:
          amountText: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension', min: 0, max: 1, type: Extension, index: 95}
        elements:
          extension:
            type: Extension
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
            index: 95
            slicing:
              slices:
                amountText:
                  match: {}
                  schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension', index: 95}
                  min: 0
                  max: 1
          numerator:
            binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
            mustSupport: true
            index: 96
            elements:
              value: {mustSupport: true, index: 97}
              unit: {mustSupport: true, index: 98}
              system: {mustSupport: true, index: 99}
              code: {mustSupport: true, index: 100}
            required: [value]
          denominator:
            binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
            mustSupport: true
            index: 101
            elements:
              value: {mustSupport: true, index: 102}
              unit: {mustSupport: true, index: 103}
              system: {mustSupport: true, index: 104}
              code: {mustSupport: true, index: 105}
            required: [value]
  status: {short: Status of Medication Information, mustSupport: true, index: 42}
  code:
    short: Medication in coded form or as free text if necessary
    mustSupport: true
    index: 26
    elements:
      coding:
        mustSupport: true
        index: 27
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            pzn:
              match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
                _required: true
                index: 28
                elements:
                  system: {mustSupport: true, index: 29}
                  code: {mustSupport: true, index: 30}
                  display: {mustSupport: true, index: 31}
                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: 32
                elements:
                  system: {mustSupport: true, index: 33}
                  version: {index: 34}
                  code: {mustSupport: true, index: 35}
                  display: {mustSupport: true, index: 36}
                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: 37
                elements:
                  system: {mustSupport: true, index: 38}
                  code: {mustSupport: true, index: 39}
                  display: {mustSupport: true, index: 40}
                required: [system, code]
      text: {mustSupport: true, index: 41}
    required: [coding]
  identifier:
    index: 24
    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: 25
          min: 0
          max: 1
  manufacturer:
    short: Manufacturer of the Medication
    mustSupport: true
    index: 43
    elements:
      display: {mustSupport: true, index: 44}
    required: [display]
  form:
    short: Form of Dispensing
    mustSupport: true
    index: 45
    extensions:
      dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 0, max: 1, type: Extension, mustSupport: true, index: 47}
    elements:
      extension:
        mustSupport: true
        index: 46
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 47}
              min: 0
              max: 1
      coding:
        mustSupport: true
        index: 48
        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: 49
                elements:
                  system: {mustSupport: true, index: 50}
                  code: {mustSupport: true, index: 51}
                  display: {mustSupport: true, index: 52}
                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: 53
                elements:
                  system: {mustSupport: true, index: 54}
                  code: {mustSupport: true, index: 55}
                  display: {mustSupport: true, index: 56}
                required: [system, code]
      text: {mustSupport: true, index: 57}
package_version: 1.4.0-ballot.2
extensions:
  context: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 5}
  rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 6}
  isVaccine: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 7}
  drugCategory:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
    type: Extension
    mustSupport: true
    index: 8
    elements:
      value[x]:
        elements:
          system: {mustSupport: true, index: 9}
          code: {mustSupport: true, index: 10}
        required: [system, code]
  normSizeCode:
    url: http://fhir.de/StructureDefinition/normgroesse
    short: Package size according to N-designation
    type: Extension
    mustSupport: true
    index: 11
    elements:
      value:
        mustSupport: true
        choices: []
        index: 13
  packaging: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 14}
  manufacturingInstructions: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 15}
  type:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
    type: Extension
    mustSupport: true
    index: 16
    elements:
      url: {mustSupport: true, index: 17}
      value:
        choices: []
        index: 19
      value[x]:
        elements:
          system: {mustSupport: true, index: 20}
          version: {mustSupport: true, index: 21}
          code: {mustSupport: true, index: 22}
          display: {mustSupport: true, index: 23}
class: profile
kind: resource
url: https://gematik.de/fhir/ti/StructureDefinition/ti-medication-pzn-ingredient-dgmp
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 1.4.0