description: Defines constraints on the AuditEvent (AuditMessage) Resource to record when a PIXm Query Transaction happens, as recorded by the Patient Identifier Cross-reference Consumer.\n- Build off of the IHE BasicAudit Patient Query event\n- add the ITI-83 as a subtype\n- client is Patient Identifier Cross-reference Consumer\n- server is Patient Identifier Cross-reference Manager\n- entity slice for query parameters\n- eitity slice for a source patient identifier\n- yes both entities likely say the same thing, but one is specifically the patient identifier, and the other is in query parameter format\n- source is the client package_name: ihe.iti.pixm derivation: constraint name: AuditPixmQueryConsumer type: AuditEvent elements: modifierExtension: {index: 0} subtype: array: true min: 2 index: 1 slicing: slices: iti83: match: {} schema: pattern: type: Coding value: {code: ITI-83, system: 'urn:ihe:event-type-code', display: Mobile Patient Identifier Cross-reference Query} _required: true index: 2 min: 1 max: 1 agent: short: Patient Identifier Cross-reference Consumer constraint: val-audit-source: {human: The Audit Source is this agent too., source: 'https://profiles.ihe.net/ITI/PIXm/StructureDefinition/IHE.PIXm.Query.Audit.Consumer', severity: error, expression: $this.who = %resource.source.observer} index: 3 slicing: slices: client: match: {} schema: short: Patient Identifier Cross-reference Consumer constraint: val-audit-source: {human: The Audit Source is this agent too., source: 'https://profiles.ihe.net/ITI/PIXm/StructureDefinition/IHE.PIXm.Query.Audit.Consumer', severity: error, expression: $this.who = %resource.source.observer} index: 3 server: match: {} schema: {short: Patient Identifier Cross-reference Manager, index: 4} entity: short: Search Parameters index: 5 slicing: slices: query: match: {} schema: {short: Search Parameters, index: 5} patient: match: {} schema: short: Patient index: 6 elements: what: elements: identifier: {index: 7} required: [identifier] type: pattern: type: Coding value: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type', display: Person} index: 8 role: pattern: type: Coding value: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/object-role', display: Patient} index: 9 package_version: 3.0.3 class: profile kind: resource url: https://profiles.ihe.net/ITI/PIXm/StructureDefinition/IHE.PIXm.Query.Audit.Consumer base: https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.PatientQuery version: 3.0.3