description: Where patient has additional physical documents, the description, location and organisation where document was created, can be recorded package_name: NHSD.Assets.STU3 derivation: constraint name: EOL-OtherDocuments-QuestionnaireResponse-1 type: QuestionnaireResponse elements: questionnaire: {index: 8} parent: {index: 7} item: index: 14 slicing: rules: open discriminator: - {path: text, type: value} min: null slices: documentName: match: {text: Document Name} schema: short: Description of the document _required: true index: 15 elements: linkId: pattern: {type: String, value: documentName} index: 16 definition: {index: 17} text: pattern: {type: String, value: Document Name} index: 18 subject: {index: 19} answer: index: 20 elements: valueString: type: string index: 21 slicing: slices: valueString: match: {} schema: {type: string, _required: true, index: 21} min: 1 item: {index: 22} required: [valueString] item: {index: 23} required: [text, answer] documentLocation: match: {text: Document Location} schema: short: Location of the document index: 24 elements: linkId: pattern: {type: String, value: documentLocation} index: 25 definition: {index: 26} text: pattern: {type: String, value: Document Location} index: 27 subject: {index: 28} answer: index: 29 elements: valueString: type: string index: 30 slicing: slices: valueString: match: {} schema: {type: string, _required: true, index: 30} min: 1 item: {index: 31} required: [valueString] item: {index: 32} required: [text, answer] documentSource: match: {text: documentSource} schema: short: Description of the organisation where the document was created index: 33 elements: linkId: pattern: {type: String, value: documentSource} index: 34 definition: {index: 35} text: short: Organisation where document was created pattern: {type: String, value: documentSource} index: 36 subject: {index: 37} answer: index: 38 elements: valueString: type: string index: 39 slicing: slices: valueString: match: {} schema: {type: string, _required: true, index: 39} min: 1 item: {index: 40} required: [valueString] item: {index: 41} required: [text, answer] source: {index: 13} author: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-Practitioner-1'] index: 12 status: pattern: {type: Code, value: completed} index: 9 identifier: elements: use: {index: 0} type: {index: 1} system: {index: 2} value: {index: 3} period: {index: 4} assigner: {index: 5} required: [value, system] context: {index: 11} basedOn: {index: 6} subject: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/EOL-Patient-1'] index: 10 package_version: 1.0.0 class: profile kind: resource url: https://fhir.nhs.uk/STU3/StructureDefinition/EOL-OtherDocuments-QuestionnaireResponse-1 base: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse version: 1.0.0 required: [subject]