This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Example CodeSystem/sort-direction (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Code SystemSortDirection
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="sort-direction"/>
<meta>
<lastUpdated value="2024-10-14T14:31:19.573+00:00"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p class="res-header-id">
<b> Generated Narrative: CodeSystem sort-direction</b>
</p>
<a name="sort-direction"> </a>
<a name="hcsort-direction"> </a>
<a name="sort-direction-en-US"> </a>
<p> This case-sensitive code system
<code> http://hl7.org/fhir/sort-direction</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">ascending
<a name="sort-direction-ascending"> </a>
</td>
<td> Ascending</td>
<td> Sort by the value ascending, so that lower values appear first.</td>
</tr>
<tr>
<td style="white-space:nowrap">descending
<a name="sort-direction-descending"> </a>
</td>
<td> Descending</td>
<td> Sort by the value descending, so that lower values appear last.</td>
</tr>
</table>
</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="cds"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="trial-use"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="5"/>
</extension>
<url value="http://hl7.org/fhir/sort-direction"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.4.980"/>
</identifier>
<version value="6.0.0-ballot2"/>
<name value="SortDirection"/>
<title value="SortDirection"/>
<status value="draft"/>
<experimental value="false"/>
<date value="2024-10-14T14:31:19+00:00"/>
<publisher value="HL7 International / Clinical Decision Support"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
<telecom>
<system value="email"/>
<value value="fhir@lists.hl7.org"/>
</telecom>
</contact>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/dss"/>
</telecom>
</contact>
<description value="The possible sort directions, ascending or descending."/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
<display value="World"/>
</coding>
</jurisdiction>
<caseSensitive value="true"/>
<valueSet value="http://hl7.org/fhir/ValueSet/sort-direction"/>
<content value="complete"/>
<concept>
<code value="ascending"/>
<display value="Ascending"/>
<definition value="Sort by the value ascending, so that lower values appear first."/>
</concept>
<concept>
<code value="descending"/>
<display value="Descending"/>
<definition value="Sort by the value descending, so that lower values appear last."/>
</concept>
</CodeSystem>
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.