<?xml version="1.0" encoding="UTF-8"?>

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="R5-extension-context-type-for-R3"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet R5-extension-context-type-for-R3</b></p><a name="R5-extension-context-type-for-R3"> </a><a name="hcR5-extension-context-type-for-R3"> </a><p>This value set expansion contains 3 concepts.</p><table class="codes"><tr><td><b>System</b></td><td><b>Version</b></td><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td><a name="R5-extension-context-type-for-R3-http://hl7.org/fhir/extension-context-type-element"> </a><code>http://hl7.org/fhir/extension-context-type</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-extension-context-type.html#extension-context-type-element">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><a name="R5-extension-context-type-for-R3-http://hl7.org/fhir/extension-context-type-extension"> </a><code>http://hl7.org/fhir/extension-context-type</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-extension-context-type.html#extension-context-type-extension">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><tr><td><a name="R5-extension-context-type-for-R3-http://hl7.org/fhir/extension-context-type-fhirpath"> </a><code>http://hl7.org/fhir/extension-context-type</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-extension-context-type.html#extension-context-type-fhirpath">fhirpath</a></td><td>FHIRPath</td><td>The context is all elements that match the FHIRPath query found in the expression.</td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="5"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/package-source">
    <extension url="packageId">
      <valueId value="hl7.fhir.uv.xver-r5.r3"/>
    </extension>
    <extension url="version">
      <valueString value="0.1.0"/>
    </extension>
    <extension url="uri">
      <valueUri value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r3"/>
    </extension>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueUri value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r3"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/uv/xver/ValueSet/R5-extension-context-type-for-R3"/>
  <version value="0.1.0"/>
  <name value="R5ExtensionContextTypeForR3"/>
  <title value="Cross-version ValueSet R5.ExtensionContextType for use in FHIR STU3"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-03-17T21:02:03.8104715+00:00"/>
  <publisher value="FHIR Infrastructure"/>
  <contact>
    <name value="FHIR Infrastructure"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="This cross-version ValueSet represents content from `http://hl7.org/fhir/ValueSet/extension-context-type|5.0.0` for use in FHIR STU3."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <purpose value="This value set is part of the cross-version definitions generated to enable use of the&#xD;&#xA;value set `http://hl7.org/fhir/ValueSet/extension-context-type|5.0.0` as defined in FHIR R5&#xD;&#xA;in FHIR STU3.&#xD;&#xA;&#xD;&#xA;The source value set is bound to the following FHIR R5 elements:&#xD;&#xA;* `StructureDefinition.context.type` as Required&#xD;&#xA;&#xD;&#xA;Across FHIR versions, the value set has been mapped as:&#xD;&#xA;* `http://hl7.org/fhir/ValueSet/extension-context-type|5.0.0`&#xA;* `http://hl7.org/fhir/ValueSet/extension-context-type|4.3.0`&#xA;* `http://hl7.org/fhir/ValueSet/extension-context-type|4.0.1`&#xD;&#xA;&#xD;&#xA;Note that all concepts are included in this cross-version definition because no concepts have compatible representations&#xD;&#xA;&#xD;&#xA;Following are the generation technical comments:&#xD;&#xA;All concepts in the comparison are listed as identical.&#xA;The source and target value sets have the same number of active concepts (3).&#xA;All concepts in the comparison are listed as identical.&#xA;The source and target value sets have the same number of active concepts (3).&#xA;FHIR ValueSet `http://hl7.org/fhir/ValueSet/extension-context-type|5.0.0`, defined in FHIR R5 does not have any mapping to FHIR STU3"/>
  <compose>
    <include>
      <system value="http://hl7.org/fhir/extension-context-type"/>
      <version value="5.0.0"/>
      <concept>
        <code value="element"/>
        <display value="Element ID"/>
      </concept>
      <concept>
        <code value="extension"/>
        <display value="Extension URL"/>
      </concept>
      <concept>
        <code value="fhirpath"/>
        <display value="FHIRPath"/>
      </concept>
    </include>
  </compose>
  <expansion>
    <timestamp value="2026-03-17T21:02:03.8104715+00:00"/>
    <contains>
      <system value="http://hl7.org/fhir/extension-context-type"/>
      <version value="5.0.0"/>
      <code value="element"/>
      <display value="Element ID"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/extension-context-type"/>
      <version value="5.0.0"/>
      <code value="extension"/>
      <display value="Extension URL"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/extension-context-type"/>
      <version value="5.0.0"/>
      <code value="fhirpath"/>
      <display value="FHIRPath"/>
    </contains>
  </expansion>
</ValueSet>