PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.halo@1.0.0-dft-preballot
    http://fhir.infoway-inforoute.ca/io/HALO/StructureDefinition/set-context-transaction-response-bundle
description: A Bundle profile which communicates the outcome of the create interaction on the SoFA for each resource included in the input transaction Bundle of the $set-context operation.
package_name: ca.infoway.io.halo
derivation: constraint
name: SetContextTransactionResponseBundle
type: Bundle
elements:
  type:
    pattern: {type: Code, value: transaction-response}
    index: 0
  entry:
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this.resource, type: profile}
      min: 1
      slices:
        patient:
          match: {}
          schema:
            array: true
            index: 2
            elements:
              fullUrl: {index: 3}
              response:
                index: 4
                elements:
                  location: {index: 5}
                  etag: {index: 6}
                  lastModified: {index: 7}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        immunization:
          match: {}
          schema:
            array: true
            index: 80
            elements:
              fullUrl: {index: 81}
              response:
                index: 82
                elements:
                  location: {index: 83}
                  etag: {index: 84}
                  lastModified: {index: 85}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        appointment:
          match: {}
          schema:
            array: true
            index: 122
            elements:
              fullUrl: {index: 123}
              response:
                index: 124
                elements:
                  location: {index: 125}
                  etag: {index: 126}
                  lastModified: {index: 127}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        slot:
          match: {}
          schema:
            array: true
            index: 104
            elements:
              fullUrl: {index: 105}
              response:
                index: 106
                elements:
                  location: {index: 107}
                  etag: {index: 108}
                  lastModified: {index: 109}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        medicationStatement:
          match: {}
          schema:
            array: true
            index: 68
            elements:
              fullUrl: {index: 69}
              response:
                index: 70
                elements:
                  location: {index: 71}
                  etag: {index: 72}
                  lastModified: {index: 73}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        encounter:
          match: {}
          schema:
            array: true
            index: 8
            elements:
              fullUrl: {index: 9}
              response:
                index: 10
                elements:
                  location: {index: 11}
                  etag: {index: 12}
                  lastModified: {index: 13}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        practitionerRole:
          match: {}
          schema:
            array: true
            index: 14
            elements:
              fullUrl: {index: 15}
              response:
                index: 16
                elements:
                  location: {index: 17}
                  etag: {index: 18}
                  lastModified: {index: 19}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        documentReference:
          match: {}
          schema:
            array: true
            index: 110
            elements:
              fullUrl: {index: 111}
              response:
                index: 112
                elements:
                  location: {index: 113}
                  etag: {index: 114}
                  lastModified: {index: 115}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        observation:
          match: {}
          schema:
            array: true
            index: 98
            elements:
              fullUrl: {index: 99}
              response:
                index: 100
                elements:
                  location: {index: 101}
                  etag: {index: 102}
                  lastModified: {index: 103}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        procedure:
          match: {}
          schema:
            array: true
            index: 86
            elements:
              fullUrl: {index: 87}
              response:
                index: 88
                elements:
                  location: {index: 89}
                  etag: {index: 90}
                  lastModified: {index: 91}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        organization:
          match: {}
          schema:
            array: true
            index: 38
            elements:
              fullUrl: {index: 39}
              response:
                index: 40
                elements:
                  location: {index: 41}
                  etag: {index: 42}
                  lastModified: {index: 43}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        consent:
          match: {}
          schema:
            array: true
            index: 44
            elements:
              fullUrl: {index: 45}
              response:
                index: 46
                elements:
                  location: {index: 47}
                  etag: {index: 48}
                  lastModified: {index: 49}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        diagnosticReport:
          match: {}
          schema:
            array: true
            index: 92
            elements:
              fullUrl: {index: 93}
              response:
                index: 94
                elements:
                  location: {index: 95}
                  etag: {index: 96}
                  lastModified: {index: 97}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        condition:
          match: {}
          schema:
            array: true
            index: 50
            elements:
              fullUrl: {index: 51}
              response:
                index: 52
                elements:
                  location: {index: 53}
                  etag: {index: 54}
                  lastModified: {index: 55}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        serviceRequest:
          match: {}
          schema:
            array: true
            index: 116
            elements:
              fullUrl: {index: 117}
              response:
                index: 118
                elements:
                  location: {index: 119}
                  etag: {index: 120}
                  lastModified: {index: 121}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        appointmentResponse:
          match: {}
          schema:
            array: true
            index: 128
            elements:
              fullUrl: {index: 129}
              response:
                index: 130
                elements:
                  location: {index: 131}
                  etag: {index: 132}
                  lastModified: {index: 133}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        practitioner:
          match: {}
          schema:
            array: true
            index: 20
            elements:
              fullUrl: {index: 21}
              response:
                index: 22
                elements:
                  location: {index: 23}
                  etag: {index: 24}
                  lastModified: {index: 25}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        carePlan:
          match: {}
          schema:
            array: true
            index: 26
            elements:
              fullUrl: {index: 27}
              response:
                index: 28
                elements:
                  location: {index: 29}
                  etag: {index: 30}
                  lastModified: {index: 31}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        location:
          match: {}
          schema:
            array: true
            index: 32
            elements:
              fullUrl: {index: 33}
              response:
                index: 34
                elements:
                  location: {index: 35}
                  etag: {index: 36}
                  lastModified: {index: 37}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        familyMemberHistory:
          match: {}
          schema:
            array: true
            index: 74
            elements:
              fullUrl: {index: 75}
              response:
                index: 76
                elements:
                  location: {index: 77}
                  etag: {index: 78}
                  lastModified: {index: 79}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        medication:
          match: {}
          schema:
            array: true
            index: 62
            elements:
              fullUrl: {index: 63}
              response:
                index: 64
                elements:
                  location: {index: 65}
                  etag: {index: 66}
                  lastModified: {index: 67}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
        allergyIntolerance:
          match: {}
          schema:
            array: true
            index: 56
            elements:
              fullUrl: {index: 57}
              response:
                index: 58
                elements:
                  location: {index: 59}
                  etag: {index: 60}
                  lastModified: {index: 61}
                required: [lastModified, location, etag]
            required: [fullUrl, response]
package_version: 1.0.0-dft-preballot
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/HALO/StructureDefinition/set-context-transaction-response-bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: null
required: [entry]