pub struct ClinicalStandards { /* private fields */ }Expand description
Clinical standards
Implementations§
Source§impl ClinicalStandards
impl ClinicalStandards
Sourcepub fn initialize(&mut self) -> Result<(), MedicalError>
pub fn initialize(&mut self) -> Result<(), MedicalError>
Initialize ClinicalStandards; Ok when ready.
Sourcepub fn add_clinical_guideline(&mut self, guideline: ClinicalGuideline)
pub fn add_clinical_guideline(&mut self, guideline: ClinicalGuideline)
Add clinical_guideline to the ClinicalStandards.
Sourcepub fn get_clinical_guideline(
&self,
guideline_id: &str,
) -> Option<&ClinicalGuideline>
pub fn get_clinical_guideline( &self, guideline_id: &str, ) -> Option<&ClinicalGuideline>
Look up clinical_guideline by id; None when absent.
Sourcepub fn add_quality_metric(&mut self, metric: QualityMetric)
pub fn add_quality_metric(&mut self, metric: QualityMetric)
Add quality_metric to the ClinicalStandards.
Sourcepub fn get_quality_metric(&self, metric_id: &str) -> Option<&QualityMetric>
pub fn get_quality_metric(&self, metric_id: &str) -> Option<&QualityMetric>
Look up quality_metric by id; None when absent.
Sourcepub fn add_best_practice(&mut self, practice: BestPractice)
pub fn add_best_practice(&mut self, practice: BestPractice)
Add best_practice to the ClinicalStandards.
Sourcepub fn get_best_practice(&self, practice_id: &str) -> Option<&BestPractice>
pub fn get_best_practice(&self, practice_id: &str) -> Option<&BestPractice>
Look up best_practice by id; None when absent.
Auto Trait Implementations§
impl Freeze for ClinicalStandards
impl RefUnwindSafe for ClinicalStandards
impl Send for ClinicalStandards
impl Sync for ClinicalStandards
impl Unpin for ClinicalStandards
impl UnsafeUnpin for ClinicalStandards
impl UnwindSafe for ClinicalStandards
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
Converts
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> ⓘ
Converts
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 more