PackagesCanonicalsLogsProblems
    Packages
    telus.dw.emr.extract@1.0.0
    https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwComposition
description: null
package_name: telus.dw.emr.extract
derivation: constraint
name: DwComposition
type: Composition
elements:
  date: {mustSupport: true, index: 12}
  meta:
    index: 0
    elements:
      lastUpdated: {mustSupport: true, index: 1}
      source: {mustSupport: true, index: 2}
      security: {mustSupport: true, index: 3}
  section:
    index: 27
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        sectionProblems:
          match: {}
          schema:
            short: Problems section
            mustSupport: true
            _required: true
            index: 53
            elements:
              title:
                label: Problems List
                pattern: {type: String, value: Active Problems}
                mustSupport: true
                index: 54
              code:
                code:
                - {code: 11450-4, system: 'http://loinc.org', display: Problem List - Reported}
                binding: {strength: required, valueSet: 'http://loinc.org'}
                mustSupport: true
                index: 55
                elements:
                  coding:
                    code:
                    - {code: 11450-4, system: 'http://loinc.org', display: Problem List - Reported}
                    mustSupport: true
                    index: 56
                    elements:
                      system:
                        binding: {strength: required, valueSet: 'http://loinc.org'}
                        mustSupport: true
                        index: 57
                      code:
                        pattern: {type: Code, value: 11450-4}
                        mustSupport: true
                        index: 58
                      display:
                        pattern: {type: String, value: Problem List - Reported}
                        mustSupport: true
                        index: 59
              text: {mustSupport: true, index: 60}
              entry:
                index: 61
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    problem:
                      match: {}
                      schema: {index: 62}
              emptyReason: {index: 63}
              section: {index: 64}
            required: [entry, text, title, code]
        sectionProceduresHx:
          match: {}
          schema:
            short: History of Procedures Section
            mustSupport: true
            index: 65
            elements:
              title:
                label: History of Procedures
                pattern: {type: String, value: History of Procedures}
                mustSupport: true
                index: 66
              code:
                code:
                - {code: 47519-4, system: 'http://loinc.org', display: History of Procedures document}
                binding: {strength: preferred, valueSet: 'http://loinc.org'}
                mustSupport: true
                index: 67
                elements:
                  coding:
                    code:
                    - {code: 47519-4, system: 'http://loinc.org', display: History of Procedures document}
                    mustSupport: true
                    index: 68
                    elements:
                      system:
                        code:
                        - {code: 47519-4, system: 'http://loinc.org', display: History of Procedures Document}
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 69
                      code:
                        pattern: {type: Code, value: 47519-4}
                        mustSupport: true
                        index: 70
                      display:
                        pattern: {type: String, value: History of Procedures Document}
                        mustSupport: true
                        index: 71
              text: {mustSupport: true, index: 72}
              entry:
                mustSupport: true
                index: 73
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    procedure:
                      match: {}
                      schema: {mustSupport: true, _required: true, index: 74}
                      min: 1
                      max: 1
              emptyReason: {index: 75}
              section: {index: 76}
            required: [entry, text, title, code]
        sectionPlanOfCare:
          match: {}
          schema:
            short: Plan of Care Section
            index: 134
            elements:
              title:
                label: Care Plan
                pattern: {type: String, value: Care Plan}
                mustSupport: true
                index: 135
              code:
                code:
                - {code: 18776-5, system: 'http://loinc.org', display: Plan of care note}
                mustSupport: true
                index: 136
                elements:
                  coding:
                    code:
                    - {code: 18776-5, system: 'http://loinc.org', display: Plan of care note}
                    mustSupport: true
                    index: 137
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 138
                      code:
                        pattern: {type: Code, value: 18776-5}
                        mustSupport: true
                        index: 139
                      display: {mustSupport: true, index: 140}
              text: {mustSupport: true, index: 141}
              entry:
                index: 142
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    carePlan:
                      match: {}
                      schema: {mustSupport: true, index: 143}
              emptyReason: {index: 144}
              section: {index: 145}
            required: [text, title, code]
        sectionSocialHistory:
          match: {}
          schema:
            short: Social History Section
            index: 146
            elements:
              title:
                label: Social History
                pattern: {type: String, value: Social History}
                mustSupport: true
                index: 147
              code:
                code:
                - {code: 29762-2, system: 'http://loinc.org', display: Social History Narrative}
                mustSupport: true
                index: 148
                elements:
                  coding:
                    code:
                    - {code: 29762-2, system: 'http://loinc.org', display: Social history Narrative}
                    mustSupport: true
                    index: 149
                    elements:
                      system:
                        binding: {strength: required, valueSet: 'http://loinc.org'}
                        mustSupport: true
                        index: 150
                      code:
                        pattern: {type: Code, value: 29762-2}
                        mustSupport: true
                        index: 151
                      display:
                        pattern: {type: String, value: Social History Narrative}
                        mustSupport: true
                        index: 152
              text: {mustSupport: true, index: 153}
              entry:
                index: 154
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    generalSocialHistory:
                      match: {}
                      schema: {mustSupport: true, index: 155}
                    smokingTobaccoUse:
                      match: {}
                      schema: {mustSupport: true, index: 156}
                      max: 1
                    alcoholUse:
                      match: {}
                      schema: {mustSupport: true, index: 157}
                      max: 1
              emptyReason: {index: 158}
              section: {index: 159}
            required: [text, title, code]
        sectionAllergies:
          match: {}
          schema:
            short: Allergies and Intolerances Section
            mustSupport: true
            _required: true
            index: 41
            elements:
              title: {label: Allergies and Intolerances, short: Allergies and Intolerances, mustSupport: true, index: 42}
              code:
                code:
                - {code: 48765-2, system: 'http://loinc.org', display: Allergy &or Adverse Reactions document}
                binding: {strength: preferred, valueSet: 'http://loinc.org'}
                mustSupport: true
                index: 43
                elements:
                  coding:
                    code:
                    - {code: 48765-2, system: 'http://loinc.org', display: Allergies and Adverse reactions Document}
                    binding: {strength: required, valueSet: 'http://loinc.org'}
                    mustSupport: true
                    index: 44
                    elements:
                      system:
                        binding: {strength: required, valueSet: 'http://loinc.org'}
                        mustSupport: true
                        index: 45
                      code:
                        pattern: {type: Code, value: 48765-2}
                        mustSupport: true
                        index: 46
                      display:
                        pattern: {type: String, value: Allergies and Adverse reactions Document}
                        mustSupport: true
                        index: 47
              text: {mustSupport: true, index: 48}
              entry:
                index: 49
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    allergyOrIntolerance:
                      match: {}
                      schema: {mustSupport: true, index: 50}
              emptyReason: {index: 51}
              section: {index: 52}
            required: [entry, text, title, code]
        sectionFamilyHistory:
          match: {}
          schema:
            short: Family History Section
            mustSupport: true
            index: 160
            elements:
              title:
                label: Family Memmber diseases
                pattern: {type: String, value: Family Memmber diseases}
                mustSupport: true
                index: 161
              code:
                code:
                - {code: 10157-6, system: 'http://loinc.org', display: History of Family Member diseases}
                mustSupport: true
                index: 162
                elements:
                  coding:
                    code:
                    - {code: 10157-6, system: 'http://loinc.org', display: History of Family Member diseases}
                    mustSupport: true
                    index: 163
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 164
                      code:
                        pattern: {type: Code, value: 10157-6}
                        mustSupport: true
                        index: 165
                      display: {mustSupport: true, index: 166}
              text: {mustSupport: true, index: 167}
              entry:
                mustSupport: true
                index: 168
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    FamilyMemberHistory:
                      match: {}
                      schema: {mustSupport: true, index: 169}
              emptyReason: {index: 170}
              section: {index: 171}
            required: [text, code]
        sectionVitalSigns:
          match: {}
          schema:
            mustSupport: true
            index: 101
            elements:
              title: {label: Vital Signs, mustSupport: true, index: 102}
              code:
                code:
                - {code: 8716-3, system: 'http://loinc.org', display: Vital Signs}
                mustSupport: true
                index: 103
                elements:
                  coding:
                    code:
                    - {code: 8716-3, system: 'http://loinc.org', display: Vital signs}
                    mustSupport: true
                    index: 104
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 105
                      code:
                        pattern: {type: Code, value: 8716-3}
                        mustSupport: true
                        index: 106
                      display: {mustSupport: true, index: 107}
              text: {index: 108}
              entry:
                index: 109
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    VitalsPanel:
                      match: {}
                      schema: {index: 119}
                    BodyHeight:
                      match: {}
                      schema: {index: 112}
                    HeadCircum:
                      match: {}
                      schema: {index: 115}
                    HeartRate:
                      match: {}
                      schema: {index: 116}
                    BMI:
                      match: {}
                      schema: {mustSupport: true, index: 110}
                    BodyTemp:
                      match: {}
                      schema: {index: 113}
                    OxygenSat:
                      match: {}
                      schema: {index: 117}
                    BodyWeight:
                      match: {}
                      schema: {index: 114}
                    BP:
                      match: {}
                      schema: {index: 111}
                    RespRate:
                      match: {}
                      schema: {index: 118}
              emptyReason: {index: 120}
              section: {index: 121}
            required: [text, title, code]
        sectionImmunizations:
          match: {}
          schema:
            short: Immunizations Section
            mustSupport: true
            index: 77
            elements:
              title:
                label: History of Immunization
                pattern: {type: String, value: History of Immunization}
                mustSupport: true
                index: 78
              code:
                mustSupport: true
                index: 79
                elements:
                  coding:
                    code:
                    - {code: 11369-6, system: 'http://loinc.org', display: History of Immunization Narrative}
                    binding: {strength: preferred, valueSet: 'http://loinc.org'}
                    mustSupport: true
                    index: 80
                    elements:
                      system: {mustSupport: true, index: 81}
                      code:
                        code:
                        - {code: 11369-6, system: 'http://loinc.org', display: History of Immunization Narrative}
                        pattern: {type: Code, value: 11369-6}
                        mustSupport: true
                        index: 82
                      display: {mustSupport: true, index: 83}
                  text: {mustSupport: false, index: 84}
              text: {mustSupport: true, index: 85}
              entry:
                mustSupport: true
                index: 86
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    immunization:
                      match: {}
                      schema: {mustSupport: true, index: 87}
              emptyReason: {index: 88}
              section: {index: 89}
            required: [entry, text, title, code]
        sectionResults:
          match: {}
          schema:
            short: Results Section
            mustSupport: true
            index: 90
            elements:
              title:
                label: Diagnostic tests/laboratory data
                pattern: {type: String, value: Diagnostic tests/laboratory data}
                mustSupport: true
                index: 91
              code:
                code:
                - {code: 30954-2, system: 'http://loinc.org', display: Relevant diagnostic tests/laboratory data Narrative}
                mustSupport: true
                index: 92
                elements:
                  coding:
                    code:
                    - {code: 30954-2, system: 'http://loinc.org', display: Relevant diagnostic tests/laboratory data Narrative}
                    mustSupport: true
                    index: 93
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 94
                      code:
                        pattern: {type: Code, value: 30954-2}
                        mustSupport: true
                        index: 95
                      display:
                        pattern: {type: String, value: Relevant Dx tests/lab data}
                        mustSupport: true
                        index: 96
              text: {mustSupport: true, index: 97}
              entry:
                index: 98
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    resultsObservation:
                      match: {}
                      schema: {mustSupport: true, index: 99}
                    resultsDiagnosticReport:
                      match: {}
                      schema: {mustSupport: true, index: 100}
            required: [entry, text, title, code]
        sectionMedications:
          match: {}
          schema:
            short: Medication Summary Section
            mustSupport: true
            _required: true
            index: 28
            elements:
              title:
                label: Medication Summary
                pattern: {type: String, value: Medication}
                mustSupport: true
                index: 29
              code:
                mustSupport: true
                index: 30
                elements:
                  coding:
                    code:
                    - {code: 10160-0, system: 'http://loinc.org', display: Hx of Medication use}
                    mustSupport: true
                    index: 31
                    elements:
                      system:
                        binding: {strength: required, valueSet: 'http://loinc.org'}
                        mustSupport: true
                        index: 32
                      code:
                        code:
                        - {code: 10160-0, system: 'http://loinc.org', display: Hx of Medication Use}
                        mustSupport: true
                        index: 33
                      display: {mustSupport: true, index: 34}
              text: {mustSupport: true, index: 35}
              entry:
                mustSupport: true
                index: 36
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    medicationStatement:
                      match: {}
                      schema: {short: Medication statements relevant for the scope of the patient summary, index: 37}
                    medicationRequest:
                      match: {}
                      schema: {mustSupport: true, index: 38}
              emptyReason: {index: 39}
              section: {index: 40}
            required: [entry, text, title, code]
        sectionPastIllnessHx:
          match: {}
          schema:
            mustSupport: true
            index: 122
            elements:
              title:
                label: History of Past illness
                pattern: {type: String, value: History of Past illness}
                mustSupport: true
                index: 123
              code:
                mustSupport: true
                index: 124
                elements:
                  coding:
                    code:
                    - {code: 11348-0, system: 'http://loinc.org', display: History of Past illness Narrative}
                    mustSupport: true
                    index: 125
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://loinc.org'}
                        mustSupport: true
                        index: 126
                      code:
                        pattern: {type: Code, value: 11348-0}
                        mustSupport: true
                        index: 127
                      display:
                        pattern: {type: String, value: History of Past illness Narrative}
                        mustSupport: true
                        index: 128
              text: {mustSupport: true, index: 129}
              entry:
                mustSupport: true
                index: 130
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    pastProblem:
                      match: {}
                      schema: {mustSupport: true, _required: true, index: 131}
                      min: 1
              emptyReason: {index: 132}
              section: {index: 133}
            required: [entry, text, title, code]
  attester:
    mustSupport: true
    index: 15
    elements:
      mode:
        pattern: {type: Code, value: legal}
        mustSupport: true
        index: 16
  type:
    mustSupport: true
    index: 9
    elements:
      coding:
        binding: {strength: preferred, valueSet: 'http://loinc.org'}
        pattern:
          type: Coding
          value: {code: 60591-5, system: 'http://loinc.org', display: Patient summary Document}
        index: 10
  title: {mustSupport: true, index: 14}
  author: {mustSupport: true, index: 13}
  extension:
    mustSupport: false
    index: 5
    slicing:
      slices:
        versionNumber:
          match: {}
          schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber', index: 6}
  event:
    label: careProvisioningEvent
    short: The care provisioning being documented
    index: 18
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        careProvisioningEvent:
          match: {}
          schema:
            label: careProvisioningEvent
            mustSupport: true
            index: 19
            elements:
              code:
                mustSupport: true
                index: 20
                elements:
                  coding:
                    code:
                    - {code: PCPR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActClass', display: care provision}
                    mustSupport: true
                    index: 21
                    elements:
                      system:
                        binding: {strength: required, valueSet: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'}
                        mustSupport: true
                        index: 22
                      code:
                        pattern: {type: Code, value: PCPR}
                        mustSupport: true
                        index: 23
              period:
                mustSupport: true
                index: 24
                elements:
                  start: {index: 25}
                  end: {index: 26}
            required: [code]
  custodian: {mustSupport: true, index: 17}
  status: {mustSupport: true, index: 8}
  identifier: {mustSupport: true, index: 7}
  subject: {mustSupport: true, index: 11}
  text: {mustSupport: true, index: 4}
package_version: 1.0.0
extensions:
  versionNumber: {url: 'http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber', type: Extension, isModifier: false, mustSupport: true, index: 6}
class: profile
kind: resource
url: https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwComposition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: null