description: The List resource is a flat, possibly ordered collection of records. List resources are used in many places, including allergies, medications, alerts, family history, medical history, etc. List resources can be used to support patient-specific clinical lists as well as lists that manage workflows such as tracking patients, managing teaching cases, etc. package_name: rs/NHSD.Assets.STU3 derivation: constraint name: CareConnect-GPC-List-1 type: List elements: meta: elements: profile: {index: 0} required: [profile] encounter: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Encounter-1'] index: 14 mode: pattern: {type: code, value: snapshot} type: code index: 11 source: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1'] index: 15 note: mustSupport: true index: 16 elements: author: choices: [authorReference, authorString, authorReference, authorReference] index: 18 authorReference: type: Reference choiceOf: author refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1'] index: 21 authorString: {type: string, choiceOf: author, index: 20} emptyReason: {mustSupport: true, index: 24} extension: index: 1 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: clinicalSetting: match: {url: null} schema: {type: Extension, mustSupport: true, url: h, index: 2} warningCode: match: {url: null} schema: {type: Extension, mustSupport: true, url: h, index: 3} relatedProblemHeader: match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-RelatedProblemHeader-1'} schema: type: Extension short: A reference to any related problems mustSupport: true url: h index: 4 elements: url: pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-RelatedProblemHeader-1'} type: uri index: 5 status: pattern: {type: code, value: current} type: code index: 10 code: {index: 12} identifier: index: 6 elements: system: {index: 7} value: {index: 8} assigner: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1'] index: 9 required: [system, value] entry: {mustSupport: true, index: 23} subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Location-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1'] index: 13 package_version: 1.0.0 extensions: clinicalSetting: {url: h, type: Extension, mustSupport: true, index: 2} warningCode: {url: h, type: Extension, mustSupport: true, index: 3} relatedProblemHeader: url: h type: Extension short: A reference to any related problems mustSupport: true index: 4 elements: url: pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-RelatedProblemHeader-1'} type: uri index: 5 class: profile kind: resource url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-List-1 base: http://hl7.org/fhir/StructureDefinition/List version: 1.6.0 required: [code, identifier, subject]