pub enum ObservationDataType {
CodeableConcept,
Period,
Quantity,
Range,
Ratio,
SampledData,
Boolean,
DateTime,
Integer,
String,
Time,
}Expand description
ObservationDataType. Permitted data type for observation value.
FHIR version: 5.0.0.
Variants§
CodeableConcept
CodeableConcept
CodeableConcept. A coded concept from a reference terminology and/or text.
Period
Period
Period. A time range defined by start and end date/time.
Quantity
Quantity
Quantity. A measured amount.
Range
Range
Range. A set of values bounded by low and high.
Ratio
Ratio
Ratio. A ratio of two Quantity values - a numerator and a denominator.
SampledData
SampledData
SampledData. A series of measurements taken by a device.
Boolean
boolean
boolean. true or false.
DateTime
dateTime
dateTime. A date, date-time or partial date (e.g. just year or year + month) as used in human communication.
Integer
integer
integer. A signed integer.
String
string
string. A sequence of Unicode characters.
Time
time
time. A time during the day, in the format hh:mm:ss.
Trait Implementations§
Source§impl AsRef<str> for ObservationDataType
impl AsRef<str> for ObservationDataType
Source§impl Clone for ObservationDataType
impl Clone for ObservationDataType
Source§fn clone(&self) -> ObservationDataType
fn clone(&self) -> ObservationDataType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObservationDataType
impl Debug for ObservationDataType
Source§impl<'de> Deserialize<'de> for ObservationDataType
impl<'de> Deserialize<'de> for ObservationDataType
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ObservationDataType
impl Display for ObservationDataType
Source§impl From<ObservationDataType> for CodeableConcept
impl From<ObservationDataType> for CodeableConcept
Source§fn from(code: ObservationDataType) -> Self
fn from(code: ObservationDataType) -> Self
Converts to this type from the input type.
Source§impl From<ObservationDataType> for Coding
impl From<ObservationDataType> for Coding
Source§fn from(code: ObservationDataType) -> Self
fn from(code: ObservationDataType) -> Self
Converts to this type from the input type.
Source§impl FromStr for ObservationDataType
impl FromStr for ObservationDataType
Source§impl Hash for ObservationDataType
impl Hash for ObservationDataType
Source§impl PartialEq for ObservationDataType
impl PartialEq for ObservationDataType
Source§fn eq(&self, other: &ObservationDataType) -> bool
fn eq(&self, other: &ObservationDataType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ObservationDataType
impl Serialize for ObservationDataType
impl Copy for ObservationDataType
impl Eq for ObservationDataType
impl StructuralPartialEq for ObservationDataType
Auto Trait Implementations§
impl Freeze for ObservationDataType
impl RefUnwindSafe for ObservationDataType
impl Send for ObservationDataType
impl Sync for ObservationDataType
impl Unpin for ObservationDataType
impl UnsafeUnpin for ObservationDataType
impl UnwindSafe for ObservationDataType
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