Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fhir/ucum-java
FHIR Java library providing UCUM Services
https://github.com/fhir/ucum-java
Last synced: 6 days ago
JSON representation
FHIR Java library providing UCUM Services
- Host: GitHub
- URL: https://github.com/fhir/ucum-java
- Owner: FHIR
- License: other
- Created: 2017-08-04T21:20:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-12T15:06:45.000Z (about 1 month ago)
- Last Synced: 2025-01-05T20:07:20.669Z (6 days ago)
- Language: Java
- Size: 195 KB
- Stars: 24
- Watchers: 14
- Forks: 15
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Ucum-java
[![Build Status](https://dev.azure.com/fhir-pipelines/ucum-java/_apis/build/status%2FMaster%20Branch%20Pipeline?branchName=master)](https://dev.azure.com/fhir-pipelines/ucum-java/_build/latest?definitionId=51&branchName=master)
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 togetherTo use the library, download ucum-essence from http://unitsofmeasure.org, and then create a UCUMEssenceService:
UcumService ucumSvc = new UcumEssenceService(definitionFile);