Stream: fhirpath
Topic: Confused about is operator
Michael Calderero (Jan 11 2020 at 02:27):
Hi All,
Let's say I have an Observation like the one below:
Observation id: xyz
I then run a FHIRPath expression against it
issued is instant
From my understanding of http://hl7.org/fhirpath/2018Sep/index.html#is-type-specifier, since issued
is empty, then this whole expression will evaluate to an empty collection.
Is my understanding correct?
The reason I ask is when I try this with the HAPI FHIRPath engine, it results in false
Michael Calderero (Jan 11 2020 at 02:36):
I read https://github.com/HL7/FHIRPath/blob/master/spec/index.adoc#631-is-type-specifier and it still seems to me the above expression should evaluate to empty not false
Grahame Grieve (Jan 11 2020 at 11:33):
definitely a bug in my code
Grahame Grieve (Jan 11 2020 at 11:33):
will be fixed...
Grahame Grieve (Jan 11 2020 at 11:40):
which also tells you that we don't have a test case for that,,,
Michael Calderero (Jan 12 2020 at 14:23):
Hello @Grahame Grieve. Thanks for the confirmation. Do you want me to file a ticket for this?
Don't know if we're still using GForge, or all tickets should be filed via JIRA going forward?
Lloyd McKenzie (Jan 12 2020 at 15:18):
All FHIR tickets should now go to Jira. The gForge FHIR ticketing mechanism has been disabled
Grahame Grieve (Jan 12 2020 at 21:18):
this sounds like a HAPI FHIR core issue, not a spec issue. So that would mean a github issue here:
Grahame Grieve (Jan 12 2020 at 21:19):
https://github.com/hapifhir/org.hl7.fhir.core/issues
Michael Calderero (Jan 13 2020 at 03:35):
I filed https://github.com/hapifhir/org.hl7.fhir.core/issues/122 for this one
Last updated: Apr 12 2022 at 19:14 UTC