Class SampledDataDt
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.composite.SampledDataDt
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeDatatype,ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IDatatype,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.ICompositeType
public class SampledDataDt extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.ICompositeDatatype
HAPI/FHIR SampledDataDt Datatype ()Definition: A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data
Requirements: There is a need for a concise way to handle the data produced by devices that sample a physical state at a high frequency
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SampledDataDt()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetData()Gets the value(s) for data ().ca.uhn.fhir.model.primitive.StringDtgetDataElement()Gets the value(s) for data ().IntegergetDimensions()Gets the value(s) for dimensions ().ca.uhn.fhir.model.primitive.PositiveIntDtgetDimensionsElement()Gets the value(s) for dimensions ().BigDecimalgetFactor()Gets the value(s) for factor ().ca.uhn.fhir.model.primitive.DecimalDtgetFactorElement()Gets the value(s) for factor ().BigDecimalgetLowerLimit()Gets the value(s) for lowerLimit ().ca.uhn.fhir.model.primitive.DecimalDtgetLowerLimitElement()Gets the value(s) for lowerLimit ().SimpleQuantityDtgetOrigin()Gets the value(s) for origin ().BigDecimalgetPeriod()Gets the value(s) for period ().ca.uhn.fhir.model.primitive.DecimalDtgetPeriodElement()Gets the value(s) for period ().BigDecimalgetUpperLimit()Gets the value(s) for upperLimit ().ca.uhn.fhir.model.primitive.DecimalDtgetUpperLimitElement()Gets the value(s) for upperLimit ().booleanisEmpty()SampledDataDtsetData(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for data ()SampledDataDtsetData(String theString)Sets the value for data ()SampledDataDtsetDimensions(int theInteger)Sets the value for dimensions ()SampledDataDtsetDimensions(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)Sets the value(s) for dimensions ()SampledDataDtsetFactor(double theValue)Sets the value for factor ()SampledDataDtsetFactor(long theValue)Sets the value for factor ()SampledDataDtsetFactor(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for factor ()SampledDataDtsetFactor(BigDecimal theValue)Sets the value for factor ()SampledDataDtsetLowerLimit(double theValue)Sets the value for lowerLimit ()SampledDataDtsetLowerLimit(long theValue)Sets the value for lowerLimit ()SampledDataDtsetLowerLimit(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for lowerLimit ()SampledDataDtsetLowerLimit(BigDecimal theValue)Sets the value for lowerLimit ()SampledDataDtsetOrigin(SimpleQuantityDt theValue)Sets the value(s) for origin ()SampledDataDtsetPeriod(double theValue)Sets the value for period ()SampledDataDtsetPeriod(long theValue)Sets the value for period ()SampledDataDtsetPeriod(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for period ()SampledDataDtsetPeriod(BigDecimal theValue)Sets the value for period ()SampledDataDtsetUpperLimit(double theValue)Sets the value for upperLimit ()SampledDataDtsetUpperLimit(long theValue)Sets the value for upperLimit ()SampledDataDtsetUpperLimit(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for upperLimit ()SampledDataDtsetUpperLimit(BigDecimal theValue)Sets the value for upperLimit ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
-
-
-
Constructor Detail
-
SampledDataDt
public SampledDataDt()
Constructor
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getOrigin
public SimpleQuantityDt getOrigin()
Gets the value(s) for origin (). creating it if it does not exist. Will not returnnull.Definition: The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series
-
setOrigin
public SampledDataDt setOrigin(SimpleQuantityDt theValue)
Sets the value(s) for origin ()Definition: The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series
-
getPeriodElement
public ca.uhn.fhir.model.primitive.DecimalDt getPeriodElement()
Gets the value(s) for period (). creating it if it does not exist. Will not returnnull.Definition: The length of time between sampling times, measured in milliseconds
-
getPeriod
public BigDecimal getPeriod()
Gets the value(s) for period (). creating it if it does not exist. This method may returnnull.Definition: The length of time between sampling times, measured in milliseconds
-
setPeriod
public SampledDataDt setPeriod(ca.uhn.fhir.model.primitive.DecimalDt theValue)
Sets the value(s) for period ()Definition: The length of time between sampling times, measured in milliseconds
-
setPeriod
public SampledDataDt setPeriod(long theValue)
Sets the value for period ()Definition: The length of time between sampling times, measured in milliseconds
-
setPeriod
public SampledDataDt setPeriod(double theValue)
Sets the value for period ()Definition: The length of time between sampling times, measured in milliseconds
-
setPeriod
public SampledDataDt setPeriod(BigDecimal theValue)
Sets the value for period ()Definition: The length of time between sampling times, measured in milliseconds
-
getFactorElement
public ca.uhn.fhir.model.primitive.DecimalDt getFactorElement()
Gets the value(s) for factor (). creating it if it does not exist. Will not returnnull.Definition: A correction factor that is applied to the sampled data points before they are added to the origin
-
getFactor
public BigDecimal getFactor()
Gets the value(s) for factor (). creating it if it does not exist. This method may returnnull.Definition: A correction factor that is applied to the sampled data points before they are added to the origin
-
setFactor
public SampledDataDt setFactor(ca.uhn.fhir.model.primitive.DecimalDt theValue)
Sets the value(s) for factor ()Definition: A correction factor that is applied to the sampled data points before they are added to the origin
-
setFactor
public SampledDataDt setFactor(long theValue)
Sets the value for factor ()Definition: A correction factor that is applied to the sampled data points before they are added to the origin
-
setFactor
public SampledDataDt setFactor(double theValue)
Sets the value for factor ()Definition: A correction factor that is applied to the sampled data points before they are added to the origin
-
setFactor
public SampledDataDt setFactor(BigDecimal theValue)
Sets the value for factor ()Definition: A correction factor that is applied to the sampled data points before they are added to the origin
-
getLowerLimitElement
public ca.uhn.fhir.model.primitive.DecimalDt getLowerLimitElement()
Gets the value(s) for lowerLimit (). creating it if it does not exist. Will not returnnull.Definition: The lower limit of detection of the measured points. This is needed if any of the data points have the value \"L\" (lower than detection limit)
-
getLowerLimit
public BigDecimal getLowerLimit()
Gets the value(s) for lowerLimit (). creating it if it does not exist. This method may returnnull.Definition: The lower limit of detection of the measured points. This is needed if any of the data points have the value \"L\" (lower than detection limit)
-
setLowerLimit
public SampledDataDt setLowerLimit(ca.uhn.fhir.model.primitive.DecimalDt theValue)
Sets the value(s) for lowerLimit ()Definition: The lower limit of detection of the measured points. This is needed if any of the data points have the value \"L\" (lower than detection limit)
-
setLowerLimit
public SampledDataDt setLowerLimit(long theValue)
Sets the value for lowerLimit ()Definition: The lower limit of detection of the measured points. This is needed if any of the data points have the value \"L\" (lower than detection limit)
-
setLowerLimit
public SampledDataDt setLowerLimit(double theValue)
Sets the value for lowerLimit ()Definition: The lower limit of detection of the measured points. This is needed if any of the data points have the value \"L\" (lower than detection limit)
-
setLowerLimit
public SampledDataDt setLowerLimit(BigDecimal theValue)
Sets the value for lowerLimit ()Definition: The lower limit of detection of the measured points. This is needed if any of the data points have the value \"L\" (lower than detection limit)
-
getUpperLimitElement
public ca.uhn.fhir.model.primitive.DecimalDt getUpperLimitElement()
Gets the value(s) for upperLimit (). creating it if it does not exist. Will not returnnull.Definition: The upper limit of detection of the measured points. This is needed if any of the data points have the value \"U\" (higher than detection limit)
-
getUpperLimit
public BigDecimal getUpperLimit()
Gets the value(s) for upperLimit (). creating it if it does not exist. This method may returnnull.Definition: The upper limit of detection of the measured points. This is needed if any of the data points have the value \"U\" (higher than detection limit)
-
setUpperLimit
public SampledDataDt setUpperLimit(ca.uhn.fhir.model.primitive.DecimalDt theValue)
Sets the value(s) for upperLimit ()Definition: The upper limit of detection of the measured points. This is needed if any of the data points have the value \"U\" (higher than detection limit)
-
setUpperLimit
public SampledDataDt setUpperLimit(long theValue)
Sets the value for upperLimit ()Definition: The upper limit of detection of the measured points. This is needed if any of the data points have the value \"U\" (higher than detection limit)
-
setUpperLimit
public SampledDataDt setUpperLimit(double theValue)
Sets the value for upperLimit ()Definition: The upper limit of detection of the measured points. This is needed if any of the data points have the value \"U\" (higher than detection limit)
-
setUpperLimit
public SampledDataDt setUpperLimit(BigDecimal theValue)
Sets the value for upperLimit ()Definition: The upper limit of detection of the measured points. This is needed if any of the data points have the value \"U\" (higher than detection limit)
-
getDimensionsElement
public ca.uhn.fhir.model.primitive.PositiveIntDt getDimensionsElement()
Gets the value(s) for dimensions (). creating it if it does not exist. Will not returnnull.Definition: The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once
-
getDimensions
public Integer getDimensions()
Gets the value(s) for dimensions (). creating it if it does not exist. This method may returnnull.Definition: The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once
-
setDimensions
public SampledDataDt setDimensions(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)
Sets the value(s) for dimensions ()Definition: The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once
-
setDimensions
public SampledDataDt setDimensions(int theInteger)
Sets the value for dimensions ()Definition: The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once
-
getDataElement
public ca.uhn.fhir.model.primitive.StringDt getDataElement()
Gets the value(s) for data (). creating it if it does not exist. Will not returnnull.Definition: A series of data points which are decimal values separated by a single space (character u20). The special values \"E\" (error), \"L\" (below detection limit) and \"U\" (above detection limit) can also be used in place of a decimal value
-
getData
public String getData()
Gets the value(s) for data (). creating it if it does not exist. This method may returnnull.Definition: A series of data points which are decimal values separated by a single space (character u20). The special values \"E\" (error), \"L\" (below detection limit) and \"U\" (above detection limit) can also be used in place of a decimal value
-
setData
public SampledDataDt setData(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for data ()Definition: A series of data points which are decimal values separated by a single space (character u20). The special values \"E\" (error), \"L\" (below detection limit) and \"U\" (above detection limit) can also be used in place of a decimal value
-
setData
public SampledDataDt setData(String theString)
Sets the value for data ()Definition: A series of data points which are decimal values separated by a single space (character u20). The special values \"E\" (error), \"L\" (below detection limit) and \"U\" (above detection limit) can also be used in place of a decimal value
-
-