This page is part of the FHIR Specification (v3.3.0: R4 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
. Page versions: R4B R4
| FHIR Infrastructure Work Group | Maturity Level: 1 | Informative | Use Context: Any |
Detailed Descriptions for the elements in the extension.
| Extension | |
| Element Id | Extension |
| Definition | Specifies that a date is relative to some event. The event happens [Duration] after [Event]. |
| Control | 0..1 This element is affected by the following invariants: ele-1 |
| Comments | This extension is used when a precise date is not known, but rather, the date will be relative to some future event (e.g. Do this 2 weeks after an operation). |
| Invariants | Defined on this element ele-1: All FHIR elements must have a @value or children (xpath: @value|f:*|h:div) ext-1: Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])) |
| Extension.id | |
| Element Id | Extension.id |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
| Control | 0..1 |
| Type | string |
| Extension.extension | |
| Element Id | Extension.extension |
| 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. |
| Control | 0..* |
| Type | Extension |
| Alternate Names | extensions, user content |
| 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. |
| Slicing | This element introduces a set of slices. The slicing rules are:
|
| Extension.extension(event) | |
| Element Id | Extension.extension:event |
| Definition | The event that the date(time) is relative to. |
| Control | 1..1 |
| Type | Extension |
| Comments | This can be a reference to a particular event, or a kind of event (usually where the kind would not happen very frequently). |
| Extension.extension.id | |
| Element Id | Extension.extension:event.id |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
| Control | 0..1 |
| Type | string |
| Extension.extension.extension | |
| Element Id | Extension.extension:event.extension |
| Definition | An Extension |
| Control | 0..0 |
| Type | Extension |
| Slicing | This element introduces a set of slices. The slicing rules are:
|
| Extension.extension.url | |
| Element Id | Extension.extension:event.url |
| Definition | Source of the definition for the extension code - a logical name or a URL. |
| Control | 1..1 |
| Type | uri |
| 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. |
| Fixed Value | event |
| Extension.extension.value[x] | |
| Element Id | Extension.extension:event.value[x] |
| Definition | Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). |
| Control | 1..1 |
| Type | Choice of: Reference(Resource), CodeableConcept |
| [x] Note | See Choice of Data Types for further information about how to use [x] |
| Extension.extension(relationship) | |
| Element Id | Extension.extension:relationship |
| Definition | Defines the relationship between the event and the date. |
| Control | 1..1 |
| Type | Extension |
| Extension.extension.id | |
| Element Id | Extension.extension:relationship.id |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
| Control | 0..1 |
| Type | string |
| Extension.extension.extension | |
| Element Id | Extension.extension:relationship.extension |
| Definition | An Extension |
| Control | 0..0 |
| Type | Extension |
| Slicing | This element introduces a set of slices. The slicing rules are:
|
| Extension.extension.url | |
| Element Id | Extension.extension:relationship.url |
| Definition | Source of the definition for the extension code - a logical name or a URL. |
| Control | 1..1 |
| Type | uri |
| 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. |
| Fixed Value | relationship |
| Extension.extension.valueCode | |
| Element Id | Extension.extension:relationship.valueCode |
| Definition | Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). |
| Control | 0..1 |
| Terminology Binding | Defines the types of relationships between actions The codes SHALL be taken from ActionRelationshipType |
| Type | code |
| Extension.extension(offset) | |
| Element Id | Extension.extension:offset |
| Definition | The duration after the event that the date(time) will happen. |
| Control | 1..1 |
| Type | Extension |
| Extension.extension.id | |
| Element Id | Extension.extension:offset.id |
| Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
| Control | 0..1 |
| Type | string |
| Extension.extension.extension | |
| Element Id | Extension.extension:offset.extension |
| Definition | An Extension |
| Control | 0..0 |
| Type | Extension |
| Slicing | This element introduces a set of slices. The slicing rules are:
|
| Extension.extension.url | |
| Element Id | Extension.extension:offset.url |
| Definition | Source of the definition for the extension code - a logical name or a URL. |
| Control | 1..1 |
| Type | uri |
| 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. |
| Fixed Value | offset |
| Extension.extension.valueDuration | |
| Element Id | Extension.extension:offset.valueDuration |
| Definition | Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). |
| Control | 0..1 |
| Type | Duration |
| Extension.url | |
| Element Id | Extension.url |
| Definition | Source of the definition for the extension code - a logical name or a URL. |
| Control | 1..1 |
| Type | uri |
| 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. |
| Fixed Value | http://hl7.org/fhir/StructureDefinition/relative-date |
| Extension.value[x] | |
| Element Id | Extension.value[x] |
| Definition | Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). |
| Control | 0..0 |
| Type | Choice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference, SampledData, Signature, Timing, ParameterDefinition, DataRequirement, RelatedArtifact, ContactDetail, Contributor, TriggerDefinition, UsageContext, Dosage |
| [x] Note | See Choice of Data Types for further information about how to use [x] |