pub struct Flag {Show 16 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 category: Option<Vec<CodeableConcept>>,
pub code: Option<CodeableConcept>,
pub subject: Option<Reference>,
pub period: Option<Period>,
pub encounter: Option<Reference>,
pub author: Option<Reference>,
}
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
status: Option<CodeDt>
active | inactive | entered-in-error
category: Option<Vec<CodeableConcept>>
Clinical, administrative, etc
code: Option<CodeableConcept>
Coded or textual message to display to user
subject: Option<Reference>
Who/What is flag about?
period: Option<Period>
Time period when flag is active
encounter: Option<Reference>
Alert relevant during encounter
Flag creator
Implementations§
Source§impl Flag
impl Flag
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_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_period(self, v: Period) -> Self
pub fn set_encounter(self, v: Reference) -> Self
Trait Implementations§
Source§impl Convert for Flag
impl Convert for Flag
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<'de> Deserialize<'de> for Flag
impl<'de> Deserialize<'de> for Flag
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl DomainResource for Flag
impl DomainResource for Flag
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 Flag
impl Executor for Flag
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>
Auto Trait Implementations§
impl Freeze for Flag
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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