PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.mha-pds@0.9.0-alpha-1.9.7.26
    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: resource.meta.profile, type: value}
      min: null
      slices:
        entryObservation-LegalStatus:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 46
            elements:
              fullUrl: {mustSupport: true, index: 47}
              resource: {type: Resource, mustSupport: true, index: 48}
            required: [fullUrl]
        entryCondition:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 34
            elements:
              fullUrl: {mustSupport: true, index: 35}
              resource: {type: Resource, index: 36}
            required: [fullUrl]
        entryLocation:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 16
            elements:
              fullUrl: {mustSupport: true, index: 17}
              resource: {type: Resource, index: 18}
            required: [fullUrl]
        entryAppointment:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 28
            elements:
              fullUrl: {mustSupport: true, index: 29}
              resource: {type: Resource, index: 30}
            required: [fullUrl]
        entryObservation-SexualOrientation:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 37
            elements:
              fullUrl: {mustSupport: true, index: 38}
              resource: {type: Resource, index: 39}
            required: [fullUrl]
        entryObservation-PersonalIncomeSource:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 55
            elements:
              fullUrl: {mustSupport: true, index: 56}
              resource: {type: Resource, mustSupport: true, index: 57}
            required: [fullUrl]
        entryHealthCareService:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 25
            elements:
              fullUrl: {mustSupport: true, index: 26}
              resource: {type: Resource, index: 27}
            required: [fullUrl]
        entryPatient:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            _required: true
            index: 9
            elements:
              fullUrl: {mustSupport: true, index: 10}
              resource: {type: Resource, index: 11}
              response: {index: 12}
            required: [resource, fullUrl]
        entryEpisodeOfCare:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 22
            elements:
              fullUrl: {mustSupport: true, index: 23}
              resource: {type: Resource, index: 24}
            required: [fullUrl]
        entryObservation-EmploymentStatus:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 43
            elements:
              fullUrl: {mustSupport: true, index: 44}
              resource: {type: Resource, mustSupport: true, index: 45}
            required: [fullUrl]
        entryObservation-LevelOfEducation:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 49
            elements:
              fullUrl: {mustSupport: true, index: 50}
              resource: {type: Resource, mustSupport: true, index: 51}
            required: [fullUrl]
        entryObservation-GenderIdentity:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 64
            elements:
              fullUrl: {mustSupport: true, index: 65}
              resource: {type: Resource, index: 66}
            required: [fullUrl]
        entryEncounter:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 31
            elements:
              fullUrl: {mustSupport: true, index: 32}
              resource: {type: Resource, index: 33}
            required: [fullUrl]
        entryObservation-HousingStatus:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 58
            elements:
              fullUrl: {mustSupport: true, index: 59}
              resource: {type: Resource, index: 60}
            required: [fullUrl]
        entryOrganization:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            _required: true
            index: 13
            elements:
              fullUrl: {mustSupport: true, index: 14}
              resource: {type: Resource, mustSupport: true, index: 15}
            required: [resource, fullUrl]
        entryObservation-CitizenshipStatus:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 40
            elements:
              fullUrl: {mustSupport: true, index: 41}
              resource: {type: Resource, mustSupport: true, index: 42}
            required: [fullUrl]
        entryServiceRequest:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 19
            elements:
              fullUrl: {mustSupport: true, index: 20}
              resource: {type: Resource, index: 21}
            required: [fullUrl]
        entryObservation-TotalHouseholdIncome:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 61
            elements:
              fullUrl: {mustSupport: true, index: 62}
              resource: {type: Resource, index: 63}
            required: [fullUrl]
        entryObservation-NumberOfPeopleIncomeSupports:
          match:
            resource:
              meta: {profile: null}
          schema:
            mustSupport: true
            index: 52
            elements:
              fullUrl: {mustSupport: true, index: 53}
              resource: {type: Resource, mustSupport: true, index: 54}
            required: [fullUrl]
package_version: 0.9.0-alpha-1.9.7.26
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]