pub struct ClaimItem {Show 24 fields
pub id: Option<String>,
pub extension: Option<Vec<Box<Extension>>>,
pub modifierExtension: Option<Vec<Box<Extension>>>,
pub sequence: Box<FHIRPositiveInt>,
pub careTeamSequence: Option<Vec<Box<FHIRPositiveInt>>>,
pub diagnosisSequence: Option<Vec<Box<FHIRPositiveInt>>>,
pub procedureSequence: Option<Vec<Box<FHIRPositiveInt>>>,
pub informationSequence: Option<Vec<Box<FHIRPositiveInt>>>,
pub revenue: Option<Box<CodeableConcept>>,
pub category: Option<Box<CodeableConcept>>,
pub productOrService: Box<CodeableConcept>,
pub modifier: Option<Vec<Box<CodeableConcept>>>,
pub programCode: Option<Vec<Box<CodeableConcept>>>,
pub serviced: Option<ClaimItemServicedTypeChoice>,
pub location: Option<ClaimItemLocationTypeChoice>,
pub quantity: Option<Box<Quantity>>,
pub unitPrice: Option<Box<Money>>,
pub factor: Option<Box<FHIRDecimal>>,
pub net: Option<Box<Money>>,
pub udi: Option<Vec<Box<Reference>>>,
pub bodySite: Option<Box<CodeableConcept>>,
pub subSite: Option<Vec<Box<CodeableConcept>>>,
pub encounter: Option<Vec<Box<Reference>>>,
pub detail: Option<Vec<ClaimItemDetail>>,
}Expand description
A claim line. Either a simple product or service or a ‘group’ of details which can each be a simple items or groups of sub-details.
Fields§
§id: Option<String>Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
extension: Option<Vec<Box<Extension>>>May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
modifierExtension: Option<Vec<Box<Extension>>>May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element’s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
sequence: Box<FHIRPositiveInt>A number to uniquely identify item entries.
careTeamSequence: Option<Vec<Box<FHIRPositiveInt>>>CareTeam members related to this service or product.
diagnosisSequence: Option<Vec<Box<FHIRPositiveInt>>>Diagnosis applicable for this service or product.
procedureSequence: Option<Vec<Box<FHIRPositiveInt>>>Procedures applicable for this service or product.
informationSequence: Option<Vec<Box<FHIRPositiveInt>>>Exceptions, special conditions and supporting information applicable for this service or product.
revenue: Option<Box<CodeableConcept>>The type of revenue or cost center providing the product and/or service.
category: Option<Box<CodeableConcept>>Code to identify the general type of benefits under which products and services are provided.
productOrService: Box<CodeableConcept>When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.
modifier: Option<Vec<Box<CodeableConcept>>>Item typification or modifiers codes to convey additional context for the product or service.
programCode: Option<Vec<Box<CodeableConcept>>>Identifies the program under which this may be recovered.
serviced: Option<ClaimItemServicedTypeChoice>The date or dates when the service or product was supplied, performed or completed.
location: Option<ClaimItemLocationTypeChoice>Where the product or service was provided.
quantity: Option<Box<Quantity>>The number of repetitions of a service or product.
unitPrice: Option<Box<Money>>If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.
factor: Option<Box<FHIRDecimal>>A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
net: Option<Box<Money>>The quantity times the unit price for an additional service or product or charge.
udi: Option<Vec<Box<Reference>>>Unique Device Identifiers associated with this line item.
bodySite: Option<Box<CodeableConcept>>Physical service site on the patient (limb, tooth, etc.).
subSite: Option<Vec<Box<CodeableConcept>>>A region or surface of the bodySite, e.g. limb region or tooth surface(s).
encounter: Option<Vec<Box<Reference>>>The Encounters during which this Claim was created or to which the creation of this record is tightly associated.
detail: Option<Vec<ClaimItemDetail>>A claim detail line. Either a simple (a product or service) or a ‘group’ of sub-details which are simple items.
Trait Implementations§
Source§impl FHIRJSONDeserializer for ClaimItem
impl FHIRJSONDeserializer for ClaimItem
fn from_json_str(s: &str) -> Result<Self, DeserializeError>
fn from_serde_value( obj: &Value, context: Context<'_>, ) -> Result<Self, DeserializeError>
Source§impl FHIRJSONSerializer for ClaimItem
impl FHIRJSONSerializer for ClaimItem
fn serialize_value( &self, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn serialize_extension( &self, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn serialize_field( &self, field: &str, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn is_fp_primitive(&self) -> bool
Source§impl MetaValue for ClaimItem
impl MetaValue for ClaimItem
fn fields(&self) -> Vec<&'static str>
fn get_field<'a>(&'a self, field: &str) -> Option<&'a dyn MetaValue>
fn get_field_mut<'a>(&'a mut self, field: &str) -> Option<&'a mut dyn MetaValue>
fn get_index_mut<'a>( &'a mut self, index: usize, ) -> Option<&'a mut dyn MetaValue>
fn get_index<'a>(&'a self, _index: usize) -> Option<&'a dyn MetaValue>
fn typename(&self) -> &'static str
fn as_any(&self) -> &dyn Any
fn flatten(&self) -> Vec<&dyn MetaValue>
Auto Trait Implementations§
impl Freeze for ClaimItem
impl RefUnwindSafe for ClaimItem
impl Send for ClaimItem
impl Sync for ClaimItem
impl Unpin for ClaimItem
impl UnwindSafe for ClaimItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more