FHIR IG analytics
Resources that use this resource
Resources that this resource uses
Examples of Use for Extension
No extension usage examples found
Narrative
No narrative content found in resource
Source1
{
"resourceType": "StructureDefinition",
"id": "Extension-DataStandardsWales-DocumentAttribute",
"url": "https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-DocumentAttribute",
"version": "0.0.1",
"name": "ExtensionDataStandardsWalesDocumentAttribute",
"title": "Extension Data Standards Wales Document Attribute",
"status": "draft",
"experimental": true,
"date": "2025-08-18",
"publisher": "NHS Wales",
"contact": [
{
"name": "FHIR Standards",
"telecom": [
{
"system": "email",
"value": "fhir.standards@wales.nhs.uk",
"use": "work",
"rank": 1
}
]
}
],
"description": "This extension shows document attributes.",
"purpose": "This extension shows document attributes.",
"copyright": "2025 NHS Wales",
"fhirVersion": "4.0.1",
"kind": "complex-type",
"abstract": false,
"context": [
{
"type": "element",
"expression": "DocumentReference"
}
],
"type": "Extension",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Extension",
"path": "Extension",
"short": "Additional metadata for the document",
"definition": "Additional metadata as applicable to the document type. This element should be used with care to avoid a proliferation of undefined metadata."
},
{
"id": "Extension.extension",
"path": "Extension.extension",
"requirements": "Included for legacy data not explicitly handled via DocumentReference and related resources.",
"min": 1
},
{
"id": "Extension.extension:attributeName",
"path": "Extension.extension",
"sliceName": "attributeName",
"short": "The name code for the document attribute.",
"definition": "A formal descriptive code for the document attribute e.g. ShareWithReferrer.",
"min": 1,
"max": "1"
},
{
"id": "Extension.extension:attributeName.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:attributeName.url",
"path": "Extension.extension.url",
"fixedUri": "attributeName"
},
{
"id": "Extension.extension:attributeName.value[x]",
"path": "Extension.extension.value[x]",
"type": [
{
"code": "code"
}
],
"binding": {
"strength": "required",
"description": "User-readable semantic codes for allowed attributes. Based on document metadata data held as document attributes in the Welsh Care Records Service and not represented via dedicated elements.",
"valueSet": "https://fhir.nhs.wales/ValueSet/FHIRStandardsWales-DocumentAttribute"
}
},
{
"id": "Extension.extension:attributeValue",
"path": "Extension.extension",
"sliceName": "attributeValue",
"short": "The value recorded against the document attribute.",
"definition": "The value recorded against the document attribute. This is modelled as a string format for flexibility. The actual datatype of the value will depend upon the specific document attribute. For example some may be dates, other integers and others a fixed list of codes.",
"max": "1"
},
{
"id": "Extension.extension:attributeValue.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:attributeValue.url",
"path": "Extension.extension.url",
"fixedUri": "attributeValue"
},
{
"id": "Extension.extension:attributeValue.value[x]",
"path": "Extension.extension.value[x]",
"min": 1,
"type": [
{
"code": "string"
}
]
},
{
"id": "Extension.extension:attributeNamespace",
"path": "Extension.extension",
"sliceName": "attributeNamespace",
"sliceIsConstraining": false,
"short": "The namespace associated with the document attribute value.",
"definition": "The namespace associated with the document attribute value where relevant for the specific document attribute. Note that for some attributes namespace may vary according to value domain.",
"max": "1"
},
{
"id": "Extension.extension:attributeNamespace.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:attributeNamespace.url",
"path": "Extension.extension.url",
"fixedUri": "attributeNamespace"
},
{
"id": "Extension.extension:attributeNamespace.value[x]",
"path": "Extension.extension.value[x]",
"type": [
{
"code": "string"
}
]
},
{
"id": "Extension.extension:valueDomain",
"path": "Extension.extension",
"sliceName": "valueDomain",
"short": "The specific domain to which the value of the document attribute belongs.",
"definition": "Some document attributes contain different sets of values for a pre-defined set of domains. In this case, the value domain provides the context for the value, to provide an unambiguous meaning.",
"max": "1"
},
{
"id": "Extension.extension:valueDomain.extension",
"path": "Extension.extension.extension",
"max": "0"
},
{
"id": "Extension.extension:valueDomain.url",
"path": "Extension.extension.url",
"fixedUri": "valueDomain"
},
{
"id": "Extension.extension:valueDomain.value[x]",
"path": "Extension.extension.value[x]",
"type": [
{
"code": "string"
}
]
},
{
"id": "Extension.url",
"path": "Extension.url",
"fixedUri": "https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-DocumentAttribute"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"max": "0",
"type": [
{
"code": "string"
}
]
}
]
}
}