pub struct Match {
pub equivalence: Option<Equivalence>,
pub concept: Option<Concept>,
pub source: Option<String>,
}Expand description
One match of ConceptMap/$translate.
The operation “returns a set of parameters including a result for whether
there is an acceptable match, and a list of possible matches. Note that the
list of matches may include notes of codes for which mapping is
specifically excluded, so implementers have to check the
match.equivalence for each match”
(OperationDefinition-ConceptMap-translate, R4), which is why every match
is returned and Equivalence::accepted decides.
Fields§
§equivalence: Option<Equivalence>match.equivalence, when the server sent one.
concept: Option<Concept>match.concept, the concept that was mapped to.
source: Option<String>match.source, the concept map that produced this match.
Implementations§
Trait Implementations§
impl Eq for Match
impl StructuralPartialEq for Match
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnsafeUnpin for Match
impl UnwindSafe for Match
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
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
Compare self to
key and return true if they are equal.