PackagesCanonicalsLogsProblems
    Packages
    ihe.iti.dsubm@1.0.0-comment
    https://profiles.ihe.net/ITI/DSUBm/StructureDefinition/IHE.DSUBm.EventsOperation-Bundle
description: Profile on the Bundle resource for the response of $events operation.
package_name: ihe.iti.dsubm
derivation: constraint
name: ResourceNotify_Events
type: Bundle
elements:
  type:
    pattern: {type: Code, value: history}
    index: 0
  entry:
    index: 1
    slicing:
      rules: open
      ordered: false
      description: Slice based on resource
      discriminator:
      - {path: resource, type: type}
      min: null
      slices:
        SubscriptionStatus:
          match: {}
          schema:
            index: 2
            elements:
              resource: {type: SubscriptionStatus, index: 3}
              request:
                elements:
                  method:
                    pattern: {type: Code, value: GET}
                    index: 4
                  url: {short: shall be filled out to match a request to the $status operation for the Subscription relates to the notification, index: 5}
        SubmissionSet:
          match: {}
          schema:
            short: the SubmissionSet
            array: true
            index: 6
            elements:
              resource: {type: List, index: 7}
            required: [resource]
        DocumentRefs:
          match: {}
          schema:
            short: the DocumentReference resources
            array: true
            index: 8
            elements:
              resource: {type: DocumentReference, index: 9}
              request:
                index: 10
                elements:
                  method:
                    binding: {strength: required, valueSet: 'https://profiles.ihe.net/ITI/DSUBm/ValueSet/DSUBmPublishBundleActions'}
                    index: 11
            required: [resource, request]
        Folders:
          match: {}
          schema:
            short: Folders
            array: true
            index: 12
            elements:
              resource: {type: List, index: 13}
              request:
                index: 14
                elements:
                  method:
                    binding: {strength: required, valueSet: 'https://profiles.ihe.net/ITI/DSUBm/ValueSet/DSUBmPublishBundleActions'}
                    index: 15
            required: [resource, request]
        Patient:
          match: {}
          schema:
            short: the Patient
            index: 16
            elements:
              resource: {type: Patient, index: 17}
              request:
                elements:
                  method:
                    binding: {strength: required, valueSet: 'https://profiles.ihe.net/ITI/MHD/ValueSet/MHDprovidePatientActions'}
                    index: 18
            required: [resource]
        Resource:
          match: {}
          schema: {array: true, index: 19}
          min: 0
package_version: 1.0.0-comment
class: profile
kind: resource
url: https://profiles.ihe.net/ITI/DSUBm/StructureDefinition/IHE.DSUBm.EventsOperation-Bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0-comment