FHIR Chat · answerExpression questions · questionnaire

Stream: questionnaire

Topic: answerExpression questions


view this post on Zulip Paul Lynch (Aug 28 2020 at 21:17):

For the newly created answerExpression extension (J#25960),
1) If the answer list generated by the expression changes at all, should the field value be erased? (I vote yes. Even if the answer is in the new list, the user might have picked a different answer if the other answers were different.)
2) Can an item with answerExpression also have initialExpression? If so, I suppose answerExpression should be run first, so that if the field does not allow off-list answers, the value produced by initialExpression can be checked against the list (and possibly ignored with some warning).
3) Can an item with answerExpression also have calculatedExpression? I think the same approach for (2) could work here.

view this post on Zulip Lloyd McKenzie (Aug 28 2020 at 22:14):

Can you raise a tracker for us to clarify all of these? For #1, I lean towards not erasing unless the value is invalidated. That could get super-annoying for the user otherwise.

view this post on Zulip Paul Lynch (Aug 28 2020 at 23:15):

J#28386


Last updated: Apr 12 2022 at 19:14 UTC