R6 Ballot (2nd Draft)

Publish-box (todo)

Example ValueSet/duration-units (JSON)

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

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

Definition for Value SetCommon UCUM Codes for Duration

{
  "resourceType" : "ValueSet",
  "id" : "duration-units",
  "meta" : {
    "lastUpdated" : "2024-08-12T16:52:12.437+08:00",
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ValueSet duration-units</b></p><a name=\"duration-units\"> </a><a name=\"hcduration-units\"> </a><a name=\"duration-units-en-AU\"> </a><ul><li>Include these codes as defined in <a href=\"http://unitsofmeasure.org\"><code>http://unitsofmeasure.org</code></a><table class=\"none\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td></tr><tr><td>ms</td><td>milliseconds</td></tr><tr><td>s</td><td>seconds</td></tr><tr><td>min</td><td>minutes</td></tr><tr><td>h</td><td>hours</td></tr><tr><td>d</td><td>days</td></tr><tr><td>wk</td><td>weeks</td></tr><tr><td>mo</td><td>months</td></tr><tr><td>a</td><td>years</td></tr></table></li></ul></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "normative"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
    "valueCode" : "4.0.0"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 5
  }],
  "url" : "http://hl7.org/fhir/ValueSet/duration-units",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.3.61"
  }],
  "version" : "6.0.0-ballot2",
  "name" : "CommonUCUMCodesForDuration",
  "title" : "Common UCUM Codes for Duration",
  "status" : "active",
  "experimental" : false,
  "date" : "2024-08-12T16:52:12+08:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  }],
  "description" : "Unified Code for Units of Measure (UCUM). This value set includes all common UCUM codes used for Duration - that it is, all commonly used units which have the same canonical unit as 'a' (year)",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "copyright" : "The UCUM codes, UCUM table (regardless of format), and UCUM Specification are copyright © 1999-2009, Regenstrief Institute, Inc. and the Unified Codes for Units of Measures (UCUM) Organization. All rights reserved.",
  "compose" : {
    "include" : [{
      "system" : "http://unitsofmeasure.org",
      "concept" : [{
        "code" : "ms",
        "display" : "milliseconds"
      },
      {
        "code" : "s",
        "display" : "seconds"
      },
      {
        "code" : "min",
        "display" : "minutes"
      },
      {
        "code" : "h",
        "display" : "hours"
      },
      {
        "code" : "d",
        "display" : "days"
      },
      {
        "code" : "wk",
        "display" : "weeks"
      },
      {
        "code" : "mo",
        "display" : "months"
      },
      {
        "code" : "a",
        "display" : "years"
      }]
    }]
  }
}

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.