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