The scoping for the `aliasAs` function has different needs to everything else, so has minor workaround.
This commit is contained in:
parent
33d9304700
commit
49809ec6c2
|
@ -1540,7 +1540,7 @@ public class FHIRPathEngine {
|
|||
}
|
||||
break;
|
||||
case Function:
|
||||
List<Base> work2 = evaluateFunction(context, focus, exp);
|
||||
List<Base> work2 = evaluateFunction("aliasAs".equals(exp.getName()) ? inContext : context, focus, exp);
|
||||
work.addAll(work2);
|
||||
break;
|
||||
case Constant:
|
||||
|
|
Loading…
Reference in New Issue