description: The DocumentReference resource is used to describe a document that is made available to a healthcare system. package_name: gpc.stu3.fhir-assets derivation: constraint name: CareConnect-GPC-DocumentReference-1 type: DocumentReference elements: description: {short: Document description or title, index: 22} meta: index: 0 elements: profile: {index: 1} required: [profile] content: elements: attachment: elements: contentType: {index: 23} size: {short: Size of the file, index: 24} required: [contentType, size] type: short: Type of document index: 9 elements: coding: extensions: snomedCTDescriptionID: url: h type: Extension index: 10 extensions: {} elements: extension: {index: 11} required: [extension] elements: extension: type: Extension url: h index: 10 slicing: slices: snomedCTDescriptionID: match: {} schema: type: Extension url: h index: 10 extensions: {} elements: extension: {index: 11} required: [extension] system: {index: 12} version: {index: 13} code: {index: 14} display: {index: 15} required: [display, system, code] created: {index: 17} 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: 18 masterIdentifier: short: Version Number of the document index: 2 elements: system: {index: 3} value: {index: 4} assigner: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 5 required: [value, system] custodian: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1'] index: 20 identifier: short: The identifier of the document. index: 6 elements: system: {index: 7} value: {index: 8} required: [value, system] relatesTo: elements: target: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-DocumentReference-1'] index: 21 context: elements: encounter: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Encounter-1'] index: 25 practiceSetting: {index: 26} sourcePatientInfo: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1'] index: 27 related: elements: identifier: elements: assigner: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1'] index: 28 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: 16 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: 19 package_version: 1.4.1 class: profile kind: resource url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-DocumentReference-1 base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: '1.3' required: [identifier, subject]