PackagesCanonicalsLogsProblems
    Packages
    kbv.ita.vos@2.1.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Provenance_ePrescription
description: Eine Provenance-Ressource, die von der VoS an das PVS gesendet wird, um ein storniertes eRezept im Storno-Fall im PVS als obsolet markieren zu können.
package_name: kbv.ita.vos
derivation: constraint
name: KBV_PR_VoS_Provenance_ePrescription
type: Provenance
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_Provenance_ePrescription|2.1.0'}
        index: 3
      security: {index: 4}
      tag: {index: 5}
    required: [profile]
  occurred:
    choices: []
    index: 21
  signature: {index: 46}
  implicitRules: {index: 6}
  recorded: {mustSupport: true, index: 22}
  agent:
    mustSupport: true
    index: 32
    elements:
      type: {index: 33}
      role: {index: 34}
      who:
        type: Reference
        mustSupport: true
        refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_PractitionerRole|2.1.0', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Practitioner|2.1.0']
        index: 35
        elements:
          reference: {mustSupport: true, index: 36}
          type: {index: 37}
          identifier: {index: 38}
          display: {index: 39}
        required: [reference]
      onBehalfOf:
        type: Reference
        mustSupport: true
        refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Organization|2.1.0']
        index: 40
        elements:
          reference: {mustSupport: true, index: 41}
          type: {index: 42}
          identifier: {index: 43}
          display: {index: 44}
        required: [reference]
  policy: {index: 23}
  reason: {index: 25}
  activity:
    mustSupport: true
    index: 26
    elements:
      coding:
        mustSupport: true
        index: 27
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-DataOperation'}
            mustSupport: true
            index: 28
          code:
            pattern: {type: Code, value: DELETE}
            mustSupport: true
            index: 29
          userSelected: {index: 30}
        required: [system, code]
      text: {index: 31}
    required: [coding]
  contained: {index: 8}
  language: {index: 7}
  id: {mustSupport: true, index: 0}
  target:
    short: Referenzen des eRezepts
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_DocumentReference|2.1.0']
    type: Reference
    mustSupport: true
    array: true
    max: 3
    index: 9
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: null
      max: 3
      slices:
        eRezept:
          match: {type: Bundle}
          schema:
            short: eRezept-Bundle
            refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle']
            type: Reference
            mustSupport: true
            index: 10
            elements:
              reference: {mustSupport: true, index: 11}
              type:
                pattern: {type: Uri, value: Bundle}
                mustSupport: true
                index: 12
              identifier: {index: 13}
              display: {index: 14}
            required: [reference, type]
        DokRef:
          match: {type: DocumentReference}
          schema:
            min: 1
            short: signiertes eRezept / Patientenausdruck
            index: 15
            refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_DocumentReference|2.1.0']
            type: Reference
            mustSupport: true
            array: true
            elements:
              reference: {mustSupport: true, index: 16}
              type:
                pattern: {type: Uri, value: DocumentReference}
                mustSupport: true
                index: 17
              identifier: {index: 18}
              display: {index: 19}
            _required: true
            max: 2
            required: [reference, type]
  location: {index: 24}
  entity: {index: 45}
package_version: 2.1.0
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_VoS_Provenance_ePrescription
base: https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Provenance|1.3.0
version: 2.1.0
required: [activity, id, meta]