pub struct InventoryItem {Show 22 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<Vec<CodeableConcept>>,
pub name: Option<Vec<InventoryItemNameBackboneElement>>,
pub responsible_organization: Option<Vec<InventoryItemResponsibleOrganizationBackboneElement>>,
pub description: Option<InventoryItemDescriptionBackboneElement>,
pub inventory_status: Option<Vec<CodeableConcept>>,
pub base_unit: Option<CodeableConcept>,
pub net_content: Option<Quantity>,
pub association: Option<Vec<InventoryItemAssociationBackboneElement>>,
pub characteristic: Option<Vec<InventoryItemCharacteristicBackboneElement>>,
pub instance: Option<InventoryItemInstanceBackboneElement>,
pub product_reference: 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 the inventory item
status: Option<CodeDt>
active | inactive | entered-in-error | unknown
category: Option<Vec<CodeableConcept>>
Category or class of the item
code: Option<Vec<CodeableConcept>>
Code designating the specific type of item
name: Option<Vec<InventoryItemNameBackboneElement>>
The item name(s) - the brand name, or common name, functional name, generic name or others
responsible_organization: Option<Vec<InventoryItemResponsibleOrganizationBackboneElement>>
Organization(s) responsible for the product
description: Option<InventoryItemDescriptionBackboneElement>
Descriptive characteristics of the item
inventory_status: Option<Vec<CodeableConcept>>
The usage status like recalled, in use, discarded
base_unit: Option<CodeableConcept>
The base unit of measure - the unit in which the product is used or counted
net_content: Option<Quantity>
Net content or amount present in the item
association: Option<Vec<InventoryItemAssociationBackboneElement>>
Association with other items or products
characteristic: Option<Vec<InventoryItemCharacteristicBackboneElement>>
Characteristic of the item
instance: Option<InventoryItemInstanceBackboneElement>
Instances or occurrences of the product
product_reference: Option<Reference>
Link to a product resource used in clinical workflows
Implementations§
Source§impl InventoryItem
impl InventoryItem
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: Vec<CodeableConcept>) -> Self
pub fn add_code(self, v: CodeableConcept) -> Self
pub fn set_name(self, v: Vec<InventoryItemNameBackboneElement>) -> Self
pub fn add_name(self, v: InventoryItemNameBackboneElement) -> Self
pub fn set_responsible_organization( self, v: Vec<InventoryItemResponsibleOrganizationBackboneElement>, ) -> Self
pub fn add_responsible_organization( self, v: InventoryItemResponsibleOrganizationBackboneElement, ) -> Self
pub fn set_description(self, v: InventoryItemDescriptionBackboneElement) -> Self
pub fn set_inventory_status(self, v: Vec<CodeableConcept>) -> Self
pub fn add_inventory_status(self, v: CodeableConcept) -> Self
pub fn set_base_unit(self, v: CodeableConcept) -> Self
pub fn set_net_content(self, v: Quantity) -> Self
pub fn set_association( self, v: Vec<InventoryItemAssociationBackboneElement>, ) -> Self
pub fn add_association(self, v: InventoryItemAssociationBackboneElement) -> Self
pub fn set_characteristic( self, v: Vec<InventoryItemCharacteristicBackboneElement>, ) -> Self
pub fn add_characteristic( self, v: InventoryItemCharacteristicBackboneElement, ) -> Self
pub fn set_instance(self, v: InventoryItemInstanceBackboneElement) -> Self
pub fn set_product_reference(self, v: Reference) -> Self
Trait Implementations§
Source§impl Clone for InventoryItem
impl Clone for InventoryItem
Source§fn clone(&self) -> InventoryItem
fn clone(&self) -> InventoryItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more