PackagesCanonicalsLogsProblems
    Packages
    ihe.iti.pmir@1.4.0
    https://profiles.ihe.net/ITI/PMIR/StructureDefinition/IHE.PMIR.Audit.Subscription.Update
description: Defines constraints on the AuditEvent Resource to record when a Subscribe to Patient Updates Transaction happens\nto update a subscription, as recorded by the Patient Identity Subscriber and Registry.
package_name: ihe.iti.pmir
derivation: constraint
name: AuditPmirSubscriptionUpdate
type: AuditEvent
elements:
  subtype:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        iti94:
          match: {}
          schema:
            pattern:
              type: Coding
              value: {code: ITI-94, system: 'urn:ihe:event-type-code', display: Subscribe to Patient Updates}
            _required: true
            index: 1
          min: 1
          max: 1
  entity:
    array: true
    index: 2
    slicing:
      slices:
        patient:
          match: {}
          schema:
            array: true
            index: 2
            elements:
              what:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
                index: 3
              type:
                pattern:
                  type: Coding
                  value: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type', display: Person}
                index: 4
              role:
                pattern:
                  type: Coding
                  value: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/object-role', display: Patient}
                index: 5
            required: [what, type]
package_version: 1.4.0
class: profile
kind: resource
url: https://profiles.ihe.net/ITI/PMIR/StructureDefinition/IHE.PMIR.Audit.Subscription.Update
base: https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.Update
version: 1.4.0