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-NewMedicineService-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: short: Patients eligibility for treatment. index: 107 elements: title: {short: Eligibility Criteria, index: 108} code: index: 109 elements: coding: index: 110 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 111 version: {index: 112} code: pattern: {type: Code, value: '61871000000107'} index: 113 display: pattern: {type: String, value: Eligibility for treatment} index: 114 userSelected: {index: 115} required: [display, system, code] text: {index: 116} required: [coding] text: {index: 117} mode: {index: 118} orderedBy: {index: 119} entry: {index: 120} emptyReason: {index: 121} section: {index: 122} 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: 189 elements: title: pattern: {type: String, value: Patient Demographics} 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: '886731000000109'} index: 195 display: pattern: {type: String, value: Patient demographics} index: 196 userSelected: {index: 197} required: [display, system, code] text: {index: 198} required: [coding] text: {index: 199} mode: {index: 200} orderedBy: {index: 201} entry: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1'] index: 202 elements: reference: {index: 203} required: [reference] emptyReason: {index: 204} section: {index: 205} required: [entry, text, title, code] distributionList: match: code: coding: {code: '887261000000109'} schema: mustSupport: true index: 90 elements: title: pattern: {type: String, value: Distribution list} 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: '887261000000109'} index: 96 display: pattern: {type: String, value: Distribution list} index: 97 userSelected: {index: 98} required: [display, system, code] text: {index: 99} required: [coding] text: {index: 100} mode: {index: 101} orderedBy: {index: 102} 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: 103 elements: reference: {index: 104} required: [reference] emptyReason: {index: 105} section: {index: 106} required: [text, title, code] allergiesAndAdverseReactions: match: code: coding: {code: '886921000000105'} schema: short: Summarised table of Allergies and Intolerance relating to the patient. index: 40 elements: title: {short: Allergies and Adverse Reactions, 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: '886921000000105'} index: 46 display: pattern: {type: String, value: Allergies and adverse reactions} 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-Allergy-List-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/ITK-Attachment-Binary-1'] index: 53 elements: reference: {index: 54} required: [reference] emptyReason: {index: 55} section: {index: 56} required: [text, title, code] history: match: code: coding: {code: '717121000000105'} schema: short: Relevant past medical, surgical and mental health history. mustSupport: true index: 140 elements: title: pattern: {type: String, value: History} index: 141 code: index: 142 elements: coding: index: 143 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 144 version: {index: 145} code: pattern: {type: Code, value: '717121000000105'} index: 146 display: pattern: {type: String, value: History} index: 147 userSelected: {index: 148} required: [display, system, code] text: {index: 149} required: [coding] text: {index: 150} mode: {index: 151} orderedBy: {index: 152} entry: {index: 153} emptyReason: {index: 154} section: {index: 155} required: [text, title, code] attendanceDetails: match: code: coding: {code: '1077881000000105'} schema: short: Information relating to the patients attendance. mustSupport: true index: 57 elements: title: pattern: {type: String, value: Attendance Details} 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: '1077881000000105'} index: 63 display: pattern: {type: String, value: Attendance details} index: 64 userSelected: {index: 65} required: [display, system, code] text: {index: 66} required: [coding] text: {index: 67} mode: {index: 68} orderedBy: {index: 69} entry: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Encounter-1'] index: 70 elements: reference: {index: 71} required: [reference] emptyReason: {index: 72} section: {index: 73} 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: 74 elements: title: pattern: {type: String, value: Consent} index: 75 code: index: 76 elements: coding: index: 77 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 78 version: {index: 79} code: pattern: {type: Code, value: '61861000000100'} index: 80 display: pattern: {type: String, value: Consent} index: 81 userSelected: {index: 82} required: [display, system, code] text: {index: 83} required: [coding] text: {index: 84} mode: {index: 85} orderedBy: {index: 86} entry: {index: 87} emptyReason: {index: 88} section: {index: 89} required: [text, title, code] planAndRequestedActions: match: code: coding: {code: '887201000000105'} schema: mustSupport: true index: 206 elements: title: pattern: {type: String, value: Plan and requested actions} index: 207 code: index: 208 elements: coding: index: 209 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 210 version: {index: 211} code: pattern: {type: Code, value: '887201000000105'} index: 212 display: pattern: {type: String, value: Plan and requested actions} index: 213 userSelected: {index: 214} required: [display, system, code] text: {index: 215} required: [coding] text: {index: 216} mode: {index: 217} orderedBy: {index: 218} entry: {index: 219} emptyReason: {index: 220} section: {index: 221} required: [text, title, code] informationAndAdviceGiven: match: code: coding: {code: '1052951000000105'} schema: short: Information or advice given. mustSupport: true index: 156 elements: title: pattern: {type: String, value: Information and Advice given} index: 157 code: index: 158 elements: coding: index: 159 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 160 version: {index: 161} code: pattern: {type: Code, value: '1052951000000105'} index: 162 display: pattern: {type: String, value: Information and advice given} index: 163 userSelected: {index: 164} required: [display, system, code] text: {index: 165} required: [coding] text: {index: 166} mode: {index: 167} orderedBy: {index: 168} entry: {index: 169} emptyReason: {index: 170} section: {index: 171} required: [text, title, code] medicationsAndMedicalDevices: match: code: coding: {code: '933361000000108'} schema: _required: true index: 172 elements: title: pattern: {type: String, value: Medications and medical devices} 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: '933361000000108'} index: 178 display: pattern: {type: String, value: Medications and medical devices} 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.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationDispense-List-1'] index: 185 elements: reference: {index: 186} required: [reference] emptyReason: {index: 187} section: {index: 188} 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: 222 elements: title: {short: Referral Details, index: 223} code: index: 224 elements: coding: index: 225 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 226 version: {index: 227} code: pattern: {type: Code, value: '886721000000107'} index: 228 display: pattern: {type: String, value: Referral details} index: 229 userSelected: {index: 230} required: [display, system, code] required: [coding] text: {index: 231} mode: {index: 232} orderedBy: {index: 233} 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: 234 elements: reference: {index: 235} required: [reference] emptyReason: {index: 236} section: {index: 237} required: [text, title, code] gpPractice: match: code: coding: {code: '886711000000101'} schema: short: Information realting to the patients registered GP Practice. _required: true index: 123 elements: title: pattern: {type: String, value: GP Practice} 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: '886711000000101'} index: 129 display: pattern: {type: String, value: GP practice} index: 130 userSelected: {index: 131} required: [display, system, code] text: {index: 132} required: [coding] text: {index: 133} mode: {index: 134} orderedBy: {index: 135} entry: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 136 elements: reference: {index: 137} required: [reference] emptyReason: {index: 138} section: {index: 139} 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.3.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-NewMedicineService-Composition-1 base: http://hl7.org/fhir/StructureDefinition/Composition version: 1.0.0 required: [section, identifier]