PackagesCanonicalsLogsProblems
    Packages
    kbv.ita.vos@2.1.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Bundle_VoS_PVS
description: Bundle zum Schreiben von erstellten (e)Rezepten und aktualisierten/erstellten Medikationsplänen und Provenance-Instanzen im Falle einer Stornierung eines eRezepts von der VoS ins PVS.
package_name: kbv.ita.vos
derivation: constraint
name: KBV_PR_VoS_Bundle_VoS_PVS
type: Bundle
elements:
  meta:
    mustSupport: true
    index: 1
    elements:
      source: {index: 2}
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Bundle_VoS_PVS|2.1.0'}
        index: 3
      security: {index: 4}
      tag: {index: 5}
    required: [profile]
  signature: {index: 44}
  implicitRules: {index: 6}
  type:
    pattern: {type: Code, value: transaction}
    mustSupport: true
    index: 15
  total: {index: 17}
  language: {index: 7}
  link:
    mustSupport: true
    index: 18
    extensions:
      systemkontext:
        url: https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_User_Device|2.1.0
        type: Extension
        mustSupport: true
        index: 20
        extensions:
          KBV-Pruefnummer:
            url: null
            _required: true
            index: 22
            elements:
              value:
                mustSupport: true
                choices: []
                index: 24
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        _required: true
                        index: 26
                      min: 1
          systemID:
            url: null
            index: 27
            elements:
              value:
                choices: []
                index: 29
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema:
                        choices: []
                        _required: true
                        index: 29
                      min: 1
            required: [value]
        elements:
          extension:
            index: 21
            slicing:
              rules: closed
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                KBV-Pruefnummer:
                  match: {url: null}
                  schema:
                    _required: true
                    index: 22
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 24
                        slicing:
                          slices:
                            valueIdentifier:
                              match: {}
                              schema:
                                mustSupport: true
                                choices: []
                                _required: true
                                index: 26
                              min: 1
                systemID:
                  match: {url: null}
                  schema:
                    index: 27
                    elements:
                      value:
                        choices: []
                        index: 29
                        slicing:
                          slices:
                            valueIdentifier:
                              match: {}
                              schema:
                                choices: []
                                _required: true
                                index: 29
                              min: 1
                    required: [value]
        required: [extension]
    elements:
      extension:
        index: 19
        slicing:
          rules: closed
          discriminator:
          - {path: url, type: value}
          min: 1
          max: 1
          slices:
            systemkontext:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: https://fhir.kbv.de/StructureDefinition/KBV_EX_VoS_User_Device|2.1.0
                index: 20
                extensions:
                  KBV-Pruefnummer:
                    url: null
                    _required: true
                    index: 22
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 24
                        slicing:
                          slices:
                            valueIdentifier:
                              match: {}
                              schema:
                                mustSupport: true
                                choices: []
                                _required: true
                                index: 26
                              min: 1
                  systemID:
                    url: null
                    index: 27
                    elements:
                      value:
                        choices: []
                        index: 29
                        slicing:
                          slices:
                            valueIdentifier:
                              match: {}
                              schema:
                                choices: []
                                _required: true
                                index: 29
                              min: 1
                    required: [value]
                elements:
                  extension:
                    index: 21
                    slicing:
                      rules: closed
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        KBV-Pruefnummer:
                          match: {url: null}
                          schema:
                            _required: true
                            index: 22
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 24
                                slicing:
                                  slices:
                                    valueIdentifier:
                                      match: {}
                                      schema:
                                        mustSupport: true
                                        choices: []
                                        _required: true
                                        index: 26
                                      min: 1
                        systemID:
                          match: {url: null}
                          schema:
                            index: 27
                            elements:
                              value:
                                choices: []
                                index: 29
                                slicing:
                                  slices:
                                    valueIdentifier:
                                      match: {}
                                      schema:
                                        choices: []
                                        _required: true
                                        index: 29
                                      min: 1
                            required: [value]
                required: [extension]
      relation:
        pattern: {type: String, value: related}
        mustSupport: true
        index: 30
      url: {short: fullURL des Aufruf-Bundles, mustSupport: true, index: 31}
    required: [extension]
  id: {mustSupport: true, index: 0}
  identifier:
    mustSupport: true
    index: 8
    elements:
      use: {index: 9}
      type: {index: 10}
      system:
        pattern: {type: Uri, value: 'https://fhir.kbv.de/NamingSystem/KBV_NS_VoS_BundleID'}
        mustSupport: true
        index: 11
      value: {mustSupport: true, index: 12}
      period: {index: 13}
      assigner: {index: 14}
    required: [value, system]
  entry:
    short: Ressourcen
    constraint:
      erlaubteRessourcen-2: {human: Es dürfen nur Ressourcen aus der VoS-SST und E-Rezept-Bundles übertragen werden., severity: error, expression: 'resource.meta.profile.startsWith(''https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS'') or resource.meta.profile.startsWith(''https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle'')'}
    mustSupport: true
    index: 32
    elements:
      link:
        elementReference: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Bundle_VoS_PVS', elements, org/fhir/StructureDefinition/Bundle#Bundle, elements, link]
        index: 33
      resource: {mustSupport: true, index: 34}
      search: {index: 35}
      request:
        mustSupport: true
        index: 36
        elements:
          method:
            pattern: {type: Code, value: POST}
            mustSupport: true
            index: 37
          url: {mustSupport: true, index: 38}
          ifNoneMatch: {index: 39}
          ifModifiedSince: {index: 40}
          ifMatch: {index: 41}
          ifNoneExist: {index: 42}
      response: {index: 43}
    required: [resource, request]
  timestamp: {mustSupport: true, index: 16}
package_version: 2.1.0
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Bundle_VoS_PVS
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 2.1.0
required: [entry, id, link, meta]