pub struct NutritionIntake(pub Box<NutritionIntakeInner>);
Expand description
A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient’s memory, from a nutrition label, or from a clinician documenting observed intake.
NutritionIntake v5.0.0
Record of food or fluid being taken by a patient
A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient’s memory, from a nutrition label, or from a clinician documenting observed intake.
Tuple Fields§
§0: Box<NutritionIntakeInner>
Implementations§
Source§impl NutritionIntake
impl NutritionIntake
Sourcepub fn builder() -> NutritionIntakeBuilder
pub fn builder() -> NutritionIntakeBuilder
Start building an instance.
Source§impl NutritionIntake
impl NutritionIntake
Sourcepub const fn resource_type() -> ResourceType
pub const fn resource_type() -> ResourceType
Get the resource type for this FHIR resource.
Trait Implementations§
Source§impl BaseResource for NutritionIntake
impl BaseResource for NutritionIntake
Source§fn implicit_rules(&self) -> &Option<String>
fn implicit_rules(&self) -> &Option<String>
implicit_rules
.Source§fn implicit_rules_mut(&mut self) -> &mut Option<String>
fn implicit_rules_mut(&mut self) -> &mut Option<String>
implicit_rules
mutably.Source§fn set_implicit_rules(&mut self, value: Option<String>)
fn set_implicit_rules(&mut self, value: Option<String>)
implicit_rules
.Source§fn language_mut(&mut self) -> &mut Option<String>
fn language_mut(&mut self) -> &mut Option<String>
language
mutably.Source§fn set_language(&mut self, value: Option<String>)
fn set_language(&mut self, value: Option<String>)
language
.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 moreSource§impl Debug for NutritionIntake
impl Debug for NutritionIntake
Source§impl Deref for NutritionIntake
impl Deref for NutritionIntake
Source§type Target = NutritionIntakeInner
type Target = NutritionIntakeInner
Source§impl DerefMut for NutritionIntake
impl DerefMut for NutritionIntake
Source§impl<'de> Deserialize<'de> for NutritionIntake
impl<'de> Deserialize<'de> for NutritionIntake
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NutritionIntake, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NutritionIntake, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl DomainResource for NutritionIntake
impl DomainResource for NutritionIntake
Source§fn implicit_rules(&self) -> &Option<String>
fn implicit_rules(&self) -> &Option<String>
implicit_rules
.Source§fn implicit_rules_mut(&mut self) -> &mut Option<String>
fn implicit_rules_mut(&mut self) -> &mut Option<String>
implicit_rules
mutably.Source§fn set_implicit_rules(&mut self, value: Option<String>)
fn set_implicit_rules(&mut self, value: Option<String>)
implicit_rules
.Source§fn language_mut(&mut self) -> &mut Option<String>
fn language_mut(&mut self) -> &mut Option<String>
language
mutably.Source§fn set_language(&mut self, value: Option<String>)
fn set_language(&mut self, value: Option<String>)
language
.Source§fn contained_mut(&mut self) -> &mut Vec<Resource>
fn contained_mut(&mut self) -> &mut Vec<Resource>
contained
mutably.Source§fn set_contained(&mut self, value: Vec<Resource>)
fn set_contained(&mut self, value: Vec<Resource>)
contained
.Source§fn extension_mut(&mut self) -> &mut Vec<Extension>
fn extension_mut(&mut self) -> &mut Vec<Extension>
extension
mutably.Source§fn set_extension(&mut self, value: Vec<Extension>)
fn set_extension(&mut self, value: Vec<Extension>)
extension
.Source§fn modifier_extension(&self) -> &Vec<Extension>
fn modifier_extension(&self) -> &Vec<Extension>
modifier_extension
.Source§fn modifier_extension_mut(&mut self) -> &mut Vec<Extension>
fn modifier_extension_mut(&mut self) -> &mut Vec<Extension>
modifier_extension
mutably.Source§fn set_modifier_extension(&mut self, value: Vec<Extension>)
fn set_modifier_extension(&mut self, value: Vec<Extension>)
modifier_extension
.Source§impl From<NutritionIntake> for Resource
impl From<NutritionIntake> for Resource
Source§fn from(resource: NutritionIntake) -> Resource
fn from(resource: NutritionIntake) -> Resource
Source§impl From<NutritionIntakeInner> for NutritionIntake
impl From<NutritionIntakeInner> for NutritionIntake
Source§fn from(inner: NutritionIntakeInner) -> NutritionIntake
fn from(inner: NutritionIntakeInner) -> NutritionIntake
Source§impl IdentifiableResource for NutritionIntake
impl IdentifiableResource for NutritionIntake
Source§fn identifier(&self) -> &Vec<Option<Identifier>>
fn identifier(&self) -> &Vec<Option<Identifier>>
Source§fn identifier_mut(&mut self) -> &mut Vec<Option<Identifier>>
fn identifier_mut(&mut self) -> &mut Vec<Option<Identifier>>
Source§fn set_identifier(&mut self, value: Vec<Option<Identifier>>)
fn set_identifier(&mut self, value: Vec<Option<Identifier>>)
Source§fn identifier_ext(&self) -> &Vec<Option<FieldExtension>>
fn identifier_ext(&self) -> &Vec<Option<FieldExtension>>
Source§fn identifier_ext_mut(&mut self) -> &mut Vec<Option<FieldExtension>>
fn identifier_ext_mut(&mut self) -> &mut Vec<Option<FieldExtension>>
Source§fn set_identifier_ext(&mut self, value: Vec<Option<FieldExtension>>)
fn set_identifier_ext(&mut self, value: Vec<Option<FieldExtension>>)
Source§fn place_identifier(&mut self, identifier: Identifier) -> bool
fn place_identifier(&mut self, identifier: Identifier) -> bool
Source§fn identifier_with_system(&self, system: &str) -> Option<&String>
fn identifier_with_system(&self, system: &str) -> Option<&String>
Source§fn identifiers_with_system(&self, system: &str) -> Vec<&Identifier>
fn identifiers_with_system(&self, system: &str) -> Vec<&Identifier>
Source§fn identifier_with_type(
&self,
type_system: &str,
type_code: &str,
) -> Option<&String>
fn identifier_with_type( &self, type_system: &str, type_code: &str, ) -> Option<&String>
Source§fn identifiers_with_type(
&self,
type_system: &str,
type_code: &str,
) -> Vec<&Identifier>
fn identifiers_with_type( &self, type_system: &str, type_code: &str, ) -> Vec<&Identifier>
Source§impl NamedResource for NutritionIntake
impl NamedResource for NutritionIntake
Source§const FHIR_VERSION: &'static str = "5.0.0"
const FHIR_VERSION: &'static str = "5.0.0"
Source§const TYPE: ResourceType = ResourceType::NutritionIntake
const TYPE: ResourceType = ResourceType::NutritionIntake
Source§impl PartialEq for NutritionIntake
impl PartialEq for NutritionIntake
Source§impl Serialize for NutritionIntake
impl Serialize for NutritionIntake
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Source§impl<'a> TryFrom<&'a Resource> for &'a NutritionIntake
impl<'a> TryFrom<&'a Resource> for &'a NutritionIntake
Source§type Error = WrongResourceType
type Error = WrongResourceType
Source§fn try_from(
resource: &'a Resource,
) -> Result<&'a NutritionIntake, <&'a NutritionIntake as TryFrom<&'a Resource>>::Error>
fn try_from( resource: &'a Resource, ) -> Result<&'a NutritionIntake, <&'a NutritionIntake as TryFrom<&'a Resource>>::Error>
Source§impl<'a> TryFrom<&'a mut Resource> for &'a mut NutritionIntake
impl<'a> TryFrom<&'a mut Resource> for &'a mut NutritionIntake
Source§type Error = WrongResourceType
type Error = WrongResourceType
Source§fn try_from(
resource: &'a mut Resource,
) -> Result<&'a mut NutritionIntake, <&'a mut NutritionIntake as TryFrom<&'a mut Resource>>::Error>
fn try_from( resource: &'a mut Resource, ) -> Result<&'a mut NutritionIntake, <&'a mut NutritionIntake as TryFrom<&'a mut Resource>>::Error>
Source§impl TryFrom<Resource> for NutritionIntake
impl TryFrom<Resource> for NutritionIntake
Source§type Error = WrongResourceType
type Error = WrongResourceType
Source§fn try_from(
resource: Resource,
) -> Result<NutritionIntake, <NutritionIntake as TryFrom<Resource>>::Error>
fn try_from( resource: Resource, ) -> Result<NutritionIntake, <NutritionIntake as TryFrom<Resource>>::Error>
impl StructuralPartialEq for NutritionIntake
Auto Trait Implementations§
impl Freeze for NutritionIntake
impl RefUnwindSafe for NutritionIntake
impl Send for NutritionIntake
impl Sync for NutritionIntake
impl Unpin for NutritionIntake
impl UnwindSafe for NutritionIntake
Blanket Implementations§
Source§impl<R> AnyResource<FhirR5> for R
impl<R> AnyResource<FhirR5> for R
Source§const TYPE: ResourceType = const TYPE: r5::resources::ResourceType = R::TYPE;
const TYPE: ResourceType = const TYPE: r5::resources::ResourceType = R::TYPE;
Source§const TYPE_STR: &'static str = const TYPE_STR: &'static str = R::TYPE.as_str();
const TYPE_STR: &'static str = const TYPE_STR: &'static str = R::TYPE.as_str();
&str
. Must be valid for use in URLs.