public class Quantity extends Type implements ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
Quantity.QuantityComparator |
static class |
Quantity.QuantityComparatorEnumFactory |
| Constructor and Description |
|---|
Quantity() |
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getId, getIdElement, hasExtension, hasId, hasIdElement, setId, setIdElementchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNpublic DecimalType getValueElement()
value (The value of the measured amount. The value includes an implicit precision in the presentation of the value.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the valuepublic boolean hasValueElement()
public boolean hasValue()
public Quantity setValueElement(DecimalType value)
value - value (The value of the measured amount. The value includes an implicit precision in the presentation of the value.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the valuepublic BigDecimal getValue()
public Quantity setValue(BigDecimal value)
value - The value of the measured amount. The value includes an implicit precision in the presentation of the value.public Enumeration<Quantity.QuantityComparator> getComparatorElement()
comparator (How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.). This is the underlying object with id, value and extensions. The accessor "getComparator" gives direct access to the valuepublic boolean hasComparatorElement()
public boolean hasComparator()
public Quantity setComparatorElement(Enumeration<Quantity.QuantityComparator> value)
value - comparator (How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.). This is the underlying object with id, value and extensions. The accessor "getComparator" gives direct access to the valuepublic Quantity.QuantityComparator getComparator()
public Quantity setComparator(Quantity.QuantityComparator value)
value - How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.public StringType getUnitElement()
unit (A human-readable form of the unit.). This is the underlying object with id, value and extensions. The accessor "getUnit" gives direct access to the valuepublic boolean hasUnitElement()
public boolean hasUnit()
public Quantity setUnitElement(StringType value)
value - unit (A human-readable form of the unit.). This is the underlying object with id, value and extensions. The accessor "getUnit" gives direct access to the valuepublic String getUnit()
public Quantity setUnit(String value)
value - A human-readable form of the unit.public UriType getSystemElement()
system (The identification of the system that provides the coded form of the unit.). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the valuepublic boolean hasSystemElement()
public boolean hasSystem()
public Quantity setSystemElement(UriType value)
value - system (The identification of the system that provides the coded form of the unit.). This is the underlying object with id, value and extensions. The accessor "getSystem" gives direct access to the valuepublic String getSystem()
public Quantity setSystem(String value)
value - The identification of the system that provides the coded form of the unit.public CodeType getCodeElement()
code (A computer processable form of the unit in some unit representation system.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the valuepublic boolean hasCodeElement()
public boolean hasCode()
public Quantity setCodeElement(CodeType value)
value - code (A computer processable form of the unit in some unit representation system.). This is the underlying object with id, value and extensions. The accessor "getCode" gives direct access to the valuepublic String getCode()
public Quantity setCode(String value)
value - A computer processable form of the unit in some unit representation system.public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2015 University Health Network. All rights reserved.