Class ConvertQuantity

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    Direct Known Subclasses:
    ConvertQuantityEvaluator

    public class ConvertQuantity
    extends BinaryExpression
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    The ConvertQuantity operator converts a Quantity to an equivalent Quantity with the given unit. If the unit of the input quantity can be converted to the target unit, the result is an equivalent Quantity with the target unit. Otherwise, the result is null. Note that implementations are not required to support quantity conversion. Implementations that do support unit conversion shall do so according to the conversion specified by UCUM. Implementations that do not support unit conversion shall throw an error if an unsupported unit conversion is requested with this operation. If either argument is null, the result is null.

    Java class for ConvertQuantity complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ConvertQuantity">
       <complexContent>
         <extension base="{urn:hl7-org:elm:r1}BinaryExpression">
         </extension>
       </complexContent>
     </complexType>