description: A patient summary reconciling PS-CA and PS-AB requirements. Shared structural constraints are mandatory; Alberta-only structural differences are reported as compatibility warnings. package_name: ca.infoway.io.pcare derivation: constraint name: PCareCompositionPatientSummary type: Composition elements: meta: index: 0 elements: security: binding: {strength: extensible, valueSet: 'http://fhir.infoway-inforoute.ca/p-care/ValueSet/pcare-security-labels'} index: 1 section: array: true min: 3 index: 16 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 18} elements: extension: index: 17 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: section-note: match: {url: null} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 18} min: 0 code: {index: 19} text: {index: 20} required: [text, code] slicing: rules: open ordered: false discriminator: - {path: code, type: pattern} min: 3 slices: sectionProblems: match: code: coding: - {code: 11450-4, system: 'http://loinc.org'} schema: short: Problem list constraint: pcare-pscmp-entry-or-empty: {human: 'The medications, allergies, and problems sections must contain an entry reference or an emptyReason (shared PS-CA/PS-AB requirement).', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary', severity: error, expression: entry.reference.exists() or emptyReason.exists()} _required: true index: 40 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 41} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 41 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 41} min: 0 title: constraint: pcare-pscmp-ab-problems-title: {human: 'PS-AB compatibility: the sectionProblems title is expected to be ''Problem List''.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary', severity: warning, expression: $this = 'Problem List'} index: 42 code: pattern: type: CodeableConcept value: coding: - {code: 11450-4, system: 'http://loinc.org'} index: 43 elements: coding: elements: display: extensions: translation: {url: null, index: 44} elements: extension: index: 44 slicing: slices: translation: match: {} schema: {index: 44} entry: index: 45 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: problem: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/condition'] array: true index: 46 min: 0 emptyReason: {index: 47} section: {index: 48} required: [title] sectionPatientStory: match: code: coding: - {code: 81338-6, system: 'http://loinc.org'} schema: short: Patient story index: 163 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 164} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 164 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 164} min: 0 title: {index: 165} code: pattern: type: CodeableConcept value: coding: - {code: 81338-6, system: 'http://loinc.org'} index: 166 elements: coding: elements: display: extensions: translation: {url: null, index: 167} elements: extension: index: 167 slicing: slices: translation: match: {} schema: {index: 167} required: [title] sectionProceduresHx: match: code: coding: - {code: 47519-4, system: 'http://loinc.org'} schema: short: History of procedures index: 49 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 50} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 50 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 50} min: 0 title: constraint: pcare-pscmp-ab-procedureshx-title: {human: 'PS-AB compatibility: the sectionProceduresHx title is expected to be ''History of Procedures''.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary', severity: warning, expression: $this = 'History of Procedures'} index: 51 code: pattern: type: CodeableConcept value: coding: - {code: 47519-4, system: 'http://loinc.org'} index: 52 elements: coding: elements: display: extensions: translation: {url: null, index: 53} elements: extension: index: 53 slicing: slices: translation: match: {} schema: {index: 53} entry: index: 54 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: procedure: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/procedure'] array: true index: 55 min: 0 section: {index: 56} required: [title] sectionPlanOfCare: match: code: coding: - {code: 18776-5, system: 'http://loinc.org'} schema: short: Plan of care index: 117 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 118} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 118 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 118} min: 0 title: {index: 119} code: pattern: type: CodeableConcept value: coding: - {code: 18776-5, system: 'http://loinc.org'} index: 120 elements: coding: elements: display: extensions: translation: {url: null, index: 121} elements: extension: index: 121 slicing: slices: translation: match: {} schema: {index: 121} entry: index: 122 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: carePlan: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan'] array: true index: 123 min: 0 documentReference: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference'] array: true index: 124 min: 0 immunizationRecommendation: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation'] array: true index: 125 min: 0 section: {index: 126} required: [title] sectionMedicalDevices: match: code: coding: - {code: 46264-8, system: 'http://loinc.org'} schema: short: Medical devices index: 65 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 66} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 66 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 66} min: 0 title: {index: 67} code: pattern: type: CodeableConcept value: coding: - {code: 46264-8, system: 'http://loinc.org'} index: 68 elements: coding: elements: display: extensions: translation: {url: null, index: 69} elements: extension: index: 69 slicing: slices: translation: match: {} schema: {index: 69} entry: index: 70 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: deviceStatement: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/DeviceUseStatement-uv-ips|2.0.1'] array: true index: 71 min: 0 section: {index: 72} required: [title] sectionSocialHistory: match: code: coding: - {code: 29762-2, system: 'http://loinc.org'} schema: short: Social history index: 127 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 128} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 128 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 128} min: 0 title: constraint: pcare-pscmp-ab-socialhistory-title: {human: 'PS-AB compatibility: the sectionSocialHistory title is expected to be ''Social History''.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary', severity: warning, expression: $this = 'Social History'} index: 129 code: pattern: type: CodeableConcept value: coding: - {code: 29762-2, system: 'http://loinc.org'} index: 130 elements: coding: elements: display: extensions: translation: {url: null, index: 131} elements: extension: index: 131 slicing: slices: translation: match: {} schema: {index: 131} entry: index: 132 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: generalSocialHistory: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-social-history'] array: true index: 133 min: 0 smokingTobaccoUse: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-tobacco-use'] index: 134 min: 0 max: 1 alcoholUse: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-alcohol-use'] index: 135 min: 0 max: 1 section: {index: 136} required: [title] sectionFunctionalStatus: match: code: coding: - {code: 47420-5, system: 'http://loinc.org'} schema: short: Functional status index: 108 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 109} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 109 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 109} min: 0 title: {index: 110} code: pattern: type: CodeableConcept value: coding: - {code: 47420-5, system: 'http://loinc.org'} index: 111 elements: coding: elements: display: extensions: translation: {url: null, index: 112} elements: extension: index: 112 slicing: slices: translation: match: {} schema: {index: 112} entry: index: 113 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: disability: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/condition'] array: true index: 114 min: 0 functionalAssessment: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression'] array: true index: 115 min: 0 section: {index: 116} required: [title] sectionAllergies: match: code: coding: - {code: 48765-2, system: 'http://loinc.org'} schema: short: Allergies and intolerances constraint: pcare-pscmp-entry-or-empty: {human: 'The medications, allergies, and problems sections must contain an entry reference or an emptyReason (shared PS-CA/PS-AB requirement).', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary', severity: error, expression: entry.reference.exists() or emptyReason.exists()} _required: true index: 31 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 32} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 32 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 32} min: 0 title: constraint: pcare-pscmp-ab-allergies-title: {human: 'PS-AB compatibility: the sectionAllergies title is expected to be ''Allergies and Intolerances''.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary', severity: warning, expression: $this = 'Allergies and Intolerances'} index: 33 code: pattern: type: CodeableConcept value: coding: - {code: 48765-2, system: 'http://loinc.org'} index: 34 elements: coding: elements: display: extensions: translation: {url: null, index: 35} elements: extension: index: 35 slicing: slices: translation: match: {} schema: {index: 35} entry: index: 36 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: allergyOrIntolerance: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/allergy-intolerance'] array: true index: 37 min: 0 emptyReason: {index: 38} section: {index: 39} required: [title] sectionPregnancyHx: match: code: coding: - {code: 10162-6, system: 'http://loinc.org'} schema: short: Pregnancy history index: 137 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 138} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 138 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 138} min: 0 title: {index: 139} code: pattern: type: CodeableConcept value: coding: - {code: 10162-6, system: 'http://loinc.org'} index: 140 elements: coding: elements: display: extensions: translation: {url: null, index: 141} elements: extension: index: 141 slicing: slices: translation: match: {} schema: {index: 141} entry: index: 142 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: pregnancyStatus: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-status-uv-ips|2.0.1'] array: true index: 143 min: 0 pregnancyOutcome: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-outcome-uv-ips|2.0.1'] array: true index: 144 min: 0 section: {index: 145} required: [title] sectionAdvanceDirectives: match: code: coding: - {code: 42348-3, system: 'http://loinc.org'} schema: short: Advance directives index: 146 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 147} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 147 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 147} min: 0 title: {index: 148} code: pattern: type: CodeableConcept value: coding: - {code: 42348-3, system: 'http://loinc.org'} index: 149 elements: coding: elements: display: extensions: translation: {url: null, index: 150} elements: extension: index: 150 slicing: slices: translation: match: {} schema: {index: 150} entry: index: 151 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: advanceDirectivesConsent: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Consent'] array: true index: 152 min: 0 advanceDirectivesDocumentReference: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference'] array: true index: 153 min: 0 section: {index: 154} required: [title] sectionFamilyHistory: match: code: coding: - {code: 10157-6, system: 'http://loinc.org'} schema: short: Family history index: 155 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 156} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 156 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 156} min: 0 title: constraint: pcare-pscmp-ab-familyhistory-title: {human: 'PS-AB compatibility: the sectionFamilyHistory title is expected to be ''Family History''.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary', severity: warning, expression: $this = 'Family History'} index: 157 code: pattern: type: CodeableConcept value: coding: - {code: 10157-6, system: 'http://loinc.org'} index: 158 elements: coding: elements: display: extensions: translation: {url: null, index: 159} elements: extension: index: 159 slicing: slices: translation: match: {} schema: {index: 159} entry: index: 160 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: FamilyMemberHistory: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/family-member-history'] array: true index: 161 min: 0 section: {index: 162} required: [title] sectionVitalSigns: match: code: coding: - {code: 8716-3, system: 'http://loinc.org'} schema: short: Vital signs index: 83 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 84} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 84 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 84} min: 0 title: constraint: pcare-pscmp-ab-vitalsigns-title: {human: 'PS-AB compatibility: the sectionVitalSigns title is expected to be ''Vital Signs''.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary', severity: warning, expression: $this = 'Vital Signs'} index: 85 code: pattern: type: CodeableConcept value: coding: - {code: 8716-3, system: 'http://loinc.org'} index: 86 elements: coding: elements: display: extensions: translation: {url: null, index: 87} elements: extension: index: 87 slicing: slices: translation: match: {} schema: {index: 87} entry: index: 88 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: VitalsPanel: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/vitalspanel'] array: true index: 98 min: 0 BodyHeight: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-body-height'] array: true index: 91 min: 0 HeadCircum: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-head-circum'] array: true index: 94 min: 0 HeartRate: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-heart-rate'] array: true index: 95 min: 0 BMI: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-bmi'] array: true index: 89 min: 0 BodyTemp: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-body-temperature'] array: true index: 92 min: 0 OxygenSat: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-oxygen-saturation'] array: true index: 96 min: 0 BodyWeight: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-body-weight'] array: true index: 93 min: 0 BP: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-blood-pressure'] array: true index: 90 min: 0 RespRate: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-respiratory-rate'] array: true index: 97 min: 0 section: {index: 99} required: [title] sectionImmunizations: match: code: coding: - {code: 11369-6, system: 'http://loinc.org'} schema: short: Immunization history index: 57 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 58} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 58 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 58} min: 0 title: {index: 59} code: pattern: type: CodeableConcept value: coding: - {code: 11369-6, system: 'http://loinc.org'} index: 60 elements: coding: elements: display: extensions: translation: {url: null, index: 61} elements: extension: index: 61 slicing: slices: translation: match: {} schema: {index: 61} entry: index: 62 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: immunization: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/immunization'] array: true index: 63 min: 0 section: {index: 64} required: [title] sectionResults: match: code: coding: - {code: 30954-2, system: 'http://loinc.org'} schema: short: Diagnostic results index: 73 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 74} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 74 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 74} min: 0 title: {index: 75} code: pattern: type: CodeableConcept value: coding: - {code: 30954-2, system: 'http://loinc.org'} index: 76 elements: coding: elements: display: extensions: translation: {url: null, index: 77} elements: extension: index: 77 slicing: slices: translation: match: {} schema: {index: 77} entry: index: 78 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: results-observation-laboratory-pathology: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-lab-pathology'] array: true index: 79 min: 0 results-observation-radiology: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/observation-radiology'] array: true index: 80 min: 0 results-diagnosticReport: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/diagnostic-report'] array: true index: 81 min: 0 section: {index: 82} required: [title] sectionMedications: match: code: coding: - {code: 10160-0, system: 'http://loinc.org'} schema: short: Medication summary constraint: pcare-pscmp-entry-or-empty: {human: 'The medications, allergies, and problems sections must contain an entry reference or an emptyReason (shared PS-CA/PS-AB requirement).', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary', severity: error, expression: entry.reference.exists() or emptyReason.exists()} _required: true index: 21 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 22} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 22 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 22} min: 0 title: constraint: pcare-pscmp-ab-medications-title: {human: 'PS-AB compatibility: the sectionMedications title is expected to be ''Medication Summary''.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary', severity: warning, expression: $this = 'Medication Summary'} index: 23 code: pattern: type: CodeableConcept value: coding: - {code: 10160-0, system: 'http://loinc.org'} index: 24 elements: coding: elements: display: extensions: translation: {url: null, index: 25} elements: extension: index: 25 slicing: slices: translation: match: {} schema: {index: 25} entry: index: 26 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: medicationStatement: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication-statement'] array: true index: 27 min: 0 medicationRequest: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/medication-request'] array: true index: 28 min: 0 emptyReason: {index: 29} section: {index: 30} required: [title] sectionPastIllnessHx: match: code: coding: - {code: 11348-0, system: 'http://loinc.org'} schema: short: History of past illness index: 100 extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', min: 0, type: Extension, short: Additional notes about the section, index: 101} elements: extension: type: Extension short: Additional notes about the section url: http://hl7.org/fhir/StructureDefinition/note|5.3.0 index: 101 slicing: slices: section-note: match: {} schema: {type: Extension, short: Additional notes about the section, url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0', index: 101} min: 0 title: {index: 102} code: pattern: type: CodeableConcept value: coding: - {code: 11348-0, system: 'http://loinc.org'} index: 103 elements: coding: elements: display: extensions: translation: {url: null, index: 104} elements: extension: index: 104 slicing: slices: translation: match: {} schema: {index: 104} entry: index: 105 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: pastProblem: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/condition'] array: true index: 106 min: 0 section: {index: 107} required: [title] attester: elements: mode: {index: 9} time: {index: 10} party: {index: 11} type: pattern: type: CodeableConcept value: coding: - {code: 60591-5, system: 'http://loinc.org'} index: 5 author: {short: Who and/or what authored the patient summary, index: 7} event: index: 13 slicing: rules: open discriminator: - {path: code, type: pattern} min: null slices: careProvisioningEvent: match: code: coding: - {code: PCPR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'} schema: index: 14 elements: code: pattern: type: CodeableConcept value: coding: - {code: PCPR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'} index: 15 required: [code] custodian: elements: display: constraint: pcare-pscmp-ab-custodian-display: {human: 'PS-AB compatibility: when custodian.display is supplied, it is expected to be ''Alberta Health''.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary', severity: warning, expression: $this = 'Alberta Health'} index: 12 status: constraint: pcare-pscmp-ab-status: {human: 'PS-AB compatibility: the preliminary Composition status is not used in Alberta.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary', severity: warning, expression: $this != 'preliminary'} index: 4 identifier: {index: 3} subject: elements: reference: {index: 6} confidentiality: {index: 8} text: {index: 2} package_version: 0.1.0-dft-preballot class: profile kind: resource url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary base: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition version: 0.1.0