FHIR Chat · invalid search parameters · committers

Stream: committers

Topic: invalid search parameters


view this post on Zulip Brian Postlethwaite (Dec 05 2018 at 06:17):

I've found 2 invalid search parameters....
Group value and Observation combo-value-quantity
These both have an issue in the expression where the operator precedence in fhir has | ahead of as, hence they shouldn't compile.

Group.characteristic.value as CodeableConcept | Group.characteristic.value as boolean

view this post on Zulip Brian Postlethwaite (Dec 05 2018 at 06:18):

Relevant part of http://hl7.org/fhirpath/ is section 6.8
If this operator precedence is wrong, then its a fhirpath bug...

view this post on Zulip Brian Postlethwaite (Dec 05 2018 at 06:21):

(apart from this all the search expressions seem to be valid to the dotnet implementation)

view this post on Zulip Brian Postlethwaite (Dec 05 2018 at 12:26):

Complete list of invalid search parameter definitions (with this issue)
Group: Value
Observation: combo-value-quantity, component-value-quantity, value-quantity, value-string
@Grahame Grieve , @Bryn Rhodes, @Ewout Kramer is my understanding of the fhirpath here correct?

view this post on Zulip Eric Haas (Dec 05 2018 at 18:20):

we are we at with the build freeze, I can look at making technical corrections to the Obs SP?

assuming the fix is:

Group.characteristic.value as CodeableConcept | Group.characteristic.value as boolean

to

(Group.characteristic.value as CodeableConcept) | (Group.characteristic.value as boolean)

view this post on Zulip Grahame Grieve (Dec 05 2018 at 20:00):

I wish it was incorrect but it doesn't look like you are

view this post on Zulip Grahame Grieve (Dec 05 2018 at 20:00):

yes that is the fix, and please make it

view this post on Zulip Grahame Grieve (Dec 05 2018 at 20:00):

that's why we're at build freeze - so we find and fix things like this

view this post on Zulip Brian Postlethwaite (Dec 05 2018 at 20:15):

Thanks. Are you going to do it Eric, otherwise I'll do them all as a single commit.

view this post on Zulip Eric Haas (Dec 05 2018 at 21:53):

I will do it

view this post on Zulip Eric Haas (Dec 05 2018 at 22:21):

committed should be in build soon

view this post on Zulip Brian Postlethwaite (Dec 05 2018 at 22:58):

Lol, we both did it. Mine first though. Sorry.
Good thing is we both did the same change :)


Last updated: Apr 12 2022 at 19:14 UTC