pub struct Expression {
pub id: Option<Id>,
pub extension: Option<Vec<Extension>>,
pub description: Option<StringDt>,
pub name: Option<CodeDt>,
pub language: Option<CodeDt>,
pub expression: Option<StringDt>,
pub reference: Option<UriDt>,
}
Fields§
§id: Option<Id>
Unique id for inter-element referencing
extension: Option<Vec<Extension>>
Additional content defined by implementations
description: Option<StringDt>
Natural language description of the condition
name: Option<CodeDt>
Short name assigned to expression for reuse
language: Option<CodeDt>
text/cql | text/fhirpath | application/x-fhir-query | etc.
expression: Option<StringDt>
Expression in specified language
reference: Option<UriDt>
Where the expression is found
Implementations§
Source§impl Expression
impl Expression
pub fn set_description<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_name<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_language<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_expression<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_reference<T: Into<UriDt>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for Expression
impl Clone for Expression
Source§fn clone(&self) -> Expression
fn clone(&self) -> Expression
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 Expression
impl Compare for Expression
Source§impl Convert for Expression
impl Convert for Expression
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 Expression
impl Debug for Expression
Source§impl Default for Expression
impl Default for Expression
Source§fn default() -> Expression
fn default() -> Expression
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Expression
impl<'de> Deserialize<'de> for Expression
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl Element for Expression
impl Element for Expression
Source§impl Executor for Expression
impl Executor for Expression
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 Serialize for Expression
impl Serialize for Expression
impl DataType for Expression
Auto Trait Implementations§
impl Freeze for Expression
impl RefUnwindSafe for Expression
impl Send for Expression
impl Sync for Expression
impl Unpin for Expression
impl UnwindSafe for Expression
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