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: rs/gpc.stu3.fhir derivation: constraint name: CareConnect-GPC-Composition-1 type: Composition elements: meta: elements: profile: {index: 1} required: [profile] encounter: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Encounter-1'] index: 24 section: index: 36 extensions: problemReference: url: h type: Extension short: An extension to allow resolution of problem link to composition section. index: 38 elements: url: pattern: {type: uri, value: 'http://hl7.org/fhir/STU3/extension-valueset-reference.html'} type: uri index: 39 elements: extension: index: 37 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: problemReference: match: {url: 'http://hl7.org/fhir/STU3/extension-valueset-reference.html'} schema: type: Extension short: An extension to allow resolution of problem link to composition section. url: h index: 38 elements: url: pattern: {type: uri, value: 'http://hl7.org/fhir/STU3/extension-valueset-reference.html'} type: uri index: 39 code: index: 40 elements: coding: index: 41 elements: system: pattern: {type: uri, value: 'http://snomed.info/sct'} type: uri index: 42 version: {index: 43} code: pattern: {type: code, value: '25851000000105'} type: code index: 44 display: pattern: {type: string, value: Topic (EHR)} type: string index: 45 userSelected: {index: 46} required: [code, display, system] required: [coding] mode: pattern: {type: code, value: snapshot} type: code index: 47 orderedBy: index: 48 elements: coding: elements: system: pattern: {type: uri, value: 'http://hl7.org/fhir/ValueSet/list-order'} type: uri index: 49 version: {index: 50} userSelected: {index: 51} required: [system] entry: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/ReferralRequest', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-AllergyIntolerance-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationRequest-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Observation-1'] index: 52 emptyReason: {index: 53} required: [code, mode, orderedBy] 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 (SNOMED CT) index: 16 elements: coding: index: 17 elements: system: pattern: {type: uri, value: 'http://snomed.info/sct'} type: uri index: 18 version: {index: 19} code: pattern: {type: code, value: '325851000000107'} type: code index: 20 display: pattern: {type: string, value: Consultation} type: string index: 21 userSelected: {index: 22} required: [code, display, system] required: [coding] author: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1'] index: 25 extension: index: 2 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: careSettingTypeExtension: match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-CareSettingType-1'} schema: type: Extension url: h index: 3 elements: url: pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-CareSettingType-1'} type: uri index: 4 event: {index: 35} custodian: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 29 status: pattern: {type: code, value: final} type: code index: 15 id: {index: 0} identifier: index: 5 elements: system: {index: 6} value: {index: 7} assigner: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 8 required: [system, value] slicing: rules: open discriminator: - {path: system, type: value} min: null slices: crossCareSettingIdentifier: match: {system: 'https://fhir.nhs.uk/Id/cross-care-setting-identifier'} schema: _required: true index: 9 elements: system: pattern: {type: uri, value: 'https://fhir.nhs.uk/Id/cross-care-setting-identifier'} type: uri index: 10 value: {index: 11} assigner: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1'] index: 12 required: [system, value] identifier: match: {system: null} schema: index: 13 elements: assigner: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1'] index: 14 relatesTo: index: 30 elements: target: choices: [targetIdentifier, targetReference] index: 32 targetIdentifier: {type: Identifier, choiceOf: target, index: 33} targetReference: type: Reference choiceOf: target refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Composition-1'] index: 34 subject: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1'] index: 23 confidentiality: {index: 26} package_version: assets-1.0.0 extensions: careSettingTypeExtension: url: h type: Extension index: 3 elements: url: pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-CareSettingType-1'} type: uri index: 4 class: profile kind: resource url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Composition-1 base: http://hl7.org/fhir/StructureDefinition/Composition version: 1.1.0 required: [encounter, id, section]