public class RatioDt extends BaseIdentifiableElement implements ICompositeDatatype
Definition: A relationship of two Quantity values - expressed as a numerator and a denominator.
Requirements: Need to able to capture ratios for some measurements (titers) and some rates (costs)
| Constructor and Description |
|---|
RatioDt()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
QuantityDt |
getDenominator()
Gets the value(s) for denominator (Denominator value).
|
QuantityDt |
getNumerator()
Gets the value(s) for numerator (Numerator value).
|
boolean |
isEmpty() |
RatioDt |
setDenominator(double theValue)
Sets the value for denominator (Denominator value)
|
RatioDt |
setDenominator(long theValue)
Sets the value for denominator (Denominator value)
|
RatioDt |
setDenominator(QuantityCompararatorEnum theComparator,
double theValue,
String theUnits)
Sets the value for denominator (Denominator value)
|
RatioDt |
setDenominator(QuantityCompararatorEnum theComparator,
double theValue,
String theSystem,
String theUnits)
Sets the value for denominator (Denominator value)
|
RatioDt |
setDenominator(QuantityCompararatorEnum theComparator,
long theValue,
String theUnits)
Sets the value for denominator (Denominator value)
|
RatioDt |
setDenominator(QuantityCompararatorEnum theComparator,
long theValue,
String theSystem,
String theUnits)
Sets the value for denominator (Denominator value)
|
RatioDt |
setDenominator(QuantityDt theValue)
Sets the value(s) for denominator (Denominator value)
|
RatioDt |
setNumerator(double theValue)
Sets the value for numerator (Numerator value)
|
RatioDt |
setNumerator(long theValue)
Sets the value for numerator (Numerator value)
|
RatioDt |
setNumerator(QuantityCompararatorEnum theComparator,
double theValue,
String theUnits)
Sets the value for numerator (Numerator value)
|
RatioDt |
setNumerator(QuantityCompararatorEnum theComparator,
double theValue,
String theSystem,
String theUnits)
Sets the value for numerator (Numerator value)
|
RatioDt |
setNumerator(QuantityCompararatorEnum theComparator,
long theValue,
String theUnits)
Sets the value for numerator (Numerator value)
|
RatioDt |
setNumerator(QuantityCompararatorEnum theComparator,
long theValue,
String theSystem,
String theUnits)
Sets the value for numerator (Numerator value)
|
RatioDt |
setNumerator(QuantityDt theValue)
Sets the value(s) for numerator (Numerator value)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic QuantityDt getNumerator()
null.
Definition: The value of the numerator
public RatioDt setNumerator(QuantityDt theValue)
Definition: The value of the numerator
public RatioDt setNumerator(QuantityCompararatorEnum theComparator, double theValue, String theUnits)
Definition: The value of the numerator
public RatioDt setNumerator(QuantityCompararatorEnum theComparator, long theValue, String theUnits)
Definition: The value of the numerator
public RatioDt setNumerator(QuantityCompararatorEnum theComparator, double theValue, String theSystem, String theUnits)
Definition: The value of the numerator
public RatioDt setNumerator(QuantityCompararatorEnum theComparator, long theValue, String theSystem, String theUnits)
Definition: The value of the numerator
public RatioDt setNumerator(double theValue)
Definition: The value of the numerator
public RatioDt setNumerator(long theValue)
Definition: The value of the numerator
public QuantityDt getDenominator()
null.
Definition: The value of the denominator
public RatioDt setDenominator(QuantityDt theValue)
Definition: The value of the denominator
public RatioDt setDenominator(QuantityCompararatorEnum theComparator, double theValue, String theUnits)
Definition: The value of the denominator
public RatioDt setDenominator(QuantityCompararatorEnum theComparator, long theValue, String theUnits)
Definition: The value of the denominator
public RatioDt setDenominator(QuantityCompararatorEnum theComparator, double theValue, String theSystem, String theUnits)
Definition: The value of the denominator
public RatioDt setDenominator(QuantityCompararatorEnum theComparator, long theValue, String theSystem, String theUnits)
Definition: The value of the denominator
public RatioDt setDenominator(double theValue)
Definition: The value of the denominator
public RatioDt setDenominator(long theValue)
Definition: The value of the denominator
Copyright © 2014 University Health Network. All rights reserved.