pub struct SampledData {
pub id: Option<String>,
pub extension: Vec<Extension>,
pub origin: Quantity,
pub interval: Option<Decimal>,
pub interval_unit: Code,
pub factor: Option<Decimal>,
pub lower_limit: Option<Decimal>,
pub upper_limit: Option<Decimal>,
pub dimensions: PositiveInt,
pub code_map: Option<Canonical>,
pub offsets: Option<String>,
pub data: Option<String>,
}Expand description
A series of measurements taken by a device
A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.
Fields§
§id: Option<String>Unique id for inter-element referencing
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
extension: Vec<Extension>Additional content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
origin: QuantityZero value and units
The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.
interval: Option<Decimal>Number of intervalUnits between samples
Amount of intervalUnits between samples, e.g. milliseconds for time-based sampling.
interval_unit: CodeThe measurement unit of the interval between samples
The measurement unit in which the sample interval is expressed.
factor: Option<Decimal>Multiply data by this before adding to origin
A correction factor that is applied to the sampled data points before they are added to the origin.
lower_limit: Option<Decimal>Lower limit of detection
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).
upper_limit: Option<Decimal>Upper limit of detection
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: PositiveIntNumber of sample points at each time point
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.
code_map: Option<Canonical>Defines the codes used in the data
Reference to ConceptMap that defines the codes used in the data.
offsets: Option<String>Offsets, typically in time, at which data values were taken
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: Option<String>Decimal values with spaces, or “E” | “U” | “L”, or another code
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.