pub struct AllergyIntolerance {Show 23 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 clinical_status: Option<CodeableConcept>,
pub verification_status: Option<CodeableConcept>,
pub type_: Option<CodeableConcept>,
pub category: Option<Vec<CodeDt>>,
pub criticality: Option<CodeDt>,
pub code: Option<CodeableConcept>,
pub patient: Option<Reference>,
pub encounter: Option<Reference>,
pub onset: Option<StringDt>,
pub recorded_date: Option<DateTimeDt>,
pub participant: Option<Vec<AllergyIntoleranceParticipantBackboneElement>>,
pub last_occurrence: Option<DateTimeDt>,
pub note: Option<Vec<Annotation>>,
pub reaction: Option<Vec<AllergyIntoleranceReactionBackboneElement>>,
}
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 ids for this item
clinical_status: Option<CodeableConcept>
active | inactive | resolved
verification_status: Option<CodeableConcept>
unconfirmed | presumed | confirmed | refuted | entered-in-error
type_: Option<CodeableConcept>
allergy | intolerance - Underlying mechanism (if known)
category: Option<Vec<CodeDt>>
food | medication | environment | biologic
criticality: Option<CodeDt>
low | high | unable-to-assess
code: Option<CodeableConcept>
Code that identifies the allergy or intolerance
patient: Option<Reference>
Who the allergy or intolerance is for
encounter: Option<Reference>
Encounter when the allergy or intolerance was asserted
onset: Option<StringDt>
When allergy or intolerance was identified
recorded_date: Option<DateTimeDt>
Date allergy or intolerance was first recorded
participant: Option<Vec<AllergyIntoleranceParticipantBackboneElement>>
Who or what participated in the activities related to the allergy or intolerance and how they were involved
last_occurrence: Option<DateTimeDt>
Date(/time) of last known occurrence of a reaction
note: Option<Vec<Annotation>>
Additional text not captured in other fields
reaction: Option<Vec<AllergyIntoleranceReactionBackboneElement>>
Adverse Reaction Events linked to exposure to substance
Implementations§
Source§impl AllergyIntolerance
impl AllergyIntolerance
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_clinical_status(self, v: CodeableConcept) -> Self
pub fn set_verification_status(self, v: CodeableConcept) -> Self
pub fn set_type_(self, v: CodeableConcept) -> Self
pub fn set_category(self, v: Vec<CodeDt>) -> Self
pub fn add_category<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_criticality<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_code(self, v: CodeableConcept) -> Self
pub fn set_patient(self, v: Reference) -> Self
pub fn set_encounter(self, v: Reference) -> Self
pub fn set_onset<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_recorded_date<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_participant( self, v: Vec<AllergyIntoleranceParticipantBackboneElement>, ) -> Self
pub fn add_participant( self, v: AllergyIntoleranceParticipantBackboneElement, ) -> Self
pub fn set_last_occurrence<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_note(self, v: Vec<Annotation>) -> Self
pub fn add_note(self, v: Annotation) -> Self
pub fn set_reaction( self, v: Vec<AllergyIntoleranceReactionBackboneElement>, ) -> Self
pub fn add_reaction(self, v: AllergyIntoleranceReactionBackboneElement) -> Self
Trait Implementations§
Source§impl Clone for AllergyIntolerance
impl Clone for AllergyIntolerance
Source§fn clone(&self) -> AllergyIntolerance
fn clone(&self) -> AllergyIntolerance
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more