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 Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getOrigin

      Gets the value(s) for origin (). creating it if it does not exist. Will not return null.

      Definition: The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series

    • setOrigin

      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 return null.

      Definition: The length of time between sampling times, measured in milliseconds

    • getPeriod

      Gets the value(s) for period (). creating it if it does not exist. This method may return null.

      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 return null.

      Definition: A correction factor that is applied to the sampled data points before they are added to the origin

    • getFactor

      Gets the value(s) for factor (). creating it if it does not exist. This method may return null.

      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 return null.

      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

      Gets the value(s) for lowerLimit (). creating it if it does not exist. This method may return null.

      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 return null.

      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

      Gets the value(s) for upperLimit (). creating it if it does not exist. This method may return null.

      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 return null.

      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

      Gets the value(s) for dimensions (). creating it if it does not exist. This method may return null.

      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 return null.

      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 return null.

      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