pub trait MedicalConditionTrait {
Show 32 methods
// Required methods
fn get_associated_anatomy(&self) -> &[AssociatedAnatomyProperty];
fn take_associated_anatomy(&mut self) -> Vec<AssociatedAnatomyProperty>;
fn get_differential_diagnosis(&self) -> &[DifferentialDiagnosisProperty];
fn take_differential_diagnosis(
&mut self
) -> Vec<DifferentialDiagnosisProperty>;
fn get_drug(&self) -> &[DrugProperty];
fn take_drug(&mut self) -> Vec<DrugProperty>;
fn get_epidemiology(&self) -> &[EpidemiologyProperty];
fn take_epidemiology(&mut self) -> Vec<EpidemiologyProperty>;
fn get_expected_prognosis(&self) -> &[ExpectedPrognosisProperty];
fn take_expected_prognosis(&mut self) -> Vec<ExpectedPrognosisProperty>;
fn get_natural_progression(&self) -> &[NaturalProgressionProperty];
fn take_natural_progression(&mut self) -> Vec<NaturalProgressionProperty>;
fn get_pathophysiology(&self) -> &[PathophysiologyProperty];
fn take_pathophysiology(&mut self) -> Vec<PathophysiologyProperty>;
fn get_possible_complication(&self) -> &[PossibleComplicationProperty];
fn take_possible_complication(
&mut self
) -> Vec<PossibleComplicationProperty>;
fn get_possible_treatment(&self) -> &[PossibleTreatmentProperty];
fn take_possible_treatment(&mut self) -> Vec<PossibleTreatmentProperty>;
fn get_primary_prevention(&self) -> &[PrimaryPreventionProperty];
fn take_primary_prevention(&mut self) -> Vec<PrimaryPreventionProperty>;
fn get_risk_factor(&self) -> &[RiskFactorProperty];
fn take_risk_factor(&mut self) -> Vec<RiskFactorProperty>;
fn get_secondary_prevention(&self) -> &[SecondaryPreventionProperty];
fn take_secondary_prevention(&mut self) -> Vec<SecondaryPreventionProperty>;
fn get_sign_or_symptom(&self) -> &[SignOrSymptomProperty];
fn take_sign_or_symptom(&mut self) -> Vec<SignOrSymptomProperty>;
fn get_stage(&self) -> &[StageProperty];
fn take_stage(&mut self) -> Vec<StageProperty>;
fn get_status(&self) -> &[StatusProperty];
fn take_status(&mut self) -> Vec<StatusProperty>;
fn get_typical_test(&self) -> &[TypicalTestProperty];
fn take_typical_test(&mut self) -> Vec<TypicalTestProperty>;
}
Expand description
This trait is for properties from https://schema.org/MedicalCondition.
Required Methods§
sourcefn get_associated_anatomy(&self) -> &[AssociatedAnatomyProperty]
fn get_associated_anatomy(&self) -> &[AssociatedAnatomyProperty]
Get https://schema.org/associatedAnatomy from Self
as borrowed slice.
sourcefn take_associated_anatomy(&mut self) -> Vec<AssociatedAnatomyProperty>
fn take_associated_anatomy(&mut self) -> Vec<AssociatedAnatomyProperty>
Take https://schema.org/associatedAnatomy from Self
as owned vector.
sourcefn get_differential_diagnosis(&self) -> &[DifferentialDiagnosisProperty]
fn get_differential_diagnosis(&self) -> &[DifferentialDiagnosisProperty]
Get https://schema.org/differentialDiagnosis from Self
as borrowed slice.
sourcefn take_differential_diagnosis(&mut self) -> Vec<DifferentialDiagnosisProperty>
fn take_differential_diagnosis(&mut self) -> Vec<DifferentialDiagnosisProperty>
Take https://schema.org/differentialDiagnosis from Self
as owned vector.
sourcefn get_drug(&self) -> &[DrugProperty]
fn get_drug(&self) -> &[DrugProperty]
Get https://schema.org/drug from Self
as borrowed slice.
sourcefn take_drug(&mut self) -> Vec<DrugProperty>
fn take_drug(&mut self) -> Vec<DrugProperty>
Take https://schema.org/drug from Self
as owned vector.
sourcefn get_epidemiology(&self) -> &[EpidemiologyProperty]
fn get_epidemiology(&self) -> &[EpidemiologyProperty]
Get https://schema.org/epidemiology from Self
as borrowed slice.
sourcefn take_epidemiology(&mut self) -> Vec<EpidemiologyProperty>
fn take_epidemiology(&mut self) -> Vec<EpidemiologyProperty>
Take https://schema.org/epidemiology from Self
as owned vector.
sourcefn get_expected_prognosis(&self) -> &[ExpectedPrognosisProperty]
fn get_expected_prognosis(&self) -> &[ExpectedPrognosisProperty]
Get https://schema.org/expectedPrognosis from Self
as borrowed slice.
sourcefn take_expected_prognosis(&mut self) -> Vec<ExpectedPrognosisProperty>
fn take_expected_prognosis(&mut self) -> Vec<ExpectedPrognosisProperty>
Take https://schema.org/expectedPrognosis from Self
as owned vector.
sourcefn get_natural_progression(&self) -> &[NaturalProgressionProperty]
fn get_natural_progression(&self) -> &[NaturalProgressionProperty]
Get https://schema.org/naturalProgression from Self
as borrowed slice.
sourcefn take_natural_progression(&mut self) -> Vec<NaturalProgressionProperty>
fn take_natural_progression(&mut self) -> Vec<NaturalProgressionProperty>
Take https://schema.org/naturalProgression from Self
as owned vector.
sourcefn get_pathophysiology(&self) -> &[PathophysiologyProperty]
fn get_pathophysiology(&self) -> &[PathophysiologyProperty]
Get https://schema.org/pathophysiology from Self
as borrowed slice.
sourcefn take_pathophysiology(&mut self) -> Vec<PathophysiologyProperty>
fn take_pathophysiology(&mut self) -> Vec<PathophysiologyProperty>
Take https://schema.org/pathophysiology from Self
as owned vector.
sourcefn get_possible_complication(&self) -> &[PossibleComplicationProperty]
fn get_possible_complication(&self) -> &[PossibleComplicationProperty]
Get https://schema.org/possibleComplication from Self
as borrowed slice.
sourcefn take_possible_complication(&mut self) -> Vec<PossibleComplicationProperty>
fn take_possible_complication(&mut self) -> Vec<PossibleComplicationProperty>
Take https://schema.org/possibleComplication from Self
as owned vector.
sourcefn get_possible_treatment(&self) -> &[PossibleTreatmentProperty]
fn get_possible_treatment(&self) -> &[PossibleTreatmentProperty]
Get https://schema.org/possibleTreatment from Self
as borrowed slice.
sourcefn take_possible_treatment(&mut self) -> Vec<PossibleTreatmentProperty>
fn take_possible_treatment(&mut self) -> Vec<PossibleTreatmentProperty>
Take https://schema.org/possibleTreatment from Self
as owned vector.
sourcefn get_primary_prevention(&self) -> &[PrimaryPreventionProperty]
fn get_primary_prevention(&self) -> &[PrimaryPreventionProperty]
Get https://schema.org/primaryPrevention from Self
as borrowed slice.
sourcefn take_primary_prevention(&mut self) -> Vec<PrimaryPreventionProperty>
fn take_primary_prevention(&mut self) -> Vec<PrimaryPreventionProperty>
Take https://schema.org/primaryPrevention from Self
as owned vector.
sourcefn get_risk_factor(&self) -> &[RiskFactorProperty]
fn get_risk_factor(&self) -> &[RiskFactorProperty]
Get https://schema.org/riskFactor from Self
as borrowed slice.
sourcefn take_risk_factor(&mut self) -> Vec<RiskFactorProperty>
fn take_risk_factor(&mut self) -> Vec<RiskFactorProperty>
Take https://schema.org/riskFactor from Self
as owned vector.
sourcefn get_secondary_prevention(&self) -> &[SecondaryPreventionProperty]
fn get_secondary_prevention(&self) -> &[SecondaryPreventionProperty]
Get https://schema.org/secondaryPrevention from Self
as borrowed slice.
sourcefn take_secondary_prevention(&mut self) -> Vec<SecondaryPreventionProperty>
fn take_secondary_prevention(&mut self) -> Vec<SecondaryPreventionProperty>
Take https://schema.org/secondaryPrevention from Self
as owned vector.
sourcefn get_sign_or_symptom(&self) -> &[SignOrSymptomProperty]
fn get_sign_or_symptom(&self) -> &[SignOrSymptomProperty]
Get https://schema.org/signOrSymptom from Self
as borrowed slice.
sourcefn take_sign_or_symptom(&mut self) -> Vec<SignOrSymptomProperty>
fn take_sign_or_symptom(&mut self) -> Vec<SignOrSymptomProperty>
Take https://schema.org/signOrSymptom from Self
as owned vector.
sourcefn get_stage(&self) -> &[StageProperty]
fn get_stage(&self) -> &[StageProperty]
Get https://schema.org/stage from Self
as borrowed slice.
sourcefn take_stage(&mut self) -> Vec<StageProperty>
fn take_stage(&mut self) -> Vec<StageProperty>
Take https://schema.org/stage from Self
as owned vector.
sourcefn get_status(&self) -> &[StatusProperty]
fn get_status(&self) -> &[StatusProperty]
Get https://schema.org/status from Self
as borrowed slice.
sourcefn take_status(&mut self) -> Vec<StatusProperty>
fn take_status(&mut self) -> Vec<StatusProperty>
Take https://schema.org/status from Self
as owned vector.
sourcefn get_typical_test(&self) -> &[TypicalTestProperty]
fn get_typical_test(&self) -> &[TypicalTestProperty]
Get https://schema.org/typicalTest from Self
as borrowed slice.
sourcefn take_typical_test(&mut self) -> Vec<TypicalTestProperty>
fn take_typical_test(&mut self) -> Vec<TypicalTestProperty>
Take https://schema.org/typicalTest from Self
as owned vector.