public abstract class BaseQuantityDt extends BaseIdentifiableElement implements ICompositeDatatype, IQueryParameterType
| Constructor and Description |
|---|
BaseQuantityDt() |
| Modifier and Type | Method and Description |
|---|---|
abstract CodeDt |
getCodeElement()
Gets the value(s) for code (Coded form of the unit).
|
abstract BoundCodeDt<?> |
getComparatorElement()
Gets the value(s) for comparator (< | <= | >= | > - how to understand the value).
|
Boolean |
getMissing()
Deprecated.
get/setMissing is not supported in StringDt. Use
QuantityParam instead if you
need this functionality |
String |
getQueryParameterQualifier()
This method will return any qualifier that should be appended to the parameter name (e.g ":exact")
|
abstract UriDt |
getSystemElement()
Gets the value(s) for system (System that defines coded unit form).
|
abstract StringDt |
getUnitsElement()
Gets the value(s) for units (Unit representation).
|
String |
getValueAsQueryToken(FhirContext theContext)
Returns a representation of this parameter's value as it will be represented "over the wire".
|
abstract DecimalDt |
getValueElement()
Gets the value(s) for value (Numerical value (with implicit precision)).
|
abstract BaseQuantityDt |
setCode(String theCode)
Sets the value for code (Coded form of the unit)
|
IQueryParameterType |
setMissing(Boolean theMissing)
Deprecated.
get/setMissing is not supported in StringDt. Use
QuantityParam instead if you
need this functionality |
abstract BaseQuantityDt |
setSystem(String theUri)
Sets the value for system (System that defines coded unit form)
|
abstract BaseQuantityDt |
setUnits(String theString)
Sets the value for units (Unit representation)
|
abstract BaseQuantityDt |
setValue(BigDecimal theValue)
Sets the value(s) for value (Numerical value (with implicit precision))
|
void |
setValueAsQueryToken(FhirContext theContext,
String theParamName,
String theQualifier,
String theValue)
This method is generally only called by HAPI itself, and should not need to be called from user code.
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllPopulatedChildElementsOfTypepublic BaseQuantityDt()
public abstract BaseQuantityDt setValue(BigDecimal theValue)
Definition: The value of the measured amount. The value includes an implicit precision in the presentation of the value
public void setValueAsQueryToken(FhirContext theContext, String theParamName, String theQualifier, String theValue)
IQueryParameterTypeSee FHIR specification 2.2.2 Search SearchParameter Types for information on the token format
setValueAsQueryToken in interface IQueryParameterTypetheContext - TODOtheParamName - TODOtheQualifier - The parameter name qualifier that accompanied this value. For example, if the complete query was
http://foo?name:exact=John, qualifier would be ":exact"theValue - The actual parameter value. For example, if the complete query was
http://foo?name:exact=John, the value would be "John"public abstract BoundCodeDt<?> getComparatorElement()
null.
Definition: 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 String getValueAsQueryToken(FhirContext theContext)
IQueryParameterTypeSee FHIR specification 2.2.2 Search SearchParameter Types for information on the token format
getValueAsQueryToken in interface IQueryParameterTypetheContext - TODOpublic String getQueryParameterQualifier()
IQueryParameterTypegetQueryParameterQualifier in interface IQueryParameterTypepublic abstract BaseQuantityDt setUnits(String theString)
Definition: A human-readable form of the units
public abstract UriDt getSystemElement()
null.
Definition: The identification of the system that provides the coded form of the unit
public abstract BaseQuantityDt setSystem(String theUri)
Definition: The identification of the system that provides the coded form of the unit
public abstract CodeDt getCodeElement()
null.
Definition: A computer processable form of the units in some unit representation system
public abstract BaseQuantityDt setCode(String theCode)
Definition: A computer processable form of the units in some unit representation system
public abstract StringDt getUnitsElement()
null.
Definition: A human-readable form of the units
public abstract DecimalDt getValueElement()
null.
Definition: The value of the measured amount. The value includes an implicit precision in the presentation of the value
@Deprecated public Boolean getMissing()
QuantityParam instead if you
need this functionalitygetMissing in interface IQueryParameterType@Deprecated public IQueryParameterType setMissing(Boolean theMissing)
QuantityParam instead if you
need this functionalitysetMissing in interface IQueryParameterTypethis for easier method chainingCopyright © 2014–2017 University Health Network. All rights reserved.