PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.pcare@0.1.0-dft-preballot
    http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/bundle-document
description: A patient-centric clinical document Bundle, without patient-summary section templates or referral-specific requirements.
package_name: ca.infoway.io.pcare
derivation: constraint
name: PCareBundleDocument
type: Bundle
elements:
  identifier:
    index: 0
    elements:
      system: {index: 1}
      value: {index: 2}
    required: [value, system]
  type:
    pattern: {type: Code, value: document}
    index: 3
  timestamp: {index: 4}
  entry:
    short: Resource included in the clinical document
    array: true
    min: 2
    index: 5
    elements:
      fullUrl: {index: 6}
      resource: {index: 7}
      search: {index: 8}
      request: {index: 9}
      response: {index: 10}
    required: [resource, fullUrl]
    slicing:
      rules: open
      discriminator:
      - {path: resource, type: type}
      - {path: resource, type: profile}
      min: 2
      slices:
        composition:
          match: {}
          schema:
            array: true
            min: 1
            _required: true
            index: 11
            elements:
              resource: {type: Composition, index: 12}
        patient:
          match: {}
          schema:
            _required: true
            index: 13
            elements:
              resource: {type: Patient, index: 14}
package_version: 0.1.0-dft-preballot
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/bundle-document
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 0.1.0
required: [timestamp, identifier]