PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-atc@3.3.0-ballot
    http://fhir.ch/ig/ch-atc/StructureDefinition/AccessAuditTrailEvent
description: This profile defines the content of the access audit trail event which a community has to provide for a patients audit trail.
package_name: ch.fhir.ig.ch-atc
derivation: constraint
name: AccessAuditTrailEvent
type: AuditEvent
elements:
  type:
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-type'}
    index: 0
  subtype:
    binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-atc/ValueSet/AccessAuditTrailEventType'}
    index: 1
  recorded: {index: 2}
  agent:
    short: Patient, repeated if representative
    index: 3
    elements:
      role:
        binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-atc/ValueSet/EprParticipant'}
        index: 4
      who:
        elements:
          identifier: {type: Identifier, index: 5}
        required: [identifier]
      name: {index: 6}
      requestor: {index: 7}
    required: [role, name]
  entity:
    index: 8
    slicing:
      rules: open
      discriminator:
      - {path: type.code, type: value}
      - {path: role.code, type: value}
      min: null
      slices:
        Patient:
          match:
            type: {code: null}
            role: {code: null}
          schema:
            _required: true
            index: 9
            elements:
              what:
                elements:
                  identifier: {index: 10}
package_version: 3.3.0-ballot
class: profile
kind: resource
url: http://fhir.ch/ig/ch-atc/StructureDefinition/AccessAuditTrailEvent
base: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ch-epr-fhir-auditevent
version: 3.3.0-ballot
required: [subtype]