pub struct DeviceUsage {Show 25 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<Vec<Reference>>,
pub status: Option<CodeDt>,
pub category: Option<Vec<CodeableConcept>>,
pub patient: Option<Reference>,
pub derived_from: Option<Vec<Reference>>,
pub context: Option<Reference>,
pub timing: Option<DateTimeDt>,
pub date_asserted: Option<DateTimeDt>,
pub usage_status: Option<CodeableConcept>,
pub usage_reason: Option<Vec<CodeableConcept>>,
pub adherence: Option<DeviceUsageAdherenceBackboneElement>,
pub information_source: Option<Reference>,
pub device: Option<CodeableReference>,
pub reason: Option<Vec<CodeableReference>>,
pub body_site: Option<CodeableReference>,
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>>
External identifier for this record
based_on: Option<Vec<Reference>>
Fulfills plan, proposal or order
status: Option<CodeDt>
active | completed | not-done | entered-in-error +
category: Option<Vec<CodeableConcept>>
The category of the statement - classifying how the statement is made
patient: Option<Reference>
Patient using device
derived_from: Option<Vec<Reference>>
Supporting information
context: Option<Reference>
The encounter or episode of care that establishes the context for this device use statement
timing: Option<DateTimeDt>
How often the device was used
date_asserted: Option<DateTimeDt>
When the statement was made (and recorded)
usage_status: Option<CodeableConcept>
The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement
usage_reason: Option<Vec<CodeableConcept>>
The reason for asserting the usage status - for example forgot, lost, stolen, broken
adherence: Option<DeviceUsageAdherenceBackboneElement>
How device is being used
information_source: Option<Reference>
Who made the statement
device: Option<CodeableReference>
Code or Reference to device used
reason: Option<Vec<CodeableReference>>
Why device was used
body_site: Option<CodeableReference>
Target body site
note: Option<Vec<Annotation>>
Addition details (comments, instructions)
Implementations§
Source§impl DeviceUsage
impl DeviceUsage
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_based_on(self, v: Vec<Reference>) -> Self
pub fn add_based_on(self, v: Reference) -> 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_patient(self, v: Reference) -> Self
pub fn set_derived_from(self, v: Vec<Reference>) -> Self
pub fn add_derived_from(self, v: Reference) -> Self
pub fn set_context(self, v: Reference) -> Self
pub fn set_timing<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_date_asserted<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_usage_status(self, v: CodeableConcept) -> Self
pub fn set_usage_reason(self, v: Vec<CodeableConcept>) -> Self
pub fn add_usage_reason(self, v: CodeableConcept) -> Self
pub fn set_adherence(self, v: DeviceUsageAdherenceBackboneElement) -> Self
pub fn set_information_source(self, v: Reference) -> Self
pub fn set_device(self, v: CodeableReference) -> Self
pub fn set_reason(self, v: Vec<CodeableReference>) -> Self
pub fn add_reason(self, v: CodeableReference) -> Self
pub fn set_body_site(self, v: CodeableReference) -> Self
pub fn set_note(self, v: Vec<Annotation>) -> Self
pub fn add_note(self, v: Annotation) -> Self
Trait Implementations§
Source§impl Clone for DeviceUsage
impl Clone for DeviceUsage
Source§fn clone(&self) -> DeviceUsage
fn clone(&self) -> DeviceUsage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more