View raw Markdown
type: fhirpath-operatoroperator: orcategory: Boolean Logicsection: 6.5.2source: fhirpath/operations.json

FHIRPath Operator: or (or)

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

ortruefalseempty
truetruetruetrue
falsetruefalseempty ({ })
emptytrueempty ({ })empty ({ })
{:.grid}
## Summary

Description

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

Type Mapping