PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@0.3.1
    http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/composition-ca-ps
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
    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:
            short: PS-CA Problems Section
            mustSupport: true
            _required: true
            index: 46
            elements:
              title: {mustSupport: true, index: 47}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11450-4, system: 'http://loinc.org'}
                index: 48
              text: {mustSupport: true, index: 49}
              entry:
                short: Clinical problems or conditions currently being monitored for the patient.
                mustSupport: true
                index: 50
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  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: 51
                    ProblemSectionNotSupported:
                      match: {}
                      schema:
                        type: Reference
                        short: A reference to a resource with fixed elements indicating lack of support of this section
                        refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/condition-notsupported-ca-ps']
                        index: 52
              emptyReason: {index: 53}
              section: {index: 54}
            required: [entry, text, title, code]
        sectionProceduresHx:
          match:
            code:
              coding:
              - {code: 47519-4, system: 'http://loinc.org'}
          schema:
            short: PS-CA History of Procedures Section
            index: 55
            elements:
              title: {mustSupport: true, index: 56}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47519-4, system: 'http://loinc.org'}
                index: 57
              text: {mustSupport: true, index: 58}
              entry:
                short: Patient past procedures pertinent to the scope of this document.
                mustSupport: true
                index: 59
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    procedure:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/procedure-ca-ps']
                        _required: true
                        index: 60
                      min: 1
              emptyReason: {index: 61}
              section: {index: 62}
            required: [entry, text, title, code]
        sectionPlanOfCare:
          match:
            code:
              coding:
              - {code: 18776-5, system: 'http://loinc.org'}
          schema:
            short: PS-CA Plan of Care Section
            index: 113
            elements:
              title: {mustSupport: true, index: 114}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 18776-5, system: 'http://loinc.org'}
                index: 115
              text: {mustSupport: true, index: 116}
              entry:
                short: Optional entry used to represent structured care plans
                index: 117
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    carePlan:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan']
                        index: 118
              emptyReason: {index: 119}
              section: {index: 120}
            required: [text, title, code]
        sectionMedicalDevices:
          match:
            code:
              coding:
              - {code: 46264-8, system: 'http://loinc.org'}
          schema:
            short: PS-CA Medical Devices Section
            index: 71
            elements:
              title: {mustSupport: true, index: 72}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 46264-8, system: 'http://loinc.org'}
                index: 73
              text: {mustSupport: true, index: 74}
              entry:
                short: Patient history of medical device use.
                mustSupport: true
                index: 75
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    deviceStatement:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/DeviceUseStatement-uv-ips']
                        _required: true
                        index: 76
                      min: 1
              emptyReason: {index: 77}
              section: {index: 78}
            required: [entry, text, title, code]
        sectionSocialHistory:
          match:
            code:
              coding:
              - {code: 29762-2, system: 'http://loinc.org'}
          schema:
            short: PS-CA Social History Section
            index: 121
            elements:
              title: {mustSupport: true, index: 122}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29762-2, system: 'http://loinc.org'}
                index: 123
              text: {mustSupport: true, index: 124}
              entry:
                short: Health related "lifestyle factors" or "lifestyle observations" (e.g. smoke habits; alcohol consumption; diets, risky habits.)
                mustSupport: true
                index: 125
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    smokingTobaccoUse:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-tobaccouse-ca-ps']
                        index: 126
                      max: 1
                    alcoholUse:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-alcoholuse-ca-ps']
                        index: 127
                      max: 1
              emptyReason: {index: 128}
              section: {index: 129}
            required: [text, title, code]
        sectionFunctionalStatus:
          match:
            code:
              coding:
              - {code: 47420-5, system: 'http://loinc.org'}
          schema:
            short: PS-CA Functional Status
            index: 104
            elements:
              title: {mustSupport: true, index: 105}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47420-5, system: 'http://loinc.org'}
                index: 106
              text: {mustSupport: true, index: 107}
              entry:
                short: Optional entry used to represent disabilities and functional assessments
                mustSupport: true
                index: 108
                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: 109
                    functionalAssessment:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression']
                        index: 110
              emptyReason: {index: 111}
              section: {index: 112}
            required: [text, title, code]
        sectionAllergies:
          match:
            code:
              coding:
              - {code: 48765-2, system: 'http://loinc.org'}
          schema:
            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
              text: {mustSupport: true, index: 40}
              entry:
                short: Relevant allergies or intolerances (conditions) for that patient.
                mustSupport: true
                index: 41
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    allergyOrIntolerance:
                      match: {}
                      schema:
                        min: 1
                        short: A reference to data that supports this section
                        refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/allergyintolerance-ca-ps']
                        type: Reference
                        array: true
                        _required: true
                        index: 42
                      min: 1
                    AllergySectionNotSupported:
                      match: {}
                      schema:
                        type: Reference
                        short: A reference to a resource with fixed elements indicating lack of support of this section
                        refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/allergyintolerance-notsupported-ca-ps']
                        index: 43
              emptyReason: {index: 44}
              section: {index: 45}
            required: [entry, text, title, code]
        sectionPregnancyHx:
          match:
            code:
              coding:
              - {code: 10162-6, system: 'http://loinc.org'}
          schema:
            short: PS-CA History of Pregnancy Section
            index: 130
            elements:
              title: {mustSupport: true, index: 131}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10162-6, system: 'http://loinc.org'}
                index: 132
              text: {mustSupport: true, index: 133}
              entry:
                short: Current pregnancy status and, optionally, information about the outcome of earlier pregnancies.
                mustSupport: true
                index: 134
                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: 135
                    pregnancyOutcomeSummary:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-outcome-uv-ips']
                        index: 136
              emptyReason: {index: 137}
              section: {index: 138}
            required: [text, title, code]
        sectionAdvanceDirectives:
          match:
            code:
              coding:
              - {code: 42348-3, system: 'http://loinc.org'}
          schema:
            short: PS-CA Advance Directives Section
            index: 139
            elements:
              title: {mustSupport: true, index: 140}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 42348-3, system: 'http://loinc.org'}
                index: 141
              text: {mustSupport: true, index: 142}
              entry:
                short: Narrative description of the patient's advance directive.
                mustSupport: true
                index: 143
                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: 144
              emptyReason: {index: 145}
              section: {index: 146}
            required: [text, title, code]
        sectionFamilyHistory:
          match:
            code:
              coding:
              - {code: 10157-6, system: 'http://loinc.org'}
          schema:
            short: PS-CA Family History Section
            index: 147
            elements:
              title: {mustSupport: true, index: 148}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10157-6, system: 'http://loinc.org'}
                index: 149
              text: {mustSupport: true, index: 150}
              entry:
                short: Narrative description of the patient's family history.
                mustSupport: true
                index: 151
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    FamilyMemberHistory:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory']
                        index: 152
              emptyReason: {index: 153}
              section: {index: 154}
            required: [text, title, code]
        sectionVitalSigns:
          match:
            code:
              coding:
              - {code: 8716-3, system: 'http://loinc.org'}
          schema:
            short: PS-CA Vital Signs Section
            label: Vital signs
            index: 88
            elements:
              title: {mustSupport: true, index: 89}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8716-3, system: 'http://loinc.org'}
                index: 90
              text: {mustSupport: true, index: 91}
              entry:
                short: Notable vital signs or physical findings.
                mustSupport: true
                index: 92
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    vitalSign:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/vitalsigns']
                        index: 93
              emptyReason: {index: 94}
              section: {index: 95}
            required: [text, title, code]
        sectionImmunizations:
          match:
            code:
              coding:
              - {code: 11369-6, system: 'http://loinc.org'}
          schema:
            short: PS-CA Immunizations Section
            index: 63
            elements:
              title: {mustSupport: true, index: 64}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11369-6, system: 'http://loinc.org'}
                index: 65
              text: {mustSupport: true, index: 66}
              entry:
                short: Patient's immunization status and pertinent history.
                mustSupport: true
                index: 67
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    immunization:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/immunization-ca-ps']
                        _required: true
                        index: 68
                      min: 1
              emptyReason: {index: 69}
              section: {index: 70}
            required: [entry, text, title, code]
        sectionResults:
          match:
            code:
              coding:
              - {code: 30954-2, system: 'http://loinc.org'}
          schema:
            short: PS-CA Results Section
            index: 79
            elements:
              title: {mustSupport: true, index: 80}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 30954-2, system: 'http://loinc.org'}
                index: 81
              text: {mustSupport: true, index: 82}
              entry:
                short: Relevant observation results collected on the patient or produced on in-vitro biologic specimens collected from the patient.
                mustSupport: true
                index: 83
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    results-observation:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-laboratory-uv-ips', 'http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-pathology-uv-ips', 'http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-radiology-uv-ips', 'http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-uv-ips']
                        index: 84
                    results-diagnosticReport:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/DiagnosticReport-uv-ips']
                        index: 85
              emptyReason: {index: 86}
              section: {index: 87}
            required: [entry, text, title, code]
        sectionMedications:
          match:
            code:
              coding:
              - {code: 10160-0, system: 'http://loinc.org'}
          schema:
            short: PS-CA Medication Summary Section
            mustSupport: true
            _required: true
            index: 27
            elements:
              title: {short: Medication Summary section, mustSupport: true, index: 28}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10160-0, system: 'http://loinc.org'}
                index: 29
              text: {mustSupport: true, index: 30}
              entry:
                short: Medications relevant for the scope of the patient summary
                mustSupport: true
                index: 31
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  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: 32
                    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: 33
                    MedicationSectionNotSupported:
                      match: {}
                      schema:
                        type: Reference
                        short: A reference to a resource with fixed elements indicating lack of support of this section
                        refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medicationstatement-notsupported-ca-ps']
                        index: 34
              emptyReason: {index: 35}
              section: {index: 36}
            required: [entry, text, title, code]
        sectionPastIllnessHx:
          match:
            code:
              coding:
              - {code: 11348-0, system: 'http://loinc.org'}
          schema:
            short: PS-CA History of Past Illness Section
            index: 96
            elements:
              title: {mustSupport: true, index: 97}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11348-0, system: 'http://loinc.org'}
                index: 98
              text: {mustSupport: true, index: 99}
              entry:
                short: Conditions the patient suffered in the past.
                mustSupport: true
                index: 100
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    pastProblem:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/condition-ca-ps']
                        _required: true
                        index: 101
                      min: 1
              emptyReason: {index: 102}
              section: {index: 103}
            required: [entry, text, title, code]
  attester:
    mustSupport: true
    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:
    mustSupport: true
    index: 16
    elements:
      code: {mustSupport: true, index: 17}
      target:
        mustSupport: true
        choices: [targetIdentifier, targetReference]
        index: 19
      targetIdentifier: {type: Identifier, mustSupport: true, choiceOf: target, index: 20}
      targetReference:
        type: Reference
        mustSupport: true
        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: {mustSupport: true, index: 10}
  text: {mustSupport: true, index: 0}
package_version: 0.3.1
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/composition-ca-ps
base: http://hl7.org/fhir/StructureDefinition/clinicaldocument
version: 0.3.0
required: [section, type]