pub struct SupplyRequest {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 status: Option<CodeDt>,
pub based_on: Option<Vec<Reference>>,
pub category: Option<CodeableConcept>,
pub priority: Option<CodeDt>,
pub deliver_for: Option<Reference>,
pub item: Option<CodeableReference>,
pub quantity: Option<Quantity>,
pub parameter: Option<Vec<SupplyRequestParameterBackboneElement>>,
pub occurrence: Option<Timing>,
pub authored_on: Option<DateTimeDt>,
pub requester: Option<Reference>,
pub supplier: Option<Vec<Reference>>,
pub reason: Option<Vec<CodeableReference>>,
pub deliver_from: Option<Reference>,
pub deliver_to: 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 for SupplyRequest
status: Option<CodeDt>
draft | active | suspended +
based_on: Option<Vec<Reference>>
What other request is fulfilled by this supply request
category: Option<CodeableConcept>
The kind of supply (central, non-stock, etc.)
priority: Option<CodeDt>
routine | urgent | asap | stat
deliver_for: Option<Reference>
The patient for who the supply request is for
item: Option<CodeableReference>
Medication, Substance, or Device requested to be supplied
quantity: Option<Quantity>
The requested amount of the item indicated
parameter: Option<Vec<SupplyRequestParameterBackboneElement>>
Ordered item details
occurrence: Option<Timing>
When the request should be fulfilled
When the request was made
requester: Option<Reference>
Individual making the request
supplier: Option<Vec<Reference>>
Who is intended to fulfill the request
reason: Option<Vec<CodeableReference>>
The reason why the supply item was requested
deliver_from: Option<Reference>
The origin of the supply
deliver_to: Option<Reference>
The destination of the supply
Implementations§
Source§impl SupplyRequest
impl SupplyRequest
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_based_on(self, v: Vec<Reference>) -> Self
pub fn add_based_on(self, v: Reference) -> Self
pub fn set_category(self, v: CodeableConcept) -> Self
pub fn set_priority<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_deliver_for(self, v: Reference) -> Self
pub fn set_item(self, v: CodeableReference) -> Self
pub fn set_quantity(self, v: Quantity) -> Self
pub fn set_parameter( self, v: Vec<SupplyRequestParameterBackboneElement>, ) -> Self
pub fn add_parameter(self, v: SupplyRequestParameterBackboneElement) -> Self
pub fn set_occurrence(self, v: Timing) -> Self
pub fn set_requester(self, v: Reference) -> Self
pub fn set_supplier(self, v: Vec<Reference>) -> Self
pub fn add_supplier(self, v: Reference) -> Self
pub fn set_reason(self, v: Vec<CodeableReference>) -> Self
pub fn add_reason(self, v: CodeableReference) -> Self
pub fn set_deliver_from(self, v: Reference) -> Self
pub fn set_deliver_to(self, v: Reference) -> Self
Trait Implementations§
Source§impl Clone for SupplyRequest
impl Clone for SupplyRequest
Source§fn clone(&self) -> SupplyRequest
fn clone(&self) -> SupplyRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more