ucumate: A Java Library for Units of Measure
Infinite Science GmbH · 20.01.2026
DOI: 10.18416/scp.2026.2555 ↗Kurz gefasst
Fachartikel in der Zeitschrift Infinite Science GmbH, erschienen am 20.01.2026. Verfasst von Felix Naumann und 2 weiteren Autor:innen.
Abstract (Originalsprache)
Healthcare informatics relies on standards for interoperability. Fast Healthcare Interoperability Resources (FHIR) is the standard for data exchange and it recommends the usage of the Unified Code for Units ofMeasure (UCUM) standard for representing units of quantities. Yet, existing parsing libraries suffer from incomplete edge case handling and performance limitations, creating reliability issues for production applications. This work developed ucumate, a standalone modern Java UCUM library, integrated into the terminology server Ontoserver. The implementation employed ANTLR4 for grammar-based parsing, a data-oriented programming paradigm for type safety, and comprehensive testing against both standard and custom test suites covering previously unhandled edge cases. The resulting library demonstrates 40x faster canonicalization and conversion operations compared to existing solutions, achieves full compliance withUCUMspecifications, and successfully integrates withOntoserver’s terminology processing pipeline. These improvements establish a robust foundation for UCUM processing in production healthcare environments.
Schlagwörter
Zitieren
APA
Naumann, F., Wiedekopf, J., & Lawley, M. (2026). ucumate: A Java Library for Units of Measure. Infinite Science GmbH. https://doi.org/10.18416/scp.2026.2555
Vancouver
Naumann F, Wiedekopf J, Lawley M. ucumate: A Java Library for Units of Measure. Infinite Science GmbH. 2026. doi:10.18416/scp.2026.2555
BibTeX
@article{Naumann2026,
author = {Naumann, Felix and Wiedekopf, Joshua and Lawley, Michael},
title = {ucumate: A Java Library for Units of Measure},
journal = {Infinite Science GmbH},
year = {2026},
doi = {10.18416/scp.2026.2555}
}
EUVIMED