PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.patient@summary-0.12.4
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-composition
description: This profile defines a set of constraints to the FHIR Composition resource for use in Ontario Patient Summaries (PS-ON).  It refines 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 MS 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.on.oh.patient
derivation: constraint
name: CompositionPSON
type: Composition
elements:
  category:
    mustSupport: true
    index: 8
    extensions:
      ext-LOINC-ontology-axis: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', max: 1, type: Extension, isModifier: false, index: 9}
    elements:
      extension:
        type: Extension
        isModifier: false
        url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis
        index: 9
        slicing:
          slices:
            ext-LOINC-ontology-axis:
              match: {}
              schema: {type: Extension, isModifier: false, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', index: 9}
              max: 1
      coding:
        mustSupport: true
        index: 10
        elements:
          system: {mustSupport: true, index: 11}
          code: {mustSupport: true, index: 12}
          display: {mustSupport: true, index: 13}
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        sliceCategory-type-of-service:
          match: {}
          schema:
            mustSupport: true
            index: 14
            extensions:
              ext-LOINC-ontology-axis: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', min: 1, max: 1, type: Extension, isModifier: false, mustSupport: true, index: 16}
            elements:
              extension:
                index: 15
                slicing:
                  slices:
                    ext-LOINC-ontology-axis:
                      match: {}
                      schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', index: 16}
                      min: 1
                      max: 1
              coding:
                mustSupport: true
                index: 17
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    mustSupport: true
                    index: 18
                  code: {mustSupport: true, index: 19}
                  display:
                    pattern: {type: String, value: Patient summary}
                    mustSupport: true
                    index: 20
                required: [display, system, code]
            required: [extension, coding]
        sliceCategory-kind-of-document:
          match: {}
          schema:
            mustSupport: true
            index: 21
            extensions:
              ext-LOINC-ontology-axis: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', min: 1, max: 1, type: Extension, isModifier: false, mustSupport: true, index: 23}
            elements:
              extension:
                index: 22
                slicing:
                  slices:
                    ext-LOINC-ontology-axis:
                      match: {}
                      schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', index: 23}
                      min: 1
                      max: 1
              coding:
                mustSupport: true
                index: 24
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    mustSupport: true
                    index: 25
                  code:
                    pattern: {type: Code, value: LP173418-7}
                    mustSupport: true
                    index: 26
                  display:
                    pattern: {type: String, value: Note}
                    mustSupport: true
                    index: 27
                required: [display, system, code]
            required: [extension, coding]
        sliceCategory-subject-matter-domain:
          match: {}
          schema:
            mustSupport: true
            index: 28
            extensions:
              ext-LOINC-ontology-axis: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', min: 1, max: 1, type: Extension, isModifier: false, mustSupport: true, index: 30}
            elements:
              extension:
                index: 29
                slicing:
                  slices:
                    ext-LOINC-ontology-axis:
                      match: {}
                      schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', index: 30}
                      min: 1
                      max: 1
              coding:
                mustSupport: true
                index: 31
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    mustSupport: true
                    index: 32
                  code:
                    pattern: {type: Code, value: CGTA1009-1}
                    mustSupport: true
                    index: 33
                  display:
                    pattern: {type: String, value: Unspecified}
                    mustSupport: true
                    index: 34
                required: [display, system, code]
            required: [extension, coding]
        sliceCategory-role:
          match: {}
          schema:
            index: 35
            extensions:
              ext-LOINC-ontology-axis: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', min: 1, max: 1, type: Extension, isModifier: false, mustSupport: true, index: 37}
            elements:
              extension:
                index: 36
                slicing:
                  slices:
                    ext-LOINC-ontology-axis:
                      match: {}
                      schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', index: 37}
                      min: 1
                      max: 1
              coding:
                mustSupport: true
                index: 38
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    mustSupport: true
                    index: 39
                  code:
                    pattern: {type: Code, value: CGTA4001-1}
                    mustSupport: true
                    index: 40
                  display:
                    pattern: {type: String, value: Unspecified}
                    mustSupport: true
                    index: 41
                required: [display, system, code]
            required: [extension, coding]
        sliceCategory-setting:
          match: {}
          schema:
            mustSupport: true
            index: 42
            extensions:
              ext-LOINC-ontology-axis: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', min: 1, max: 1, type: Extension, isModifier: false, mustSupport: true, index: 44}
            elements:
              extension:
                index: 43
                slicing:
                  slices:
                    ext-LOINC-ontology-axis:
                      match: {}
                      schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', index: 44}
                      min: 1
                      max: 1
              coding:
                mustSupport: true
                index: 45
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    mustSupport: true
                    index: 46
                  code:
                    pattern: {type: Code, value: CGTA5001-1}
                    mustSupport: true
                    index: 47
                  display:
                    pattern: {type: String, value: Unspecified}
                    mustSupport: true
                    index: 48
                required: [display, system, code]
            required: [extension, coding]
  date: {mustSupport: true, index: 52}
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  encounter: {index: 51}
  section:
    short: Sections composing the PS
    mustSupport: true
    index: 69
    elements:
      code:
        type: CodeableConcept
        mustSupport: true
        index: 70
        elements:
          coding:
            elements:
              display:
                extensions:
                  translation:
                    url: null
                    index: 71
                    extensions: {}
                    elements:
                      extension: {array: true, min: 2, index: 72}
                      url:
                        pattern: {type: Uri, value: translation}
                        index: 73
                elements:
                  extension:
                    index: 71
                    slicing:
                      slices:
                        translation:
                          match: {}
                          schema:
                            index: 71
                            extensions: {}
                            elements:
                              extension: {array: true, min: 2, index: 72}
                              url:
                                pattern: {type: Uri, value: translation}
                                index: 73
      text: {mustSupport: true, index: 74}
    required: [text, code]
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        sectionMedications:
          match:
            code:
              coding:
              - {code: 10160-0, system: 'http://loinc.org'}
          schema:
            short: PS-ON Medication Summary Section
            mustSupport: true
            _required: true
            index: 75
            elements:
              title: {short: Medication Summary section, mustSupport: true, index: 76}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10160-0, system: 'http://loinc.org'}
                index: 77
              text: {mustSupport: true, index: 78}
              entry:
                short: Medications relevant for the scope of the patient summary
                mustSupport: true
                index: 79
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    medicationInformation:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medicationrequest', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-medicationstatement']
                        _required: true
                        index: 80
                      min: 1
              emptyReason: {mustSupport: false, index: 81}
              section: {mustSupport: false, index: 82}
            required: [entry, text, title, code]
        sectionAllergies:
          match:
            code:
              coding:
              - {code: 48765-2, system: 'http://loinc.org'}
          schema:
            short: PS-ON Allergies and Intolerances Section
            mustSupport: true
            _required: true
            index: 83
            elements:
              title: {mustSupport: true, index: 84}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48765-2, system: 'http://loinc.org'}
                index: 85
              text: {mustSupport: true, index: 86}
              entry:
                short: Relevant allergies or intolerances (conditions) for that patient.
                mustSupport: true
                index: 87
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    allergyOrIntolerance:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-allergyintolerance']
                        _required: true
                        index: 88
                      min: 1
              emptyReason: {mustSupport: false, index: 89}
              section: {mustSupport: false, index: 90}
            required: [entry, text, title, code]
        sectionProblems:
          match:
            code:
              coding:
              - {code: 11450-4, system: 'http://loinc.org'}
          schema:
            short: PS-ON Problems Section
            mustSupport: true
            _required: true
            index: 91
            elements:
              title: {mustSupport: true, index: 92}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11450-4, system: 'http://loinc.org'}
                index: 93
              text: {mustSupport: true, index: 94}
              entry:
                short: Clinical problems or conditions currently being monitored for the patient.
                mustSupport: true
                index: 95
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    problem:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-condition']
                        _required: true
                        index: 96
                      min: 1
              emptyReason: {mustSupport: false, index: 97}
              section: {mustSupport: false, index: 98}
            required: [entry, text, title, code]
        sectionProceduresHx:
          match:
            code:
              coding:
              - {code: 47519-4, system: 'http://loinc.org'}
          schema:
            short: PS-ON History of Procedures Section
            mustSupport: true
            index: 99
            elements:
              title: {mustSupport: true, index: 100}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47519-4, system: 'http://loinc.org'}
                index: 101
              text: {mustSupport: true, index: 102}
              entry:
                short: Patient past procedures pertinent to the scope of this document.
                mustSupport: true
                index: 103
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    procedure:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-procedure']
                        _required: true
                        index: 104
                      min: 1
              emptyReason: {mustSupport: false, index: 105}
              section: {mustSupport: false, index: 106}
            required: [entry, text, title, code]
        sectionImmunizations:
          match:
            code:
              coding:
              - {code: 11369-6, system: 'http://loinc.org'}
          schema:
            short: PS-ON Immunizations Section
            mustSupport: true
            index: 107
            elements:
              title: {mustSupport: true, index: 108}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11369-6, system: 'http://loinc.org'}
                index: 109
              text: {mustSupport: true, index: 110}
              entry:
                short: Patient's immunization status and pertinent history.
                mustSupport: true
                index: 111
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    immunization:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-immunization']
                        _required: true
                        index: 112
                      min: 1
              emptyReason: {mustSupport: false, index: 113}
              section: {mustSupport: false, index: 114}
            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
            mustSupport: true
            index: 115
            elements:
              title: {mustSupport: true, index: 116}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11348-0, system: 'http://loinc.org'}
                index: 117
              text: {mustSupport: true, index: 118}
              entry:
                short: Conditions the patient suffered in the past.
                mustSupport: true
                index: 119
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: 1
                  slices:
                    pastProblem:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-condition']
                        _required: true
                        index: 120
                      min: 1
              emptyReason: {mustSupport: false, index: 121}
              section: {mustSupport: false, index: 122}
            required: [entry, text, title, code]
  attester:
    mustSupport: true
    index: 57
    elements:
      mode: {mustSupport: true, index: 58}
      time: {mustSupport: true, index: 59}
      party:
        type: Reference
        mustSupport: true
        refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-organization', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-practitionerrole']
        index: 60
    required: [party]
  type:
    short: Kind of composition ("Patient Summary")
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 60591-5, system: 'http://loinc.org'}
    index: 7
  title: {short: Ontario Patient Summary, mustSupport: true, index: 56}
  author:
    short: Who and/or what authored the patient summary
    mustSupport: true
    index: 53
    slicing:
      rules: open
      discriminator:
      - {path: resolve(), type: profile}
      min: null
      slices:
        authorPSON:
          match: {}
          schema:
            type: Reference
            short: Who and/or what authored the patient summary
            mustSupport: true
            refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-organization', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-practitionerrole']
            index: 54
        DevicePSON:
          match: {}
          schema:
            short: Who and/or what authored the patient summary
            refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-device']
            type: Reference
            mustSupport: true
            _required: true
            index: 55
          min: 1
  event:
    index: 62
    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: 63
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PCPR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'}
                index: 64
                elements:
                  coding:
                    index: 65
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'}
                        index: 66
                      code:
                        pattern: {type: Code, value: PCPR}
                        index: 67
                    required: [system, code]
                required: [coding]
              period: {mustSupport: true, index: 68}
            required: [code]
  custodian:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-organization']
    index: 61
  status: {mustSupport: true, index: 6}
  identifier:
    mustSupport: true
    index: 3
    elements:
      system: {mustSupport: true, index: 4}
      value: {mustSupport: true, index: 5}
    required: [value, system]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-patient']
    index: 49
    elements:
      reference: {mustSupport: true, index: 50}
    required: [reference]
  text: {mustSupport: true, index: 2}
package_version: summary-0.12.4
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-composition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 0.12.0
required: [attester, section, identifier, subject, meta, custodian]