description: Defines constraints on the AuditEvent Resource to record when a Find Document References Transaction happens, as recorded by the Document Consumer.\n- Build off of the IHE BasicAudit PatientQuery event\n- add the ITI-67 as a subtype\n- client is Document Consumer\n- server is Document Responder\n- entity slices for query, and patient are required\n- entity slice for transaction is available package_name: ihe.iti.mhd derivation: constraint name: AuditFindDocumentReferencesConsumer type: AuditEvent elements: modifierExtension: {index: 0} subtype: array: true min: 2 index: 1 slicing: slices: iti67: match: {} schema: pattern: type: Coding value: {code: ITI-67, system: 'urn:ihe:event-type-code', display: Find Document References} _required: true index: 2 min: 1 max: 1 agent: short: Document Consumer constraint: val-audit-source: {human: The Audit Source is this agent too., source: 'https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferences.Audit.Consumer', severity: error, expression: $this.who = %resource.source.observer} index: 3 slicing: slices: client: match: {} schema: short: Document Consumer constraint: val-audit-source: {human: The Audit Source is this agent too., source: 'https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferences.Audit.Consumer', severity: error, expression: $this.who = %resource.source.observer} index: 3 server: match: {} schema: {short: Document Responder, 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} package_version: 4.2.3 class: profile kind: resource url: https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferences.Audit.Consumer base: https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.PatientQuery version: 4.2.3