pub struct MedicationStatement(pub Box<MedicationStatementInner>);
Expand description
A record of a medication that is being consumed by a patient. A MedicationStatement may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. 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. The medication information may come from sources such as the patient’s memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains.
The primary difference between a medicationstatement and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationstatement is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Statement information may come from the patient’s memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information.
MedicationStatement v5.0.0
Record of medication being taken by a patient
A record of a medication that is being consumed by a patient. A MedicationStatement may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. 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. The medication information may come from sources such as the patient’s memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains.
The primary difference between a medicationstatement and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationstatement is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Statement information may come from the patient’s memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information.
The MedicationStatement resource was previously called MedicationStatement.
Tuple Fields§
§0: Box<MedicationStatementInner>
Implementations§
Source§impl MedicationStatement
impl MedicationStatement
Sourcepub fn builder() -> MedicationStatementBuilder
pub fn builder() -> MedicationStatementBuilder
Start building an instance.
Source§impl MedicationStatement
impl MedicationStatement
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 MedicationStatement
impl BaseResource for MedicationStatement
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 MedicationStatement
impl Clone for MedicationStatement
Source§fn clone(&self) -> MedicationStatement
fn clone(&self) -> MedicationStatement
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MedicationStatement
impl Debug for MedicationStatement
Source§impl Deref for MedicationStatement
impl Deref for MedicationStatement
Source§type Target = MedicationStatementInner
type Target = MedicationStatementInner
Source§impl DerefMut for MedicationStatement
impl DerefMut for MedicationStatement
Source§impl<'de> Deserialize<'de> for MedicationStatement
impl<'de> Deserialize<'de> for MedicationStatement
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MedicationStatement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MedicationStatement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl DomainResource for MedicationStatement
impl DomainResource for MedicationStatement
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<MedicationStatement> for Resource
impl From<MedicationStatement> for Resource
Source§fn from(resource: MedicationStatement) -> Resource
fn from(resource: MedicationStatement) -> Resource
Source§impl From<MedicationStatementInner> for MedicationStatement
impl From<MedicationStatementInner> for MedicationStatement
Source§fn from(inner: MedicationStatementInner) -> MedicationStatement
fn from(inner: MedicationStatementInner) -> MedicationStatement
Source§impl IdentifiableResource for MedicationStatement
impl IdentifiableResource for MedicationStatement
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 MedicationStatement
impl NamedResource for MedicationStatement
Source§const FHIR_VERSION: &'static str = "5.0.0"
const FHIR_VERSION: &'static str = "5.0.0"
Source§const TYPE: ResourceType = ResourceType::MedicationStatement
const TYPE: ResourceType = ResourceType::MedicationStatement
Source§impl PartialEq for MedicationStatement
impl PartialEq for MedicationStatement
Source§impl Serialize for MedicationStatement
impl Serialize for MedicationStatement
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 MedicationStatement
impl<'a> TryFrom<&'a Resource> for &'a MedicationStatement
Source§type Error = WrongResourceType
type Error = WrongResourceType
Source§fn try_from(
resource: &'a Resource,
) -> Result<&'a MedicationStatement, <&'a MedicationStatement as TryFrom<&'a Resource>>::Error>
fn try_from( resource: &'a Resource, ) -> Result<&'a MedicationStatement, <&'a MedicationStatement as TryFrom<&'a Resource>>::Error>
Source§impl<'a> TryFrom<&'a mut Resource> for &'a mut MedicationStatement
impl<'a> TryFrom<&'a mut Resource> for &'a mut MedicationStatement
Source§type Error = WrongResourceType
type Error = WrongResourceType
Source§fn try_from(
resource: &'a mut Resource,
) -> Result<&'a mut MedicationStatement, <&'a mut MedicationStatement as TryFrom<&'a mut Resource>>::Error>
fn try_from( resource: &'a mut Resource, ) -> Result<&'a mut MedicationStatement, <&'a mut MedicationStatement as TryFrom<&'a mut Resource>>::Error>
Source§impl TryFrom<Resource> for MedicationStatement
impl TryFrom<Resource> for MedicationStatement
Source§type Error = WrongResourceType
type Error = WrongResourceType
Source§fn try_from(
resource: Resource,
) -> Result<MedicationStatement, <MedicationStatement as TryFrom<Resource>>::Error>
fn try_from( resource: Resource, ) -> Result<MedicationStatement, <MedicationStatement as TryFrom<Resource>>::Error>
impl StructuralPartialEq for MedicationStatement
Auto Trait Implementations§
impl Freeze for MedicationStatement
impl RefUnwindSafe for MedicationStatement
impl Send for MedicationStatement
impl Sync for MedicationStatement
impl Unpin for MedicationStatement
impl UnwindSafe for MedicationStatement
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.