A measure of distance
There SHALL be a code if there is a value and it SHALL be an expression of length. If system is present, it SHALL be UCUM.
XPath:
(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org')