FHIR Chat · Consent Search parameter · committers

Stream: committers

Topic: Consent Search parameter


view this post on Zulip Brian Postlethwaite (Dec 05 2018 at 01:44):

The source-reference search parameter looks really strange, wondering why it needs to resolve the references here, doesn't it just need to ensure that it is a reference type, and not the other defined in there?
http://build.fhir.org/consent.html#search
Currently it generated the expression:
Consent.source.where(resolve() is Consent or resolve() is Contract or resolve() is QuestionnaireResponse or resolve() is DocumentReference)
Shouldn't this just be
Consent.source.where($this is Reference)

view this post on Zulip Brian Postlethwaite (Dec 05 2018 at 01:45):

The resolving is just causing more processing that isn't needed

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

agree. we can fix that without consulting with the committee

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

want to fix it?

view this post on Zulip Brian Postlethwaite (Dec 05 2018 at 04:51):

I checked the spreadsheet, and there is no expression explicitly in there, but I can add an explicit definition of it.
(Assume this is a generated one when no expression is defined)

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

Hmm. you think I'd be able to generate better than that.... I'll look into it


Last updated: Apr 12 2022 at 19:14 UTC