@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/CodeSystem/extension-context-type> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "extension-context-type"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2026-06-25T05:29:09.744+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<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>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "fhir"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "normative"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 5
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/extension-context-type"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/extension-context-type>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1013" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot4"] ; # 
  fhir:name [ fhir:v "ExtensionContextType"] ; # 
  fhir:title [ fhir:v "Extension Context Type"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 (FHIR Project)"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "fhir@lists.hl7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "How an extension context is interpreted."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/extension-context-type"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/extension-context-type>
  ] ; # 
  fhir:hierarchyMeaning [] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "fhirpath" ] ;
     fhir:display [ fhir:v "FHIRPath" ] ;
     fhir:definition [ fhir:v "The context is all elements that match the FHIRPath query found in the expression." ]
  ] [
     fhir:code [ fhir:v "element" ] ;
     fhir:display [ fhir:v "Element ID" ] ;
     fhir:definition [ fhir:v "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." ]
  ] [
     fhir:code [ fhir:v "extension" ] ;
     fhir:display [ fhir:v "Extension URL" ] ;
     fhir:definition [ fhir:v "The context is a particular extension from a particular StructureDefinition, and the expression is just a uri that identifies the extension." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

