pub struct AdverseEvent {Show 32 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 status: Option<CodeDt>,
pub actuality: Option<CodeDt>,
pub category: Option<Vec<CodeableConcept>>,
pub code: Option<CodeableConcept>,
pub subject: Option<Reference>,
pub encounter: Option<Reference>,
pub occurrence: Option<Timing>,
pub detected: Option<DateTimeDt>,
pub recorded_date: Option<DateTimeDt>,
pub resulting_effect: Option<Vec<Reference>>,
pub location: Option<Reference>,
pub seriousness: Option<CodeableConcept>,
pub outcome: Option<Vec<CodeableConcept>>,
pub recorder: Option<Reference>,
pub participant: Option<Vec<AdverseEventParticipantBackboneElement>>,
pub study: Option<Vec<Reference>>,
pub expected_in_research_study: Option<BooleanDt>,
pub suspect_entity: Option<Vec<AdverseEventSuspectEntityBackboneElement>>,
pub contributing_factor: Option<Vec<AdverseEventContributingFactorBackboneElement>>,
pub preventive_action: Option<Vec<AdverseEventPreventiveActionBackboneElement>>,
pub mitigating_action: Option<Vec<AdverseEventMitigatingActionBackboneElement>>,
pub supporting_info: Option<Vec<AdverseEventSupportingInfoBackboneElement>>,
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>>
Business identifier for the event
status: Option<CodeDt>
in-progress | completed | entered-in-error | unknown
actuality: Option<CodeDt>
actual | potential
category: Option<Vec<CodeableConcept>>
wrong-patient | procedure-mishap | medication-mishap | device | unsafe-physical-environment | hospital-aquired-infection | wrong-body-site
code: Option<CodeableConcept>
Event or incident that occurred or was averted
subject: Option<Reference>
Subject impacted by event
encounter: Option<Reference>
The Encounter associated with the start of the AdverseEvent
occurrence: Option<Timing>
When the event occurred
detected: Option<DateTimeDt>
When the event was detected
recorded_date: Option<DateTimeDt>
When the event was recorded
resulting_effect: Option<Vec<Reference>>
Effect on the subject due to this event
location: Option<Reference>
Location where adverse event occurred
seriousness: Option<CodeableConcept>
Seriousness or gravity of the event
outcome: Option<Vec<CodeableConcept>>
Type of outcome from the adverse event
recorder: Option<Reference>
Who recorded the adverse event
participant: Option<Vec<AdverseEventParticipantBackboneElement>>
Who was involved in the adverse event or the potential adverse event and what they did
study: Option<Vec<Reference>>
Research study that the subject is enrolled in
expected_in_research_study: Option<BooleanDt>
Considered likely or probable or anticipated in the research study
suspect_entity: Option<Vec<AdverseEventSuspectEntityBackboneElement>>
The suspected agent causing the adverse event
contributing_factor: Option<Vec<AdverseEventContributingFactorBackboneElement>>
Contributing factors suspected to have increased the probability or severity of the adverse event
preventive_action: Option<Vec<AdverseEventPreventiveActionBackboneElement>>
Preventive actions that contributed to avoiding the adverse event
mitigating_action: Option<Vec<AdverseEventMitigatingActionBackboneElement>>
Ameliorating actions taken after the adverse event occured in order to reduce the extent of harm
supporting_info: Option<Vec<AdverseEventSupportingInfoBackboneElement>>
Supporting information relevant to the event
note: Option<Vec<Annotation>>
Comment on adverse event
Implementations§
Source§impl AdverseEvent
impl AdverseEvent
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_actuality<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_encounter(self, v: Reference) -> Self
pub fn set_occurrence(self, v: Timing) -> Self
pub fn set_detected<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_recorded_date<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_resulting_effect(self, v: Vec<Reference>) -> Self
pub fn add_resulting_effect(self, v: Reference) -> Self
pub fn set_location(self, v: Reference) -> Self
pub fn set_seriousness(self, v: CodeableConcept) -> Self
pub fn set_outcome(self, v: Vec<CodeableConcept>) -> Self
pub fn add_outcome(self, v: CodeableConcept) -> Self
pub fn set_recorder(self, v: Reference) -> Self
pub fn set_participant( self, v: Vec<AdverseEventParticipantBackboneElement>, ) -> Self
pub fn add_participant(self, v: AdverseEventParticipantBackboneElement) -> Self
pub fn set_study(self, v: Vec<Reference>) -> Self
pub fn add_study(self, v: Reference) -> Self
pub fn set_expected_in_research_study<T: Into<BooleanDt>>(self, v: T) -> Self
pub fn set_suspect_entity( self, v: Vec<AdverseEventSuspectEntityBackboneElement>, ) -> Self
pub fn add_suspect_entity( self, v: AdverseEventSuspectEntityBackboneElement, ) -> Self
pub fn set_contributing_factor( self, v: Vec<AdverseEventContributingFactorBackboneElement>, ) -> Self
pub fn add_contributing_factor( self, v: AdverseEventContributingFactorBackboneElement, ) -> Self
pub fn set_preventive_action( self, v: Vec<AdverseEventPreventiveActionBackboneElement>, ) -> Self
pub fn add_preventive_action( self, v: AdverseEventPreventiveActionBackboneElement, ) -> Self
pub fn set_mitigating_action( self, v: Vec<AdverseEventMitigatingActionBackboneElement>, ) -> Self
pub fn add_mitigating_action( self, v: AdverseEventMitigatingActionBackboneElement, ) -> Self
pub fn set_supporting_info( self, v: Vec<AdverseEventSupportingInfoBackboneElement>, ) -> Self
pub fn add_supporting_info( self, v: AdverseEventSupportingInfoBackboneElement, ) -> Self
pub fn set_note(self, v: Vec<Annotation>) -> Self
pub fn add_note(self, v: Annotation) -> Self
Trait Implementations§
Source§impl Clone for AdverseEvent
impl Clone for AdverseEvent
Source§fn clone(&self) -> AdverseEvent
fn clone(&self) -> AdverseEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more