PackagesCanonicalsLogsProblems
    Packages
    ihe.iti.scheduling@1.0.0
    https://profiles.ihe.net/ITI/Scheduling/StructureDefinition/IHE.Scheduling.Hold.Audit.Recipient
description: Defines constraints on the AuditEvent Resource to record when a hold Appointment \\[ITI-116\\] Transaction happens at the Recipient.\n- Build off of the IHE Basic Audit Patient Create event\n- add the ITI-116 as a subtype\n- client is the Scheduling Client\n- Server is the Scheduling Server\n- may have user, app, organization agent(s)\n- shall have a patient entity\n- shall have an appointment identity entity
package_name: ihe.iti.scheduling
derivation: constraint
name: AuditSchedulingHoldServer
type: AuditEvent
elements:
  modifierExtension: {index: 0}
  subtype:
    array: true
    min: 2
    index: 1
    slicing:
      slices:
        iti116:
          match: {}
          schema:
            pattern:
              type: Coding
              value: {code: ITI-116, system: 'urn:ihe:event-type-code', display: Hold Appointment}
            _required: true
            index: 2
          min: 1
          max: 1
  agent:
    short: Scheduling Client
    index: 3
    slicing:
      slices:
        client:
          match: {}
          schema: {short: Scheduling Client, index: 3}
        server:
          match: {}
          schema:
            short: Scheduling Server
            constraint:
              val-audit-source: {human: The Audit Source is this agent too., source: 'https://profiles.ihe.net/ITI/Scheduling/StructureDefinition/IHE.Scheduling.Hold.Audit.Recipient', severity: error, expression: $this.who = %resource.source.observer}
            index: 4
  entity:
    short: Appointment
    index: 5
    slicing:
      slices:
        data:
          match: {}
          schema:
            short: Appointment
            index: 5
            elements:
              what:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Appointment']
                index: 6
        patient:
          match: {}
          schema: {short: Patient, index: 7}
package_version: 1.0.0
class: profile
kind: resource
url: https://profiles.ihe.net/ITI/Scheduling/StructureDefinition/IHE.Scheduling.Hold.Audit.Recipient
base: https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.PatientCreate
version: 1.0.0