PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.mha-pds@0.9.0-alpha-1.1
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-bundle
description: null
package_name: ca.on.oh.mha-pds
derivation: constraint
name: Bundle
type: Bundle
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      lastUpdated: {mustSupport: true, index: 1}
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-bundle'}
        index: 2
    required: [lastUpdated, profile]
  identifier: {mustSupport: true, index: 3}
  type:
    pattern: {type: Code, value: collection}
    mustSupport: true
    index: 4
  timestamp: {mustSupport: true, index: 5}
  entry:
    mustSupport: true
    index: 6
    elements:
      fullUrl: {mustSupport: true, index: 7}
      resource: {mustSupport: true, index: 8}
    slicing:
      rules: open
      discriminator:
      - {path: entry.resource, type: value}
      min: null
      slices:
        entryObservationSDOH:
          match:
            entry: {resource: null}
          schema:
            mustSupport: true
            index: 28
            elements:
              resource: {type: Resource, mustSupport: true, index: 29}
        entryCondition:
          match:
            entry: {resource: null}
          schema:
            mustSupport: true
            index: 26
            elements:
              resource: {type: Resource, index: 27}
            required: [resource]
        entryLocation:
          match:
            entry: {resource: null}
          schema:
            mustSupport: true
            _required: true
            index: 14
            elements:
              resource: {type: Resource, index: 15}
        entryAppointment:
          match:
            entry: {resource: null}
          schema:
            mustSupport: true
            index: 22
            elements:
              resource: {type: Resource, index: 23}
        entryHealthCareService:
          match:
            entry: {resource: null}
          schema:
            mustSupport: true
            index: 20
            elements:
              resource: {type: Resource, index: 21}
        entryPatient:
          match:
            entry: {resource: null}
          schema:
            mustSupport: true
            _required: true
            index: 9
            elements:
              resource: {type: Resource, index: 10}
              response: {index: 11}
            required: [resource]
        entryEpisodeOfCare:
          match:
            entry: {resource: null}
          schema:
            mustSupport: true
            index: 18
            elements:
              resource: {type: Resource, index: 19}
        entryEncounter:
          match:
            entry: {resource: null}
          schema:
            mustSupport: true
            index: 24
            elements:
              resource: {type: Resource, index: 25}
        entryOrganization:
          match:
            entry: {resource: null}
          schema:
            mustSupport: true
            _required: true
            index: 12
            elements:
              resource: {type: Resource, mustSupport: true, index: 13}
            required: [resource]
        entryServiceRequest:
          match:
            entry: {resource: null}
          schema:
            mustSupport: true
            index: 16
            elements:
              resource: {type: Resource, index: 17}
package_version: 0.9.0-alpha-1.1
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: null
required: [timestamp, meta]