Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example ValueSet/distance-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 Distance

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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="distance-units"/> 
  <meta> 
    <lastUpdated value="2023-03-26T15:21:02.749+11:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <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> 
            </tr> 
            <tr> 
              <td> nm</td> 
              <td> nanometers</td> 
            </tr> 
            <tr> 
              <td> um</td> 
              <td> micrometers</td> 
            </tr> 
            <tr> 
              <td> mm</td> 
              <td> millimeters</td> 
            </tr> 
            <tr> 
              <td> m</td> 
              <td> meters</td> 
            </tr> 
            <tr> 
              <td> km</td> 
              <td> kilometers</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="trial-use"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="5"/> 
  </extension> 
  <url value="http://hl7.org/fhir/ValueSet/distance-units"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.3.62"/> 
  </identifier> 
  <version value="5.0.0"/> 
  <name value="CommonUCUMCodesForDistance"/> 
  <title value="Common UCUM Codes for Distance"/> 
  <status value="draft"/> 
  <experimental value="true"/> 
  <date value="2023-03-26T15:21:02+11:00"/> 
  <publisher value="FHIR Project team"/> 
  <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 distance - that it is, all commonly used units which have the same
   canonical unit as 'm' (meter)"/> 
  <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="nm"/> 
        <display value="nanometers"/> 
      </concept> 
      <concept> 
        <code value="um"/> 
        <display value="micrometers"/> 
      </concept> 
      <concept> 
        <code value="mm"/> 
        <display value="millimeters"/> 
      </concept> 
      <concept> 
        <code value="m"/> 
        <display value="meters"/> 
      </concept> 
      <concept> 
        <code value="km"/> 
        <display value="kilometers"/> 
      </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.