PackagesCanonicalsLogsProblems
    Packages
    ca.on.phsd.r4@alpha-0.1.2
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-practitioner-response-profile-Bundle
description: This is the Bundle profile from PPR for Practitioner Search resposne and Practitioner EMPI Match operation response.
package_name: ca.on.phsd.r4
derivation: constraint
name: BundlePractitionerMatch
type: Bundle
elements:
  id: {mustSupport: true, index: 0}
  meta:
    mustSupport: true
    index: 1
    elements:
      profile: {mustSupport: true, index: 2}
    required: [profile]
  type:
    pattern: {type: Code, value: searchset}
    mustSupport: true
    index: 3
  total: {mustSupport: true, index: 4}
  link:
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: relation, type: value}
      min: 1
      slices:
        self:
          match: {relation: null}
          schema: {_required: true, index: 6}
          min: 1
          max: 1
  entry:
    mustSupport: true
    index: 7
    slicing:
      rules: open
      discriminator:
      - {path: search.mode, type: value}
      min: null
      slices:
        entry-Result:
          match:
            search: {mode: match}
          schema:
            mustSupport: true
            index: 8
            elements:
              fullUrl: {mustSupport: true, index: 9}
              resource: {type: Resource, index: 10}
              search:
                mustSupport: true
                index: 11
                extensions:
                  match-grade:
                    url: http://hl7.org/fhir/StructureDefinition/match-grade
                    type: Extension
                    index: 12
                    elements:
                      value:
                        choices: []
                        index: 14
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: possible}
                                choices: []
                                index: 16
                elements:
                  extension:
                    type: Extension
                    url: http://hl7.org/fhir/StructureDefinition/match-grade
                    index: 12
                    slicing:
                      slices:
                        match-grade:
                          match: {}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/match-grade
                            index: 12
                            elements:
                              value:
                                choices: []
                                index: 14
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: possible}
                                        choices: []
                                        index: 16
                  mode:
                    pattern: {type: Code, value: match}
                    mustSupport: true
                    index: 17
                  score: {mustSupport: true, index: 18}
                required: [score, mode]
            required: [resource, search]
        entry-Include:
          match:
            search: {mode: include}
          schema:
            mustSupport: true
            index: 19
            elements:
              fullUrl: {mustSupport: true, index: 20}
              resource: {mustSupport: true, index: 21}
              search:
                mustSupport: true
                index: 22
                extensions:
                  match-grade:
                    url: http://hl7.org/fhir/StructureDefinition/match-grade
                    type: Extension
                    index: 23
                    elements:
                      value:
                        choices: []
                        index: 25
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: possible}
                                choices: []
                                index: 27
                elements:
                  extension:
                    type: Extension
                    url: http://hl7.org/fhir/StructureDefinition/match-grade
                    index: 23
                    slicing:
                      slices:
                        match-grade:
                          match: {}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/match-grade
                            index: 23
                            elements:
                              value:
                                choices: []
                                index: 25
                                slicing:
                                  rules: open
                                  ordered: false
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: possible}
                                        choices: []
                                        index: 27
                  mode:
                    pattern: {type: Code, value: include}
                    mustSupport: true
                    index: 28
                  score: {mustSupport: true, index: 29}
                required: [mode]
            required: [resource, search]
        entry-warning:
          match:
            search: {mode: outcome}
          schema:
            mustSupport: true
            index: 30
            elements:
              fullUrl: {mustSupport: true, index: 31}
              resource: {type: Resource, index: 32}
              search:
                mustSupport: true
                index: 33
                elements:
                  mode:
                    pattern: {type: Code, value: outcome}
                    mustSupport: true
                    index: 34
                required: [mode]
            required: [resource, search]
package_version: alpha-0.1.2
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-practitioner-response-profile-Bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0
required: [total, id, link, meta]