Class Quantity

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

public class Quantity extends Expression implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
The Quantity type defines a clinical quantity. For example, the quantity 10 days or 30 mmHg. The value is a decimal, while the unit is expected to be a valid UCUM unit or calendar duration keyword, singular or plural.

Java class for Quantity complex type.

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

 <complexType name="Quantity">
   <complexContent>
     <extension base="{urn:hl7-org:elm:r1}Expression">
       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" />
       <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Quantity

      public Quantity()
  • Method Details