PackagesCanonicalsLogsProblems
    Packages
    kbv.ita.vos@2.1.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Medication_Ingredient
description: Übergabe einer Wirkstoff-Medikation
package_name: kbv.ita.vos
derivation: constraint
name: KBV_PR_VoS_Medication_Ingredient
type: Medication
elements:
  amount:
    mustSupport: true
    index: 52
    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_Ingredient', severity: error, expression: code.exists() implies system.exists()}
        mustSupport: true
        index: 53
        extensions:
          Packungsgroesse:
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize|1.1.0
            type: Extension
            isModifier: false
            mustSupport: true
            index: 55
            elements:
              value:
                mustSupport: true
                choices: []
                index: 57
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 59
        elements:
          extension:
            index: 54
            slicing:
              rules: closed
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                Packungsgroesse:
                  match: {url: null}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize|1.1.0
                    index: 55
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 57
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                mustSupport: true
                                choices: []
                                index: 59
          value: {index: 60}
          comparator: {index: 61}
          unit: {short: Einheit, mustSupport: true, index: 62}
          system:
            pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
            mustSupport: false
            index: 63
          code: {short: Packungseinheit (kodiert), mustSupport: false, index: 64}
        required: [extension, unit]
      denominator:
        mustSupport: true
        index: 65
        elements:
          value:
            mustSupport: true
            pattern: {type: Decimal, value: 1}
            index: 66
          comparator: {index: 67}
          unit: {index: 68}
          system: {index: 69}
          code: {index: 70}
        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_Ingredient|2.1.0'}
        index: 3
      security: {index: 4}
      tag: {index: 5}
    required: [profile]
  implicitRules: {index: 6}
  batch: {index: 102}
  extension:
    array: true
    min: 2
    index: 10
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        Kategorie:
          match: {url: null}
          schema: {index: 11}
          min: 0
          max: 0
        Arzneimittelkategorie:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_Medication_Category|2.1.0
            index: 12
            elements:
              value:
                mustSupport: true
                choices: []
                index: 14
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 16
              value[x]:
                elements:
                  system: {mustSupport: true, index: 17}
                  code: {mustSupport: true, index: 18}
        Impfstoff:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine|1.1.0
            index: 19
            elements:
              value:
                mustSupport: true
                choices: []
                index: 21
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 23
        Normgroesse:
          match: {url: null}
          schema:
            short: Packungsgröße nach N-Bezeichnung
            type: Extension
            mustSupport: true
            url: http://fhir.de/StructureDefinition/normgroesse
            index: 24
            elements:
              value:
                mustSupport: true
                choices: []
                index: 26
                slicing:
                  rules: closed
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueCode:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 28
            required: [value]
        isOverTheCounter:
          match: {url: null}
          schema:
            type: Extension
            isModifier: false
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_Medication_isOverTheCounter
            index: 29
            elements:
              value:
                mustSupport: true
                choices: []
                index: 31
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 33
  contained: {index: 9}
  ingredient:
    mustSupport: true
    index: 71
    elements:
      item:
        choices: []
        index: 87
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                choices: []
                index: 87
              max: 0
      itemCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: item, index: 74}
      item[x]:
        elements:
          coding:
            mustSupport: true
            index: 77
            slicing:
              rules: closed
              discriminator:
              - {path: $this, type: pattern}
              min: null
              max: 1
              slices:
                askCode:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 78
                    elements:
                      system: {mustSupport: true, index: 79}
                      version: {index: 80}
                      code: {short: Wirkstoffnummer, mustSupport: true, index: 81}
                      display: {index: 82}
                      userSelected: {index: 83}
                snomedCode:
                  match: {}
                  schema: {index: 84}
                  max: 0
          text: {short: Wirkstoffname, mustSupport: true, index: 85}
        required: [text]
      isActive: {index: 88}
      strength:
        mustSupport: true
        index: 89
        elements:
          numerator:
            mustSupport: true
            index: 90
            elements:
              value: {short: Wirkstärke, mustSupport: true, index: 91}
              comparator: {index: 92}
              unit: {short: Wirkstärkeneinheit, maxLength: 15, mustSupport: true, index: 93}
              system:
                pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                mustSupport: false
                index: 94
              code: {short: Wirkstärkeneinheit (kodiert), mustSupport: false, index: 95}
            required: [value, unit]
          denominator:
            mustSupport: true
            index: 96
            elements:
              value:
                mustSupport: true
                pattern: {type: Decimal, value: 1}
                index: 97
              comparator: {index: 98}
              unit: {index: 99}
              system: {index: 100}
              code: {index: 101}
            required: [value]
        required: [denominator, numerator]
    required: [strength]
  status: {index: 47}
  language: {index: 7}
  id: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    index: 35
    elements:
      coding:
        mustSupport: true
        index: 36
        slicing:
          rules: closed
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          max: 1
          slices:
            pznCode:
              match: {}
              schema: {index: 37}
              max: 0
            snomedCode:
              match: {}
              schema: {index: 38}
              max: 0
            atcCode:
              match: {}
              schema: {index: 39}
              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: 40
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type'}
                    mustSupport: true
                    index: 41
                  version: {index: 42}
                  code:
                    short: Kennzeichnung Wirkstoffverordnung
                    pattern: {type: Code, value: wirkstoff}
                    mustSupport: true
                    index: 43
                  display: {index: 44}
                  userSelected: {index: 45}
                required: [system, code]
      text: {index: 46}
    required: [coding]
  identifier: {index: 34}
  manufacturer: {index: 48}
  form:
    mustSupport: true
    index: 49
    elements:
      coding: {index: 50}
      text: {short: Darreichungsform Freitext, mustSupport: true, index: 51}
    required: [text]
  text: {index: 8}
package_version: 2.1.0
extensions:
  Kategorie: {url: null, min: 0, max: 0, index: 11}
  Arzneimittelkategorie:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_Medication_Category|2.1.0
    type: Extension
    mustSupport: true
    index: 12
    elements:
      value:
        mustSupport: true
        choices: []
        index: 14
        slicing:
          slices:
            valueCoding:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 16
      value[x]:
        elements:
          system: {mustSupport: true, index: 17}
          code: {mustSupport: true, index: 18}
  Impfstoff:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine|1.1.0
    type: Extension
    mustSupport: true
    index: 19
    elements:
      value:
        mustSupport: true
        choices: []
        index: 21
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 23
  Normgroesse:
    url: http://fhir.de/StructureDefinition/normgroesse
    short: Packungsgröße nach N-Bezeichnung
    type: Extension
    mustSupport: true
    index: 24
    elements:
      value:
        mustSupport: true
        choices: []
        index: 26
        slicing:
          rules: closed
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            valueCode:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 28
    required: [value]
  isOverTheCounter:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_Medication_isOverTheCounter
    type: Extension
    isModifier: false
    mustSupport: true
    index: 29
    elements:
      value:
        mustSupport: true
        choices: []
        index: 31
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 33
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Medication_Ingredient
base: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Medication|1.3.0
version: 2.1.0
required: [form, id, ingredient, meta]