description: This profile is used to define the CH Audit Event for the [CH:mCSD-1] transaction and the actors 'Care\nServices Source' & Directory, when adding care service resources. package_name: ch.fhir.ig.ch-epr-fhir derivation: constraint name: ChAuditEventmCSD1Create type: AuditEvent elements: agent: short: The 'Care Services Source' actor (EPR application) index: 0 slicing: slices: client: match: {} schema: {short: The 'Care Services Source' actor (EPR application), index: 0} server: match: {} schema: {short: The 'Care Services 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} 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: [role, name, type, altId] 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} index: 9 role: {index: 10} altId: {index: 11} name: {index: 12} required: [role, name, type, altId] 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: elements: type: {index: 15} identifier: short: The identifier of the care service resource, required for a Practitioner or Organization index: 16 elements: system: {index: 17} value: {index: 18} required: [value, system] required: [type] 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] practitioner: match: {} schema: short: The Practitioner referenced in the created/updated/deleted PractitionerRole index: 25 elements: what: short: The practitioner identifier index: 26 elements: identifier: index: 27 elements: system: {index: 28} value: {index: 29} required: [value, system] required: [identifier] type: pattern: type: Coding value: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type', display: Person} index: 30 role: pattern: type: Coding value: {code: '15', system: 'http://terminology.hl7.org/CodeSystem/object-role', display: Practitioner} index: 31 required: [what, type] organization: match: {} schema: short: The Organization referenced in the created/updated/deleted PractitionerRole index: 32 elements: what: short: The organization identifier index: 33 elements: identifier: index: 34 elements: system: {index: 35} value: {index: 36} required: [value, system] required: [identifier] type: pattern: type: Coding value: {code: '3', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type', display: Organization} index: 37 role: pattern: type: Coding value: {code: '15', system: 'http://terminology.hl7.org/CodeSystem/object-role', display: Practitioner} index: 38 required: [what, type] package_version: 4.0.1 class: profile kind: resource url: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ChAuditEventmCSD1Create base: https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.Create version: 4.0.1