PackagesCanonicalsLogsProblems
    Packages
    ihe.iti.mhd@4.2.0-ballot
    https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentLists.Audit.Responder
description: Defines constraints on the AuditEvent Resource to record when a Find Document Lists Transaction happens, as recorded by the Document Responder.\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: AuditFindDocumentListsResponder
type: AuditEvent
elements:
  modifierExtension: {index: 0}
  subtype:
    array: true
    min: 2
    index: 1
    slicing:
      slices:
        iti66:
          match: {}
          schema:
            pattern:
              type: Coding
              value: {code: ITI-66, system: 'urn:ihe:event-type-code', display: Find Document Lists}
            _required: true
            index: 2
          min: 1
          max: 1
  agent:
    short: Document Consumer
    index: 3
    slicing:
      slices:
        client:
          match: {}
          schema: {short: Document Consumer, index: 3}
        server:
          match: {}
          schema:
            short: Document Responder
            constraint:
              val-audit-source: {human: The Audit Source is this agent too., source: 'https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentLists.Audit.Responder', severity: error, expression: $this.who = %resource.source.observer}
            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.0-ballot
class: profile
kind: resource
url: https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentLists.Audit.Responder
base: https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.PatientQuery
version: 4.2.0-ballot