PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@epr-fhir-4.0.1-ballot-2
    http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ChAuditEventIti68Consumer
description: This profile is used to define the CH Audit Event for the [ITI-68] transaction and the actor 'Document\nConsumer'.
package_name: ch.fhir.ig.ch
derivation: constraint
name: ChAuditEventIti68Consumer
type: AuditEvent
elements:
  agent:
    array: true
    min: 3
    index: 0
    slicing:
      slices:
        client:
          match: {}
          schema: {short: The 'Document Consumer' actor (EPR application), index: 1}
        server:
          match: {}
          schema: {short: The 'Document Responder' actor (EPR API), index: 2}
        mainUser:
          match: {}
          schema:
            short: The main user (patient, representative, healthcare professional, or administrator)
            _required: true
            index: 3
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: RESP, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType', display: responsible party}
                index: 4
              role: {index: 5}
              altId: {index: 6}
              name: {index: 7}
              purposeOfUse:
                binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-term/ValueSet/EprPurposeOfUse'}
                index: 8
            required: [role, purposeOfUse, name, type, altId]
        delegatedUser:
          match: {}
          schema:
            short: The person who acted on behalf of the main user (an assistant or technical user)
            index: 9
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PPRF, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType', display: primary performer}
                index: 10
              role: {index: 11}
              altId: {index: 12}
              name: {index: 13}
            required: [role, name, type, altId]
  source:
    elements:
      site: {short: The OID of the audit source, index: 14}
    required: [site]
  entity:
    short: The document that was accessed
    index: 15
    slicing:
      slices:
        data:
          match: {}
          schema:
            short: The document that was accessed
            index: 15
            elements:
              what:
                elements:
                  reference: {short: The URL accessed by the Document Consumer, index: 16}
                required: [reference]
              securityLabel:
                short: The confidentiality code of the document, if known
                binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-term/ValueSet/DocumentEntry.confidentialityCode'}
                index: 17
        patient:
          match: {}
          schema:
            index: 18
            elements:
              what:
                elements:
                  identifier:
                    index: 19
                    elements:
                      system: {index: 20}
                      value: {index: 21}
                    required: [value, system]
                required: [identifier]
        traceparent:
          match: {}
          schema:
            short: The 'traceparent' header value of the transaction
            index: 22
            elements:
              what:
                index: 23
                elements:
                  identifier:
                    index: 24
                    elements:
                      value: {short: The 'traceparent' header value, index: 25}
                    required: [value]
                required: [identifier]
              type:
                pattern:
                  type: Coding
                  value: {code: '4', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type', display: Other}
                index: 26
              role:
                pattern:
                  type: Coding
                  value: {code: '26', system: 'http://terminology.hl7.org/CodeSystem/object-role', display: Processing Element}
                index: 27
            required: [what, type]
package_version: epr-fhir-4.0.1-ballot-2
class: profile
kind: resource
url: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ChAuditEventIti68Consumer
base: https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.RetrieveDocument.Audit.Consumer
version: 4.0.1-ballot-2