View raw Markdown
type: fhirpath-operatoroperator: andcategory: Boolean Logicsection: 6.5.1source: fhirpath/operations.json

FHIRPath Operator: and (and)

Returns true if both operands evaluate to true, false if either operand evaluates to false, and the empty collection ({ }) otherwise.

andtruefalseempty
truetruefalseempty ({ })
falsefalsefalsefalse
emptyempty ({ })falseempty ({ })
{:.grid}
## Summary

Description

Returns true if both operands evaluate to true, false if either operand evaluates to false, and empty collection otherwise. Uses three-valued logic to propagate empty operands.

Type Mapping