FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example ValueSet/duration-units (XML)

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

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

Definition for Value SetCommon UCUM Codes for Duration

<?xml version="1.0" encoding="UTF-8"?>

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="duration-units"/> 
  <meta> 
    <lastUpdated value="2024-12-12T18:56:29.677+00:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <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-US"> </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> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="normative"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
    <valueCode value="4.0.0"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="5"/> 
  </extension> 
  <url value="http://hl7.org/fhir/ValueSet/duration-units"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.3.61"/> 
  </identifier> 
  <version value="6.0.0-ballot2"/> 
  <name value="CommonUCUMCodesForDuration"/> 
  <title value="Common UCUM Codes for Duration"/> 
  <status value="active"/> 
  <experimental value="false"/> 
  <date value="2024-12-12T18:56:29+00:00"/> 
  <publisher value="HL7 International / FHIR Infrastructure"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/fiwg"/> 
    </telecom> 
  </contact> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://hl7.org/fhir"/> 
    </telecom> 
  </contact> 
  <description value="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 value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <copyright value="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 value="http://unitsofmeasure.org"/> 
      <concept> 
        <code value="ms"/> 
        <display value="milliseconds"/> 
      </concept> 
      <concept> 
        <code value="s"/> 
        <display value="seconds"/> 
      </concept> 
      <concept> 
        <code value="min"/> 
        <display value="minutes"/> 
      </concept> 
      <concept> 
        <code value="h"/> 
        <display value="hours"/> 
      </concept> 
      <concept> 
        <code value="d"/> 
        <display value="days"/> 
      </concept> 
      <concept> 
        <code value="wk"/> 
        <display value="weeks"/> 
      </concept> 
      <concept> 
        <code value="mo"/> 
        <display value="months"/> 
      </concept> 
      <concept> 
        <code value="a"/> 
        <display value="years"/> 
      </concept> 
    </include> 
  </compose> 
</ValueSet> 

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.