pub struct List {Show 21 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 mode: Option<CodeDt>,
pub title: Option<StringDt>,
pub code: Option<CodeableConcept>,
pub subject: Option<Vec<Reference>>,
pub encounter: Option<Reference>,
pub date: Option<DateTimeDt>,
pub source: Option<Reference>,
pub ordered_by: Option<CodeableConcept>,
pub note: Option<Vec<Annotation>>,
pub entry: Option<Vec<ListEntryBackboneElement>>,
pub empty_reason: Option<CodeableConcept>,
}
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>
current | retired | entered-in-error
mode: Option<CodeDt>
working | snapshot | changes
title: Option<StringDt>
Descriptive name for the list
code: Option<CodeableConcept>
What the purpose of this list is
subject: Option<Vec<Reference>>
If all resources have the same subject(s)
encounter: Option<Reference>
Context in which list created
date: Option<DateTimeDt>
When the list was prepared
source: Option<Reference>
Who and/or what defined the list contents (aka Author)
ordered_by: Option<CodeableConcept>
What order the list has
note: Option<Vec<Annotation>>
Comments about the list
entry: Option<Vec<ListEntryBackboneElement>>
Entries in the list
empty_reason: Option<CodeableConcept>
Why list is empty
Implementations§
Source§impl List
impl List
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_mode<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_title<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_code(self, v: CodeableConcept) -> Self
pub fn set_subject(self, v: Vec<Reference>) -> Self
pub fn add_subject(self, v: Reference) -> Self
pub fn set_encounter(self, v: Reference) -> Self
pub fn set_date<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_source(self, v: Reference) -> Self
pub fn set_ordered_by(self, v: CodeableConcept) -> Self
pub fn set_note(self, v: Vec<Annotation>) -> Self
pub fn add_note(self, v: Annotation) -> Self
pub fn set_entry(self, v: Vec<ListEntryBackboneElement>) -> Self
pub fn add_entry(self, v: ListEntryBackboneElement) -> Self
pub fn set_empty_reason(self, v: CodeableConcept) -> Self
Trait Implementations§
Source§impl Convert for List
impl Convert for List
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 List
impl<'de> Deserialize<'de> for List
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl DomainResource for List
impl DomainResource for List
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 List
impl Executor for List
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 List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
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