pub enum FilterOperator {
Equal,
ChildOf,
DescendentLeaf,
DescendentOf,
Exists,
Generalizes,
In,
IsA,
IsNotA,
NotIn,
Regex,
}
Expand description
FilterOperator. The kind of operation to perform as a part of a property based filter.
FHIR version: 5.0.0.
Variants§
Equal
=
Equals. The specified property of the code equals the provided value.
ChildOf
child-of
Child Of. Only concepts with a direct hierarchical relationship to the index code and no other concepts. This does not include the index code in the output.
DescendentLeaf
descendent-leaf
Descendent Leaf. Includes concept ids that have a transitive is-a relationship with the concept Id provided as the value, but which do not have any concept ids with transitive is-a relationships with themselves.
DescendentOf
descendent-of
Descendent Of (by subsumption). Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, excluding the provided concept itself (i.e. include descendant codes only).
Exists
exists
Exists. The specified property of the code has at least one value (if the specified value is true; if the specified value is false, then matches when the specified property of the code has no values).
Generalizes
generalizes
Generalizes (by Subsumption). Includes all concept ids that have a transitive is-a relationship from the concept Id provided as the value, including the provided concept itself (i.e. include ancestor codes and self).
In
in
In Set. The specified property of the code is in the set of codes or concepts specified in the provided value (comma-separated list).
IsA
is-a
Is A (by subsumption). Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, including the provided concept itself (include descendant codes and self).
IsNotA
is-not-a
Not (Is A) (by subsumption). The specified property of the code does not have an is-a relationship with the provided value.
NotIn
not-in
Not in Set. The specified property of the code is not in the set of codes or concepts specified in the provided value (comma-separated list).
Regex
regex
Regular Expression. The specified property of the code matches the regex specified in the provided value.
Trait Implementations§
Source§impl AsRef<str> for FilterOperator
impl AsRef<str> for FilterOperator
Source§impl Clone for FilterOperator
impl Clone for FilterOperator
Source§fn clone(&self) -> FilterOperator
fn clone(&self) -> FilterOperator
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for FilterOperator
impl Debug for FilterOperator
Source§impl<'de> Deserialize<'de> for FilterOperator
impl<'de> Deserialize<'de> for FilterOperator
Source§fn deserialize<D>(
deserializer: D,
) -> Result<FilterOperator, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<FilterOperator, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl Display for FilterOperator
impl Display for FilterOperator
Source§impl From<FilterOperator> for CodeableConcept
impl From<FilterOperator> for CodeableConcept
Source§fn from(code: FilterOperator) -> CodeableConcept
fn from(code: FilterOperator) -> CodeableConcept
Source§impl From<FilterOperator> for Coding
impl From<FilterOperator> for Coding
Source§fn from(code: FilterOperator) -> Coding
fn from(code: FilterOperator) -> Coding
Source§impl FromStr for FilterOperator
impl FromStr for FilterOperator
Source§impl Hash for FilterOperator
impl Hash for FilterOperator
Source§impl PartialEq for FilterOperator
impl PartialEq for FilterOperator
Source§impl Serialize for FilterOperator
impl Serialize for FilterOperator
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 FilterOperator
impl Eq for FilterOperator
impl StructuralPartialEq for FilterOperator
Auto Trait Implementations§
impl Freeze for FilterOperator
impl RefUnwindSafe for FilterOperator
impl Send for FilterOperator
impl Sync for FilterOperator
impl Unpin for FilterOperator
impl UnwindSafe for FilterOperator
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.