PackagesCanonicalsLogsProblems
    Packages
    de.gematik.epa.medication@1.1.1
    https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient-planning
description: null
package_name: de.gematik.epa.medication
derivation: constraint
name: EPAMedicationPZNIngredientPlanning
type: Medication
elements:
  amount:
    elements:
      numerator:
        extensions:
          packagingSize: {url: null, max: 0, index: 38}
          totalQuantity: {url: null, max: 0, index: 39}
        elements:
          extension:
            index: 37
            slicing:
              slices:
                packagingSize:
                  match: {}
                  schema: {index: 38}
                  max: 0
                totalQuantity:
                  match: {}
                  schema: {index: 39}
                  max: 0
          comparator: {index: 40}
      denominator:
        elements:
          comparator: {index: 41}
  meta:
    elements:
      source: {index: 0}
      security: {index: 1}
  implicitRules: {index: 2}
  batch: {index: 61}
  extension:
    index: 5
    slicing:
      rules: closed
      description: Extensions are always sliced by (at least) url
      discriminator:
      - {path: url, type: value}
      min: null
      max: 1
      slices:
        rxPrescriptionProcessIdentifier:
          match: {url: null}
          schema: {index: 6}
          max: 0
        epaDispensationIdentifier:
          match: {url: null}
          schema: {index: 7}
          max: 0
        isVaccine:
          match: {url: null}
          schema: {index: 8}
          max: 0
        drugCategory:
          match: {url: null}
          schema: {index: 9}
          max: 0
        normSizeCode:
          match: {url: null}
          schema: {index: 10}
          max: 0
        packaging:
          match: {url: null}
          schema: {index: 11}
          max: 0
        manufacturingInstructions:
          match: {url: null}
          schema: {index: 12}
          max: 0
  ingredient:
    extensions:
      darreichungsform: {url: null, max: 0, index: 43}
    elements:
      extension:
        index: 42
        slicing:
          slices:
            darreichungsform:
              match: {}
              schema: {index: 43}
              max: 0
      item:
        choices: []
        index: 45
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                choices: [itemCodeableConcept]
                index: 47
      itemCodeableConcept:
        type: CodeableConcept
        choiceOf: item
        index: 48
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: item, index: 48}
      item[x]:
        elements:
          coding:
            array: true
            max: 3
            index: 49
            slicing:
              rules: closed
              discriminator:
              - {path: $this, type: pattern}
              min: null
              max: 3
              slices:
                ask:
                  match: {}
                  schema:
                    index: 50
                    elements:
                      userSelected: {index: 51}
                atc-de:
                  match: {}
                  schema:
                    index: 52
                    elements:
                      userSelected: {index: 53}
                snomed:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 54
                    elements:
                      userSelected: {index: 55}
      isActive: {index: 56}
      strength:
        extensions:
          amountText: {url: null, max: 0, index: 58}
        elements:
          extension:
            index: 57
            slicing:
              slices:
                amountText:
                  match: {}
                  schema: {index: 58}
                  max: 0
          numerator:
            elements:
              comparator: {index: 59}
          denominator:
            elements:
              comparator: {index: 60}
  language: {index: 3}
  code:
    elements:
      coding:
        array: true
        max: 4
        index: 17
        slicing:
          rules: closed
          discriminator:
          - {path: $this, type: pattern}
          min: null
          max: 4
          slices:
            pzn:
              match: {}
              schema:
                index: 18
                elements:
                  userSelected: {index: 19}
            atc-de:
              match: {}
              schema:
                index: 20
                elements:
                  userSelected: {index: 21}
            ask:
              match: {}
              schema:
                index: 22
                elements:
                  userSelected: {index: 23}
            snomed:
              match: {}
              schema:
                mustSupport: true
                index: 24
                elements:
                  userSelected: {index: 25}
  identifier:
    index: 14
    slicing:
      slices:
        EPAMedicationUniqueIdentifier:
          match: {}
          schema: {index: 15}
          max: 0
        RxOriginatorProcessIdentifier:
          match: {}
          schema: {index: 16}
          max: 0
  manufacturer:
    elements:
      reference: {index: 26}
      type: {index: 27}
      identifier: {index: 28}
  form:
    elements:
      coding:
        array: true
        max: 3
        index: 29
        slicing:
          rules: closed
          discriminator:
          - {path: $this, type: pattern}
          min: null
          max: 3
          slices:
            edqm:
              match: {}
              schema:
                index: 30
                elements:
                  userSelected: {index: 31}
            snomed:
              match: {}
              schema:
                mustSupport: true
                index: 32
                elements:
                  userSelected: {index: 33}
            kbvDarreichungsform:
              match: {}
              schema:
                index: 34
                elements:
                  userSelected: {index: 35}
      text: {index: 36}
  modifierExtension: {index: 13}
  text: {index: 4}
package_version: 1.1.1
extensions:
  rxPrescriptionProcessIdentifier: {url: null, max: 0, index: 6}
  epaDispensationIdentifier: {url: null, max: 0, index: 7}
  isVaccine: {url: null, max: 0, index: 8}
  drugCategory: {url: null, max: 0, index: 9}
  normSizeCode: {url: null, max: 0, index: 10}
  packaging: {url: null, max: 0, index: 11}
  manufacturingInstructions: {url: null, max: 0, index: 12}
class: profile
kind: resource
url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient-planning
base: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient
version: 1.1.1