
Class BaseQuantityDt
- All Implemented Interfaces:
- ICompositeDatatype,- ICompositeElement,- IDatatype,- IElement,- IIdentifiableElement,- IQueryParameterType,- ISupportsUndeclaredExtensions,- Serializable,- IBase,- IBaseDatatype,- ICompositeType
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract CodeDtGets the value(s) for code (Coded form of the unit).abstract BoundCodeDt<?> Gets the value(s) for comparator (< | <= | >= | > - how to understand the value).Deprecated.get/setMissing is not supported in StringDt.This method will return any qualifier that should be appended to the parameter name (e.g ":exact").abstract UriDtGets the value(s) for system (System that defines coded unit form).abstract StringDtGets the value(s) for units (Unit representation).Returns a representation of this parameter's value as it will be represented "over the wire".abstract DecimalDtGets the value(s) for value (Numerical value (with implicit precision)).abstract BaseQuantityDtSets the value for code (Coded form of the unit)setMissing(Boolean theMissing) Deprecated.get/setMissing is not supported in StringDt.abstract BaseQuantityDtSets the value for system (System that defines coded unit form)abstract BaseQuantityDtSets the value for units (Unit representation)abstract BaseQuantityDtsetValue(BigDecimal theValue) Sets the value(s) for value (Numerical value (with implicit precision))voidsetValueAsQueryToken(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.Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElementgetElementSpecificId, getId, setElementSpecificId, setId, setIdMethods inherited from class ca.uhn.fhir.model.api.BaseElementaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserDataMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBasefhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, isEmpty, setUserDataMethods inherited from interface ca.uhn.fhir.model.api.ICompositeElementgetAllPopulatedChildElementsOfTypeMethods inherited from interface ca.uhn.fhir.model.api.IQueryParameterTypegetValueAsQueryToken, isEmpty
- 
Constructor Details- 
BaseQuantityDtpublic BaseQuantityDt()
 
- 
- 
Method Details- 
setValueSets the value(s) for value (Numerical value (with implicit precision))Definition: The value of the measured amount. The value includes an implicit precision in the presentation of the value 
- 
setValueAsQueryTokenpublic void setValueAsQueryToken(FhirContext theContext, String theParamName, String theQualifier, String theValue) Description copied from interface:IQueryParameterTypeThis method is generally only called by HAPI itself, and should not need to be called from user code.See FHIR specification 2.2.2 Search SearchParameter Types for information on the token format - Specified by:
- setValueAsQueryTokenin interface- IQueryParameterType
- Parameters:
- theContext- TODO
- theParamName- TODO
- theQualifier- 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"
 
- 
getComparatorElementGets the value(s) for comparator (< | <= | >= | > - how to understand the value). creating it if it does not exist. Will not returnnull.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 
- 
getValueAsQueryTokenDescription copied from interface:IQueryParameterTypeReturns a representation of this parameter's value as it will be represented "over the wire". In other words, how it will be presented in a URL (although not URL escaped)See FHIR specification 2.2.2 Search SearchParameter Types for information on the token format - Specified by:
- getValueAsQueryTokenin interface- IQueryParameterType
- Returns:
- Returns a representation of this parameter's value as it will be represented "over the wire". In other words, how it will be presented in a URL (although not URL escaped)
 
- 
getQueryParameterQualifierDescription copied from interface:IQueryParameterTypeThis method will return any qualifier that should be appended to the parameter name (e.g ":exact"). Returns null if none are present.- Specified by:
- getQueryParameterQualifierin interface- IQueryParameterType
 
- 
setUnitsSets the value for units (Unit representation)Definition: A human-readable form of the units 
- 
getSystemElementGets the value(s) for system (System that defines coded unit form). creating it if it does not exist. Will not returnnull.Definition: The identification of the system that provides the coded form of the unit 
- 
setSystemSets the value for system (System that defines coded unit form)Definition: The identification of the system that provides the coded form of the unit 
- 
getCodeElementGets the value(s) for code (Coded form of the unit). creating it if it does not exist. Will not returnnull.Definition: A computer processable form of the units in some unit representation system 
- 
setCodeSets the value for code (Coded form of the unit)Definition: A computer processable form of the units in some unit representation system 
- 
getUnitsElementGets the value(s) for units (Unit representation). creating it if it does not exist. Will not returnnull.Definition: A human-readable form of the units 
- 
getValueElementGets the value(s) for value (Numerical value (with implicit precision)). creating it if it does not exist. Will not returnnull.Definition: The value of the measured amount. The value includes an implicit precision in the presentation of the value 
- 
getMissingDeprecated.get/setMissing is not supported in StringDt. UseQuantityParaminstead if you need this functionalityNot supported!- Specified by:
- getMissingin interface- IQueryParameterType
 
- 
setMissingDeprecated.get/setMissing is not supported in StringDt. UseQuantityParaminstead if you need this functionalityNot supported!- Specified by:
- setMissingin interface- IQueryParameterType
- Returns:
- Returns a reference to thisfor easier method chaining
 
 
-