Terminology
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
| Responsible Owner: FHIR Infrastructure Work Group | Standards Status : Informative |
Raw JSON ( canonical form + also see JSON Format Specification )
Definition for Code SystemExtensionContextType
{
"resourceType" : "CodeSystem",
"id" : "extension-context-type",
"meta" : {
"lastUpdated" : "2023-03-26T15:21:02.749+11:00",
"profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
"lastUpdated" : "2025-12-17T09:50:17.012+00:00"
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system <code>http://hl7.org/fhir/extension-context-type</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">fhirpath<a name=\"extension-context-type-fhirpath\"> </a></td><td>FHIRPath</td><td>The context is all elements that match the FHIRPath query found in the expression.</td></tr><tr><td style=\"white-space:nowrap\">element<a name=\"extension-context-type-element\"> </a></td><td>Element ID</td><td>The context is any element that has an ElementDefinition.id that matches that found in the expression. This includes ElementDefinition Ids that have slicing identifiers. The full path for the element is [url]#[elementid]. If there is no #, the Element id is one defined in the base specification.</td></tr><tr><td style=\"white-space:nowrap\">extension<a name=\"extension-context-type-extension\"> </a></td><td>Extension URL</td><td>The context is a particular extension from a particular StructureDefinition, and the expression is just a uri that identifies the extension.</td></tr></table></div>"
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem extension-context-type</b></p><a name=\"extension-context-type\"> </a><a name=\"hcextension-context-type\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/extension-context-type</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">fhirpath<a name=\"extension-context-type-fhirpath\"> </a></td><td>FHIRPath</td><td><div><p>The context is all elements that match the FHIRPath query found in the expression.</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">element<a name=\"extension-context-type-element\"> </a></td><td>Element ID</td><td><div><p>The context is any element that has an ElementDefinition.id that matches that found in the expression. This includes ElementDefinition Ids that have slicing identifiers, and also includes specialization logic (see <a href=\"defining-extensions.html#context\">Extension Context</a>). The full path for the element is [url]#[elementid]. If there is no #, the Element id is one defined in the base specification. When an element has assigned type, the type is also an assigned id for this element, which means that the type can also be used here.</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">extension<a name=\"extension-context-type-extension\"> </a></td><td>Extension URL</td><td><div><p>The context is a particular extension from a particular StructureDefinition, and the expression is just a uri that identifies the extension.</p>\n</div></td></tr></table></div>"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode" : "4.0.0"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 5
}],
"url" : "http://hl7.org/fhir/extension-context-type",
"identifier" : [{
"system" : "urn:ietf:rfc:3986",
"value" : "urn:oid:2.16.840.1.113883.4.642.4.1013"
}],
"version" : "5.0.0",
"version" : "6.0.0-ballot3",
"name" : "ExtensionContextType",
"title" : "Extension Context Type",
"status" : "active",
"experimental" : false,
"date" : "2021-01-05T10:01:24+11:00",
"publisher" : "HL7 (FHIR Project)",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
},
{
"system" : "email",
"value" : "fhir@lists.hl7.org"
}]
}],
"description" : "How an extension context is interpreted.",
"jurisdiction" : [{
"coding" : [{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001",
"display" : "World"
}]
}],
"caseSensitive" : true,
"valueSet" : "http://hl7.org/fhir/ValueSet/extension-context-type",
"content" : "complete",
"concept" : [{
"code" : "fhirpath",
"display" : "FHIRPath",
"definition" : "The context is all elements that match the FHIRPath query found in the expression."
},
{
"code" : "element",
"display" : "Element ID",
"definition" : "The context is any element that has an ElementDefinition.id that matches that found in the expression. This includes ElementDefinition Ids that have slicing identifiers. The full path for the element is [url]#[elementid]. If there is no #, the Element id is one defined in the base specification."
"definition" : "The context is any element that has an ElementDefinition.id that matches that found in the expression. This includes ElementDefinition Ids that have slicing identifiers, and also includes specialization logic (see [Extension Context](defining-extensions.html#context)). The full path for the element is [url]#[elementid]. If there is no #, the Element id is one defined in the base specification. When an element has assigned type, the type is also an assigned id for this element, which means that the type can also be used here."
},
{
"code" : "extension",
"display" : "Extension URL",
"definition" : "The context is a particular extension from a particular StructureDefinition, and the expression is just a uri that identifies the extension."
}]
}
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.
FHIR
®©
HL7.org
2011+.
FHIR
R5
hl7.fhir.core#5.0.0
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Sun,
Mar
26,
2023
15:22+1100.
Wed,
Dec
17,
2025
09:52+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change