description: This extension shows document attributes. package_name: fhir.r4.wales derivation: constraint name: ExtensionDataStandardsWalesDocumentAttribute type: Extension elements: extension: index: 0 slicing: slices: attributeName: match: {} schema: short: The name code for the document attribute. _required: true index: 1 extensions: {} elements: extension: {index: 2} url: pattern: {type: Uri, value: attributeName} index: 3 value: choices: [valueCode] index: 5 valueCode: {type: code, choiceOf: value, index: 6} attributeValue: match: {} schema: short: The value recorded against the document attribute. index: 7 extensions: {} elements: extension: {index: 8} url: pattern: {type: Uri, value: attributeValue} index: 9 value: choices: [valueString] index: 11 valueString: {type: string, choiceOf: value, index: 12} required: [valueString, value] attributeNamespace: match: {} schema: short: The namespace associated with the document attribute value. sliceIsConstraining: false index: 13 extensions: {} elements: extension: {index: 14} url: pattern: {type: Uri, value: attributeNamespace} index: 15 value: choices: [valueString] index: 17 valueString: {type: string, choiceOf: value, index: 18} valueDomain: match: {} schema: short: The specific domain to which the value of the document attribute belongs. index: 19 extensions: {} elements: extension: {index: 20} url: pattern: {type: Uri, value: valueDomain} index: 21 value: choices: [valueString] index: 23 valueString: {type: string, choiceOf: value, index: 24} url: pattern: {type: Uri, value: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-DocumentAttribute'} index: 25 value: choices: [valueString] index: 27 valueString: {type: string, choiceOf: value, index: 28} package_version: 2.3.0 extensions: attributeName: url: null short: The name code for the document attribute. _required: true index: 1 extensions: {} elements: extension: {index: 2} url: pattern: {type: Uri, value: attributeName} index: 3 value: choices: [valueCode] index: 5 valueCode: {type: code, choiceOf: value, index: 6} attributeValue: url: null short: The value recorded against the document attribute. index: 7 extensions: {} elements: extension: {index: 8} url: pattern: {type: Uri, value: attributeValue} index: 9 value: choices: [valueString] index: 11 valueString: {type: string, choiceOf: value, index: 12} required: [valueString, value] attributeNamespace: url: null short: The namespace associated with the document attribute value. sliceIsConstraining: false index: 13 extensions: {} elements: extension: {index: 14} url: pattern: {type: Uri, value: attributeNamespace} index: 15 value: choices: [valueString] index: 17 valueString: {type: string, choiceOf: value, index: 18} valueDomain: url: null short: The specific domain to which the value of the document attribute belongs. index: 19 extensions: {} elements: extension: {index: 20} url: pattern: {type: Uri, value: valueDomain} index: 21 value: choices: [valueString] index: 23 valueString: {type: string, choiceOf: value, index: 24} class: extension kind: complex-type url: https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-DocumentAttribute base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.0.1 required: [extension]