FHIR Chat · Invalid expression in QuestionnaireResponse SP · implementers

Stream: implementers

Topic: Invalid expression in QuestionnaireResponse SP


view this post on Zulip James Agnew (Mar 09 2021 at 11:21):

On the QuestionnaireResponse profiles page, there is a search extension defined at the very bottom of this page: https://www.hl7.org/fhir/questionnaireresponse-profiles.html

It defines the following expression:

QuestionnaireResponse.item.where(hasExtension('http://hl7.org/fhir/StructureDefinition/questionnaireresponse-isSubject')).answer.value.ofType(Reference)

Am I crazy or is this expression not valid? There is no function hasExpression that I can see: http://hl7.org/fhirpath/

view this post on Zulip Lloyd McKenzie (Mar 09 2021 at 14:24):

You're definitely crazy, but yes, this looks eroneous. Can you submit a change request? We might be able to get this fixed before R4B gets out.

view this post on Zulip James Agnew (Mar 09 2021 at 14:51):

:laughing: will do

view this post on Zulip James Agnew (Mar 09 2021 at 15:05):

https://jira.hl7.org/browse/FHIR-31479


Last updated: Apr 12 2022 at 19:14 UTC