Package org.hl7.fhir.r5.model
Class SampledData
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.Element
org.hl7.fhir.r5.model.DataType
org.hl7.fhir.r5.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
SampledData Type: 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
Modifier and TypeFieldDescriptionprotected CanonicalType
Reference to ConceptMap that defines the codes used in the data.protected StringType
A series of data points which are decimal values or codes separated by a single space (character u20).protected PositiveIntType
The number of sample points at each time point.protected DecimalType
A correction factor that is applied to the sampled data points before they are added to the origin.protected DecimalType
Amount of intervalUnits between samples, e.g.protected CodeType
The measurement unit in which the sample interval is expressed.protected DecimalType
The lower limit of detection of the measured points.protected StringType
A series of data points which are decimal values separated by a single space (character u20).protected Quantity
The base quantity that a measured value of zero represents.protected DecimalType
The upper limit of detection of the measured points. -
Constructor Summary
ConstructorDescriptionConstructorSampledData
(Quantity origin, String intervalUnit, int dimensions) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
copyValues
(SampledData dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getData()
int
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
hasData()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) setCodeMap
(String value) setCodeMapElement
(CanonicalType value) setDataElement
(StringType value) setDimensions
(int value) setFactor
(double value) setFactor
(long value) setFactor
(BigDecimal value) setFactorElement
(DecimalType value) setInterval
(double value) setInterval
(long value) setInterval
(BigDecimal value) setIntervalElement
(DecimalType value) setIntervalUnit
(String value) setIntervalUnitElement
(CodeType value) setLowerLimit
(double value) setLowerLimit
(long value) setLowerLimit
(BigDecimal value) setLowerLimitElement
(DecimalType value) setOffsets
(String value) setOffsetsElement
(StringType value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setUpperLimit
(double value) setUpperLimit
(long value) setUpperLimit
(BigDecimal value) setUpperLimitElement
(DecimalType value) protected SampledData
Methods inherited from class org.hl7.fhir.r5.model.DataType
copyValues, getTranslation, isTranslatable
Methods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getStandardsStatus, hasExtension, hasExtension, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement, setStandardsStatus
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
Field Details
-
origin
The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series. -
interval
Amount of intervalUnits between samples, e.g. milliseconds for time-based sampling. -
intervalUnit
The measurement unit in which the sample interval is expressed. -
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. -
codeMap
Reference to ConceptMap that defines the codes used in the data. -
offsets
A series of data points which are decimal values separated by a single space (character u20). The units in which the offsets are expressed are found in intervalUnit. The absolute point at which the measurements begin SHALL be conveyed outside the scope of this datatype, e.g. Observation.effectiveDateTime for a timing offset. -
data
A series of data points which are decimal values or codes separated by a single space (character u20). The special codes "E" (error), "L" (below detection limit) and "U" (above detection limit) are also defined for used in place of decimal values.
-
-
Constructor Details
-
SampledData
public SampledData()Constructor -
SampledData
Constructor
-
-
Method Details
-
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
-
setOrigin
- Parameters:
value
-origin
(The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.)
-
getIntervalElement
- Returns:
interval
(Amount of intervalUnits between samples, e.g. milliseconds for time-based sampling.). This is the underlying object with id, value and extensions. The accessor "getInterval" gives direct access to the value
-
hasIntervalElement
-
hasInterval
-
setIntervalElement
- Parameters:
value
-interval
(Amount of intervalUnits between samples, e.g. milliseconds for time-based sampling.). This is the underlying object with id, value and extensions. The accessor "getInterval" gives direct access to the value
-
getInterval
- Returns:
- Amount of intervalUnits between samples, e.g. milliseconds for time-based sampling.
-
setInterval
- Parameters:
value
- Amount of intervalUnits between samples, e.g. milliseconds for time-based sampling.
-
setInterval
- Parameters:
value
- Amount of intervalUnits between samples, e.g. milliseconds for time-based sampling.
-
setInterval
- Parameters:
value
- Amount of intervalUnits between samples, e.g. milliseconds for time-based sampling.
-
getIntervalUnitElement
- Returns:
intervalUnit
(The measurement unit in which the sample interval is expressed.). This is the underlying object with id, value and extensions. The accessor "getIntervalUnit" gives direct access to the value
-
hasIntervalUnitElement
-
hasIntervalUnit
-
setIntervalUnitElement
- Parameters:
value
-intervalUnit
(The measurement unit in which the sample interval is expressed.). This is the underlying object with id, value and extensions. The accessor "getIntervalUnit" gives direct access to the value
-
getIntervalUnit
- Returns:
- The measurement unit in which the sample interval is expressed.
-
setIntervalUnit
- Parameters:
value
- The measurement unit in which the sample interval is expressed.
-
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
-
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
- Parameters:
value
- 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.
-
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
-
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
- 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
- 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
-
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
- 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
- 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
-
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
- 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
- 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.
-
getCodeMapElement
- Returns:
codeMap
(Reference to ConceptMap that defines the codes used in the data.). This is the underlying object with id, value and extensions. The accessor "getCodeMap" gives direct access to the value
-
hasCodeMapElement
-
hasCodeMap
-
setCodeMapElement
- Parameters:
value
-codeMap
(Reference to ConceptMap that defines the codes used in the data.). This is the underlying object with id, value and extensions. The accessor "getCodeMap" gives direct access to the value
-
getCodeMap
- Returns:
- Reference to ConceptMap that defines the codes used in the data.
-
setCodeMap
- Parameters:
value
- Reference to ConceptMap that defines the codes used in the data.
-
getOffsetsElement
- Returns:
offsets
(A series of data points which are decimal values separated by a single space (character u20). The units in which the offsets are expressed are found in intervalUnit. The absolute point at which the measurements begin SHALL be conveyed outside the scope of this datatype, e.g. Observation.effectiveDateTime for a timing offset.). This is the underlying object with id, value and extensions. The accessor "getOffsets" gives direct access to the value
-
hasOffsetsElement
-
hasOffsets
-
setOffsetsElement
- Parameters:
value
-offsets
(A series of data points which are decimal values separated by a single space (character u20). The units in which the offsets are expressed are found in intervalUnit. The absolute point at which the measurements begin SHALL be conveyed outside the scope of this datatype, e.g. Observation.effectiveDateTime for a timing offset.). This is the underlying object with id, value and extensions. The accessor "getOffsets" gives direct access to the value
-
getOffsets
- Returns:
- A series of data points which are decimal values separated by a single space (character u20). The units in which the offsets are expressed are found in intervalUnit. The absolute point at which the measurements begin SHALL be conveyed outside the scope of this datatype, e.g. Observation.effectiveDateTime for a timing offset.
-
setOffsets
- Parameters:
value
- A series of data points which are decimal values separated by a single space (character u20). The units in which the offsets are expressed are found in intervalUnit. The absolute point at which the measurements begin SHALL be conveyed outside the scope of this datatype, e.g. Observation.effectiveDateTime for a timing offset.
-
getDataElement
- Returns:
data
(A series of data points which are decimal values or codes separated by a single space (character u20). The special codes "E" (error), "L" (below detection limit) and "U" (above detection limit) are also defined for used in place of decimal values.). This is the underlying object with id, value and extensions. The accessor "getData" gives direct access to the value
-
hasDataElement
-
hasData
-
setDataElement
- Parameters:
value
-data
(A series of data points which are decimal values or codes separated by a single space (character u20). The special codes "E" (error), "L" (below detection limit) and "U" (above detection limit) are also defined for used in place of decimal values.). This is the underlying object with id, value and extensions. The accessor "getData" gives direct access to the value
-
getData
- Returns:
- A series of data points which are decimal values or codes separated by a single space (character u20). The special codes "E" (error), "L" (below detection limit) and "U" (above detection limit) are also defined for used in place of decimal values.
-
setData
- Parameters:
value
- A series of data points which are decimal values or codes separated by a single space (character u20). The special codes "E" (error), "L" (below detection limit) and "U" (above detection limit) are also defined for used in place of decimal values.
-
listChildren
- 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
- Overrides:
setProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChild
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- 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
-
addChild
-
fhirType
-
copy
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classElement
-
equalsShallow
- Overrides:
equalsShallow
in classElement
-
isEmpty
-