FHIR Chat · application/x-fhir-query in calculatedExpression? · questionnaire

Stream: questionnaire

Topic: application/x-fhir-query in calculatedExpression?


view this post on Zulip Paul Lynch (Dec 10 2018 at 20:43):

Does it make any sense to support Expressions of type application/x-fhir-query in questionnaire-calculatedExpression? The comment for that extension says, "Calculated value is updated as other answers in the QuestionnaireResponse are filled in"-- which I would think would only need to be done if the Expression were of type FHIRPath (or I suppose CQL). If one wanted to run a FHIR query, I would think that would be via the questionnaire-initialExpression extension.

view this post on Zulip Lloyd McKenzie (Dec 10 2018 at 22:28):

It could if the item was of type Reference - in that case the query could resolve to the resource(s) that would be the initial answers.

view this post on Zulip Paul Lynch (Dec 10 2018 at 23:13):

How would that differ from initialExpression?

view this post on Zulip Lloyd McKenzie (Dec 10 2018 at 23:46):

Where are you seeing calculatedExpression? I don't think it exists...

view this post on Zulip Paul Lynch (Dec 11 2018 at 15:20):

Where are you seeing calculatedExpression? I don't think it exists...

@Lloyd McKenzie : http://hl7.org/fhir/2018Sep/extension-questionnaire-calculatedexpression.html

view this post on Zulip Lloyd McKenzie (Dec 11 2018 at 15:56):

It got moved to SDC in the most recent draft.

view this post on Zulip Paul Lynch (Dec 11 2018 at 16:11):

Perhaps moving it made it harder to find?

view this post on Zulip Brian Postlethwaite (Dec 12 2018 at 02:13):

When we end up with a central registry...


Last updated: Apr 12 2022 at 19:14 UTC