pub enum FunctionCategory {
Show 15 variants
Existence,
Filtering,
Subsetting,
Combining,
Conversion,
String,
Math,
Tree,
Utility,
Boolean,
Datetime,
Types,
SqlOnFhir,
Terminology,
Other,
}Expand description
The FHIRPath function catalog and the FHIRPath environment variables,
re-exported for a completion endpoint’s function/variable candidates.
helios_fhirpath is already this crate’s own dependency (used above to
parse every expression this module lints); re-exporting these four items
here — rather than a caller like helios-ui taking a direct
helios-fhirpath dependency of its own just to read a static catalog —
keeps that catalog reachable through the one edge helios-ui already has
to this crate, the same way node_keys exposes the key model instead of
a caller duplicating it.
A closed set of groupings for FunctionInfo::category, mirroring the
section structure of the FHIRPath functions specification
plus the FHIR- and SQL-on-FHIR-specific extensions this crate adds.
Variants§
Existence
Existence checks and cardinality (empty, exists, count, …).
Filtering
Filtering and projection (where, select, ofType, …).
Subsetting
Subsetting a collection (first, skip, single, …).
Combining
Combining two collections (union, combine).
Conversion
Type conversion (toString, convertsToInteger, iif, …).
String
String manipulation (substring, replace, join, …).
Math
Arithmetic and numeric aggregation (abs, round, sum, …).
Tree
Tree navigation (children, descendants, extension).
Utility
General-purpose utilities (trace, now, defineVariable, …).
Boolean
Boolean logic functions (not).
Datetime
Date/time interval arithmetic (duration, difference).
Types
Type reflection (type).
SqlOnFhir
FHIRPath extensions specific to SQL-on-FHIR ViewDefinitions
(getResourceKey, getReferenceKey) — not part of the base
FHIRPath specification.
Terminology
Terminology operations (memberOf).
Other
Doesn’t fit the other categories cleanly (resolve, comparable).
Implementations§
Trait Implementations§
Source§impl Clone for FunctionCategory
impl Clone for FunctionCategory
Source§fn clone(&self) -> FunctionCategory
fn clone(&self) -> FunctionCategory
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for FunctionCategory
Source§impl Debug for FunctionCategory
impl Debug for FunctionCategory
Source§impl Display for FunctionCategory
impl Display for FunctionCategory
impl Eq for FunctionCategory
Source§impl Hash for FunctionCategory
impl Hash for FunctionCategory
Source§impl PartialEq for FunctionCategory
impl PartialEq for FunctionCategory
impl StructuralPartialEq for FunctionCategory
Auto Trait Implementations§
impl Freeze for FunctionCategory
impl RefUnwindSafe for FunctionCategory
impl Send for FunctionCategory
impl Sync for FunctionCategory
impl Unpin for FunctionCategory
impl UnsafeUnpin for FunctionCategory
impl UnwindSafe for FunctionCategory
Blanket Implementations§
impl<T> Allocation for T
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
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.