PackagesCanonicalsLogsProblems
    Packages
    PCR.Core.STU3@1.0.0
    http://ehealthontario.ca/fhir/StructureDefinition/pcr-bundle-response
description: This is the bundle profile from PCR for Patient Search and EMPI Match oeprations.
package_name: PCR.Core.STU3
derivation: constraint
name: pcr-bundle-response
type: Bundle
elements:
  id: {short: 'Logical id of this artifact, contains a random guid', index: 0}
  meta:
    mustSupport: true
    index: 1
    elements:
      profile:
        pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/pcr-Bundle-response|2.0.0'}
        mustSupport: true
        index: 2
    required: [profile]
  type:
    pattern: {type: Code, value: searchset}
    mustSupport: true
    index: 3
  total: {mustSupport: true, index: 4}
  entry:
    mustSupport: true
    index: 5
    elements:
      fullUrl: {mustSupport: true, index: 6}
      resource:
        type: Patient
        mustSupport: true
        index: 7
        elements:
          name:
            elements:
              suffix: {index: 8}
      search:
        mustSupport: true
        index: 9
        elements:
          mode:
            pattern: {type: Code, value: match}
            mustSupport: true
            index: 10
          score: {short: 'Search ranking (between 0 and 1). For Patient Search Bundle, this is fixed "1"', mustSupport: true, index: 11}
        required: [score, mode]
    required: [resource, fullUrl, search]
package_version: 1.0.0
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/pcr-bundle-response
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 2.0.0
required: [total, id, meta]