Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 770 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 770 Bytes

Ucum-java

Build Status

FHIR Java library providing UCUM Services

The library provides a set of services around UCUM:

  • validate a UCUM unit (and also against a particular base unit)
  • decide whether one unit can be converted/compared to another
  • translate a quantity from one unit to another
  • prepare a human readable display of a unit
  • multiply 2 quantities together

To use the library, download ucum-essence from http://unitsofmeasure.org, and then create a UCUMEssenceService:

UcumService ucumSvc = new UcumEssenceService(definitionFile);