pub struct Ingredient {Show 18 fields
pub id: Option<Id>,
pub meta: Option<Meta>,
pub implicit_rules: Option<UriDt>,
pub language: Option<CodeDt>,
pub text: Option<Narrative>,
pub contained: Option<Vec<AnyResource>>,
pub extension: Option<Vec<Extension>>,
pub modifier_extension: Option<Vec<Extension>>,
pub identifier: Option<Identifier>,
pub status: Option<CodeDt>,
pub for_: Option<Vec<Reference>>,
pub role: Option<CodeableConcept>,
pub function: Option<Vec<CodeableConcept>>,
pub group: Option<CodeableConcept>,
pub allergenic_indicator: Option<BooleanDt>,
pub comment: Option<MarkdownDt>,
pub manufacturer: Option<Vec<IngredientManufacturerBackboneElement>>,
pub substance: Option<IngredientSubstanceBackboneElement>,
}
Fields§
§id: Option<Id>
Logical id of this artifact
meta: Option<Meta>
Metadata about the resource
implicit_rules: Option<UriDt>
A set of rules under which this content was created
language: Option<CodeDt>
Language of the resource content
text: Option<Narrative>
Text summary of the resource, for human interpretation
contained: Option<Vec<AnyResource>>
Contained, inline Resources
extension: Option<Vec<Extension>>
Additional content defined by implementations
modifier_extension: Option<Vec<Extension>>
Extensions that cannot be ignored
identifier: Option<Identifier>
An identifier or code by which the ingredient can be referenced
status: Option<CodeDt>
draft | active | retired | unknown
for_: Option<Vec<Reference>>
The product which this ingredient is a constituent part of
role: Option<CodeableConcept>
Purpose of the ingredient within the product, e.g. active, inactive
function: Option<Vec<CodeableConcept>>
Precise action within the drug product, e.g. antioxidant, alkalizing agent
group: Option<CodeableConcept>
A classification of the ingredient according to where in the physical item it tends to be used, such the outer shell of a tablet, inner body or ink
allergenic_indicator: Option<BooleanDt>
If the ingredient is a known or suspected allergen
comment: Option<MarkdownDt>
A place for providing any notes that are relevant to the component, e.g. removed during process, adjusted for loss on drying
manufacturer: Option<Vec<IngredientManufacturerBackboneElement>>
An organization that manufactures this ingredient
substance: Option<IngredientSubstanceBackboneElement>
The substance that comprises this ingredient
Implementations§
Source§impl Ingredient
impl Ingredient
pub fn set_identifier(self, v: Identifier) -> Self
pub fn set_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_for_(self, v: Vec<Reference>) -> Self
pub fn add_for_(self, v: Reference) -> Self
pub fn set_role(self, v: CodeableConcept) -> Self
pub fn set_function(self, v: Vec<CodeableConcept>) -> Self
pub fn add_function(self, v: CodeableConcept) -> Self
pub fn set_group(self, v: CodeableConcept) -> Self
pub fn set_allergenic_indicator<T: Into<BooleanDt>>(self, v: T) -> Self
pub fn set_comment<T: Into<MarkdownDt>>(self, v: T) -> Self
pub fn set_manufacturer( self, v: Vec<IngredientManufacturerBackboneElement>, ) -> Self
pub fn add_manufacturer(self, v: IngredientManufacturerBackboneElement) -> Self
pub fn set_substance(self, v: IngredientSubstanceBackboneElement) -> Self
Trait Implementations§
Source§impl Clone for Ingredient
impl Clone for Ingredient
Source§fn clone(&self) -> Ingredient
fn clone(&self) -> Ingredient
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more