This page is part of the FHIR Specification (v3.3.0: R4 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
FHIR Infrastructure Work Group | Maturity Level: N/A | Ballot Status: Informative |
Definition for Code System SortDirection
<CodeSystem xmlns="http://hl7.org/fhir"> <id value="sort-direction"/> <meta> <lastUpdated value="2018-04-03T12:05:46.262+10:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <h2> SortDirection</h2> <div> <p> The possible sort directions, ascending or descending</p> </div> <p> This code system http://hl7.org/fhir/sort-direction 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="fhir"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status"> <valueString value="Draft"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"> <valueInteger value="0"/> </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.1.980"/> </identifier> <version value="3.3.0"/> <name value="SortDirection"/> <status value="draft"/> <experimental value="false"/> <date value="2018-04-03T12:05:46+10:00"/> <publisher value="HL7 (FHIR Project)"/> <contact> <telecom> <system value="url"/> <value value="http://hl7.org/fhir"/> </telecom> <telecom> <system value="email"/> <value value="fhir@lists.hl7.org"/> </telecom> </contact> <description value="The possible sort directions, ascending or descending"/> <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.