PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-epr-fhir@5.0.0-ballot
    http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ChAuditEventIti130Update
description: This profile is used to define the CH Audit Event for the [ITI-130] transaction and the actors 'Data\nSource' & Directory, when updating care service resources.
package_name: ch.fhir.ig.ch-epr-fhir
derivation: constraint
name: ChAuditEventIti130Update
type: AuditEvent
elements:
  agent:
    short: The 'Data Source' actor (EPR application)
    index: 0
    slicing:
      slices:
        client:
          match: {}
          schema: {short: The 'Data Source' actor (EPR application), index: 0}
        server:
          match: {}
          schema: {short: The 'Directory' actor (EPR API), index: 1}
        mainUser:
          match: {}
          schema:
            short: The main user (patient, representative, healthcare professional, or administrator)
            index: 2
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: RESP, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType', display: responsible party}
                type: CodeableConcept
                index: 3
              role: {index: 4}
              altId: {index: 5}
              name: {index: 6}
              purposeOfUse:
                binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-term/ValueSet/EprPurposeOfUse'}
                index: 7
            required: [altId, name, role, type]
        delegatedUser:
          match: {}
          schema:
            short: The person who acted on behalf of the main user (an assistant or technical user)
            index: 8
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PPRF, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType', display: primary performer}
                type: CodeableConcept
                index: 9
              role: {index: 10}
              altId: {index: 11}
              name: {index: 12}
            required: [altId, name, role, type]
  source:
    elements:
      site: {short: The OID of the audit source, index: 13}
    required: [site]
  entity:
    index: 14
    slicing:
      slices:
        data:
          match: {}
          schema:
            index: 14
            elements:
              what:
                type: Reference
                refers: ['https://profiles.ihe.net/ITI/mCSD/StructureDefinition/IHE.mCSD.Organization', 'https://profiles.ihe.net/ITI/mCSD/StructureDefinition/IHE.mCSD.Practitioner', 'https://profiles.ihe.net/ITI/mCSD/StructureDefinition/IHE.mCSD.PractitionerRole']
                index: 15
        traceparent:
          match: {}
          schema:
            short: The 'traceparent' header value of the transaction
            index: 16
            elements:
              what:
                index: 17
                elements:
                  identifier:
                    index: 18
                    elements:
                      value: {short: The 'traceparent' header value, index: 19}
                    required: [value]
                required: [identifier]
              type:
                pattern:
                  type: Coding
                  value: {code: '4', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type', display: Other}
                type: Coding
                index: 20
              role:
                pattern:
                  type: Coding
                  value: {code: '26', system: 'http://terminology.hl7.org/CodeSystem/object-role', display: Processing Element}
                type: Coding
                index: 21
            required: [type, what]
package_version: 5.0.0-ballot
class: profile
kind: resource
url: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ChAuditEventIti130Update
base: https://profiles.ihe.net/ITI/mCSD/StructureDefinition/IHE.mCSD.Audit.CareServices.Update
version: 5.0.0-ballot