Enum Term Copy item path Source pub enum Term {
Invocation(Invocation ),
Literal(Literal ),
ExternalConstant(String ),
Parenthesized(Box <Expression >),
}Expand description Represents a basic term in a FHIRPath expression
A term is the most fundamental unit in a FHIRPath expression.
It can be a literal value, an invocation, a variable reference,
or a parenthesized expression. Terms are the leaves of the expression
tree in the abstract syntax tree (AST).
Terms can appear alone or as part of more complex expressions,
and they are the starting point for expression evaluation.
An invocation, such as a member access, function call, or special identifier
(e.g., name, first(), $this)
A literal value like a number, string, boolean, or date
(e.g., 42, 'text', true, @2022-01-01)
An external constant or environment variable reference
(e.g., %context, %ucum, %terminologies)
A parenthesized expression
(e.g., (1 + 2), (Patient.name))
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Returns the argument unchanged.
Converts to this type from a reference to the input type.
Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The item yielded by the iterator.
An iterator over the items within this container, by reference.
Iterate over the elements of the container.
Check whether an item is contained within this sequence.
Convert an item of the sequence into a
MaybeRef.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.