parser/function_parser/function_parser library

Classes

AbsParser
AllFalseParser
Takes a collection of Boolean values and returns true if all the items are false. If any items are true, the result is false. If the input is empty ({ }), the result is true.
AllParser
AllTrueParser
Takes a collection of Boolean values and returns true if all the items are true. If any items are false, the result is false. If the input is empty ({ }), the result is true.
AnswersParser
AnyFalseParser
Takes a collection of Boolean values and returns true if any of the items are false. If all the items are true, or if the input is empty ({ }), the result is false.
AnyTrueParser
Takes a collection of Boolean values and returns true if any of the items are true. If all the items are false, or if the input is empty ({ }), the result is false.
AsFunctionParser
DEPRECATED The as() function is defined for backwards compatibility with previous implementations of FHIRPath. However, we have chosen not to support it. DEPRECATED
AvgParser
CeilingParser
ChildrenParser
CombineParser
Merge the input and other collections into a single collection without eliminating duplicate values. Combining an empty collection with a non-empty collection will return the non-empty collection. There is no expectation of order in the resulting collection.
ContainsFunctionParser
ConvertsToBooleanParser
http://hl7.org/fhirpath/#convertstoboolean-boolean If the input collection contains a single item, this function will return true if: the item is a Boolean the item is an Integer that 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
ConvertsToDateParser
Checks if input can be converted to a Date
ConvertsToDateTimeParser
Checks if input can be converted to a FhirDateTime
ConvertsToDecimalParser
Checks if input can be converted into a Decimal
ConvertsToIntegerParser
Checks if input can be converted to an Integer
ConvertsToQuantityParser
Checks if input can be converted to a ValidatedQuantity
ConvertsToStringParser
Checks if input can be converted to a String
ConvertsToTimeParser
Checks if input can be converted to a Time
CountParser
DescendantsParser
DistinctParser
EmptyParser
Returns true if the input collection is empty ({ }) and false otherwise.
EndsWithParser
ExcludeParser
ExistsParser
Returns true if the collection has any elements, and false otherwise. This is the opposite of empty(), and as such is a shorthand for empty().not(). If the input collection is empty ({ }), the result is false. The function can also take an optional criteria to be applied to the collection prior to the determination of the exists. In this case, the function is shorthand for where(criteria).exists(). Note that a common term for this function is any.
ExpParser
ExtensionParser
FirstParser
FloorParser
FpMatchesParser
FpNotParser
FpSkipParser
FpWhereParser
HasValueParser
IifParser
http://hl7.org/fhirpath/#iifcriterion-expression-true-result-collection-otherwise-result-collection-collection The iif function in FHIRPath is an immediate if, also known as a conditional operator (such as C’s ? : operator). The criterion expression is expected to evaluate to a Boolean. See: http://hl7.org/fhirpath/#singleton-evaluation-of-collections for rules of Boolean evaluation. Any collection with a single non-boolean item is true.
IndexOfParser
IntersectParser
IsDistinctParser
IsFunctionParser
DEPRECATED The as() function is defined for backwards compatibility with previous implementations of FHIRPath. However, we have chosen not to support it. DEPRECATED
LastParser
LengthParser
LnParser
LogParser
LowerParser
MaxParser
MinParser
NowParser
OfTypeParser
OrdinalParser
PowerParser
RepeatParser
ReplaceMatchesParser
ReplaceParser
RoundParser
SelectParser
SingleParser
SqrtParser
StartsWithParser
SubsetOfParser
SubstringParser
SumParser
SupersetOfParser
TailParser
TakeParser
TimeOfDayParser
ToBooleanParser
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.
ToCharsParser
ToDateParser
Converts input to an Date if possible
ToDateTimeParser
Converts input to FhirDateTime if possible
TodayParser
ToDecimalParser
Converts input to a Decimal if possible
ToIntegerParser
Converts input to an Integer if possible
ToQuantityParser
Converts input to a ValidatedQuantity if possible
ToStringParser
Converts input to a String if possible
ToTimeParser
Converts input to a Time if possible
TraceParser
TruncateParser
UnionFunctionParser
Merge the two collections into a single collection, eliminating any duplicate values (using = (Equals) (=) to determine equality). There is no expectation of order in the resulting collection.
UpperParser