PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-epr-fhir@4.0.1
    http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ChAuditEventIti67Responder
description: This profile is used to define the CH Audit Event for the [ITI-67] transaction and the actor 'Document\nResponder'.
package_name: ch.fhir.ig.ch-epr-fhir
derivation: constraint
name: ChAuditEventIti67Responder
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:
    index: 15
    slicing:
      slices:
        patient:
          match: {}
          schema:
            index: 15
            elements:
              what:
                elements:
                  identifier:
                    index: 16
                    elements:
                      system: {index: 17}
                      value: {index: 18}
                    required: [value, system]
                required: [identifier]
        traceparent:
          match: {}
          schema:
            short: The 'traceparent' header value of the transaction
            index: 19
            elements:
              what:
                index: 20
                elements:
                  identifier:
                    index: 21
                    elements:
                      value: {short: The 'traceparent' header value, index: 22}
                    required: [value]
                required: [identifier]
              type:
                pattern:
                  type: Coding
                  value: {code: '4', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type', display: Other}
                index: 23
              role:
                pattern:
                  type: Coding
                  value: {code: '26', system: 'http://terminology.hl7.org/CodeSystem/object-role', display: Processing Element}
                index: 24
            required: [what, type]
package_version: 4.0.1
class: profile
kind: resource
url: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ChAuditEventIti67Responder
base: https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferences.Audit.Responder
version: 4.0.1