Skip to content

Commit

Permalink
Merge pull request #65 from FirelyTeam/fhirpath-environment-variables
Browse files Browse the repository at this point in the history
Added documentation for evaluation context environment variables
  • Loading branch information
ewoutkramer committed Apr 9, 2024
2 parents f9d568e + cd85e30 commit 1e84188
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fhirpath/evaluation-contexts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ The context can normally be ignored, but is used to set specific environment-var
- A delegate that handles the output for the ``trace()`` function.
* - ``FhirEvaluationContext.ElementResolver``
- A delegate that resolves an uri to an instance of FHIR data (``ITypedElement``). This callback is used by the FHIR specific method ``resolve()``.
* - ``FhirEvaluationContext.Environment``
- A dictionary that can be used to store custom environment variables which will then be available in the FhirPath expression. These environment variables can be accessed using the ``%%`` prefix in the expression.

Note that ``FhirEvaluationContext`` is only used by the POCO extension methods for FhirPath, as it provides a property for setting the resolver.

0 comments on commit 1e84188

Please sign in to comment.