Class SampledData

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.ICompositeType

    public class SampledData
    extends Type
    implements org.hl7.fhir.instance.model.api.ICompositeType
    A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.
    See Also:
    Serialized Form
    • Field Detail

      • origin

        protected SimpleQuantity origin
        The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.
      • period

        protected DecimalType period
        The length of time between sampling times, measured in milliseconds.
      • factor

        protected DecimalType factor
        A correction factor that is applied to the sampled data points before they are added to the origin.
      • lowerLimit

        protected DecimalType lowerLimit
        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).
      • upperLimit

        protected DecimalType upperLimit
        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).
      • dimensions

        protected PositiveIntType dimensions
        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.
      • data

        protected StringType data
        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.
    • Method Detail

      • getOrigin

        public SimpleQuantity getOrigin()
        Returns:
        origin (The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.)
      • setOrigin

        public SampledData setOrigin​(SimpleQuantity value)
        Parameters:
        value - origin (The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.)
      • getPeriodElement

        public DecimalType getPeriodElement()
        Returns:
        period (The length of time between sampling times, measured in milliseconds.). This is the underlying object with id, value and extensions. The accessor "getPeriod" gives direct access to the value
      • setPeriodElement

        public SampledData setPeriodElement​(DecimalType value)
        Parameters:
        value - period (The length of time between sampling times, measured in milliseconds.). This is the underlying object with id, value and extensions. The accessor "getPeriod" gives direct access to the value
      • getPeriod

        public BigDecimal getPeriod()
        Returns:
        The length of time between sampling times, measured in milliseconds.
      • setPeriod

        public SampledData setPeriod​(BigDecimal value)
        Parameters:
        value - The length of time between sampling times, measured in milliseconds.
      • setPeriod

        public SampledData setPeriod​(long value)
        Parameters:
        value - The length of time between sampling times, measured in milliseconds.
      • setPeriod

        public SampledData setPeriod​(double value)
        Parameters:
        value - The length of time between sampling times, measured in milliseconds.
      • getFactorElement

        public DecimalType getFactorElement()
        Returns:
        factor (A correction factor that is applied to the sampled data points before they are added to the origin.). This is the underlying object with id, value and extensions. The accessor "getFactor" gives direct access to the value
      • setFactorElement

        public SampledData setFactorElement​(DecimalType value)
        Parameters:
        value - factor (A correction factor that is applied to the sampled data points before they are added to the origin.). This is the underlying object with id, value and extensions. The accessor "getFactor" gives direct access to the value
      • getFactor

        public BigDecimal getFactor()
        Returns:
        A correction factor that is applied to the sampled data points before they are added to the origin.
      • setFactor

        public SampledData setFactor​(BigDecimal value)
        Parameters:
        value - A correction factor that is applied to the sampled data points before they are added to the origin.
      • setFactor

        public SampledData setFactor​(long value)
        Parameters:
        value - A correction factor that is applied to the sampled data points before they are added to the origin.
      • setFactor

        public SampledData setFactor​(double value)
        Parameters:
        value - A correction factor that is applied to the sampled data points before they are added to the origin.
      • getLowerLimitElement

        public DecimalType getLowerLimitElement()
        Returns:
        lowerLimit (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).). This is the underlying object with id, value and extensions. The accessor "getLowerLimit" gives direct access to the value
      • setLowerLimitElement

        public SampledData setLowerLimitElement​(DecimalType value)
        Parameters:
        value - lowerLimit (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).). This is the underlying object with id, value and extensions. The accessor "getLowerLimit" gives direct access to the value
      • getLowerLimit

        public BigDecimal getLowerLimit()
        Returns:
        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 SampledData setLowerLimit​(BigDecimal value)
        Parameters:
        value - 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 SampledData setLowerLimit​(long value)
        Parameters:
        value - 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 SampledData setLowerLimit​(double value)
        Parameters:
        value - 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 DecimalType getUpperLimitElement()
        Returns:
        upperLimit (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).). This is the underlying object with id, value and extensions. The accessor "getUpperLimit" gives direct access to the value
      • setUpperLimitElement

        public SampledData setUpperLimitElement​(DecimalType value)
        Parameters:
        value - upperLimit (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).). This is the underlying object with id, value and extensions. The accessor "getUpperLimit" gives direct access to the value
      • getUpperLimit

        public BigDecimal getUpperLimit()
        Returns:
        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 SampledData setUpperLimit​(BigDecimal value)
        Parameters:
        value - 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 SampledData setUpperLimit​(long value)
        Parameters:
        value - 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 SampledData setUpperLimit​(double value)
        Parameters:
        value - 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 PositiveIntType getDimensionsElement()
        Returns:
        dimensions (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.). This is the underlying object with id, value and extensions. The accessor "getDimensions" gives direct access to the value
      • setDimensionsElement

        public SampledData setDimensionsElement​(PositiveIntType value)
        Parameters:
        value - dimensions (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.). This is the underlying object with id, value and extensions. The accessor "getDimensions" gives direct access to the value
      • getDimensions

        public int getDimensions()
        Returns:
        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 SampledData setDimensions​(int value)
        Parameters:
        value - 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 StringType getDataElement()
        Returns:
        data (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.). This is the underlying object with id, value and extensions. The accessor "getData" gives direct access to the value
      • hasData

        public boolean hasData()
      • setDataElement

        public SampledData setDataElement​(StringType value)
        Parameters:
        value - data (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.). This is the underlying object with id, value and extensions. The accessor "getData" gives direct access to the value
      • getData

        public String getData()
        Returns:
        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 SampledData setData​(String value)
        Parameters:
        value - 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.
      • getProperty

        public Base[] getProperty​(int hash,
                                  String name,
                                  boolean checkValid)
                           throws org.hl7.fhir.exceptions.FHIRException
        Overrides:
        getProperty in class Element
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addChild

        public Base addChild​(String name)
                      throws org.hl7.fhir.exceptions.FHIRException
        Overrides:
        addChild in class Element
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • fhirType

        public String fhirType()
        Specified by:
        fhirType in interface org.hl7.fhir.instance.model.api.IBase
        Overrides:
        fhirType in class Element
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
        Overrides:
        isEmpty in class Element