description: Defines constraints on the Document Consumer AuditEvent Resource to record when a Retrieve Document Transaction happens, as recorded by the Document Consumer.\n- Build off of the IHE BasicAudit PatientRead event\n- add the ITI-68 as a subtype\n- client is Document Consumer\n- server is Document Responder\n- entity slices for data, and patient are required\n- entity slice for transaction is available package_name: ihe.iti.mhd derivation: constraint name: AuditRetrieveDocumentConsumer type: AuditEvent elements: modifierExtension: {index: 0} subtype: array: true min: 2 index: 1 slicing: slices: iti68: match: {} schema: pattern: type: Coding value: {code: ITI-68, system: 'urn:ihe:event-type-code', display: Retrieve Document} _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.RetrieveDocument.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.RetrieveDocument.Audit.Consumer', severity: error, expression: $this.who = %resource.source.observer} index: 3 server: match: {} schema: {short: Document Responder, index: 4} entity: short: the data index: 5 slicing: slices: data: match: {} schema: short: the data index: 5 elements: role: pattern: type: Coding value: {code: '3', system: 'http://terminology.hl7.org/CodeSystem/object-role', display: Report} index: 6 patient: match: {} schema: {short: Patient, index: 7} package_version: 4.2.0 class: profile kind: resource url: https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.RetrieveDocument.Audit.Consumer base: https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.PatientRead version: 4.2.0