PackagesCanonicalsLogsProblems
    Packages
    kbv.ita.erp@1.0.2
    https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_PracticeSupply
description: null
package_name: kbv.ita.erp
derivation: constraint
name: KBV_PR_ERP_PracticeSupply
type: SupplyRequest
elements:
  category: {index: 34}
  supplier: {index: 61}
  item[x]:
    elements:
      reference: {index: 42}
      type: {index: 43}
      identifier: {index: 44}
      display: {index: 45}
    required: [reference]
  meta:
    mustSupport: true
    index: 1
    elements:
      versionId: {index: 2}
      lastUpdated: {index: 3}
      source: {index: 4}
      profile:
        pattern: {type: Canonical, value: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_PracticeSupply|1.0.2'}
        index: 5
      security: {index: 6}
      tag: {index: 7}
    required: [profile]
  deliverTo: {index: 65}
  itemReference:
    type: Reference
    mustSupport: true
    choiceOf: item
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.0.2', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.0.2', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.0.2', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.0.2']
    index: 41
    slicing:
      slices:
        itemReference:
          match: {}
          schema:
            type: Reference
            mustSupport: true
            choiceOf: item
            refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.0.2', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.0.2', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.0.2', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.0.2']
            _required: true
            index: 41
          min: 1
  item:
    mustSupport: true
    choices: [itemReference]
    index: 40
    slicing:
      slices:
        itemReference:
          match: {}
          schema:
            mustSupport: true
            choices: [itemReference]
            _required: true
            index: 40
          min: 1
  implicitRules: {index: 8}
  reasonCode: {index: 62}
  authoredOn: {short: Ausstellungsdatum, mustSupport: true, index: 55}
  deliverFrom: {index: 64}
  extension:
    index: 12
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        Kostentraeger:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_PracticeSupply_Payor
            index: 13
            extensions:
              ik:
                url: null
                mustSupport: true
                index: 14
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 16
                    slicing:
                      slices:
                        valueIdentifier:
                          match: {}
                          schema:
                            mustSupport: true
                            choices: []
                            index: 18
                  value[x]:
                    elements:
                      system: {mustSupport: true, index: 19}
                      value: {mustSupport: true, index: 20}
              name:
                url: null
                mustSupport: true
                index: 21
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 23
                    slicing:
                      slices:
                        valueString:
                          match: {}
                          schema:
                            mustSupport: true
                            choices: []
                            index: 25
              kostentraegertyp:
                url: null
                mustSupport: true
                index: 26
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 28
                  valueCoding:
                    mustSupport: true
                    index: 29
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 29
                            elements:
                              system: {mustSupport: true, index: 30}
                              code: {mustSupport: true, index: 31}
            elements:
              extension:
                mustSupport: true
                index: 14
                slicing:
                  slices:
                    ik:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 14
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 16
                            slicing:
                              slices:
                                valueIdentifier:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    choices: []
                                    index: 18
                          value[x]:
                            elements:
                              system: {mustSupport: true, index: 19}
                              value: {mustSupport: true, index: 20}
                    name:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 21
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 23
                            slicing:
                              slices:
                                valueString:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    choices: []
                                    index: 25
                    kostentraegertyp:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 26
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 28
                          valueCoding:
                            mustSupport: true
                            index: 29
                            slicing:
                              slices:
                                valueCoding:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 29
                                    elements:
                                      system: {mustSupport: true, index: 30}
                                      code: {mustSupport: true, index: 31}
  contained: {index: 11}
  requester:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.0.3']
    index: 56
    elements:
      reference: {mustSupport: true, index: 57}
      type: {index: 58}
      identifier: {index: 59}
      display: {index: 60}
    required: [reference]
  priority: {index: 35}
  status: {index: 33}
  language: {index: 9}
  id: {mustSupport: true, index: 0}
  identifier: {index: 32}
  quantity:
    mustSupport: true
    index: 46
    elements:
      value: {short: Anzahl der verordneten Packungen, mustSupport: true, maxValueDecimal: 999, index: 47}
      comparator: {index: 48}
      unit: {index: 49}
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        mustSupport: true
        index: 50
      code:
        pattern: {type: Code, value: '{Package}'}
        mustSupport: true
        index: 51
    required: [value, system, code]
  parameter: {index: 52}
  occurrence:
    choices: []
    index: 54
  reasonReference: {index: 63}
  text: {index: 10}
package_version: 1.0.2
extensions:
  Kostentraeger:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_PracticeSupply_Payor
    type: Extension
    mustSupport: true
    index: 13
    extensions:
      ik:
        url: null
        mustSupport: true
        index: 14
        elements:
          value:
            mustSupport: true
            choices: []
            index: 16
            slicing:
              slices:
                valueIdentifier:
                  match: {}
                  schema:
                    mustSupport: true
                    choices: []
                    index: 18
          value[x]:
            elements:
              system: {mustSupport: true, index: 19}
              value: {mustSupport: true, index: 20}
      name:
        url: null
        mustSupport: true
        index: 21
        elements:
          value:
            mustSupport: true
            choices: []
            index: 23
            slicing:
              slices:
                valueString:
                  match: {}
                  schema:
                    mustSupport: true
                    choices: []
                    index: 25
      kostentraegertyp:
        url: null
        mustSupport: true
        index: 26
        elements:
          value:
            mustSupport: true
            choices: []
            index: 28
          valueCoding:
            mustSupport: true
            index: 29
            slicing:
              slices:
                valueCoding:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 29
                    elements:
                      system: {mustSupport: true, index: 30}
                      code: {mustSupport: true, index: 31}
    elements:
      extension:
        mustSupport: true
        index: 14
        slicing:
          slices:
            ik:
              match: {}
              schema:
                mustSupport: true
                index: 14
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 16
                    slicing:
                      slices:
                        valueIdentifier:
                          match: {}
                          schema:
                            mustSupport: true
                            choices: []
                            index: 18
                  value[x]:
                    elements:
                      system: {mustSupport: true, index: 19}
                      value: {mustSupport: true, index: 20}
            name:
              match: {}
              schema:
                mustSupport: true
                index: 21
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 23
                    slicing:
                      slices:
                        valueString:
                          match: {}
                          schema:
                            mustSupport: true
                            choices: []
                            index: 25
            kostentraegertyp:
              match: {}
              schema:
                mustSupport: true
                index: 26
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 28
                  valueCoding:
                    mustSupport: true
                    index: 29
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 29
                            elements:
                              system: {mustSupport: true, index: 30}
                              code: {mustSupport: true, index: 31}
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_PracticeSupply
base: http://hl7.org/fhir/StructureDefinition/SupplyRequest
version: 1.0.2
required: [authoredOn, itemReference, requester, id, item, meta]