pub struct RiskAssessment {Show 24 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 based_on: Option<Reference>,
pub parent: Option<Reference>,
pub status: Option<CodeDt>,
pub method: Option<CodeableConcept>,
pub code: Option<CodeableConcept>,
pub subject: Option<Reference>,
pub encounter: Option<Reference>,
pub occurrence: Option<Period>,
pub condition: Option<Reference>,
pub performer: Option<Reference>,
pub reason: Option<Vec<CodeableReference>>,
pub basis: Option<Vec<Reference>>,
pub prediction: Option<Vec<RiskAssessmentPredictionBackboneElement>>,
pub mitigation: Option<StringDt>,
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>>
Unique identifier for the assessment
based_on: Option<Reference>
Request fulfilled by this assessment
parent: Option<Reference>
Part of this occurrence
status: Option<CodeDt>
registered | preliminary | final | amended +
method: Option<CodeableConcept>
Evaluation mechanism
code: Option<CodeableConcept>
Type of assessment
subject: Option<Reference>
Who/what does assessment apply to?
encounter: Option<Reference>
Where was assessment performed?
occurrence: Option<Period>
When was assessment made?
condition: Option<Reference>
Condition assessed
performer: Option<Reference>
Who did assessment?
reason: Option<Vec<CodeableReference>>
Why the assessment was necessary?
basis: Option<Vec<Reference>>
Information used in assessment
prediction: Option<Vec<RiskAssessmentPredictionBackboneElement>>
Outcome predicted
mitigation: Option<StringDt>
How to reduce risk
note: Option<Vec<Annotation>>
Comments on the risk assessment
Implementations§
Source§impl RiskAssessment
impl RiskAssessment
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_based_on(self, v: Reference) -> Self
pub fn set_parent(self, v: Reference) -> Self
pub fn set_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_method(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: Period) -> Self
pub fn set_condition(self, v: Reference) -> Self
pub fn set_performer(self, v: Reference) -> Self
pub fn set_reason(self, v: Vec<CodeableReference>) -> Self
pub fn add_reason(self, v: CodeableReference) -> Self
pub fn set_basis(self, v: Vec<Reference>) -> Self
pub fn add_basis(self, v: Reference) -> Self
pub fn set_prediction( self, v: Vec<RiskAssessmentPredictionBackboneElement>, ) -> Self
pub fn add_prediction(self, v: RiskAssessmentPredictionBackboneElement) -> Self
pub fn set_mitigation<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_note(self, v: Vec<Annotation>) -> Self
pub fn add_note(self, v: Annotation) -> Self
Trait Implementations§
Source§impl Clone for RiskAssessment
impl Clone for RiskAssessment
Source§fn clone(&self) -> RiskAssessment
fn clone(&self) -> RiskAssessment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Compare for RiskAssessment
impl Compare for RiskAssessment
Source§impl Convert for RiskAssessment
impl Convert for RiskAssessment
fn to_integer(&self) -> Result<Integer>
fn to_decimal(&self) -> Result<Decimal>
fn to_strings(&self) -> Result<String>
fn to_datetime(&self) -> Result<DateTime>
fn to_boolean(&self) -> Result<Boolean>
Source§impl Debug for RiskAssessment
impl Debug for RiskAssessment
Source§impl Default for RiskAssessment
impl Default for RiskAssessment
Source§fn default() -> RiskAssessment
fn default() -> RiskAssessment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RiskAssessment
impl<'de> Deserialize<'de> for RiskAssessment
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl DomainResource for RiskAssessment
impl DomainResource for RiskAssessment
fn extension(&self) -> &Option<Vec<Extension>>
fn set_extension(self, ext: Vec<Extension>) -> Self
fn add_extension(self, ext: Extension) -> Self
fn modifier_extension(&self) -> &Option<Vec<Extension>>
fn set_modifier_extension(self, ext: Vec<Extension>) -> Self
fn add_modifier_extension(self, ext: Extension) -> Self
Source§impl Executor for RiskAssessment
impl Executor for RiskAssessment
fn element(&self, symbol: &String, index: &Option<usize>) -> Result<Collection>
fn to_collection(&self, index: &Option<usize>) -> Collection
fn child(&self, _index: usize) -> Result<Collection>
Source§impl Resource for RiskAssessment
impl Resource for RiskAssessment
Source§impl Serialize for RiskAssessment
impl Serialize for RiskAssessment
Auto Trait Implementations§
impl Freeze for RiskAssessment
impl RefUnwindSafe for RiskAssessment
impl Send for RiskAssessment
impl Sync for RiskAssessment
impl Unpin for RiskAssessment
impl UnwindSafe for RiskAssessment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more