Closed jackliums closed 6 years ago
Can you please include your call to the evaluator? Are you providing the expression and context?
Once I created the FhirEvaluationContext using the root resource and passed that context to the Select method, it evaluated the expression correctly. Thanks!
The FHIR path evaluation does not seem to work with %resource reference in the expression.
For example, the expression of the "coordinate" search parameter of the Sequence resource is defined as "Sequence.variant", which will be evaluated to the VariantComponent. The expression of the first component is defined as "%resource.referenceSeq.chromosome", so given the VariantComponent of the Sequence with that expression, I expect it to evaluate successfully by traversing back to the parent Sequence resource and retrieve the ReferenceSeqComponent.Chromosome property.
However, it fails with:
This repros with the latest 0.96.0 release.