STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4B R4 R3 R2

4.2.4 Using UCUM with FHIR

Vocabulary Work GroupMaturity Level: N/ABallot Status: STU 3

The Units of Measure Coding System (UCUM) is recommended for use with the Quantity data type.

4.2.4.1 Summary

SourceUCUM is made available by the Regenstrief Institute, Inc and The UCUM Organization at http://unitsofmeasure.org
SystemThe URI http://unitsofmeasure.org identifies UCUM codes
VersionWhere a version is used, it should be the standard UCUM version e.g. 1.9. There is no need to use version in the Coding data type, only in Value sets that use UCUM codes
CodeValid expressions using the case sensitive symbols
DisplayThere is no defined display; the UCUM code is used directly for the display
Filter PropertiesTwo filter properties are defined as described below

4.2.4.2 Copyright

UCUM is Copyright © 1999-2013 Regenstrief Institute, Inc. and The UCUM Organization, Indianapolis, IN. All rights reserved. See TermsOfUse for details.

4.2.4.3 UCUM Filter Properties

This section documents the property filters that can be used with the UCUM code system in value set composition statements.

4.2.4.3.1 Property filter

DescriptionRestricts the expression to a describe a particular UCUM base property
Property Nameproperty
Operations Allowed=
Values Allowed[string name of property]
CommentsRestricts expressions to any expression that is comparable to a base unit with a matching property value. Note: this does not match the property on units, only base units

4.2.4.3.2 Canonical Filter

DescriptionAllows for any expression that is comparable to the named unit
Property Namecanonical
Operations Allowed= / in
Values AllowedUCUM expression
CommentsThis allows any expression that is comparable to the given unit(s)

4.2.4.4 Implicit Value Sets

Implicit value sets are those whose specification can be predicted based on the grammar of the underlying code system, and the known structure of the URL that refers to them. There is one set of implicit value sets defined for UCUM: By Canonical Value.

If any value set resources exist with an identifier that conforms to the URL patterns specified below, the content of the resource must conform to the template provided. Profiles and other value set references are allowed to reference these value sets directly.

The value set identifier http://unitsofmeasure.org/vs is a value set that contains all UCUM codes.

4.2.4.4.1 UCUM Comparable Value Set

A value set with an identifier of "http://unitsofmeasure.org/vs/[expression]" must conform to this template, where [expression] is a valid UCUM expression:

<ValueSet xmlns="http://hl7.org/fhir">
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      [some html that identifies that this value set 
      includes all UCUM expressions that are comparable to the provided expression]
    </div>
  </text>
  <identifier value="http://unitsofmeasure.org/vs/[expression]"/>
  <version value="[optional - but recommended - UCUM version]"/>
  <name value="Ucum Expressions comparable to [expression]"/>
  <description value="Ucum Expressions comparable to [expression]"/>
  <status value="active"/>
  <date value="[optional date of UCUM release]"/>
  <compose>
    <include>
      <system value="http://unitsofmeasure.org"/>
      <filter>
        <property value="comparable"/>
        <op value="="/>
        <value value="[expression]"/>
      </filter>
    </include>
  </compose>
</ValueSet>