description: This profile represents the constraints applied to the Composition resource by the PS-CA project.\r\nA Canadian Patient Summary (PS-CA) document is an electronic health record extract containing essential healthcare information about a subject of care. It is informed by the IPS-UV Composition profile, but differs in its application of Must Support flags on some of the sections to allow for jurisdictional implementors flexibility in what sections systems Must Support in order to show conformance to their respective patient summaries.\r\nThe PS-CA dataset is minimal and non-exhaustive; specialty-agnostic and condition-independent; but still clinically relevant. Its informed by the requirements specified in EN 17269 and ISO/DIS 27269, it is designed for supporting the international use case scenario for ‘unplanned, cross border care’, but is also designed to support a variety of use cases for cross-jurisdiction exchange. It is intended to guide implementation nationally while ensuring international exchange of patient summaries is not impeded.\r\n\r\nThis profile is based on the ClinicalDocument profile from the base R4 FHIR standard. package_name: ca.infoway.io.psca derivation: constraint name: CompositionPSCA type: Composition elements: date: {mustSupport: true, index: 7} encounter: {index: 6} section: short: Sections composing the PS mustSupport: true index: 26 elements: code: {type: CodeableConcept, mustSupport: true, index: 27} text: {mustSupport: true, index: 28} emptyReason: {index: 29} required: [text, code] slicing: rules: open ordered: false discriminator: - {path: code, type: pattern} min: 1 slices: sectionProblems: match: code: coding: - {code: 11450-4, system: 'http://loinc.org'} schema: constraint: ips-comp-1: {human: Either section.entry or emptyReason are present, severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: PS-CA Problems Section mustSupport: true _required: true index: 43 elements: title: {mustSupport: true, index: 44} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 11450-4, system: 'http://loinc.org'} index: 45 entry: short: Clinical problems or conditions currently being monitored for the patient. mustSupport: true index: 46 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: problem: match: {} schema: type: Reference short: A reference to data that supports this section refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/condition-ca-ps'] index: 47 section: {index: 48} required: [title, code] sectionProceduresHx: match: code: coding: - {code: 47519-4, system: 'http://loinc.org'} schema: short: PS-CA History of Procedures Section index: 49 elements: title: {mustSupport: true, index: 50} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 47519-4, system: 'http://loinc.org'} index: 51 entry: short: Patient past procedures pertinent to the scope of this document. mustSupport: true index: 52 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: procedure: match: {} schema: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/procedure-ca-ps'] index: 53 section: {index: 54} required: [title, code] sectionPlanOfCare: match: code: coding: - {code: 18776-5, system: 'http://loinc.org'} schema: short: PS-CA Plan of Care Section index: 102 elements: title: {mustSupport: true, index: 103} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 18776-5, system: 'http://loinc.org'} index: 104 entry: short: Optional entry used to represent structured care plans index: 105 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: carePlan: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan'] index: 106 section: {index: 107} required: [title, code] sectionMedicalDevices: match: code: coding: - {code: 46264-8, system: 'http://loinc.org'} schema: short: PS-CA Medical Devices Section index: 61 elements: title: {mustSupport: true, index: 62} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 46264-8, system: 'http://loinc.org'} index: 63 entry: short: Patient history of medical device use. mustSupport: true index: 64 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: deviceStatement: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/DeviceUseStatement-uv-ips'] index: 65 section: {index: 66} required: [title, code] sectionSocialHistory: match: code: coding: - {code: 29762-2, system: 'http://loinc.org'} schema: short: PS-CA Social History Section index: 108 elements: title: {mustSupport: true, index: 109} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 29762-2, system: 'http://loinc.org'} index: 110 entry: short: Health related "lifestyle factors" or "lifestyle observations" (e.g., smoke habits; alcohol consumption; diets, risky habits.) mustSupport: true index: 111 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: generalSocialHistory: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-socialhistory-ca-ps'] index: 112 smokingTobaccoUse: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-tobaccouse-ca-ps'] index: 113 max: 1 alcoholUse: match: {} schema: type: Reference refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-alcoholuse-ca-ps'] index: 114 max: 1 section: {index: 115} required: [title, code] sectionFunctionalStatus: match: code: coding: - {code: 47420-5, system: 'http://loinc.org'} schema: short: PS-CA Functional Status index: 95 elements: title: {mustSupport: true, index: 96} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 47420-5, system: 'http://loinc.org'} index: 97 entry: short: Optional entry used to represent disabilities and functional assessments mustSupport: true index: 98 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: disability: match: {} schema: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/condition-ca-ps'] index: 99 functionalAssessment: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression'] index: 100 section: {index: 101} required: [title, code] sectionAllergies: match: code: coding: - {code: 48765-2, system: 'http://loinc.org'} schema: constraint: ips-comp-1: {human: Either section.entry or emptyReason are present, severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: PS-CA Allergies and Intolerances Section mustSupport: true _required: true index: 37 elements: title: {short: Allergies and Intolerances, mustSupport: true, index: 38} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 48765-2, system: 'http://loinc.org'} index: 39 entry: short: Relevant allergies or intolerances (conditions) for that patient. mustSupport: true index: 40 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: allergyOrIntolerance: match: {} schema: type: Reference short: A reference to data that supports this section refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/allergyintolerance-ca-ps'] index: 41 section: {index: 42} required: [title, code] sectionPregnancyHx: match: code: coding: - {code: 10162-6, system: 'http://loinc.org'} schema: short: PS-CA History of Pregnancy Section index: 116 elements: title: {mustSupport: true, index: 117} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 10162-6, system: 'http://loinc.org'} index: 118 entry: short: Current pregnancy status and, optionally, information about the outcome of earlier pregnancies. mustSupport: true index: 119 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: pregnancyStatus: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-status-uv-ips'] index: 120 pregnancyOutcomeSummary: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-outcome-uv-ips'] index: 121 section: {index: 122} required: [title, code] sectionAdvanceDirectives: match: code: coding: - {code: 42348-3, system: 'http://loinc.org'} schema: short: PS-CA Advance Directives Section index: 123 elements: title: {mustSupport: true, index: 124} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 42348-3, system: 'http://loinc.org'} index: 125 entry: short: Narrative description of the patient's advance directive. mustSupport: true index: 126 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: advanceDirectivesConsent: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Consent'] index: 127 section: {index: 128} required: [title, code] sectionFamilyHistory: match: code: coding: - {code: 10157-6, system: 'http://loinc.org'} schema: short: PS-CA Family History Section index: 129 elements: title: {mustSupport: true, index: 130} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 10157-6, system: 'http://loinc.org'} index: 131 entry: short: Narrative description of the patient's family history. mustSupport: true index: 132 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: FamilyMemberHistory: match: {} schema: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/familymemberhistory-ca-ps'] index: 133 section: {index: 134} required: [title, code] sectionVitalSigns: match: code: coding: - {code: 8716-3, system: 'http://loinc.org'} schema: short: PS-CA Vital Signs Section label: Vital signs index: 74 elements: title: {mustSupport: true, index: 75} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 8716-3, system: 'http://loinc.org'} index: 76 entry: short: Notable vital signs or physical findings. mustSupport: true index: 77 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: VitalsPanel: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/vitalspanel'] index: 87 BodyHeight: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/bodyheight'] index: 80 HeadCircum: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/headcircum'] index: 83 HeartRate: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/heartrate'] index: 84 BMI: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/bmi'] index: 78 BodyTemp: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/bodytemp'] index: 81 OxygenSat: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/oxygensat'] index: 85 BodyWeight: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/bodyweight'] index: 82 BP: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/bp'] index: 79 RespRate: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/resprate'] index: 86 section: {index: 88} required: [title, code] sectionImmunizations: match: code: coding: - {code: 11369-6, system: 'http://loinc.org'} schema: short: PS-CA Immunizations Section index: 55 elements: title: {mustSupport: true, index: 56} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 11369-6, system: 'http://loinc.org'} index: 57 entry: short: Patient's immunization status and pertinent history. mustSupport: true index: 58 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: immunization: match: {} schema: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/immunization-ca-ps'] index: 59 section: {index: 60} required: [title, code] sectionResults: match: code: coding: - {code: 30954-2, system: 'http://loinc.org'} schema: short: PS-CA Results Section index: 67 elements: title: {mustSupport: true, index: 68} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 30954-2, system: 'http://loinc.org'} index: 69 entry: short: Relevant observation results collected on the patient or produced on in-vitro biologic specimens collected from the patient. mustSupport: true index: 70 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: results-observation: match: {} schema: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-results-ca-ps'] index: 71 results-diagnosticReport: match: {} schema: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/diagnosticreport-ca-ps'] index: 72 section: {index: 73} required: [title, code] sectionMedications: match: code: coding: - {code: 10160-0, system: 'http://loinc.org'} schema: constraint: ips-comp-1: {human: Either section.entry or emptyReason are present, severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: PS-CA Medication Summary Section mustSupport: true _required: true index: 30 elements: title: {short: Medication Summary section, mustSupport: true, index: 31} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 10160-0, system: 'http://loinc.org'} index: 32 entry: short: Medications relevant for the scope of the patient summary mustSupport: true index: 33 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: medicationStatement: match: {} schema: type: Reference short: A reference to data that supports this section refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medicationstatement-ca-ps'] index: 34 medicationRequest: match: {} schema: type: Reference short: A reference to data that supports this section refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medicationrequest-ca-ps'] index: 35 section: {index: 36} required: [title, code] sectionPastIllnessHx: match: code: coding: - {code: 11348-0, system: 'http://loinc.org'} schema: short: PS-CA History of Past Illness Section index: 89 elements: title: {mustSupport: true, index: 90} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 11348-0, system: 'http://loinc.org'} index: 91 entry: short: Conditions the patient suffered in the past. mustSupport: true index: 92 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: pastProblem: match: {} schema: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/condition-ca-ps'] index: 93 section: {index: 94} required: [title, code] attester: index: 11 elements: mode: {mustSupport: true, index: 12} time: {mustSupport: true, index: 13} party: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-organization', 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-practitioner', 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-practitionerrole'] index: 14 type: short: Kind of composition ("Patient Summary") mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 60591-5, system: 'http://loinc.org'} index: 3 title: {short: CA Patient Summary, mustSupport: true, index: 9} author: type: Reference short: Who and/or what authored the patient summary mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-organization', 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-practitioner', 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-practitionerrole'] index: 8 event: index: 22 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: short: The care provisioning being documented index: 23 elements: code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: PCPR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'} index: 24 period: {mustSupport: true, index: 25} required: [code] custodian: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-organization'] index: 15 status: {mustSupport: true, index: 2} identifier: {mustSupport: true, index: 1} relatesTo: index: 16 elements: code: {index: 17} target: choices: [targetIdentifier, targetReference] index: 19 targetIdentifier: {type: Identifier, choiceOf: target, index: 20} targetReference: type: Reference choiceOf: target refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/composition-ca-ps', 'http://hl7.org/fhir/StructureDefinition/Composition'] index: 21 subject: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps'] index: 4 elements: reference: {mustSupport: true, index: 5} required: [reference] confidentiality: {index: 10} text: {mustSupport: true, index: 0} package_version: 1.1.0 class: profile kind: resource url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/composition-ca-ps base: http://hl7.org/fhir/StructureDefinition/clinicaldocument version: null required: [section, subject, type]