PackagesCanonicalsLogsProblems
    Packages
    rs/kbv.ita.erp@1.1.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText
description: null
package_name: rs/kbv.ita.erp
derivation: constraint
name: KBV_PR_ERP_Medication_FreeText
type: Medication
elements:
  amount: {index: 44}
  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'}
        type: canonical
        index: 5
      security: {index: 6}
      tag: {index: 7}
    required: [profile]
  implicitRules: {index: 8}
  extension:
    array: true
    min: 2
    max: 2
    index: 12
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: 2
      max: 2
      slices:
        Kategorie:
          match: {url: null}
          schema: {index: 13}
          min: 0
          max: 0
        Arzneimittelkategorie:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category
            index: 14
            elements:
              value:
                mustSupport: true
                choices: []
                index: 16
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 18
              value[x]:
                elements:
                  system: {mustSupport: true, index: 19}
                  code: {mustSupport: true, index: 20}
        Impfstoff:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine
            index: 21
            elements:
              value:
                mustSupport: true
                choices: []
                index: 23
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 25
  contained: {index: 11}
  ingredient: {index: 45}
  status: {index: 39}
  language: {index: 9}
  id: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    index: 27
    elements:
      coding:
        mustSupport: true
        index: 28
        slicing:
          rules: closed
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          max: 1
          slices:
            pznCode:
              match: {}
              schema: {index: 29}
              max: 0
            snomedCode:
              match: {}
              schema: {index: 30}
              max: 0
            atcCode:
              match: {}
              schema: {index: 31}
              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
                type: Coding
                index: 32
                elements:
                  system:
                    pattern: {type: uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type'}
                    mustSupport: true
                    type: uri
                    index: 33
                  version: {index: 34}
                  code:
                    short: Kennzeichnung Freitextverordnung
                    pattern: {type: code, value: freitext}
                    mustSupport: true
                    type: code
                    index: 35
                  display: {index: 36}
                  userSelected: {index: 37}
                required: [code, system]
      text: {short: Freitextverordnung, maxLength: 500, mustSupport: true, index: 38}
    required: [coding, text]
  identifier: {index: 26}
  manufacturer: {index: 40}
  form:
    mustSupport: true
    index: 41
    elements:
      coding: {index: 42}
      text: {short: Darreichungsform Freitext, maxLength: 30, mustSupport: true, index: 43}
    required: [text]
  text: {index: 10}
package_version: 1.1.0
extensions:
  Kategorie: {url: null, min: 0, max: 0, index: 13}
  Arzneimittelkategorie:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category
    type: Extension
    mustSupport: true
    index: 14
    elements:
      value:
        mustSupport: true
        choices: []
        index: 16
        slicing:
          slices:
            valueCoding:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 18
      value[x]:
        elements:
          system: {mustSupport: true, index: 19}
          code: {mustSupport: true, index: 20}
  Impfstoff:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine
    type: Extension
    mustSupport: true
    index: 21
    elements:
      value:
        mustSupport: true
        choices: []
        index: 23
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 25
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]