pub trait MedicalProcedureTrait {
// Required methods
fn get_body_location(&self) -> &[BodyLocationProperty];
fn take_body_location(&mut self) -> Vec<BodyLocationProperty>;
fn get_followup(&self) -> &[FollowupProperty];
fn take_followup(&mut self) -> Vec<FollowupProperty>;
fn get_how_performed(&self) -> &[HowPerformedProperty];
fn take_how_performed(&mut self) -> Vec<HowPerformedProperty>;
fn get_preparation(&self) -> &[PreparationProperty];
fn take_preparation(&mut self) -> Vec<PreparationProperty>;
fn get_procedure_type(&self) -> &[ProcedureTypeProperty];
fn take_procedure_type(&mut self) -> Vec<ProcedureTypeProperty>;
fn get_status(&self) -> &[StatusProperty];
fn take_status(&mut self) -> Vec<StatusProperty>;
}
Expand description
This trait is for properties from https://schema.org/MedicalProcedure.
Required Methods§
sourcefn get_body_location(&self) -> &[BodyLocationProperty]
fn get_body_location(&self) -> &[BodyLocationProperty]
Get https://schema.org/bodyLocation from Self
as borrowed slice.
sourcefn take_body_location(&mut self) -> Vec<BodyLocationProperty>
fn take_body_location(&mut self) -> Vec<BodyLocationProperty>
Take https://schema.org/bodyLocation from Self
as owned vector.
sourcefn get_followup(&self) -> &[FollowupProperty]
fn get_followup(&self) -> &[FollowupProperty]
Get https://schema.org/followup from Self
as borrowed slice.
sourcefn take_followup(&mut self) -> Vec<FollowupProperty>
fn take_followup(&mut self) -> Vec<FollowupProperty>
Take https://schema.org/followup from Self
as owned vector.
sourcefn get_how_performed(&self) -> &[HowPerformedProperty]
fn get_how_performed(&self) -> &[HowPerformedProperty]
Get https://schema.org/howPerformed from Self
as borrowed slice.
sourcefn take_how_performed(&mut self) -> Vec<HowPerformedProperty>
fn take_how_performed(&mut self) -> Vec<HowPerformedProperty>
Take https://schema.org/howPerformed from Self
as owned vector.
sourcefn get_preparation(&self) -> &[PreparationProperty]
fn get_preparation(&self) -> &[PreparationProperty]
Get https://schema.org/preparation from Self
as borrowed slice.
sourcefn take_preparation(&mut self) -> Vec<PreparationProperty>
fn take_preparation(&mut self) -> Vec<PreparationProperty>
Take https://schema.org/preparation from Self
as owned vector.
sourcefn get_procedure_type(&self) -> &[ProcedureTypeProperty]
fn get_procedure_type(&self) -> &[ProcedureTypeProperty]
Get https://schema.org/procedureType from Self
as borrowed slice.
sourcefn take_procedure_type(&mut self) -> Vec<ProcedureTypeProperty>
fn take_procedure_type(&mut self) -> Vec<ProcedureTypeProperty>
Take https://schema.org/procedureType 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.