pub struct SampledData {
pub id: Option<String>,
pub extension: Option<Vec<Box<Extension>>>,
pub origin: Box<Quantity>,
pub period: Box<FHIRDecimal>,
pub factor: Option<Box<FHIRDecimal>>,
pub lowerLimit: Option<Box<FHIRDecimal>>,
pub upperLimit: Option<Box<FHIRDecimal>>,
pub dimensions: Box<FHIRPositiveInt>,
pub data: Option<Box<FHIRString>>,
}Expand description
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 the element within a resource (for internal references). This may be any string value that does not contain spaces.
extension: Option<Vec<Box<Extension>>>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 manageable, 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: Box<Quantity>The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.
period: Box<FHIRDecimal>The length of time between sampling times, measured in milliseconds.
factor: Option<Box<FHIRDecimal>>A correction factor that is applied to the sampled data points before they are added to the origin.
lowerLimit: Option<Box<FHIRDecimal>>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: Option<Box<FHIRDecimal>>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: Box<FHIRPositiveInt>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: Option<Box<FHIRString>>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.
Trait Implementations§
Source§impl Clone for SampledData
impl Clone for SampledData
Source§fn clone(&self) -> SampledData
fn clone(&self) -> SampledData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SampledData
impl Debug for SampledData
Source§impl Default for SampledData
impl Default for SampledData
Source§fn default() -> SampledData
fn default() -> SampledData
Source§impl FHIRJSONDeserializer for SampledData
impl FHIRJSONDeserializer for SampledData
fn from_json_str(s: &str) -> Result<Self, DeserializeError>
fn from_serde_value( obj: &Value, context: Context<'_>, ) -> Result<Self, DeserializeError>
Source§impl FHIRJSONSerializer for SampledData
impl FHIRJSONSerializer for SampledData
fn serialize_value( &self, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn serialize_extension( &self, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn serialize_field( &self, field: &str, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn is_fp_primitive(&self) -> bool
Source§impl MetaValue for SampledData
impl MetaValue for SampledData
fn fields(&self) -> Vec<&'static str>
fn get_field<'a>(&'a self, field: &str) -> Option<&'a dyn MetaValue>
fn get_field_mut<'a>(&'a mut self, field: &str) -> Option<&'a mut dyn MetaValue>
fn get_index_mut<'a>( &'a mut self, index: usize, ) -> Option<&'a mut dyn MetaValue>
fn get_index<'a>(&'a self, _index: usize) -> Option<&'a dyn MetaValue>
fn typename(&self) -> &'static str
fn as_any(&self) -> &dyn Any
fn flatten(&self) -> Vec<&dyn MetaValue>
Auto Trait Implementations§
impl Freeze for SampledData
impl RefUnwindSafe for SampledData
impl Send for SampledData
impl Sync for SampledData
impl Unpin for SampledData
impl UnwindSafe for SampledData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more