pub struct DeviceRequest {Show 34 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 instantiates_canonical: Option<Vec<CanonicalDt>>,
pub instantiates_uri: Option<Vec<UriDt>>,
pub based_on: Option<Vec<Reference>>,
pub replaces: Option<Vec<Reference>>,
pub group_identifier: Option<Identifier>,
pub status: Option<CodeDt>,
pub intent: Option<CodeDt>,
pub priority: Option<CodeDt>,
pub do_not_perform: Option<BooleanDt>,
pub code: Option<CodeableReference>,
pub quantity: Option<IntegerDt>,
pub parameter: Option<Vec<DeviceRequestParameterBackboneElement>>,
pub subject: Option<Reference>,
pub encounter: Option<Reference>,
pub occurrence: Option<Timing>,
pub authored_on: Option<DateTimeDt>,
pub requester: Option<Reference>,
pub performer: Option<CodeableReference>,
pub reason: Option<Vec<CodeableReference>>,
pub as_needed: Option<BooleanDt>,
pub as_needed_for: Option<CodeableConcept>,
pub insurance: Option<Vec<Reference>>,
pub supporting_info: Option<Vec<Reference>>,
pub note: Option<Vec<Annotation>>,
pub relevant_history: Option<Vec<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>>
External Request identifier
instantiates_canonical: Option<Vec<CanonicalDt>>
Instantiates FHIR protocol or definition
instantiates_uri: Option<Vec<UriDt>>
Instantiates external protocol or definition
based_on: Option<Vec<Reference>>
What request fulfills
replaces: Option<Vec<Reference>>
What request replaces
group_identifier: Option<Identifier>
Identifier of composite request
status: Option<CodeDt>
draft | active | on-hold | revoked | completed | entered-in-error | unknown
intent: Option<CodeDt>
proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
priority: Option<CodeDt>
routine | urgent | asap | stat
do_not_perform: Option<BooleanDt>
True if the request is to stop or not to start using the device
code: Option<CodeableReference>
Device requested
quantity: Option<IntegerDt>
Quantity of devices to supply
parameter: Option<Vec<DeviceRequestParameterBackboneElement>>
Device details
subject: Option<Reference>
Focus of request
encounter: Option<Reference>
Encounter motivating request
occurrence: Option<Timing>
Desired time or schedule for use
When recorded
requester: Option<Reference>
Who/what submitted the device request
performer: Option<CodeableReference>
Requested Filler
reason: Option<Vec<CodeableReference>>
Coded/Linked Reason for request
as_needed: Option<BooleanDt>
PRN status of request
as_needed_for: Option<CodeableConcept>
Device usage reason
insurance: Option<Vec<Reference>>
Associated insurance coverage
supporting_info: Option<Vec<Reference>>
Additional clinical information
note: Option<Vec<Annotation>>
Notes or comments
relevant_history: Option<Vec<Reference>>
Request provenance
Implementations§
Source§impl DeviceRequest
impl DeviceRequest
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_instantiates_canonical(self, v: Vec<CanonicalDt>) -> Self
pub fn add_instantiates_canonical<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_instantiates_uri(self, v: Vec<UriDt>) -> Self
pub fn add_instantiates_uri<T: Into<UriDt>>(self, v: T) -> Self
pub fn set_based_on(self, v: Vec<Reference>) -> Self
pub fn add_based_on(self, v: Reference) -> Self
pub fn set_replaces(self, v: Vec<Reference>) -> Self
pub fn add_replaces(self, v: Reference) -> Self
pub fn set_group_identifier(self, v: Identifier) -> Self
pub fn set_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_intent<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_priority<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_do_not_perform<T: Into<BooleanDt>>(self, v: T) -> Self
pub fn set_code(self, v: CodeableReference) -> Self
pub fn set_quantity<T: Into<IntegerDt>>(self, v: T) -> Self
pub fn set_parameter( self, v: Vec<DeviceRequestParameterBackboneElement>, ) -> Self
pub fn add_parameter(self, v: DeviceRequestParameterBackboneElement) -> Self
pub fn set_subject(self, v: Reference) -> Self
pub fn set_encounter(self, v: Reference) -> Self
pub fn set_occurrence(self, v: Timing) -> Self
pub fn set_requester(self, v: Reference) -> Self
pub fn set_performer(self, v: CodeableReference) -> Self
pub fn set_reason(self, v: Vec<CodeableReference>) -> Self
pub fn add_reason(self, v: CodeableReference) -> Self
pub fn set_as_needed<T: Into<BooleanDt>>(self, v: T) -> Self
pub fn set_as_needed_for(self, v: CodeableConcept) -> Self
pub fn set_insurance(self, v: Vec<Reference>) -> Self
pub fn add_insurance(self, v: Reference) -> Self
pub fn set_supporting_info(self, v: Vec<Reference>) -> Self
pub fn add_supporting_info(self, v: Reference) -> Self
pub fn set_note(self, v: Vec<Annotation>) -> Self
pub fn add_note(self, v: Annotation) -> Self
pub fn set_relevant_history(self, v: Vec<Reference>) -> Self
pub fn add_relevant_history(self, v: Reference) -> Self
Trait Implementations§
Source§impl Clone for DeviceRequest
impl Clone for DeviceRequest
Source§fn clone(&self) -> DeviceRequest
fn clone(&self) -> DeviceRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more