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/gpc.stu3.fhir 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: 13 mode: pattern: {type: code, value: snapshot} type: code index: 10 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: 14 note: mustSupport: true index: 15 elements: author: choices: [authorReference, authorString, authorReference, authorReference] index: 17 authorReference: type: Reference choiceOf: author refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1'] index: 20 authorString: {type: string, choiceOf: author, index: 19} emptyReason: {mustSupport: true, index: 23} 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: 9 code: {index: 11} identifier: elements: system: {index: 6} value: {index: 7} assigner: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1'] index: 8 required: [system, value] entry: {mustSupport: true, index: 22} 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: 12 package_version: assets-1.2.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.7.0 required: [code, subject]