
Package org.hl7.fhir.dstu3.model
Class SampledData
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.Element
-
- org.hl7.fhir.dstu3.model.Type
-
- org.hl7.fhir.dstu3.model.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 Summary
Fields Modifier and Type Field Description protected StringType
data
A series of data points which are decimal values separated by a single space (character u20).protected PositiveIntType
dimensions
The number of sample points at each time point.protected DecimalType
factor
A correction factor that is applied to the sampled data points before they are added to the origin.protected DecimalType
lowerLimit
The lower limit of detection of the measured points.protected SimpleQuantity
origin
The base quantity that a measured value of zero represents.protected DecimalType
period
The length of time between sampling times, measured in milliseconds.protected DecimalType
upperLimit
The upper limit of detection of the measured points.
-
Constructor Summary
Constructors Constructor Description SampledData()
ConstructorSampledData(SimpleQuantity origin, DecimalType period, PositiveIntType dimensions, StringType data)
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
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.
-
-
Constructor Detail
-
SampledData
public SampledData()
Constructor
-
SampledData
public SampledData(SimpleQuantity origin, DecimalType period, PositiveIntType dimensions, StringType data)
Constructor
-
-
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.)
-
hasOrigin
public boolean hasOrigin()
-
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
-
hasPeriodElement
public boolean hasPeriodElement()
-
hasPeriod
public boolean hasPeriod()
-
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
-
hasFactorElement
public boolean hasFactorElement()
-
hasFactor
public boolean hasFactor()
-
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
-
hasLowerLimitElement
public boolean hasLowerLimitElement()
-
hasLowerLimit
public boolean hasLowerLimit()
-
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
-
hasUpperLimitElement
public boolean hasUpperLimitElement()
-
hasUpperLimit
public boolean hasUpperLimit()
-
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
-
hasDimensionsElement
public boolean hasDimensionsElement()
-
hasDimensions
public boolean hasDimensions()
-
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
-
hasDataElement
public boolean hasDataElement()
-
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.
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classElement
- 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 classElement
- 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 classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public SampledData copy()
-
typedCopy
protected SampledData typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classElement
-
-