description: This profile defines a set of constraints to the FHIR Bundle resource for use in Alberta Patient Summaries (PS-AB). It re-profiles the PS-CA Bundle profile and refines constraints applied to the Bundle resource by the PS-CA project to include hard constraints (invariants) than enforce what sections and resource elements are allowed to be present in an Alberta Patient Summary. These have been applied at the Bundle level as an alternative to forbidding elements through 0..0 cardinality - to balance the need for mechanical validation on Patient Summary against the re-use of clinical FHIR profiles under different contexts. package_name: ca.ab.fhir.psab derivation: constraint name: BundlePSAB type: Bundle elements: meta: extensions: submissionMetadata: {url: 'https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName', min: 1, type: Extension, mustSupport: true, index: 1} elements: extension: index: 0 slicing: slices: submissionMetadata: match: {} schema: {type: Extension, mustSupport: true, url: 'https://www.alberta.ca/fhir/psab/StructureDefinition/ext-EntityIdentifierAndName', index: 1} min: 1 security: binding: {strength: extensible, valueSet: 'https://www.alberta.ca/fhir/ValueSet/security-label'} mustSupport: true index: 2 required: [extension] entry: index: 3 slicing: slices: patient: match: {} schema: index: 9 elements: resource: {type: Patient, index: 10} search: {index: 11} request: {index: 12} response: {index: 13} immunization: match: {} schema: index: 58 elements: search: {index: 59} request: {index: 60} response: {index: 61} observation-oxygensat: match: {} schema: index: 146 elements: search: {index: 147} request: {index: 148} response: {index: 149} observation-results-laboratory-pathology: match: {} schema: index: 110 elements: search: {index: 111} request: {index: 112} response: {index: 113} organization-lab: match: {} schema: index: 158 elements: search: {index: 159} request: {index: 160} response: {index: 161} familymemberhistory: match: {} schema: index: 50 elements: search: {index: 51} request: {index: 52} response: {index: 53} observation-bp: match: {} schema: index: 122 elements: search: {index: 123} request: {index: 124} response: {index: 125} deviceusestatement: match: {} schema: index: 38 elements: search: {index: 39} request: {index: 40} response: {index: 41} diagnosticreport: match: {} schema: index: 42 elements: search: {index: 43} request: {index: 44} response: {index: 45} observation-results-radiology: match: {} schema: index: 114 elements: search: {index: 115} request: {index: 116} response: {index: 117} careplan: match: {} schema: index: 18 elements: search: {index: 19} request: {index: 20} response: {index: 21} specimen: match: {} schema: index: 162 elements: search: {index: 163} request: {index: 164} response: {index: 165} medicationrequest: match: {} schema: index: 70 elements: search: {index: 71} request: {index: 72} response: {index: 73} allergyintolerance: match: {} schema: index: 14 elements: search: {index: 15} request: {index: 16} response: {index: 17} practitionerrole: match: {} schema: index: 82 elements: search: {index: 83} request: {index: 84} response: {index: 85} observation-headcircum: match: {} schema: index: 138 elements: search: {index: 139} request: {index: 140} response: {index: 141} clinicalimpression: match: {} schema: index: 22 elements: search: {index: 23} request: {index: 24} response: {index: 25} observation-pregnancy-status: match: {} schema: index: 98 elements: search: {index: 99} request: {index: 100} response: {index: 101} procedure: match: {} schema: index: 86 elements: search: {index: 87} request: {index: 88} response: {index: 89} observation-bmi: match: {} schema: index: 118 elements: search: {index: 119} request: {index: 120} response: {index: 121} consent: match: {} schema: index: 30 elements: search: {index: 31} request: {index: 32} response: {index: 33} observation-resprate: match: {} schema: index: 150 elements: search: {index: 151} request: {index: 152} response: {index: 153} observation-pregnancy-outcome: match: {} schema: index: 94 elements: search: {index: 95} request: {index: 96} response: {index: 97} immunizationrecommendation: match: {} schema: index: 62 elements: search: {index: 63} request: {index: 64} response: {index: 65} observation-vitalspanel: match: {} schema: index: 154 elements: search: {index: 155} request: {index: 156} response: {index: 157} observation-bodyheight: match: {} schema: index: 126 elements: search: {index: 127} request: {index: 128} response: {index: 129} condition: match: {} schema: index: 26 elements: search: {index: 27} request: {index: 28} response: {index: 29} medicationstatement: match: {} schema: index: 74 elements: search: {index: 75} request: {index: 76} response: {index: 77} practitioner: match: {} schema: index: 78 elements: search: {index: 79} request: {index: 80} response: {index: 81} observation-tobacco-use: match: {} schema: index: 106 elements: search: {index: 107} request: {index: 108} response: {index: 109} device: match: {} schema: index: 34 elements: search: {index: 35} request: {index: 36} response: {index: 37} observation-bodytemp: match: {} schema: index: 134 elements: search: {index: 135} request: {index: 136} response: {index: 137} composition: match: {} schema: index: 3 elements: fullUrl: {mustSupport: true, index: 4} resource: {type: Composition, index: 5} search: {index: 6} request: {index: 7} response: {index: 8} required: [fullUrl] imagingstudy: match: {} schema: index: 54 elements: search: {index: 55} request: {index: 56} response: {index: 57} documentreference: match: {} schema: index: 46 elements: search: {index: 47} request: {index: 48} response: {index: 49} observation-heartrate: match: {} schema: index: 142 elements: search: {index: 143} request: {index: 144} response: {index: 145} observation-bodyweight: match: {} schema: index: 130 elements: search: {index: 131} request: {index: 132} response: {index: 133} observation-alcohol-use: match: {} schema: index: 102 elements: search: {index: 103} request: {index: 104} response: {index: 105} observation-pregnancy-edd: match: {} schema: index: 90 elements: search: {index: 91} request: {index: 92} response: {index: 93} medication: match: {} schema: index: 66 elements: search: {index: 67} request: {index: 68} response: {index: 69} package_version: 1.2.0 class: profile kind: resource url: https://www.alberta.ca/fhir/psab/StructureDefinition/BundlePSAB base: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/bundle-ca-ps version: 1.2.0