R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example ValueSet/units-of-time (XML)

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

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

Definition for Value SetUnitsOfTime

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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="units-of-time"/> 
  <meta> 
    <lastUpdated value="2023-12-18T15:12:07.602+11:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/> 
  </meta> 
  <text> 
    <status value="extensions"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <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> 
              <td> 
                <b> Definition</b> 
              </td> 
              <td> 
                <b> 中文 (Chinese, zh)</b> 
              </td> 
            </tr> 
            <tr> 
              <td> s</td> 
              <td> second</td> 
              <td> second</td> 
              <td> </td> 
            </tr> 
            <tr> 
              <td> min</td> 
              <td> minute</td> 
              <td> minute</td> 
              <td> 分钟</td> 
            </tr> 
            <tr> 
              <td> h</td> 
              <td> hour</td> 
              <td> hour</td> 
              <td> 小时</td> 
            </tr> 
            <tr> 
              <td> d</td> 
              <td> day</td> 
              <td> day</td> 
              <td> </td> 
            </tr> 
            <tr> 
              <td> wk</td> 
              <td> week</td> 
              <td> week</td> 
              <td> 星期</td> 
            </tr> 
            <tr> 
              <td> mo</td> 
              <td> month</td> 
              <td> month - Normal practice is to use the 'mo' code as a calendar month when calculating
                 the next occurrence.</td> 
              <td> </td> 
            </tr> 
            <tr> 
              <td> a</td> 
              <td> year</td> 
              <td> year</td> 
              <td> </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/units-of-time"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.3.77"/> 
  </identifier> 
  <version value="6.0.0-ballot1"/> 
  <name value="UnitsOfTime"/> 
  <title value="UnitsOfTime"/> 
  <status value="active"/> 
  <experimental value="false"/> 
  <date value="2023-12-18T15:12:07+11:00"/> 
  <publisher value="HL7 International / FHIR Infrastructure"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://hl7.org/fhir"/> 
    </telecom> 
    <telecom> 
      <system value="email"/> 
      <value value="fhir@lists.hl7.org"/> 
    </telecom> 
  </contact> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/fiwg"/> 
    </telecom> 
  </contact> 
  <description value="A unit of time (units from UCUM)."/> 
  <jurisdiction> 
    <coding> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <copyright value="These codes are excerpted from UCUM (THE UNIFIED CODE FOR UNITS OF MEASURE). UCUM
   is Copyright © 1989-2013 Regenstrief Institute, Inc. and The UCUM Organization,
   Indianapolis, IN. All rights reserved. See http://unitsofmeasure.org/trac//wiki/TermsOfUse
   for details."/> 
  <compose> 
    <include> 
      <system value="http://unitsofmeasure.org"/> 
      <concept> 
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="second"/> 
        </extension> 
        <code value="s"/> 
        <display value="second"/> 
        <designation> 
          <language value="zh"/> 
          <value value=""/> 
        </designation> 
      </concept> 
      <concept> 
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="minute"/> 
        </extension> 
        <code value="min"/> 
        <display value="minute"/> 
        <designation> 
          <language value="zh"/> 
          <value value="分钟"/> 
        </designation> 
      </concept> 
      <concept> 
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="hour"/> 
        </extension> 
        <code value="h"/> 
        <display value="hour"/> 
        <designation> 
          <language value="zh"/> 
          <value value="小时"/> 
        </designation> 
      </concept> 
      <concept> 
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="day"/> 
        </extension> 
        <code value="d"/> 
        <display value="day"/> 
        <designation> 
          <language value="zh"/> 
          <value value=""/> 
        </designation> 
      </concept> 
      <concept> 
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="week"/> 
        </extension> 
        <code value="wk"/> 
        <display value="week"/> 
        <designation> 
          <language value="zh"/> 
          <value value="星期"/> 
        </designation> 
      </concept> 
      <concept> 
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="month - Normal practice is to use the 'mo' code as a calendar month when calculating
           the next occurrence."/> 
        </extension> 
        <code value="mo"/> 
        <display value="month"/> 
        <designation> 
          <language value="zh"/> 
          <value value=""/> 
        </designation> 
      </concept> 
      <concept> 
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="year"/> 
        </extension> 
        <code value="a"/> 
        <display value="year"/> 
        <designation> 
          <language value="zh"/> 
          <value value=""/> 
        </designation> 
      </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.