PackagesCanonicalsLogsProblems
    Packages
    de.gematik.dev.epa.medication@1.1.0-alpha.5
    https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product
description: Defines the medication resource for a component of a 'Kombipackung' for the Medication Service in the ePA system. These profiles are intended to inherit from EPAMedication, but due to tooling issues, this inheritance cannot currently be implemented.
package_name: de.gematik.dev.epa.medication
derivation: constraint
name: EPAMedicationPharmaceuticalProduct
type: Medication
elements:
  amount:
    mustSupport: true
    index: 73
    elements:
      numerator:
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
        mustSupport: true
        index: 74
        extensions:
          packagingSize:
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
            type: Extension
            index: 75
            elements:
              value:
                mustSupport: true
                choices: []
                index: 77
          totalQuantity:
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
            type: Extension
            index: 78
            elements:
              value:
                mustSupport: true
                choices: []
                index: 80
        elements:
          extension:
            type: Extension
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
            index: 75
            slicing:
              slices:
                packagingSize:
                  match: {}
                  schema:
                    type: Extension
                    url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension
                    index: 75
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 77
                totalQuantity:
                  match: {}
                  schema:
                    type: Extension
                    url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension
                    index: 78
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 80
          value: {mustSupport: true, index: 81}
          unit: {mustSupport: true, index: 82}
          system: {mustSupport: true, index: 83}
          code: {mustSupport: true, index: 84}
      denominator:
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
        mustSupport: true
        index: 85
        elements:
          value: {mustSupport: true, index: 86}
          unit: {mustSupport: true, index: 87}
          system: {mustSupport: true, index: 88}
          code: {mustSupport: true, index: 89}
  meta:
    mustSupport: true
    index: 0
    elements:
      versionId: {mustSupport: true, index: 1}
      lastUpdated: {mustSupport: true, index: 2}
  batch:
    short: Batch Information
    index: 131
    elements:
      lotNumber: {short: Batch Number, index: 132}
  extension:
    type: Extension
    mustSupport: true
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
    index: 4
    slicing:
      slices:
        rxPrescriptionProcessIdentifier:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 4}
          min: 0
          max: 1
        epaDispensationIdentifier:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/dispensation-identifier-extension', index: 5}
          min: 0
          max: 1
        isVaccine:
          match: {}
          schema:
            type: Extension
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension
            index: 6
            elements:
              value:
                mustSupport: true
                choices: []
                index: 8
        drugCategory:
          match: {}
          schema:
            type: Extension
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
            index: 9
            elements:
              value:
                mustSupport: true
                choices: []
                index: 11
              value[x]:
                elements:
                  system: {mustSupport: true, index: 12}
                  code: {mustSupport: true, index: 13}
        normSizeCode:
          match: {}
          schema:
            type: Extension
            short: Package size according to N-designation
            url: http://fhir.de/StructureDefinition/normgroesse
            index: 14
            elements:
              value:
                mustSupport: true
                choices: []
                index: 16
        packaging:
          match: {}
          schema:
            type: Extension
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
            index: 17
            elements:
              value:
                mustSupport: true
                choices: []
                index: 19
        manufacturingInstructions:
          match: {}
          schema:
            type: Extension
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
            index: 20
            elements:
              value:
                mustSupport: true
                choices: []
                index: 22
        type:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
            index: 23
            elements:
              value:
                choices: []
                index: 25
  contained: {index: 3}
  ingredient:
    short: Information on Components (Rezeptur)
    mustSupport: true
    index: 90
    extensions:
      darreichungsform: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', min: 0, max: 1, type: Extension, index: 91}
    elements:
      extension:
        type: Extension
        url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension
        index: 91
        slicing:
          slices:
            darreichungsform:
              match: {}
              schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension', index: 91}
              min: 0
              max: 1
      item:
        short: EPA Medication Pharmaceutical Product can't have child Medications
        mustSupport: true
        choices: [itemReference]
        index: 114
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                short: EPA Medication Pharmaceutical Product can't have child Medications
                mustSupport: true
                choices: [itemReference]
                index: 114
              min: 0
              max: 0
      itemCodeableConcept:
        short: Component in coded form or, if necessary, as free text
        type: CodeableConcept
        mustSupport: true
        choiceOf: item
        index: 96
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {short: 'Component in coded form or, if necessary, as free text', type: CodeableConcept, mustSupport: true, choiceOf: item, index: 96}
              min: 0
              max: 1
      item[x]:
        elements:
          coding:
            mustSupport: true
            index: 97
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: pattern}
              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: 98
                    elements:
                      system: {mustSupport: true, index: 99}
                      code: {mustSupport: true, index: 100}
                      display: {mustSupport: true, index: 101}
                    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: 102
                    elements:
                      system: {mustSupport: true, index: 103}
                      code: {mustSupport: true, index: 104}
                      display: {mustSupport: true, index: 105}
                    required: [system, code]
                snomed:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    pattern:
                      type: Coding
                      value: {system: 'http://snomed.info/sct'}
                    array: true
                    index: 106
                    elements:
                      system: {mustSupport: true, index: 107}
                      version: {mustSupport: true, index: 108}
                      code: {mustSupport: true, index: 109}
                      display: {mustSupport: true, index: 110}
                    required: [system, code]
                pzn:
                  match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
                  schema:
                    pattern:
                      type: Coding
                      value: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
                    index: 111
                  min: 0
                  max: 0
          text: {mustSupport: true, index: 112}
      itemReference:
        short: EPA Medication Pharmaceutical Product can't have child Medications
        refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
        type: Reference
        mustSupport: true
        choiceOf: item
        index: 115
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                short: EPA Medication Pharmaceutical Product can't have child Medications
                refers: ['http://hl7.org/fhir/StructureDefinition/Medication']
                type: Reference
                mustSupport: true
                choiceOf: item
                index: 115
              min: 0
              max: 0
      isActive: {short: 'Is it an active ingredient?', index: 116}
      strength:
        short: Strength
        mustSupport: true
        index: 117
        extensions:
          amountText:
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
            type: Extension
            index: 118
            elements:
              value:
                mustSupport: true
                choices: []
                index: 120
        elements:
          extension:
            type: Extension
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
            index: 118
            slicing:
              slices:
                amountText:
                  match: {}
                  schema:
                    type: Extension
                    url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension
                    index: 118
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 120
          numerator:
            binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
            mustSupport: true
            index: 121
            elements:
              value: {mustSupport: true, index: 122}
              unit: {mustSupport: true, index: 123}
              system: {mustSupport: true, index: 124}
              code: {mustSupport: true, index: 125}
            required: [value, system, code]
          denominator:
            binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
            mustSupport: true
            index: 126
            elements:
              value: {mustSupport: true, index: 127}
              unit: {mustSupport: true, index: 128}
              system: {mustSupport: true, index: 129}
              code: {mustSupport: true, index: 130}
            required: [value, system, code]
        required: [numerator]
  status: {short: Status of Medication Information, mustSupport: true, index: 55}
  code:
    short: Medication in coded form or as free text if necessary
    mustSupport: true
    index: 29
    elements:
      coding:
        mustSupport: true
        index: 30
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          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'}
                index: 31
                elements:
                  system: {mustSupport: true, index: 32}
                  version: {mustSupport: true, index: 33}
                  code: {mustSupport: true, index: 34}
                  display: {mustSupport: true, index: 35}
                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: 36
                elements:
                  system: {mustSupport: true, index: 37}
                  code: {mustSupport: true, index: 38}
                  display: {mustSupport: true, index: 39}
                required: [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: 40
                elements:
                  system: {mustSupport: true, index: 41}
                  code: {mustSupport: true, index: 42}
                  display: {mustSupport: true, index: 43}
                required: [system, code]
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                array: true
                index: 44
                elements:
                  system: {mustSupport: true, index: 45}
                  version: {mustSupport: true, index: 46}
                  code: {mustSupport: true, index: 47}
                  display: {mustSupport: true, index: 48}
                required: [system, code]
            product-key:
              match: {system: 'https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-produkt'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-produkt'}
                _required: true
                index: 49
                elements:
                  system: {mustSupport: true, index: 50}
                  version: {mustSupport: true, index: 51}
                  code: {mustSupport: true, index: 52}
                  display: {mustSupport: true, index: 53}
                required: [system, code]
      text: {mustSupport: true, index: 54}
    required: [coding]
  identifier:
    index: 26
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        EPAMedicationUniqueIdentifier:
          match: {system: 'https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier'}
          schema:
            type: Identifier
            pattern:
              type: Identifier
              value: {system: 'https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier'}
            index: 27
          min: 0
          max: 1
        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: 28
          min: 0
          max: 1
  manufacturer:
    short: Manufacturer of the Medication
    mustSupport: true
    index: 56
    elements:
      display: {mustSupport: true, index: 57}
    required: [display]
  form:
    short: Form of Dispensing
    mustSupport: true
    index: 58
    elements:
      coding:
        mustSupport: true
        index: 59
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            edqm:
              match: {system: 'http://standardterms.edqm.eu'}
              schema:
                binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://standardterms.edqm.eu'}
                array: true
                index: 60
                elements:
                  system: {mustSupport: true, index: 61}
                  code: {mustSupport: true, index: 62}
                  display: {mustSupport: true, index: 63}
                required: [system, code]
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                array: true
                index: 64
                elements:
                  system: {mustSupport: true, index: 65}
                  version: {mustSupport: true, index: 66}
                  code: {mustSupport: true, index: 67}
                  display: {mustSupport: true, index: 68}
                required: [system, code]
            kbvDarreichungsform:
              match: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'}
                array: true
                index: 69
                elements:
                  system: {mustSupport: true, index: 70}
                  code: {mustSupport: true, index: 71}
                  display: {mustSupport: true, index: 72}
                required: [system, code]
package_version: 1.1.0-alpha.5
extensions:
  rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 4}
  epaDispensationIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/dispensation-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
    type: Extension
    index: 6
    elements:
      value:
        mustSupport: true
        choices: []
        index: 8
  drugCategory:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension
    type: Extension
    index: 9
    elements:
      value:
        mustSupport: true
        choices: []
        index: 11
      value[x]:
        elements:
          system: {mustSupport: true, index: 12}
          code: {mustSupport: true, index: 13}
  normSizeCode:
    url: http://fhir.de/StructureDefinition/normgroesse
    type: Extension
    short: Package size according to N-designation
    index: 14
    elements:
      value:
        mustSupport: true
        choices: []
        index: 16
  packaging:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension
    type: Extension
    index: 17
    elements:
      value:
        mustSupport: true
        choices: []
        index: 19
  manufacturingInstructions:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension
    type: Extension
    index: 20
    elements:
      value:
        mustSupport: true
        choices: []
        index: 22
  type:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension
    type: Extension
    mustSupport: true
    index: 23
    elements:
      value:
        choices: []
        index: 25
class: profile
kind: resource
url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 1.1.0-rc1