PackagesCanonicalsLogsProblems
    Packages
    kbv.basis@1.4.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Medication
description: Dieses Profil bildet Informationen zu einem Fertigarzneimittel oder einer Rezeptur ab.
package_name: kbv.basis
derivation: constraint
name: KBV_PR_Base_Medication
type: Medication
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        Kategorie:
          match: {url: null}
          schema:
            type: Extension
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type|1.4.0
            index: 1
            elements:
              value:
                choices: []
                index: 3
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: []
                        _required: true
                        index: 5
                      min: 1
            required: [value]
  code:
    index: 6
    elements:
      coding:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            pzn:
              match: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
              schema:
                type: Coding
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/ifa/pzn'}
                index: 8
              max: 1
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                index: 9
                elements:
                  system: {index: 10}
                  code: {index: 11}
                required: [system, code]
            atc:
              match: {system: 'http://fhir.de/CodeSystem/bfarm/atc'}
              schema:
                type: Coding
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/bfarm/atc'}
                index: 12
  form:
    index: 13
    elements:
      coding:
        index: 14
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                index: 15
                elements:
                  system: {index: 16}
                  version: {index: 17}
                  code: {index: 18}
                  display: {index: 19}
                required: [version, display, system, code]
            edqm:
              match: {system: 'http://standardterms.edqm.eu'}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_Base_Medicine_Doseform'}
                pattern:
                  type: Coding
                  value: {system: 'http://standardterms.edqm.eu'}
                index: 20
                elements:
                  system: {index: 21}
                  code: {index: 22}
                  display: {index: 23}
                required: [display, system, code]
            kbvDarreichungsform:
              match: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'}
              schema:
                binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM'}
                pattern:
                  type: Coding
                  value: {system: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM'}
                index: 24
                elements:
                  system: {index: 25}
                  version: {index: 26}
                  code: {index: 27}
                  display: {index: 28}
                required: [version, display, system, code]
  ingredient:
    index: 29
    elements:
      item:
        choices: [itemReference]
        index: 41
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                choices: [itemReference]
                index: 41
      itemCodeableConcept:
        type: CodeableConcept
        choiceOf: item
        index: 34
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: item, index: 34}
      item[x]:
        elements:
          reference: {index: 43}
        required: [reference]
      itemReference:
        type: Reference
        choiceOf: item
        refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Medication|1.4.0']
        index: 42
        slicing:
          slices:
            itemReference:
              match: {}
              schema:
                type: Reference
                choiceOf: item
                refers: ['http://hl7.org/fhir/StructureDefinition/Medication', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Medication|1.4.0']
                index: 42
      strength:
        index: 44
        elements:
          numerator:
            elements:
              value: {index: 45}
          denominator: {index: 46}
package_version: 1.4.0
extensions:
  Kategorie:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type|1.4.0
    type: Extension
    index: 1
    elements:
      value:
        choices: []
        index: 3
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema:
                choices: []
                _required: true
                index: 5
              min: 1
    required: [value]
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 1.4.0
required: [code]