PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erezept@workflow.r4-1.5.0-rc1
    https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_BfArMApproval
description: On serverside validton of prescription (QES, FHIR-validity, etc.) the eprescription server requests authorization for narcotics within the doctor s quota. If approved, the server returns a signed Provenance for documentation purpose
package_name: de.gematik.erezept
derivation: constraint
name: GEM_ERP_PR_BfArMApproval
type: Provenance
elements:
  meta:
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      versionId: {index: 3}
      lastUpdated: {mustSupport: true, index: 4}
      source: {index: 5}
      profile:
        pattern: {type: Canonical, value: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_BfArMApproval|1.5'}
        index: 6
      security: {index: 7}
      tag: {index: 8}
    required: [profile]
  occurred:
    choices: []
    index: 12
  signature:
    mustSupport: true
    index: 31
    elements:
      type:
        elements:
          system:
            pattern: {type: Uri, value: 'urn:iso-astm:E1762-95:2013'}
            index: 32
          code:
            pattern: {type: Code, value: 1.2.840.10065.1.12.1.7}
            index: 33
          display:
            pattern: {type: String, value: Consent Signature}
            index: 34
        required: [system, code]
      who: {short: Who signed - the Bundesdruckrei narcotics authorization service on behalf of BfArM, index: 35}
      onBehalfOf: {short: Signature was authorized on behalf of BfArM, index: 36}
      sigFormat:
        pattern: {type: Code, value: application/pkcs7-mime}
        index: 37
      data: {index: 38}
    required: [onBehalfOf, sigFormat, data]
  agent:
    index: 17
    elements:
      type:
        index: 18
        elements:
          coding:
            index: 19
            elements:
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/provenance-participant-type'}
                index: 20
              code:
                pattern: {type: Code, value: verifier}
                index: 21
              display:
                pattern: {type: String, value: Verifier}
                index: 22
            required: [system, code]
        required: [coding]
      role: {index: 23}
      who:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/Device']
        index: 24
      onBehalfOf:
        index: 25
        elements:
          identifier: {type: Identifier, index: 26}
        required: [identifier]
    required: [onBehalfOf, type]
  policy: {index: 13}
  reason: {index: 15}
  activity: {index: 16}
  id: {index: 0}
  target:
    index: 9
    slicing:
      rules: closed
      description: This Provenance targets the ePrescription workflow item Task and the ePrescroption as a whole
      discriminator:
      - {path: $this, type: type}
      min: null
      max: 1
      slices:
        TaskReference:
          match: {}
          schema:
            type: Reference
            short: Reference to the ePrescription Task
            refers: ['https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task']
            _required: true
            index: 10
          min: 1
          max: 1
  location: {index: 14}
  entity:
    index: 27
    elements:
      role:
        pattern: {type: Code, value: source}
        index: 28
      what:
        short: ePrescription Identifier bindng all related documents together (prescription,dispensato data receipt, etc.)
        index: 29
        elements:
          identifier: {type: Identifier, index: 30}
package_version: workflow.r4-1.5.0-rc1
class: profile
kind: resource
url: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_BfArMApproval
base: http://hl7.org/fhir/StructureDefinition/Provenance
version: '1.5'
required: [id, meta, entity]