Extension
⚠️ This is a template for describing your Extension (StructureDefinition
) resource. To start, update the canonical URL above to the one of your resource. Don't forget to remove this paragraph.
These are the details for this resource:
Context
This extension can be used on element
: Element
Resource content
These are different views on this resource:
This is the tree view:
FavouriteCowboyHat (Extension) | C | | Extension | There are no (further) constraints on this element Element idExtension Short descriptionOptional Extensions Element DefinitionOptional Extension Element - found in all resources.
Data typeExtension ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1 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 idExtension.id Short descriptionUnique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Data typestring Mappings |
extension | C | 0..0 | Extension | There are no (further) constraints on this element Element idExtension.extension Short descriptionAdditional content defined by implementations Alternate namesextensions, user content DefinitionMay 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.
CommentsThere 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 typeExtension SlicingUnordered, 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 | uriAuto Value | Element idExtension.url Short descriptionidentifies the meaning of the extension DefinitionSource of the definition for the extension code - a logical name or a URL.
CommentsThe 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 typeuri Auto valuehttp://example.org/StructureDefinition/FavouriteCowboyHat Mappings |
value[x] | | 0..1 | Binding | Element idExtension.value[x] Short descriptionValue of extension DefinitionValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).
BindingAllCowboyHatTypes (required) Constraints- ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count()) Mappings |
valueCoding | | | Coding | Data type Coding |
This is the detailed view:
Extension |
Short | Optional Extensions Element |
Definition | Optional Extension Element - found in all resources.
|
Cardinality | 0..* |
Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
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 | |
Extension.id |
Short | 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.
|
Cardinality | 0..1 |
Type | string |
Mappings | |
Extension.extension |
Short | Additional content defined by implementations |
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.
|
Cardinality | 0..0 |
Type | Extension |
Alias | 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 | 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 | |
Extension.url |
Short | identifies the meaning of the extension |
Definition | Source of the definition for the extension code - a logical name or a URL.
|
Cardinality | 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.
|
Auto Value | http://example.org/StructureDefinition/FavouriteCowboyHat |
Mappings | |
Extension.value[x] |
Short | Value of extension |
Definition | Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).
|
Cardinality | 0..1 |
Type | Coding |
Binding | AllCowboyHatTypes (required) |
Constraints | - ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
|
Mappings | |
This is the resource in XML:
<id value="FavouriteCowboyHat" />
<url value="http://example.org/StructureDefinition/FavouriteCowboyHat" />
<name value="FavouriteCowboyHat" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<kind value="complex-type" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<path value="Extension.extension" />
</element>
<path value="Extension.url" />
<fixedUri value="http://example.org/StructureDefinition/FavouriteCowboyHat" />
</element>
<path value="Extension.value[x]" />
</type>
<valueSet value="http://example.org/ValueSet/AllCowboyHatTypes" />
</binding>
</element>
</differential>
</StructureDefinition>
This is the resource in JSON:
{
"id": "FavouriteCowboyHat",
"url": "http://example.org/StructureDefinition/FavouriteCowboyHat",
"name": "FavouriteCowboyHat",
{
"uri": "http://hl7.org/v3",
}
],
],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
{
"id": "Extension.extension",
"path": "Extension.extension",
},
{
"fixedUri": "http://example.org/StructureDefinition/FavouriteCowboyHat"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
],
"valueSet": "http://example.org/ValueSet/AllCowboyHatTypes"
}
}
]
}
}
Terminology Bindings
These are the terminology bindings within this resource:
Constraints
These are the constraints (invariants) defined within this resource: