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)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

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"/> 
    <lastUpdated value="2022-09-28T21:45:00.467+00:00"/> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> This code system 
        <code> http://hl7.org/fhir/sort-direction</code>  defines the following codes:
      <table class="codes">
          <td style="white-space:nowrap">
            <b> Code</b> 
            <b> Display</b> 
            <b> Definition</b> 
          <td style="white-space:nowrap">ascending
            <a name="sort-direction-ascending"> </a> 
          <td> Ascending</td> 
          <td> Sort by the value ascending, so that lower values appear first.</td> 
          <td style="white-space:nowrap">descending
            <a name="sort-direction-descending"> </a> 
          <td> Descending</td> 
          <td> Sort by the value descending, so that lower values appear last.</td> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use"/> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="5"/> 
  <url value="http://hl7.org/fhir/sort-direction"/> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.4.980"/> 
  <version value="5.0.0-cibuild"/> 
  <name value="SortDirection"/> 
  <title value="SortDirection"/> 
  <status value="draft"/> 
  <experimental value="false"/> 
  <date value="2022-09-28T21:45:00+00:00"/> 
  <publisher value="HL7 (FHIR Project)"/> 
      <system value="url"/> 
      <value value="http://hl7.org/fhir"/> 
      <system value="email"/> 
      <value value="fhir@lists.hl7.org"/> 
  <description value="The possible sort directions, ascending or descending."/> 
  <caseSensitive value="true"/> 
  <valueSet value="http://hl7.org/fhir/ValueSet/sort-direction"/> 
  <content value="complete"/> 
    <code value="ascending"/> 
    <display value="Ascending"/> 
    <definition value="Sort by the value ascending, so that lower values appear first."/> 
    <code value="descending"/> 
    <display value="Descending"/> 
    <definition value="Sort by the value descending, so that lower values appear last."/> 

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.