UCUM Playground
Interactive playground for the Unified Code for Units of Measure (UCUM). Parse, convert, and validate units used in healthcare and scientific applications.
Parser
Parse and validate UCUM unit expressions
Examples:
- mg/dL
- mmol/L
- 10*6/uL
Converter
Convert between compatible units
Examples:
- 100 mg/dL → mmol/L
- 98.6 °F → °C
- 150 lb → kg
FHIR
Build FHIR Quantity objects with validation
Examples:
- Glucose: 5.5 mmol/L
- Weight: 70 kg
- BP: 120 mm[Hg]
Operations
Perform arithmetic operations on quantities
Examples:
- Addition
- Subtraction
- Comparison
About UCUM
The Unified Code for Units of Measure (UCUM) is a code system intended to include all units of measures being contemporarily used in international science, engineering, and business. It is used extensively in healthcare standards like HL7 FHIR for representing quantities with units.