pub struct DeviceMetric {Show 17 fields
pub id: Option<Id>,
pub meta: Option<Meta>,
pub implicit_rules: Option<UriDt>,
pub language: Option<CodeDt>,
pub text: Option<Narrative>,
pub contained: Option<Vec<AnyResource>>,
pub extension: Option<Vec<Extension>>,
pub modifier_extension: Option<Vec<Extension>>,
pub identifier: Option<Vec<Identifier>>,
pub type_: Option<CodeableConcept>,
pub unit: Option<CodeableConcept>,
pub device: Option<Reference>,
pub operational_status: Option<CodeDt>,
pub color: Option<CodeDt>,
pub category: Option<CodeDt>,
pub measurement_frequency: Option<Quantity>,
pub calibration: Option<Vec<DeviceMetricCalibrationBackboneElement>>,
}
Fields§
§id: Option<Id>
Logical id of this artifact
meta: Option<Meta>
Metadata about the resource
implicit_rules: Option<UriDt>
A set of rules under which this content was created
language: Option<CodeDt>
Language of the resource content
text: Option<Narrative>
Text summary of the resource, for human interpretation
contained: Option<Vec<AnyResource>>
Contained, inline Resources
extension: Option<Vec<Extension>>
Additional content defined by implementations
modifier_extension: Option<Vec<Extension>>
Extensions that cannot be ignored
identifier: Option<Vec<Identifier>>
Instance identifier
type_: Option<CodeableConcept>
Identity of metric, for example Heart Rate or PEEP Setting
unit: Option<CodeableConcept>
Unit of Measure for the Metric
device: Option<Reference>
Describes the link to the Device
operational_status: Option<CodeDt>
on | off | standby | entered-in-error
color: Option<CodeDt>
Color name (from CSS4) or #RRGGBB code
category: Option<CodeDt>
measurement | setting | calculation | unspecified
measurement_frequency: Option<Quantity>
Indicates how often the metric is taken or recorded
calibration: Option<Vec<DeviceMetricCalibrationBackboneElement>>
Describes the calibrations that have been performed or that are required to be performed
Implementations§
Source§impl DeviceMetric
impl DeviceMetric
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_type_(self, v: CodeableConcept) -> Self
pub fn set_unit(self, v: CodeableConcept) -> Self
pub fn set_device(self, v: Reference) -> Self
pub fn set_operational_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_color<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_category<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_measurement_frequency(self, v: Quantity) -> Self
pub fn set_calibration( self, v: Vec<DeviceMetricCalibrationBackboneElement>, ) -> Self
pub fn add_calibration(self, v: DeviceMetricCalibrationBackboneElement) -> Self
Trait Implementations§
Source§impl Clone for DeviceMetric
impl Clone for DeviceMetric
Source§fn clone(&self) -> DeviceMetric
fn clone(&self) -> DeviceMetric
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Compare for DeviceMetric
impl Compare for DeviceMetric
Source§impl Convert for DeviceMetric
impl Convert for DeviceMetric
fn to_integer(&self) -> Result<Integer>
fn to_decimal(&self) -> Result<Decimal>
fn to_strings(&self) -> Result<String>
fn to_datetime(&self) -> Result<DateTime>
fn to_boolean(&self) -> Result<Boolean>
Source§impl Debug for DeviceMetric
impl Debug for DeviceMetric
Source§impl Default for DeviceMetric
impl Default for DeviceMetric
Source§fn default() -> DeviceMetric
fn default() -> DeviceMetric
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceMetric
impl<'de> Deserialize<'de> for DeviceMetric
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl DomainResource for DeviceMetric
impl DomainResource for DeviceMetric
fn extension(&self) -> &Option<Vec<Extension>>
fn set_extension(self, ext: Vec<Extension>) -> Self
fn add_extension(self, ext: Extension) -> Self
fn modifier_extension(&self) -> &Option<Vec<Extension>>
fn set_modifier_extension(self, ext: Vec<Extension>) -> Self
fn add_modifier_extension(self, ext: Extension) -> Self
Source§impl Executor for DeviceMetric
impl Executor for DeviceMetric
fn element(&self, symbol: &String, index: &Option<usize>) -> Result<Collection>
fn to_collection(&self, index: &Option<usize>) -> Collection
fn child(&self, _index: usize) -> Result<Collection>
Source§impl Resource for DeviceMetric
impl Resource for DeviceMetric
Source§impl Serialize for DeviceMetric
impl Serialize for DeviceMetric
Auto Trait Implementations§
impl Freeze for DeviceMetric
impl RefUnwindSafe for DeviceMetric
impl Send for DeviceMetric
impl Sync for DeviceMetric
impl Unpin for DeviceMetric
impl UnwindSafe for DeviceMetric
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
Mutably borrows from an owned value. Read more