PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erezept@workflow.r4-1.5.0-beta4
    https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_AuditEvent
description: null
package_name: de.gematik.erezept
derivation: constraint
name: GEM_ERP_PR_AuditEvent
type: AuditEvent
elements:
  meta:
    index: 0
    elements:
      profile:
        pattern: {type: Canonical, value: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_AuditEvent|1.5'}
        index: 1
    required: [profile]
  type:
    mustSupport: true
    index: 2
    elements:
      system:
        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/audit-event-type'}
        index: 3
      code:
        pattern: {type: Code, value: rest}
        index: 4
    required: [system, code]
  subtype: {index: 5}
  action: {index: 6}
  outcome: {index: 7}
  agent:
    mustSupport: true
    index: 8
    elements:
      type: {index: 9}
      who:
        elements:
          identifier: {type: Identifier, index: 10}
        required: [identifier]
      name: {index: 11}
    required: [name, type]
  source:
    mustSupport: true
    index: 12
    elements:
      site:
        pattern: {type: String, value: E-Rezept Fachdienst}
        index: 13
      observer:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/Device']
        index: 14
        elements:
          reference: {index: 15}
        required: [reference]
    required: [site]
  entity:
    mustSupport: true
    index: 16
    elements:
      what: {index: 17}
      name: {short: KVNR of patient that the auditEvent refers to, index: 18}
      description: {short: PrescriptionID (RezeptID), index: 19}
    required: [name, what, description]
package_version: workflow.r4-1.5.0-beta4
class: profile
kind: resource
url: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_AuditEvent
base: http://hl7.org/fhir/StructureDefinition/AuditEvent
version: '1.5'
required: [subtype, action, meta, entity, outcome]