Definition
for
Code
System
ExtensionContextType
SystemExtensionContextType
{
"resourceType" : "CodeSystem",
"id" : "extension-context-type",
"meta" : {
"lastUpdated" : "2019-11-01T09:29:23.356+11:00"
"lastUpdated" : "2025-12-17T09:50:17.012+00:00"
},
"text" : {
"status" : "generated",
"div" : "<div>!-- Snipped for Brevity --></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" : "4.0.1",
"version" : "6.0.0-ballot3",
"name" : "ExtensionContextType",
"title" : "ExtensionContextType",
"title" : "Extension Context Type",
"status" : "active",
"experimental" : false,
"date" : "2019-11-01T09:29:23+11:00",
"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.