PackagesCanonicalsLogsProblems
    Packages
    ihe.iti.mhd@5.0.0-comment
    https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentLists.Audit.Consumer
description: Defines constraints on the AuditEvent Resource to record when a Find Document Lists 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: AuditFindDocumentListsConsumer
type: AuditEvent
elements:
  modifierExtension: {index: 0}
  category:
    array: true
    min: 2
    index: 1
    slicing:
      slices:
        iti66:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {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
    constraint:
      val-audit-source: {human: The Audit Source is this agent too., source: 'https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentLists.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.FindDocumentLists.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: 5.0.0-comment
class: profile
kind: resource
url: https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentLists.Audit.Consumer
base: https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.BasicAudit.MHD5.PatientQuery
version: 5.0.0-comment