pub struct CodeListProvider { /* private fields */ }Expand description
Provider that checks whether a value belongs to a known code list.
Condition name format: "code_in_<data_element_id>:<value>"
Returns True if the value is in the list, False if not, Unknown if the list is unknown.
Implementations§
Trait Implementations§
Source§impl ExternalConditionProvider for CodeListProvider
impl ExternalConditionProvider for CodeListProvider
Source§fn evaluate(&self, condition_name: &str) -> ConditionResult
fn evaluate(&self, condition_name: &str) -> ConditionResult
Evaluate an external condition by name. Read more
Source§fn now(&self) -> DateTime<Utc>
fn now(&self) -> DateTime<Utc>
The present moment, for conditions that compare against it: UTILMD
[494] “das hier genannte Datum muss der Zeitpunkt sein, zu dem das
Dokument erstellt wurde, oder ein Zeitpunkt, der davor liegt”. The
wall clock by default; a caller on a simulated clock overrides it.Auto Trait Implementations§
impl Freeze for CodeListProvider
impl RefUnwindSafe for CodeListProvider
impl Send for CodeListProvider
impl Sync for CodeListProvider
impl Unpin for CodeListProvider
impl UnsafeUnpin for CodeListProvider
impl UnwindSafe for CodeListProvider
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