PackagesCanonicalsLogsProblems
    Packages
    kbv.ita.erp@1.1.0-PreRelease
    https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText
description: null
package_name: kbv.ita.erp
derivation: constraint
name: KBV_PR_ERP_Medication_FreeText
type: Medication
elements:
  amount: {index: 53}
  meta:
    mustSupport: true
    index: 1
    elements:
      versionId: {index: 2}
      lastUpdated: {index: 3}
      source: {index: 4}
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0'}
        index: 5
      security: {index: 6}
      tag: {index: 7}
    required: [profile]
  implicitRules: {index: 8}
  extension:
    array: true
    min: 2
    index: 12
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        Kategorie:
          match: {url: null}
          schema:
            mustSupport: true
            index: 13
            elements:
              value:
                mustSupport: true
                choices: []
                index: 15
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 17
              value[x]:
                elements:
                  coding:
                    mustSupport: true
                    index: 18
                    elements:
                      system: {mustSupport: true, index: 19}
                      code: {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_ERP_Medication_Category
            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
            index: 30
            elements:
              value:
                mustSupport: true
                choices: []
                index: 32
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 34
  contained: {index: 11}
  ingredient: {index: 54}
  status: {index: 48}
  language: {index: 9}
  id: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    index: 36
    elements:
      coding:
        mustSupport: true
        index: 37
        slicing:
          slices:
            pznCode:
              match: {}
              schema: {index: 38}
              max: 0
            snomedCode:
              match: {}
              schema: {index: 39}
              max: 0
            atcCode:
              match: {}
              schema: {index: 40}
              max: 0
            verordnungskategorieCode:
              match: {}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type'}
                _required: true
                index: 41
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type'}
                    mustSupport: true
                    index: 42
                  version: {index: 43}
                  code:
                    short: Kennzeichnung Freitextverordnung
                    pattern: {type: Code, value: freitext}
                    mustSupport: true
                    index: 44
                  display: {index: 45}
                  userSelected: {index: 46}
                required: [system, code]
      text: {short: Freitextverordnung, maxLength: 500, mustSupport: true, index: 47}
    required: [coding, text]
  identifier: {index: 35}
  manufacturer: {index: 49}
  form:
    mustSupport: true
    index: 50
    elements:
      coding: {index: 51}
      text: {short: Darreichungsform Freitext, maxLength: 30, mustSupport: true, index: 52}
    required: [text]
  text: {index: 10}
package_version: 1.1.0-PreRelease
extensions:
  Kategorie:
    url: null
    mustSupport: true
    index: 13
    elements:
      value:
        mustSupport: true
        choices: []
        index: 15
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 17
      value[x]:
        elements:
          coding:
            mustSupport: true
            index: 18
            elements:
              system: {mustSupport: true, index: 19}
              code: {mustSupport: true, index: 20}
              userSelected: {index: 21}
          text: {index: 22}
        required: [coding]
  Arzneimittelkategorie:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category
    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
    type: Extension
    mustSupport: true
    index: 30
    elements:
      value:
        mustSupport: true
        choices: []
        index: 32
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 34
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText
base: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Medication|1.3.0
version: 1.1.0
required: [id, meta]