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:
  • Field Details

    • origin

      protected Quantity 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

      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

      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

      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.
  • Constructor Details

  • Method Details

    • getOrigin

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

      public boolean hasOrigin()
    • setOrigin

      public SampledData setOrigin(Quantity 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

      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
    • hasPeriodElement

      public boolean hasPeriodElement()
    • hasPeriod

      public boolean hasPeriod()
    • setPeriodElement

      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

      Returns:
      The length of time between sampling times, measured in milliseconds.
    • setPeriod

      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

      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
    • hasFactorElement

      public boolean hasFactorElement()
    • hasFactor

      public boolean hasFactor()
    • setFactorElement

      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

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

      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

      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
    • hasLowerLimitElement

      public boolean hasLowerLimitElement()
    • hasLowerLimit

      public boolean hasLowerLimit()
    • setLowerLimitElement

      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

      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

      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

      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
    • hasUpperLimitElement

      public boolean hasUpperLimitElement()
    • hasUpperLimit

      public boolean hasUpperLimit()
    • setUpperLimitElement

      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

      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

      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

      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
    • hasDimensionsElement

      public boolean hasDimensionsElement()
    • hasDimensions

      public boolean hasDimensions()
    • setDimensionsElement

      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

      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
    • hasDataElement

      public boolean hasDataElement()
    • hasData

      public boolean hasData()
    • setDataElement

      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.
    • listChildren

      protected void listChildren(List<Property> children)
      Overrides:
      listChildren in class Element
    • getNamedProperty

      public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getNamedProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • 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
    • setProperty

      public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • removeChild

      public void removeChild(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      removeChild in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • makeProperty

      public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      makeProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getTypesForProperty

      public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getTypesForProperty 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
    • copy

      public SampledData copy()
      Overrides:
      copy in class Type
    • copyValues

      public void copyValues(SampledData dst)
    • typedCopy

      protected SampledData typedCopy()
      Specified by:
      typedCopy in class Type
    • equalsDeep

      public boolean equalsDeep(Base other_)
      Overrides:
      equalsDeep in class Element
    • equalsShallow

      public boolean equalsShallow(Base other_)
      Overrides:
      equalsShallow in class Element
    • isEmpty

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