PackagesCanonicalsLogsProblems
    Packages
    kbv.ita.vos@2.1.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Medication_FreeText
description: Übergabe einer Freitext-Medikation
package_name: kbv.ita.vos
derivation: constraint
name: KBV_PR_VoS_Medication_FreeText
type: Medication
elements:
  amount: {index: 47}
  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_FreeText|2.1.0'}
        index: 3
      security: {index: 4}
      tag: {index: 5}
    required: [profile]
  implicitRules: {index: 6}
  batch: {index: 49}
  extension:
    array: true
    min: 2
    max: 3
    index: 10
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: 2
      max: 3
      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
        isOverTheCounter:
          match: {url: null}
          schema:
            type: Extension
            isModifier: false
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_Medication_isOverTheCounter
            index: 24
            elements:
              value:
                mustSupport: true
                choices: []
                index: 26
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 28
  contained: {index: 9}
  ingredient: {index: 48}
  status: {index: 42}
  language: {index: 7}
  id: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    index: 30
    elements:
      coding:
        mustSupport: true
        index: 31
        slicing:
          rules: closed
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          max: 1
          slices:
            pznCode:
              match: {}
              schema: {index: 32}
              max: 0
            snomedCode:
              match: {}
              schema: {index: 33}
              max: 0
            atcCode:
              match: {}
              schema: {index: 34}
              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: 35
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type'}
                    mustSupport: true
                    index: 36
                  version: {index: 37}
                  code:
                    short: Kennzeichnung Freitextverordnung
                    pattern: {type: Code, value: freitext}
                    mustSupport: true
                    index: 38
                  display: {index: 39}
                  userSelected: {index: 40}
                required: [system, code]
      text: {short: Freitextverordnung, mustSupport: true, index: 41}
    required: [coding, text]
  identifier: {index: 29}
  manufacturer: {index: 43}
  form:
    mustSupport: true
    index: 44
    elements:
      coding: {index: 45}
      text: {short: Darreichungsform Freitext, mustSupport: true, index: 46}
    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
  isOverTheCounter:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_Medication_isOverTheCounter
    type: Extension
    isModifier: false
    mustSupport: true
    index: 24
    elements:
      value:
        mustSupport: true
        choices: []
        index: 26
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 28
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Medication_FreeText
base: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Medication|1.3.0
version: 2.1.0
required: [id, meta]