Extension-DataStandardsWales-CDR-SourceTimestamp
An extension to carry a timestamp for when a record has been updated.
Purpose
This extension is intended for use within the Care Data Repository, and extends the Patient resource to record a timestamp that shows when the demographic record was last updated at source. This timestamp is used in the management of patient demographics and identity within the Care Data Repository.
Context of Use
This extension may be used on the following profile(s):
Formal Views of Extension Content
-
Snapshot View
-
Example View
Extension | I | | Extension | Element idShort description An extension to carry a timestamp for when a record has been updated Definition An extension to carry a timestamp for when a record has been updated in the underlying source system
Data type Extension Constraints- ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists()
Mappings |
id | | 0..1 | string | There are no (further) constraints on this element Element idShort description Unique id for inter-element referencing Definition Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Data type string Mappings |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idShort description Additional content defined by implementations Alternate names extensions, user content Definition May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Comments There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Data type Extension Sliced: Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints- ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists()
Mappings |
url | | 1..1 | uriFixed Value | Element idShort description identifies the meaning of the extension Definition Source of the definition for the extension code - a logical name or a URL.
Comments The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
Data type uri Fixed value https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-CDR-SourceTimestamp Mappings |
value[x] | | 1..1 | | There are no (further) constraints on this element Element idShort description Value of extension Definition Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).
Constraints- ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
Mappings |
valueDateTime | | | dateTime | Data type dateTime |
Currently under development