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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="R4-v2-0167-for-R4B"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet R4-v2-0167-for-R4B</b></p><a name="R4-v2-0167-for-R4B"> </a><a name="hcR4-v2-0167-for-R4B"> </a><p>This value set expansion contains 11 concepts.</p><table class="codes"><tr><td style="white-space:nowrap"><b>Code</b></td><td><b>System</b></td><td><b>Display</b></td></tr><tr><td style="white-space:nowrap"><a name="R4-v2-0167-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0167-0"> </a>  <a href="CodeSystem-v2-0167.html#v2-0167-0">0</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0167</td><td>No product selection indicated</td></tr><tr><td style="white-space:nowrap"><a name="R4-v2-0167-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0167-1"> </a>  <a href="CodeSystem-v2-0167.html#v2-0167-1">1</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0167</td><td>Substitution not allowed by prescriber</td></tr><tr><td style="white-space:nowrap"><a name="R4-v2-0167-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0167-2"> </a>  <a href="CodeSystem-v2-0167.html#v2-0167-2">2</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0167</td><td>Substitution allowed - patient requested product dispensed</td></tr><tr><td style="white-space:nowrap"><a name="R4-v2-0167-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0167-3"> </a>  <a href="CodeSystem-v2-0167.html#v2-0167-3">3</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0167</td><td>Substitution allowed - pharmacist selected product dispensed</td></tr><tr><td style="white-space:nowrap"><a name="R4-v2-0167-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0167-4"> </a>  <a href="CodeSystem-v2-0167.html#v2-0167-4">4</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0167</td><td>Substitution allowed - generic drug not in stock</td></tr><tr><td style="white-space:nowrap"><a name="R4-v2-0167-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0167-5"> </a>  <a href="CodeSystem-v2-0167.html#v2-0167-5">5</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0167</td><td>Substitution allowed - brand drug dispensed as a generic</td></tr><tr><td style="white-space:nowrap"><a name="R4-v2-0167-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0167-7"> </a>  <a href="CodeSystem-v2-0167.html#v2-0167-7">7</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0167</td><td>Substitution not allowed - brand drug mandated by law</td></tr><tr><td style="white-space:nowrap"><a name="R4-v2-0167-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0167-8"> </a>  <a href="CodeSystem-v2-0167.html#v2-0167-8">8</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0167</td><td>Substitution allowed - generic drug not available in marketplace</td></tr><tr><td style="white-space:nowrap"><a name="R4-v2-0167-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0167-G"> </a>  <a href="CodeSystem-v2-0167.html#v2-0167-G">G</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0167</td><td>A generic substitution was dispensed.</td></tr><tr><td style="white-space:nowrap"><a name="R4-v2-0167-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0167-N"> </a>  <a href="CodeSystem-v2-0167.html#v2-0167-N">N</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0167</td><td>No substitute was dispensed.  This is equivalent to the default (null) value.</td></tr><tr><td style="white-space:nowrap"><a name="R4-v2-0167-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0167-T"> </a>  <a href="CodeSystem-v2-0167.html#v2-0167-T">T</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0167</td><td>A therapeutic substitution was dispensed.</td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0"/>
  </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-r4.r4b"/>
    </extension>
    <extension url="version">
      <valueString value="0.0.1-snapshot-2"/>
    </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">
        <valueCanonical value="http://hl7.org/fhir/4.0/ImplementationGuide/hl7.fhir.uv.xver-r4.r4b"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/4.0/ValueSet/R4-v2-0167-for-R4B"/>
  <version value="0.0.1-snapshot-2"/>
  <name value="R4_v2_0167_for_R4B"/>
  <title value="Cross-version VS for R4.v2.0167 for use in FHIR R4B"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2025-09-01T22:36:18.312587+10: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 concepts from http://terminology.hl7.org/ValueSet/v2-0167|2.9 for use in FHIR R4B. Concepts not present here have direct `equivalent` mappings crossing all versions from R4 to R4B."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <compose>
    <include>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0167"/>
      <version value="2.9"/>
      <concept>
        <code value="0"/>
        <display value="No product selection indicated"/>
      </concept>
      <concept>
        <code value="1"/>
        <display value="Substitution not allowed by prescriber"/>
      </concept>
      <concept>
        <code value="2"/>
        <display value="Substitution allowed - patient requested product dispensed"/>
      </concept>
      <concept>
        <code value="3"/>
        <display value="Substitution allowed - pharmacist selected product dispensed"/>
      </concept>
      <concept>
        <code value="4"/>
        <display value="Substitution allowed - generic drug not in stock"/>
      </concept>
      <concept>
        <code value="5"/>
        <display value="Substitution allowed - brand drug dispensed as a generic"/>
      </concept>
      <concept>
        <code value="7"/>
        <display value="Substitution not allowed - brand drug mandated by law"/>
      </concept>
      <concept>
        <code value="8"/>
        <display value="Substitution allowed - generic drug not available in marketplace"/>
      </concept>
      <concept>
        <code value="G"/>
        <display value="A generic substitution was dispensed."/>
      </concept>
      <concept>
        <code value="N"/>
        <display value="No substitute was dispensed.  This is equivalent to the default (null) value."/>
      </concept>
      <concept>
        <code value="T"/>
        <display value="A therapeutic substitution was dispensed."/>
      </concept>
    </include>
  </compose>
  <expansion>
    <timestamp value="2025-09-01T22:36:18.312588+10:00"/>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0167"/>
      <version value="2.9"/>
      <code value="0"/>
      <display value="No product selection indicated"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0167"/>
      <version value="2.9"/>
      <code value="1"/>
      <display value="Substitution not allowed by prescriber"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0167"/>
      <version value="2.9"/>
      <code value="2"/>
      <display value="Substitution allowed - patient requested product dispensed"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0167"/>
      <version value="2.9"/>
      <code value="3"/>
      <display value="Substitution allowed - pharmacist selected product dispensed"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0167"/>
      <version value="2.9"/>
      <code value="4"/>
      <display value="Substitution allowed - generic drug not in stock"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0167"/>
      <version value="2.9"/>
      <code value="5"/>
      <display value="Substitution allowed - brand drug dispensed as a generic"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0167"/>
      <version value="2.9"/>
      <code value="7"/>
      <display value="Substitution not allowed - brand drug mandated by law"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0167"/>
      <version value="2.9"/>
      <code value="8"/>
      <display value="Substitution allowed - generic drug not available in marketplace"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0167"/>
      <version value="2.9"/>
      <code value="G"/>
      <display value="A generic substitution was dispensed."/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0167"/>
      <version value="2.9"/>
      <code value="N"/>
      <display value="No substitute was dispensed.  This is equivalent to the default (null) value."/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0167"/>
      <version value="2.9"/>
      <code value="T"/>
      <display value="A therapeutic substitution was dispensed."/>
    </contains>
  </expansion>
</ValueSet>