blaze
blaze copied to clipboard
Fix Equality for Non-Primitive Types
Currently in EqualExpression
type/value
is called on all values that are compared for equality. However type/value
is only implemented on primitive types. We have to check non-primitive types for equality by comparing all their primitive values recursively.
http://hl7.org/fhirpath/#equals
In CQL we have the same problem that two resources are currently not equal at all.