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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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<ObservationDataType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ObservationDataType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
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) -> CodeableConcept
fn from(code: ObservationDataType) -> CodeableConcept
Source§impl From<ObservationDataType> for Coding
impl From<ObservationDataType> for Coding
Source§fn from(code: ObservationDataType) -> Coding
fn from(code: ObservationDataType) -> Coding
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§impl Serialize for ObservationDataType
impl Serialize for ObservationDataType
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.