Stream: fhirpath
Topic: GF#20167
Bryn Rhodes (Mar 15 2019 at 00:06):
Applying GF#20167, which is to add an .any(criteria)
function. But I'm realizing that this is exactly the same as the .exists(criteria)
function, so by adding this, we'll be supporting two different ways of saying exactly the same thing. Thoughts?
Grahame Grieve (Mar 15 2019 at 00:12):
doesn't that mean we already have .exists() and .any()?
Bryn Rhodes (Mar 15 2019 at 00:52):
No, we have .exists() and .anyTrue()
Richard Townley-O'Neill (Mar 15 2019 at 02:18):
http://hl7.org/fhirpath/ does not mention any(criteria), just exists(criteria)
Bryn Rhodes (Mar 15 2019 at 03:12):
Yes, that's the currently published spec, which supports both .exists()
, and .exists(criteria)
. The tracker I referenced is an approved comment against the spec to add .any(criteria)
, but I'm suggesting we shouldn't do that, because it's adding an unnecessary synonym for .exists(criteria)
.
Richard Townley-O'Neill (Mar 15 2019 at 05:27):
I agree with not creating an unnecessary synonym.
Bryn Rhodes (Mar 16 2019 at 00:48):
So this is the last tracker to be applied, so unless there are objections raised, I'm going to bring it to ITS and recommend it be reopened and found not persuasive.
Bryn Rhodes (Mar 16 2019 at 00:48):
(I'm the one who submitted it, and it's not a ballot comment).
Bryn Rhodes (Mar 22 2019 at 02:11):
ITS approved reopening this and finding it persuasive with mod to add a note that "exists" is sometimes known as "any" in other path query languages.
Last updated: Apr 12 2022 at 19:14 UTC