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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="R5-v2-0359-for-R4B"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet R5-v2-0359-for-R4B</b></p><a name="R5-v2-0359-for-R4B"> </a><a name="hcR5-v2-0359-for-R4B"> </a><p>This value set expansion contains 8 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><td><b>Definition</b></td></tr><tr><td style="white-space:nowrap"><a name="R5-v2-0359-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0359-0"> </a>  <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v2-0359.html#v2-0359-0">0</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0359</td><td>Not included in diagnosis ranking</td><td>Not included in diagnosis ranking</td></tr><tr><td style="white-space:nowrap"><a name="R5-v2-0359-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0359-1"> </a>  <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v2-0359.html#v2-0359-1">1</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0359</td><td>The primary diagnosis</td><td>The primary diagnosis</td></tr><tr><td style="white-space:nowrap"><a name="R5-v2-0359-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0359-2|20and|20higher"> </a>  <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v2-0359.html#v2-0359-2andhigher">2 and higher</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0359</td><td>for ranked secondary diagnoses</td><td>for ranked secondary diagnoses</td></tr><tr><td style="white-space:nowrap"><a name="R5-v2-0359-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0359-2|20..."> </a>  <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v2-0359.html#v2-0359-2.46.46.46">2 ...</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0359</td><td>For ranked secondary diagnoses</td><td>For ranked secondary diagnoses</td></tr><tr><td style="white-space:nowrap"><a name="R5-v2-0359-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0359-2"> </a>  <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v2-0359.html#v2-0359-2">2</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0359</td><td>For  secondary diagnosis</td><td>For  secondary diagnosis</td></tr><tr><td style="white-space:nowrap"><a name="R5-v2-0359-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0359-..."> </a>  <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v2-0359.html#v2-0359-.46.46.46">...</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0359</td><td>No suggested values defined</td><td>No suggested values defined</td></tr><tr><td style="white-space:nowrap"><a name="R5-v2-0359-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0359-3"> </a>  <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v2-0359.html#v2-0359-3">3</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0359</td><td>For tertiary diagnosis</td><td>For tertiary diagnosis</td></tr><tr><td style="white-space:nowrap"><a name="R5-v2-0359-for-R4B-http://terminology.hl7.org/CodeSystem/v2-0359-4"> </a>  <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v2-0359.html#v2-0359-4">4</a></td><td>http://terminology.hl7.org/CodeSystem/v2-0359</td><td>For quaternary diagnosis</td><td>For quaternary diagnosis</td></tr></table></div>
  </text>
  <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.r4b"/>
    </extension>
    <extension url="version">
      <valueString value="0.0.1-snapshot-2"/>
    </extension>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical value="http://hl7.org/fhir/5.0/ImplementationGuide/hl7.fhir.uv.xver-r5.r4b"/>
      </extension>
    </valueInteger>
  </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/5.0/ImplementationGuide/hl7.fhir.uv.xver-r5.r4b"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/5.0/ValueSet/R5-v2-0359-for-R4B"/>
  <version value="0.0.1-snapshot-2"/>
  <name value="R5_v2_0359_for_R4B"/>
  <title value="Cross-version VS for R5.Hl7VSDiagnosisPriority for use in FHIR R4B"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2025-09-01T22:37:04.226035+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-0359|2.0.0 for use in FHIR R4B. Concepts not present here have direct `equivalent` mappings crossing all versions from R5 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-0359"/>
      <version value="2.1.0"/>
      <concept>
        <code value="0"/>
        <display value="Not included in diagnosis ranking"/>
      </concept>
      <concept>
        <code value="1"/>
        <display value="The primary diagnosis"/>
      </concept>
      <concept>
        <code value="2 and higher"/>
        <display value="for ranked secondary diagnoses"/>
      </concept>
      <concept>
        <code value="2 ..."/>
        <display value="For ranked secondary diagnoses"/>
      </concept>
      <concept>
        <code value="2"/>
        <display value="For  secondary diagnosis"/>
      </concept>
      <concept>
        <code value="..."/>
        <display value="No suggested values defined"/>
      </concept>
      <concept>
        <code value="3"/>
        <display value="For tertiary diagnosis"/>
      </concept>
      <concept>
        <code value="4"/>
        <display value="For quaternary diagnosis"/>
      </concept>
    </include>
  </compose>
  <expansion>
    <timestamp value="2025-09-01T22:37:04.226036+10:00"/>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0359"/>
      <version value="2.1.0"/>
      <code value="0"/>
      <display value="Not included in diagnosis ranking"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0359"/>
      <version value="2.1.0"/>
      <code value="1"/>
      <display value="The primary diagnosis"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0359"/>
      <version value="2.1.0"/>
      <code value="2 and higher"/>
      <display value="for ranked secondary diagnoses"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0359"/>
      <version value="2.1.0"/>
      <code value="2 ..."/>
      <display value="For ranked secondary diagnoses"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0359"/>
      <version value="2.1.0"/>
      <code value="2"/>
      <display value="For  secondary diagnosis"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0359"/>
      <version value="2.1.0"/>
      <code value="..."/>
      <display value="No suggested values defined"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0359"/>
      <version value="2.1.0"/>
      <code value="3"/>
      <display value="For tertiary diagnosis"/>
    </contains>
    <contains>
      <system value="http://terminology.hl7.org/CodeSystem/v2-0359"/>
      <version value="2.1.0"/>
      <code value="4"/>
      <display value="For quaternary diagnosis"/>
    </contains>
  </expansion>
</ValueSet>