QuantityParser class
The Quantity type represents quantities with a specified unit, where the value component is defined as a Decimal, and the unit element is represented as a String that is required to be either a valid Unified Code for Units of Measure (UCUM) unit or one of the calendar duration keywords, singular or plural.
- Inheritance
-
- Object
- FhirPathParser
- ValueParser<
ValidatedQuantity> - QuantityParser
Constructors
- QuantityParser(ValidatedQuantity value)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → ValidatedQuantity
-
finalinherited
Methods
-
execute(
List results, Map< String, dynamic> passed) → List -
The iterable, nested function that evaluates the entire FHIRPath
expression one object at a time
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prettyPrint(
[int indent = 2]) → String -
Uses a rough approximation of reverse polish notation to render the
parsed value of a FHIRPath in a more human readable way than
verbosePrint, while still demonstrating how the expression was parsed
and nested according to this package
override
-
toString(
) → String -
A string representation of this object.
inherited
-
verbosePrint(
int indent) → String -
To print the entire parsed FHIRPath expression, this includes ALL
of the Parsers that are used in this package by the names used in
this package. These are not always synonymous with the FHIRPath
specification (although they usually are), and include some parser
classes that were created for ease of evaluation but are not included
at all as objects in the official spec. I'm generally going to recommend
that you use prettyPrint instead
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override