ToBooleanParser class

http://hl7.org/fhirpath/#toboolean-boolean If the input collection contains a single item, this function will return a single boolean if: the item is a Boolean the item is an Integer and is equal to one of the possible integer representations of Boolean values the item is a Decimal that is equal to one of the possible decimal representations of Boolean values the item is a String that is equal to one of the possible string representations of Boolean values If the item is not one the above types, or the item is a String, Integer, or Decimal, but is not equal to one of the possible values convertible to a Boolean, the result is empty.

Inheritance

Constructors

ToBooleanParser()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
inherited