pub struct NutritionIntake {Show 28 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<Vec<Identifier>>,
pub instantiates_canonical: Option<Vec<CanonicalDt>>,
pub instantiates_uri: Option<Vec<UriDt>>,
pub based_on: Option<Vec<Reference>>,
pub part_of: Option<Vec<Reference>>,
pub status: Option<CodeDt>,
pub status_reason: Option<Vec<CodeableConcept>>,
pub code: Option<CodeableConcept>,
pub subject: Option<Reference>,
pub encounter: Option<Reference>,
pub occurrence: Option<Period>,
pub recorded: Option<DateTimeDt>,
pub reported: Option<Reference>,
pub consumed_item: Option<Vec<NutritionIntakeConsumedItemBackboneElement>>,
pub ingredient_label: Option<Vec<NutritionIntakeIngredientLabelBackboneElement>>,
pub performer: Option<Vec<NutritionIntakePerformerBackboneElement>>,
pub location: Option<Reference>,
pub derived_from: Option<Vec<Reference>>,
pub reason: Option<Vec<CodeableReference>>,
pub note: Option<Vec<Annotation>>,
}
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<Vec<Identifier>>
External identifier
instantiates_canonical: Option<Vec<CanonicalDt>>
Instantiates FHIR protocol or definition
instantiates_uri: Option<Vec<UriDt>>
Instantiates external protocol or definition
based_on: Option<Vec<Reference>>
Fulfils plan, proposal or order
part_of: Option<Vec<Reference>>
Part of referenced event
status: Option<CodeDt>
preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
status_reason: Option<Vec<CodeableConcept>>
Reason for current status
code: Option<CodeableConcept>
Code representing an overall type of nutrition intake
subject: Option<Reference>
Who is/was consuming the food or fluid
encounter: Option<Reference>
Encounter associated with NutritionIntake
occurrence: Option<Period>
The date/time or interval when the food or fluid is/was consumed
recorded: Option<DateTimeDt>
When the intake was recorded
reported: Option<Reference>
Person or organization that provided the information about the consumption of this food or fluid
consumed_item: Option<Vec<NutritionIntakeConsumedItemBackboneElement>>
What food or fluid product or item was consumed
ingredient_label: Option<Vec<NutritionIntakeIngredientLabelBackboneElement>>
Total nutrient for the whole meal, product, serving
performer: Option<Vec<NutritionIntakePerformerBackboneElement>>
Who was performed in the intake
location: Option<Reference>
Where the intake occurred
derived_from: Option<Vec<Reference>>
Additional supporting information
reason: Option<Vec<CodeableReference>>
Reason for why the food or fluid is /was consumed
note: Option<Vec<Annotation>>
Further information about the consumption
Implementations§
Source§impl NutritionIntake
impl NutritionIntake
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_instantiates_canonical(self, v: Vec<CanonicalDt>) -> Self
pub fn add_instantiates_canonical<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_instantiates_uri(self, v: Vec<UriDt>) -> Self
pub fn add_instantiates_uri<T: Into<UriDt>>(self, v: T) -> Self
pub fn set_based_on(self, v: Vec<Reference>) -> Self
pub fn add_based_on(self, v: Reference) -> Self
pub fn set_part_of(self, v: Vec<Reference>) -> Self
pub fn add_part_of(self, v: Reference) -> Self
pub fn set_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_status_reason(self, v: Vec<CodeableConcept>) -> Self
pub fn add_status_reason(self, v: CodeableConcept) -> Self
pub fn set_code(self, v: CodeableConcept) -> Self
pub fn set_subject(self, v: Reference) -> Self
pub fn set_encounter(self, v: Reference) -> Self
pub fn set_occurrence(self, v: Period) -> Self
pub fn set_recorded<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_reported(self, v: Reference) -> Self
pub fn set_consumed_item( self, v: Vec<NutritionIntakeConsumedItemBackboneElement>, ) -> Self
pub fn add_consumed_item( self, v: NutritionIntakeConsumedItemBackboneElement, ) -> Self
pub fn set_ingredient_label( self, v: Vec<NutritionIntakeIngredientLabelBackboneElement>, ) -> Self
pub fn add_ingredient_label( self, v: NutritionIntakeIngredientLabelBackboneElement, ) -> Self
pub fn set_performer( self, v: Vec<NutritionIntakePerformerBackboneElement>, ) -> Self
pub fn add_performer(self, v: NutritionIntakePerformerBackboneElement) -> Self
pub fn set_location(self, v: Reference) -> Self
pub fn set_derived_from(self, v: Vec<Reference>) -> Self
pub fn add_derived_from(self, v: Reference) -> Self
pub fn set_reason(self, v: Vec<CodeableReference>) -> Self
pub fn add_reason(self, v: CodeableReference) -> Self
pub fn set_note(self, v: Vec<Annotation>) -> Self
pub fn add_note(self, v: Annotation) -> Self
Trait Implementations§
Source§impl Clone for NutritionIntake
impl Clone for NutritionIntake
Source§fn clone(&self) -> NutritionIntake
fn clone(&self) -> NutritionIntake
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more