FirelyTeam / firely-net-sdk

The official Firely .NET SDK for HL7 FHIR
Other
816 stars 340 forks source link

Added fhirpath environment vars #2760

Closed Kasdejong closed 3 months ago

Kasdejong commented 3 months ago

Description

FhirPath EvaluationContext now takes an IDictionary with KV-pairs denoting environment variables which are evaluated at runtime. These are defined using a '%%' syntax followed by an identifier. This identifier should match a key in the EvaluationContext Dictionary.

Related issues

Closes #2570

Testing

Added unit tests to both the grammar tests and a new test file for environment variables