Stream: fhirpath.js
Topic: Variables
Paul Lynch (Oct 26 2018 at 20:34):
I am going to work on adding support for variables (environment variables, etc.) -- probably passed in as a hash as a third argument to fhirpath.evaluate.
Paul Lynch (Nov 01 2018 at 19:04):
This is done. In version 0.9.0, evaluate(...) now takes a hash of variable name/value pairs so you can do:
fhirpath.evaluate({}, '%a - 1', {a: 5});
Last updated: Apr 12 2022 at 19:14 UTC