PackagesCanonicalsLogsProblems
    Packages
    NHSDigital.FHIR.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-DM-MedicationReview-Composition-1
description: A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement.
package_name: NHSDigital.FHIR.STU3
derivation: constraint
name: CareConnect-ITK-DM-MedicationReview-Composition-1
type: Composition
elements:
  encounter:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Encounter-1']
    index: 22
    elements:
      reference: {index: 23}
    required: [reference]
  section:
    index: 38
    elements:
      code: {index: 39}
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: code.coding.code, type: value}
      min: 1
      slices:
        eligibilityCriteria:
          match:
            code:
              coding: {code: '61871000000107'}
          schema:
            index: 90
            elements:
              title: {index: 91}
              code:
                index: 92
                elements:
                  coding:
                    index: 93
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 94
                      version: {index: 95}
                      code:
                        pattern: {type: Code, value: '61871000000107'}
                        index: 96
                      display:
                        pattern: {type: String, value: Eligibility for treatment}
                        index: 97
                      userSelected: {index: 98}
                    required: [display, system, code]
                  text: {index: 99}
                required: [coding]
              text: {index: 100}
              mode: {index: 101}
              orderedBy: {index: 102}
              entry: {index: 103}
              emptyReason: {index: 104}
              section: {index: 105}
            required: [text, title, code]
        patientDemographics:
          match:
            code:
              coding: {code: '886731000000109'}
          schema:
            short: Patient demographic information including the patient's next of kin and carer information.
            _required: true
            index: 172
            elements:
              title:
                pattern: {type: String, value: Patient Demographics}
                index: 173
              code:
                index: 174
                elements:
                  coding:
                    index: 175
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 176
                      version: {index: 177}
                      code:
                        pattern: {type: Code, value: '886731000000109'}
                        index: 178
                      display:
                        pattern: {type: String, value: Patient demographics}
                        index: 179
                      userSelected: {index: 180}
                    required: [display, system, code]
                  text: {index: 181}
                required: [coding]
              text: {index: 182}
              mode: {index: 183}
              orderedBy: {index: 184}
              entry:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
                index: 185
                elements:
                  reference: {index: 186}
                required: [reference]
              emptyReason: {index: 187}
              section: {index: 188}
            required: [entry, text, title, code]
        distributionList:
          match:
            code:
              coding: {code: '887261000000109'}
          schema:
            mustSupport: true
            index: 73
            elements:
              title:
                pattern: {type: String, value: Distribution list}
                index: 74
              code:
                index: 75
                elements:
                  coding:
                    index: 76
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 77
                      version: {index: 78}
                      code:
                        pattern: {type: Code, value: '887261000000109'}
                        index: 79
                      display:
                        pattern: {type: String, value: Distribution list}
                        index: 80
                      userSelected: {index: 81}
                    required: [display, system, code]
                  text: {index: 82}
                required: [coding]
              text: {index: 83}
              mode: {index: 84}
              orderedBy: {index: 85}
              entry:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-PractitionerRole-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-RelatedPerson-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/ITK-Attachment-Binary-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/ITK-RelatedPerson-1']
                index: 86
                elements:
                  reference: {index: 87}
                required: [reference]
              emptyReason: {index: 88}
              section: {index: 89}
            required: [text, title, code]
        allergiesAndAdverseReactions:
          match:
            code:
              coding: {code: '886921000000105'}
          schema:
            short: Summarised table of Allergies and Intolerance relating to the patient.
            index: 221
            elements:
              title: {short: Allergies and Adverse Reactions, index: 222}
              code:
                index: 223
                elements:
                  coding:
                    index: 224
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 225
                      version: {index: 226}
                      code:
                        pattern: {type: Code, value: '886921000000105'}
                        index: 227
                      display:
                        pattern: {type: String, value: Allergies and adverse reactions}
                        index: 228
                      userSelected: {index: 229}
                    required: [system, code]
                  text: {index: 230}
                required: [coding]
              text: {index: 231}
              mode: {index: 232}
              orderedBy: {index: 233}
              entry:
                elements:
                  reference: {index: 234}
                required: [reference]
              emptyReason: {index: 235}
              section: {index: 236}
            required: [text, title, code]
        history:
          match:
            code:
              coding: {code: '717121000000105'}
          schema:
            short: Relevant past medical, surgical and mental health history.
            mustSupport: true
            index: 123
            elements:
              title:
                pattern: {type: String, value: History}
                index: 124
              code:
                index: 125
                elements:
                  coding:
                    index: 126
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 127
                      version: {index: 128}
                      code:
                        pattern: {type: Code, value: '717121000000105'}
                        index: 129
                      display:
                        pattern: {type: String, value: History}
                        index: 130
                      userSelected: {index: 131}
                    required: [display, system, code]
                  text: {index: 132}
                required: [coding]
              text: {index: 133}
              mode: {index: 134}
              orderedBy: {index: 135}
              entry: {index: 136}
              emptyReason: {index: 137}
              section: {index: 138}
            required: [text, title, code]
        attendanceDetails:
          match:
            code:
              coding: {code: '1077881000000105'}
          schema:
            short: Information relating to the patients attendance.
            mustSupport: true
            index: 40
            elements:
              title:
                pattern: {type: String, value: Attendance Details}
                index: 41
              code:
                index: 42
                elements:
                  coding:
                    index: 43
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 44
                      version: {index: 45}
                      code:
                        pattern: {type: Code, value: '1077881000000105'}
                        index: 46
                      display:
                        pattern: {type: String, value: Attendance details}
                        index: 47
                      userSelected: {index: 48}
                    required: [display, system, code]
                  text: {index: 49}
                required: [coding]
              text: {index: 50}
              mode: {index: 51}
              orderedBy: {index: 52}
              entry:
                type: Reference
                refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Encounter-1']
                index: 53
                elements:
                  reference: {index: 54}
                required: [reference]
              emptyReason: {index: 55}
              section: {index: 56}
            required: [entry, text, title, code]
        consent:
          match:
            code:
              coding: {code: '61861000000100'}
          schema:
            short: Information on patients consent for treatment and information sharing guidance.
            mustSupport: true
            index: 57
            elements:
              title:
                pattern: {type: String, value: Consent}
                index: 58
              code:
                index: 59
                elements:
                  coding:
                    index: 60
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 61
                      version: {index: 62}
                      code:
                        pattern: {type: Code, value: '61861000000100'}
                        index: 63
                      display:
                        pattern: {type: String, value: Consent}
                        index: 64
                      userSelected: {index: 65}
                    required: [display, system, code]
                  text: {index: 66}
                required: [coding]
              text: {index: 67}
              mode: {index: 68}
              orderedBy: {index: 69}
              entry: {index: 70}
              emptyReason: {index: 71}
              section: {index: 72}
            required: [text, title, code]
        planAndRequestedActions:
          match:
            code:
              coding: {code: '887201000000105'}
          schema:
            mustSupport: true
            index: 189
            elements:
              title:
                pattern: {type: String, value: Plan and requested actions}
                index: 190
              code:
                index: 191
                elements:
                  coding:
                    index: 192
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 193
                      version: {index: 194}
                      code:
                        pattern: {type: Code, value: '887201000000105'}
                        index: 195
                      display:
                        pattern: {type: String, value: Plan and requested actions}
                        index: 196
                      userSelected: {index: 197}
                    required: [display, system, code]
                  text: {index: 198}
                required: [coding]
              text: {index: 199}
              mode: {index: 200}
              orderedBy: {index: 201}
              entry: {index: 202}
              emptyReason: {index: 203}
              section: {index: 204}
            required: [text, title, code]
        informationAndAdviceGiven:
          match:
            code:
              coding: {code: '1052951000000105'}
          schema:
            short: Information or advice given.
            mustSupport: true
            index: 139
            elements:
              title:
                pattern: {type: String, value: Information and Advice given}
                index: 140
              code:
                index: 141
                elements:
                  coding:
                    index: 142
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 143
                      version: {index: 144}
                      code:
                        pattern: {type: Code, value: '1052951000000105'}
                        index: 145
                      display:
                        pattern: {type: String, value: Information and advice given}
                        index: 146
                      userSelected: {index: 147}
                    required: [display, system, code]
                  text: {index: 148}
                required: [coding]
              text: {index: 149}
              mode: {index: 150}
              orderedBy: {index: 151}
              entry: {index: 152}
              emptyReason: {index: 153}
              section: {index: 154}
            required: [text, title, code]
        medicationsAndMedicalDevices:
          match:
            code:
              coding: {code: '933361000000108'}
          schema:
            _required: true
            index: 155
            elements:
              title:
                pattern: {type: String, value: Medications and medical devices}
                index: 156
              code:
                index: 157
                elements:
                  coding:
                    index: 158
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 159
                      version: {index: 160}
                      code:
                        pattern: {type: Code, value: '933361000000108'}
                        index: 161
                      display:
                        pattern: {type: String, value: Medications and medical devices}
                        index: 162
                      userSelected: {index: 163}
                    required: [display, system, code]
                  text: {index: 164}
                required: [coding]
              text: {index: 165}
              mode: {index: 166}
              orderedBy: {index: 167}
              entry:
                type: Reference
                refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationDispense-List-1']
                index: 168
                elements:
                  reference: {index: 169}
                required: [reference]
              emptyReason: {index: 170}
              section: {index: 171}
            required: [entry, text, title, code]
        referralDetails:
          match:
            code:
              coding: {code: '886721000000107'}
          schema:
            short: Details of the individual or team who referred the patient.
            mustSupport: true
            index: 205
            elements:
              title: {short: Referral Details, index: 206}
              code:
                index: 207
                elements:
                  coding:
                    index: 208
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 209
                      version: {index: 210}
                      code:
                        pattern: {type: Code, value: '886721000000107'}
                        index: 211
                      display:
                        pattern: {type: String, value: Referral details}
                        index: 212
                      userSelected: {index: 213}
                    required: [display, system, code]
                required: [coding]
              text: {index: 214}
              mode: {index: 215}
              orderedBy: {index: 216}
              entry:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-PractitionerRole-1']
                index: 217
                elements:
                  reference: {index: 218}
                required: [reference]
              emptyReason: {index: 219}
              section: {index: 220}
            required: [text, title, code]
        gpPractice:
          match:
            code:
              coding: {code: '886711000000101'}
          schema:
            short: Information realting to the patients registered GP Practice.
            _required: true
            index: 106
            elements:
              title:
                pattern: {type: String, value: GP Practice}
                index: 107
              code:
                index: 108
                elements:
                  coding:
                    index: 109
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 110
                      version: {index: 111}
                      code:
                        pattern: {type: Code, value: '886711000000101'}
                        index: 112
                      display:
                        pattern: {type: String, value: GP practice}
                        index: 113
                      userSelected: {index: 114}
                    required: [display, system, code]
                  text: {index: 115}
                required: [coding]
              text: {index: 116}
              mode: {index: 117}
              orderedBy: {index: 118}
              entry:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
                index: 119
                elements:
                  reference: {index: 120}
                required: [reference]
              emptyReason: {index: 121}
              section: {index: 122}
            required: [entry, text, title, code]
  attester:
    index: 27
    elements:
      party:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
        index: 28
  type:
    short: Kind of composition
    index: 9
    elements:
      coding:
        elements:
          system: {index: 10}
          version: {index: 11}
          code: {index: 12}
          display: {index: 13}
          userSelected: {index: 14}
        required: [display, system, code]
  author:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/ITK-Device-1']
    index: 24
    elements:
      reference: {index: 25}
    required: [reference]
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        careSettingTypeExtension:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
          min: 1
          max: 1
  event: {index: 37}
  custodian:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 29
    elements:
      reference: {index: 30}
    required: [reference]
  class:
    elements:
      coding:
        elements:
          system: {index: 15}
          version: {index: 16}
          code: {index: 17}
          display: {index: 18}
          userSelected: {index: 19}
        required: [display, system, code]
  identifier:
    index: 2
    elements:
      use: {index: 3}
      type: {index: 4}
      system: {index: 5}
      value: {short: Contains a UUID, index: 6}
      period: {index: 7}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 8
    required: [value, system]
  relatesTo:
    index: 31
    elements:
      code:
        pattern: {type: Code, value: replaces}
        index: 32
      target:
        choices: [targetIdentifier, targetReference]
        index: 34
      targetIdentifier: {type: Identifier, choiceOf: target, index: 35}
      targetReference:
        type: Reference
        choiceOf: target
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-DM-Immunization-Composition-1']
        index: 36
  subject:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 20
    elements:
      reference: {index: 21}
    required: [reference]
  confidentiality: {index: 26}
package_version: 1.0.0
extensions:
  careSettingTypeExtension: {url: h, min: 1, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-DM-MedicationReview-Composition-1
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 1.0.0
required: [section, identifier]