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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="R2-list-order-for-R4"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet R2-list-order-for-R4</b></p><a name="R2-list-order-for-R4"> </a><a name="hcR2-list-order-for-R4"> </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="R2-list-order-for-R4-http://hl7.org/fhir/list-order-user"> </a>  <a href="CodeSystem-list-order.html#list-order-user">user</a></td><td>http://hl7.org/fhir/list-order</td><td>Sorted by User</td><td>The list was sorted by a user. The criteria the user used are not specified.</td></tr><tr><td style="white-space:nowrap"><a name="R2-list-order-for-R4-http://hl7.org/fhir/list-order-system"> </a>  <a href="CodeSystem-list-order.html#list-order-system">system</a></td><td>http://hl7.org/fhir/list-order</td><td>Sorted by System</td><td>The list was sorted by the system. The criteria the user used are not specified; define additional codes to specify a particular order (or use other defined codes).</td></tr><tr><td style="white-space:nowrap"><a name="R2-list-order-for-R4-http://hl7.org/fhir/list-order-event-date"> </a>  <a href="CodeSystem-list-order.html#list-order-event-date">event-date</a></td><td>http://hl7.org/fhir/list-order</td><td>Sorted by Event Date</td><td>The list is sorted by the data of the event. This can be used when the list has items which are dates with past or future events.</td></tr><tr><td style="white-space:nowrap"><a name="R2-list-order-for-R4-http://hl7.org/fhir/list-order-entry-date"> </a>  <a href="CodeSystem-list-order.html#list-order-entry-date">entry-date</a></td><td>http://hl7.org/fhir/list-order</td><td>Sorted by Item Date</td><td>The list is sorted by the date the item was added to the list. Note that the date added to the list is not explicit in the list itself.</td></tr><tr><td style="white-space:nowrap"><a name="R2-list-order-for-R4-http://hl7.org/fhir/list-order-priority"> </a>  <a href="CodeSystem-list-order.html#list-order-priority">priority</a></td><td>http://hl7.org/fhir/list-order</td><td>Sorted by Priority</td><td>The list is sorted by priority. The exact method in which priority has been determined is not specified.</td></tr><tr><td style="white-space:nowrap"><a name="R2-list-order-for-R4-http://hl7.org/fhir/list-order-alphabetic"> </a>  <a href="CodeSystem-list-order.html#list-order-alphabetic">alphabetic</a></td><td>http://hl7.org/fhir/list-order</td><td>Sorted Alphabetically</td><td>The list is sorted alphabetically by an unspecified property of the items in the list.</td></tr><tr><td style="white-space:nowrap"><a name="R2-list-order-for-R4-http://hl7.org/fhir/list-order-category"> </a>  <a href="CodeSystem-list-order.html#list-order-category">category</a></td><td>http://hl7.org/fhir/list-order</td><td>Sorted by Category</td><td>The list is sorted categorically by an unspecified property of the items in the list.</td></tr><tr><td style="white-space:nowrap"><a name="R2-list-order-for-R4-http://hl7.org/fhir/list-order-patient"> </a>  <a href="CodeSystem-list-order.html#list-order-patient">patient</a></td><td>http://hl7.org/fhir/list-order</td><td>Sorted by Patient</td><td>The list is sorted by patient, with items for each patient grouped together.</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-r2.r4"/>
    </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/1.0/ImplementationGuide/hl7.fhir.uv.xver-r2.r4"/>
      </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/1.0/ImplementationGuide/hl7.fhir.uv.xver-r2.r4"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/1.0/ValueSet/R2-list-order-for-R4"/>
  <version value="0.0.1-snapshot-2"/>
  <name value="R2_list_order_for_R4"/>
  <title value="Cross-version VS for R2.List Order Codes for use in FHIR R4"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2025-09-01T22:35:39.363932+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://hl7.org/fhir/ValueSet/list-order|1.0.2 for use in FHIR R4. Concepts not present here have direct `equivalent` mappings crossing all versions from R2 to R4."/>
  <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://hl7.org/fhir/list-order"/>
      <version value="1.0.2"/>
      <concept>
        <code value="user"/>
        <display value="Sorted by User"/>
      </concept>
      <concept>
        <code value="system"/>
        <display value="Sorted by System"/>
      </concept>
      <concept>
        <code value="event-date"/>
        <display value="Sorted by Event Date"/>
      </concept>
      <concept>
        <code value="entry-date"/>
        <display value="Sorted by Item Date"/>
      </concept>
      <concept>
        <code value="priority"/>
        <display value="Sorted by Priority"/>
      </concept>
      <concept>
        <code value="alphabetic"/>
        <display value="Sorted Alphabetically"/>
      </concept>
      <concept>
        <code value="category"/>
        <display value="Sorted by Category"/>
      </concept>
      <concept>
        <code value="patient"/>
        <display value="Sorted by Patient"/>
      </concept>
    </include>
  </compose>
  <expansion>
    <timestamp value="2025-09-01T22:35:39.363921+10:00"/>
    <contains>
      <system value="http://hl7.org/fhir/list-order"/>
      <version value="1.0.2"/>
      <code value="user"/>
      <display value="Sorted by User"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/list-order"/>
      <version value="1.0.2"/>
      <code value="system"/>
      <display value="Sorted by System"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/list-order"/>
      <version value="1.0.2"/>
      <code value="event-date"/>
      <display value="Sorted by Event Date"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/list-order"/>
      <version value="1.0.2"/>
      <code value="entry-date"/>
      <display value="Sorted by Item Date"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/list-order"/>
      <version value="1.0.2"/>
      <code value="priority"/>
      <display value="Sorted by Priority"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/list-order"/>
      <version value="1.0.2"/>
      <code value="alphabetic"/>
      <display value="Sorted Alphabetically"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/list-order"/>
      <version value="1.0.2"/>
      <code value="category"/>
      <display value="Sorted by Category"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/list-order"/>
      <version value="1.0.2"/>
      <code value="patient"/>
      <display value="Sorted by Patient"/>
    </contains>
  </expansion>
</ValueSet>