You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When selecting the Firely Engine see that there is no result returned, as the context (as shown in the trace window) is the resource still, the focus wasn't moved to the name collection.
Expected behavior
As demonstrated in the tool, the focus should be set to the name before evaluating the arguments to the function.
Correction, I think this is also related to how collections on the input (focus) side are handled.
If you use a select() around the iff, then it works the same as the other engines.
Describe the bug
The fhirpath function
iif
does not consider contexts correctly, and appears to always want to be executed at the root.To Reproduce
Steps to reproduce the behavior:
🧪 Test with FHIRPath-Lab
Expected behavior
As demonstrated in the tool, the focus should be set to the name before evaluating the arguments to the function.
Version used:
Additional context
http://hl7.org/fhirpath/N1/#iifcriterion-expression-true-result-collection-otherwise-result-collection-collection
Discussion on Zulip with Grahame
The text was updated successfully, but these errors were encountered: