type: fhirpath-operatoroperator: !~category: Equalitysection: 6.1.4source: fhirpath/operations.json
FHIRPath Operator: !~ (not-equivalent)
The converse of the equivalent operator, returning true if equivalent returns false and false is equivalent returns true. In other words, A !~ B{:.fhirpath} is short-hand for (A ~ B).not(){:.fhirpath}.
Summary
- Category: Equality
- Section:
6.1.4 - Left Argument:
Any - Right Argument:
Any - Return Type:
Boolean - Empty Input Result:
false - Errors on Multiple Input:
false
Description
The converse of the equivalent operator, returning true if equivalent returns false and false if equivalent returns true. Equivalent to (A ~ B).not().
Type Mapping
String-StringInteger-IntegerDecimal-DecimalInteger-DecimalDecimal-IntegerBoolean-BooleanDate-DateDateTime-DateTimeTime-TimeQuantity-QuantityComplex-Complex