View raw Markdown
type: fhirpath-operatoroperator: !=category: Equalitysection: 6.1.3source: fhirpath/operations.json

FHIRPath Operator: != (not-equals)

The converse of the equals operator, returning true if equal returns false; false if equal returns true; and empty ({ }) if equal returns empty. In other words, A != B{:.fhirpath} is short-hand for (A = B).not(){:.fhirpath}.

Summary

Description

The converse of the equals operator, returning true if equal returns false; false if equal returns true; and empty ({ }) if equal returns empty. Equivalent to (A = B).not().

Type Mapping