PackagesCanonicalsLogsProblems
    Packages
    ca.on.pcr.r4@1.0.0-draft1
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-profile-Bundle
description: This is the bundle profile from PCR for Patient Search and EMPI Match oeprations.
package_name: ca.on.pcr.r4
derivation: constraint
name: PCRBundleResponse
type: Bundle
elements:
  id: {short: 'Logical id of this artifact, contains a random guid', index: 0}
  meta:
    mustSupport: true
    index: 1
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-profile-Bundle|2.0.0'}
        index: 2
    required: [profile]
  type:
    pattern: {type: Code, value: searchset}
    mustSupport: true
    index: 3
  total: {mustSupport: true, index: 4}
  link:
    mustSupport: true
    index: 5
    elements:
      relation:
        pattern: {type: String, value: self}
        mustSupport: true
        index: 6
      url: {mustSupport: true, index: 7}
  entry:
    mustSupport: true
    index: 8
    elements:
      fullUrl: {mustSupport: true, index: 9}
      resource: {type: Resource, mustSupport: true, index: 10}
      search:
        mustSupport: true
        index: 11
        extensions:
          match-grade:
            url: http://hl7.org/fhir/StructureDefinition/match-grade
            type: Extension
            mustSupport: true
            index: 12
            elements:
              value:
                choices: []
                index: 14
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueCode:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 16
        elements:
          extension:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/match-grade
            index: 12
            slicing:
              slices:
                match-grade:
                  match: {}
                  schema:
                    type: Extension
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/match-grade
                    index: 12
                    elements:
                      value:
                        choices: []
                        index: 14
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                mustSupport: true
                                choices: []
                                index: 16
          mode: {mustSupport: true, index: 17}
          score: {short: 'Search ranking (between 0 and 1). For Patient Search Bundle, this is fixed "1"', mustSupport: true, index: 18}
        required: [mode]
    required: [resource, search]
package_version: 1.0.0-draft1
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-profile-Bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 2.0.0
required: [total, id, link, meta]