description: The DocumentReference resource is used to describe a document that is made available to a healthcare system. package_name: rs/NHSD.Assets.STU3 derivation: constraint name: CareConnect-GPC-DocumentReference-1 type: DocumentReference elements: description: {short: Document description or title, index: 27} meta: elements: profile: {index: 0} required: [profile] content: elements: attachment: elements: contentType: {index: 28} url: {index: 29} size: {short: Size of the file, index: 30} required: [contentType, size, url] type: short: Type of document index: 14 elements: coding: extensions: snomedCTDescriptionID: {url: h, min: 0, max: 1, type: Extension, short: The SNOMED CT Description ID for the display, index: 16} elements: extension: index: 15 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: snomedCTDescriptionID: match: {url: null} schema: {type: Extension, short: The SNOMED CT Description ID for the display, url: h, index: 16} min: 0 max: 1 system: {index: 17} version: {index: 18} code: {index: 19} display: {index: 20} required: [code, display, system] created: {index: 22} author: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-RelatedPerson-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1'] index: 23 masterIdentifier: short: Version Number of the document index: 1 elements: system: {index: 2} value: {index: 3} assigner: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 4 required: [system, value] custodian: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1'] index: 25 identifier: short: The identifier of the document. index: 5 slicing: rules: open discriminator: - {path: system, type: value} min: 1 slices: crossCareSettingIdentifier: match: {system: 'https://fhir.nhs.uk/Id/cross-care-setting-identifier'} schema: short: Cross-Care Setting Identifier _required: true index: 6 elements: system: pattern: {type: uri, value: 'https://fhir.nhs.uk/Id/cross-care-setting-identifier'} type: uri index: 7 value: {index: 8} assigner: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1'] index: 9 required: [system, value] sliceIdentifier: match: {system: null} schema: index: 10 elements: system: {index: 11} value: {index: 12} assigner: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1'] index: 13 required: [system, value] relatesTo: elements: target: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-DocumentReference-1'] index: 26 context: elements: encounter: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Encounter-1'] index: 31 practiceSetting: {index: 32} sourcePatientInfo: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1'] index: 33 related: elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1'] index: 34 subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1'] index: 21 authenticator: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1'] index: 24 package_version: 1.5.0 class: profile kind: resource url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-DocumentReference-1 base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 1.2.0 required: [identifier, subject]