pub struct CountInner {
pub id: Option<String>,
pub extension: Vec<Extension>,
pub value: Option<f64>,
pub comparator: Option<QuantityComparator>,
pub unit: Option<String>,
pub system: Option<String>,
pub code: Option<String>,
}
Expand description
Count Type: A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.
Count v5.0.0
A measured or measurable amount
A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.
The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.
Fields§
§id: Option<String>
Unique id for inter-element referencing
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
extension: Vec<Extension>
Additional content defined by implementations
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 managable, 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.
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
value: Option<f64>
Numerical value (with implicit precision)
The value of the measured amount. The value includes an implicit precision in the presentation of the value.
The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).
comparator: Option<QuantityComparator>
QuantityComparator; < | <= | >= | > | ad - how to understand the value
How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is “<” , then the real value is < stated value.
unit: Option<String>
Unit representation
A human-readable form of the unit.
system: Option<String>
System that defines coded unit form
The identification of the system that provides the coded form of the unit.
code: Option<String>
Coded form of the unit
A computer processable form of the unit in some unit representation system.
The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.
Trait Implementations§
Source§impl Clone for CountInner
impl Clone for CountInner
Source§fn clone(&self) -> CountInner
fn clone(&self) -> CountInner
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more