Stream: fhirpath.js
Topic: Implementation of iif () ?
Stoyan Halkaliev (May 22 2020 at 09:51):
Hi, first I want to say thank you for this great library. It is surely very helpful, especially in single page applications.
I do have one question: What is the status of the support for iif () in fhirpath.js, as specified here:
It looks very handy, but we get "not implemented". This information is very clear by itself, just wanted to make sure I have not missed something.
Paul Lynch (May 22 2020 at 13:15):
On the demo page at https://hl7.github.io/fhirpath.js/, if you enter the expression, iif(true, 2, 3), you get [2]. So, it is implemented. Can you provide an example where you get the "not implemented" message?
Stoyan Halkaliev (May 23 2020 at 15:31):
I'm a little embarrassed to admit, but I seem to have tried iff instead of iif. Thank you @Paul Lynch for the quick reply.
Stoyan Halkaliev (May 23 2020 at 15:34):
Maybe it is good idea to update the implementation status of the readme on https://github.com/HL7/fhirpath.js to include the 5.5.1. There I checked first and just assumed it is not implemented yet.
Paul Lynch (Jun 01 2020 at 20:54):
Yes, good point.
Last updated: Apr 12 2022 at 19:14 UTC