PackagesCanonicalsLogsProblems
    Packages
    kbv.ita.vos@2.1.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Medication_Compounding
description: Übergabe einer Rezeptur
package_name: kbv.ita.vos
derivation: constraint
name: KBV_PR_VoS_Medication_Compounding
type: Medication
elements:
  amount:
    mustSupport: true
    index: 68
    elements:
      numerator:
        constraint:
          -erp-codeUndSystem: {human: 'Wenn ein Code eingegeben ist, muss auch das System hinterlegt sein.', source: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding', severity: error, expression: code.exists() implies system.exists()}
        mustSupport: true
        index: 69
        extensions:
          Gesamtmenge:
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize|1.1.0
            isModifier: false
            short: Gesamtmenge der Rezeptur
            type: Extension
            mustSupport: true
            index: 71
            elements:
              value:
                mustSupport: true
                choices: []
                index: 73
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        short: Gesamtmenge der Rezeptur
                        mustSupport: true
                        choices: []
                        index: 75
        elements:
          extension:
            index: 70
            slicing:
              rules: closed
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                Gesamtmenge:
                  match: {url: null}
                  schema:
                    isModifier: false
                    short: Gesamtmenge der Rezeptur
                    type: Extension
                    mustSupport: true
                    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize|1.1.0
                    index: 71
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 73
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                short: Gesamtmenge der Rezeptur
                                mustSupport: true
                                choices: []
                                index: 75
          value: {index: 76}
          comparator: {index: 77}
          unit: {short: Einheit der Gesamtmenge, mustSupport: true, index: 78}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            mustSupport: false
            index: 79
          code: {short: Einheit der Gesamtmenge (kodiert), mustSupport: false, index: 80}
        required: [extension, unit]
      denominator:
        mustSupport: true
        index: 81
        elements:
          value:
            mustSupport: true
            pattern: {type: Decimal, value: 1}
            index: 82
          comparator: {index: 83}
          unit: {index: 84}
          system: {index: 85}
          code: {index: 86}
        required: [value]
    required: [denominator, numerator]
  meta:
    mustSupport: true
    index: 1
    elements:
      source: {index: 2}
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Medication_Compounding|2.1.0'}
        index: 3
      security: {index: 4}
      tag: {index: 5}
    required: [profile]
  implicitRules: {index: 6}
  batch: {index: 131}
  extension:
    array: true
    min: 3
    index: 10
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: 3
      slices:
        Kategorie:
          match: {url: null}
          schema:
            mustSupport: true
            _required: true
            index: 11
            elements:
              value:
                mustSupport: true
                choices: []
                index: 13
                slicing:
                  rules: closed
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 15
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    index: 16
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: true
                        index: 17
                      version:
                        pattern: {type: String, value: 'http://snomed.info/sct/900000000000207008/version/20220331'}
                        mustSupport: true
                        index: 18
                      code:
                        pattern: {type: Code, value: '373873005:860781008=362943005'}
                        mustSupport: true
                        index: 19
                      display:
                        pattern: {type: String, value: 'Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)'}
                        mustSupport: true
                        index: 20
                      userSelected: {index: 21}
                  text: {index: 22}
                required: [coding]
        Arzneimittelkategorie:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_Medication_Category|2.1.0
            index: 23
            elements:
              value:
                mustSupport: true
                choices: []
                index: 25
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 27
              value[x]:
                elements:
                  system: {mustSupport: true, index: 28}
                  code: {mustSupport: true, index: 29}
        Impfstoff:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine|1.1.0
            index: 30
            elements:
              value:
                mustSupport: true
                choices: []
                index: 32
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 34
        Herstellungsanweisung:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction|1.1.0
            index: 35
            elements:
              value:
                mustSupport: true
                choices: []
                index: 37
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 39
        Verpackung:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging|1.1.0
            index: 40
            elements:
              value:
                mustSupport: true
                choices: []
                index: 42
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 44
        isOverTheCounter:
          match: {url: null}
          schema:
            type: Extension
            isModifier: false
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_Medication_isOverTheCounter
            index: 45
            elements:
              value:
                mustSupport: true
                choices: []
                index: 47
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 49
  contained: {index: 9}
  ingredient:
    mustSupport: true
    index: 87
    extensions:
      Darreichungsform:
        url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form|1.1.0
        type: Extension
        mustSupport: true
        index: 89
        elements:
          value:
            mustSupport: true
            choices: []
            index: 91
            slicing:
              slices:
                valueString:
                  match: {}
                  schema:
                    mustSupport: true
                    choices: []
                    index: 93
    elements:
      extension:
        index: 88
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            Darreichungsform:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form|1.1.0
                index: 89
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 91
                    slicing:
                      slices:
                        valueString:
                          match: {}
                          schema:
                            mustSupport: true
                            choices: []
                            index: 93
      item:
        choices: []
        index: 110
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                choices: []
                index: 110
              max: 0
      itemCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: item, index: 96}
      item[x]:
        elements:
          coding:
            mustSupport: true
            index: 99
            slicing:
              rules: closed
              discriminator:
              - {path: $this, type: pattern}
              min: null
              max: 1
              slices:
                askCode:
                  match: {}
                  schema: {index: 100}
                  max: 0
                snomedCode:
                  match: {}
                  schema: {index: 101}
                  max: 0
                pznCode:
                  match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
                  schema:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
                    index: 102
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/ifa/pzn'}
                        mustSupport: true
                        index: 103
                      version: {index: 104}
                      code: {short: PZN des Bestandteils, mustSupport: true, index: 105}
                      display: {index: 106}
                      userSelected: {index: 107}
                    required: [system, code]
          text: {short: Name des Bestandteils, mustSupport: true, index: 108}
        required: [text]
      isActive: {index: 111}
      strength:
        mustSupport: true
        index: 112
        extensions:
          MengeFreitext:
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount|1.1.0
            type: Extension
            mustSupport: true
            index: 114
            elements:
              value:
                mustSupport: true
                choices: []
                index: 116
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 118
        elements:
          extension:
            index: 113
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                MengeFreitext:
                  match: {url: null}
                  schema:
                    type: Extension
                    mustSupport: true
                    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount|1.1.0
                    index: 114
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 116
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                mustSupport: true
                                choices: []
                                index: 118
          numerator:
            constraint:
              -erp-codeUndSystem: {human: 'Wenn ein Code eingegeben ist, muss auch das System hinterlegt sein.', source: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding', severity: error, expression: code.exists() implies system.exists()}
            mustSupport: true
            index: 119
            elements:
              value: {short: Menge des Bestandteils, mustSupport: true, index: 120}
              comparator: {index: 121}
              unit: {short: Einheit des Bestandteils, mustSupport: true, index: 122}
              system:
                pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                mustSupport: false
                index: 123
              code: {short: Einheit des Bestandteils kodierte, mustSupport: false, index: 124}
            required: [value, unit]
          denominator:
            mustSupport: true
            index: 125
            elements:
              value:
                mustSupport: true
                pattern: {type: Decimal, value: 1}
                index: 126
              comparator: {index: 127}
              unit: {index: 128}
              system: {index: 129}
              code: {index: 130}
            required: [value]
    required: [strength]
  status: {index: 63}
  language: {index: 7}
  id: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    index: 51
    elements:
      coding:
        mustSupport: true
        index: 52
        slicing:
          rules: closed
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          max: 1
          slices:
            pznCode:
              match: {}
              schema: {index: 53}
              max: 0
            snomedCode:
              match: {}
              schema: {index: 54}
              max: 0
            atcCode:
              match: {}
              schema: {index: 55}
              max: 0
            verordnungskategorieCode:
              match: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type'}
                _required: true
                index: 56
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type'}
                    mustSupport: true
                    index: 57
                  version: {index: 58}
                  code:
                    short: Kennzeichnung Rezepturverordnung
                    pattern: {type: Code, value: rezeptur}
                    mustSupport: true
                    index: 59
                  display: {index: 60}
                  userSelected: {index: 61}
                required: [system, code]
      text: {short: Rezepturname, mustSupport: true, index: 62}
    required: [coding]
  identifier: {index: 50}
  manufacturer: {index: 64}
  form:
    mustSupport: true
    index: 65
    elements:
      coding: {index: 66}
      text: {short: Darreichungsform Freitext, mustSupport: true, index: 67}
    required: [text]
  text: {index: 8}
package_version: 2.1.0
extensions:
  Kategorie:
    url: null
    mustSupport: true
    _required: true
    index: 11
    elements:
      value:
        mustSupport: true
        choices: []
        index: 13
        slicing:
          rules: closed
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueCodeableConcept:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 15
      value[x]:
        elements:
          coding:
            mustSupport: true
            index: 16
            elements:
              system:
                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                mustSupport: true
                index: 17
              version:
                pattern: {type: String, value: 'http://snomed.info/sct/900000000000207008/version/20220331'}
                mustSupport: true
                index: 18
              code:
                pattern: {type: Code, value: '373873005:860781008=362943005'}
                mustSupport: true
                index: 19
              display:
                pattern: {type: String, value: 'Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)'}
                mustSupport: true
                index: 20
              userSelected: {index: 21}
          text: {index: 22}
        required: [coding]
  Arzneimittelkategorie:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_Medication_Category|2.1.0
    type: Extension
    mustSupport: true
    index: 23
    elements:
      value:
        mustSupport: true
        choices: []
        index: 25
        slicing:
          slices:
            valueCoding:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 27
      value[x]:
        elements:
          system: {mustSupport: true, index: 28}
          code: {mustSupport: true, index: 29}
  Impfstoff:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine|1.1.0
    type: Extension
    mustSupport: true
    index: 30
    elements:
      value:
        mustSupport: true
        choices: []
        index: 32
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 34
  Herstellungsanweisung:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction|1.1.0
    type: Extension
    mustSupport: true
    index: 35
    elements:
      value:
        mustSupport: true
        choices: []
        index: 37
        slicing:
          slices:
            valueString:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 39
  Verpackung:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging|1.1.0
    type: Extension
    mustSupport: true
    index: 40
    elements:
      value:
        mustSupport: true
        choices: []
        index: 42
        slicing:
          slices:
            valueString:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 44
  isOverTheCounter:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_Medication_isOverTheCounter
    type: Extension
    isModifier: false
    mustSupport: true
    index: 45
    elements:
      value:
        mustSupport: true
        choices: []
        index: 47
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 49
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Medication_Compounding
base: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Medication|1.3.0
version: 2.1.0
required: [form, id, ingredient, amount, meta]