pub struct Observation {Show 35 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: Option<Reference>,
pub based_on: Option<Vec<Reference>>,
pub triggered_by: Option<Vec<ObservationTriggeredByBackboneElement>>,
pub part_of: Option<Vec<Reference>>,
pub status: Option<CodeDt>,
pub category: Option<Vec<CodeableConcept>>,
pub code: Option<CodeableConcept>,
pub subject: Option<Reference>,
pub focus: Option<Vec<Reference>>,
pub encounter: Option<Reference>,
pub effective: Option<InstantDt>,
pub issued: Option<InstantDt>,
pub performer: Option<Vec<Reference>>,
pub value: Option<Reference>,
pub data_absent_reason: Option<CodeableConcept>,
pub interpretation: Option<Vec<CodeableConcept>>,
pub note: Option<Vec<Annotation>>,
pub body_site: Option<CodeableConcept>,
pub body_structure: Option<Reference>,
pub method: Option<CodeableConcept>,
pub specimen: Option<Reference>,
pub device: Option<Reference>,
pub reference_range: Option<Vec<ObservationReferenceRangeBackboneElement>>,
pub has_member: Option<Vec<Reference>>,
pub derived_from: Option<Vec<Reference>>,
pub component: Option<Vec<ObservationComponentBackboneElement>>,
}
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>>
Business Identifier for observation
instantiates: Option<Reference>
Instantiates FHIR ObservationDefinition
based_on: Option<Vec<Reference>>
Fulfills plan, proposal or order
triggered_by: Option<Vec<ObservationTriggeredByBackboneElement>>
Triggering observation(s)
part_of: Option<Vec<Reference>>
Part of referenced event
status: Option<CodeDt>
registered | preliminary | final | amended +
category: Option<Vec<CodeableConcept>>
Classification of type of observation
code: Option<CodeableConcept>
Type of observation (code / type)
subject: Option<Reference>
Who and/or what the observation is about
focus: Option<Vec<Reference>>
What the observation is about, when it is not about the subject of record
encounter: Option<Reference>
Healthcare event during which this observation is made
effective: Option<InstantDt>
Clinically relevant time/time-period for observation
issued: Option<InstantDt>
Date/Time this version was made available
performer: Option<Vec<Reference>>
Who is responsible for the observation
value: Option<Reference>
Actual result
data_absent_reason: Option<CodeableConcept>
Why the result is missing
interpretation: Option<Vec<CodeableConcept>>
High, low, normal, etc
note: Option<Vec<Annotation>>
Comments about the observation
body_site: Option<CodeableConcept>
Observed body part
body_structure: Option<Reference>
Observed body structure
method: Option<CodeableConcept>
How it was done
specimen: Option<Reference>
Specimen used for this observation
device: Option<Reference>
A reference to the device that generates the measurements or the device settings for the device
reference_range: Option<Vec<ObservationReferenceRangeBackboneElement>>
Provides guide for interpretation
has_member: Option<Vec<Reference>>
Related resource that belongs to the Observation group
derived_from: Option<Vec<Reference>>
Related resource from which the observation is made
component: Option<Vec<ObservationComponentBackboneElement>>
Component results
Implementations§
Source§impl Observation
impl Observation
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_instantiates(self, v: Reference) -> Self
pub fn set_based_on(self, v: Vec<Reference>) -> Self
pub fn add_based_on(self, v: Reference) -> Self
pub fn set_triggered_by( self, v: Vec<ObservationTriggeredByBackboneElement>, ) -> Self
pub fn add_triggered_by(self, v: ObservationTriggeredByBackboneElement) -> 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_category(self, v: Vec<CodeableConcept>) -> Self
pub fn add_category(self, v: CodeableConcept) -> Self
pub fn set_code(self, v: CodeableConcept) -> Self
pub fn set_subject(self, v: Reference) -> Self
pub fn set_focus(self, v: Vec<Reference>) -> Self
pub fn add_focus(self, v: Reference) -> Self
pub fn set_encounter(self, v: Reference) -> Self
pub fn set_effective<T: Into<InstantDt>>(self, v: T) -> Self
pub fn set_issued<T: Into<InstantDt>>(self, v: T) -> Self
pub fn set_performer(self, v: Vec<Reference>) -> Self
pub fn add_performer(self, v: Reference) -> Self
pub fn set_value(self, v: Reference) -> Self
pub fn set_data_absent_reason(self, v: CodeableConcept) -> Self
pub fn set_interpretation(self, v: Vec<CodeableConcept>) -> Self
pub fn add_interpretation(self, v: CodeableConcept) -> Self
pub fn set_note(self, v: Vec<Annotation>) -> Self
pub fn add_note(self, v: Annotation) -> Self
pub fn set_body_site(self, v: CodeableConcept) -> Self
pub fn set_body_structure(self, v: Reference) -> Self
pub fn set_method(self, v: CodeableConcept) -> Self
pub fn set_specimen(self, v: Reference) -> Self
pub fn set_device(self, v: Reference) -> Self
pub fn set_reference_range( self, v: Vec<ObservationReferenceRangeBackboneElement>, ) -> Self
pub fn add_reference_range( self, v: ObservationReferenceRangeBackboneElement, ) -> Self
pub fn set_has_member(self, v: Vec<Reference>) -> Self
pub fn add_has_member(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_component(self, v: Vec<ObservationComponentBackboneElement>) -> Self
pub fn add_component(self, v: ObservationComponentBackboneElement) -> Self
Trait Implementations§
Source§impl Clone for Observation
impl Clone for Observation
Source§fn clone(&self) -> Observation
fn clone(&self) -> Observation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more