R6 Ballot (2nd Draft)

Publish-box (todo)

Example CodeSystem/sort-direction (JSON)

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: Informative

Raw JSON (canonical form + also see JSON Format Specification)

Definition for Code SystemSortDirection

{
  "resourceType" : "CodeSystem",
  "id" : "sort-direction",
  "meta" : {
    "lastUpdated" : "2024-08-12T16:52:12.437+08:00"
  },
  "text" : {
    "status" : "generated",
    "div" : "<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-AU\"> </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>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cds"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 5
  }],
  "url" : "http://hl7.org/fhir/sort-direction",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.4.980"
  }],
  "version" : "6.0.0-ballot2",
  "name" : "SortDirection",
  "title" : "SortDirection",
  "status" : "draft",
  "experimental" : false,
  "date" : "2024-08-12T16:52:12+08:00",
  "publisher" : "HL7 International / Clinical Decision Support",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    },
    {
      "system" : "email",
      "value" : "fhir@lists.hl7.org"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/dss"
    }]
  }],
  "description" : "The possible sort directions, ascending or descending.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/sort-direction",
  "content" : "complete",
  "concept" : [{
    "code" : "ascending",
    "display" : "Ascending",
    "definition" : "Sort by the value ascending, so that lower values appear first."
  },
  {
    "code" : "descending",
    "display" : "Descending",
    "definition" : "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.