type: codesystemcodesystem: extension-context-type
Extension Context Type
- Official URL: http://hl7.org/fhir/extension-context-type
- Version: 6.0.0
- Status: active
- Name: ExtensionContextType
- Title: Extension Context Type
- Publisher: HL7 (FHIR Project)
- Description: How an extension context is interpreted.
- Case Sensitive: true
- Content: complete
Concepts
| Code | Display | Definition |
|---|---|---|
| fhirpath | FHIRPath | The context is all elements that match the FHIRPath query found in the expression. |
| element | Element ID | 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). 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. |
| extension | Extension URL | The context is a particular extension from a particular StructureDefinition, and the expression is just a uri that identifies the extension. |
CodeSystem XML
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="extension-context-type"/>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="fhir"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="5"/>
</extension>
<url value="http://hl7.org/fhir/extension-context-type"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.4.1013"/>
</identifier>
<version value="6.0.0"/>
<name value="ExtensionContextType"/>
<title value="Extension Context Type"/>
<status value="active"/>
<experimental value="false"/>
<date value="2021-01-05T10:01:24+11:00"/>
<publisher value="HL7 (FHIR Project)"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
<telecom>
<system value="email"/>
<value value="fhir@lists.hl7.org"/>
</telecom>
</contact>
<description value="How an extension context is interpreted."/>
<caseSensitive value="true"/>
<valueSet value="http://hl7.org/fhir/ValueSet/extension-context-type"/>
<content value="complete"/>
<concept>
<code value="fhirpath"/>
<display value="FHIRPath"/>
<definition value="The context is all elements that match the FHIRPath query found in the expression."/>
</concept>
<concept>
<code value="element"/>
<display value="Element ID"/>
<definition value="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."/>
</concept>
<concept>
<code value="extension"/>
<display value="Extension URL"/>
<definition value="The context is a particular extension from a particular StructureDefinition, and the expression is just a uri that identifies the extension."/>
</concept>
</CodeSystem>