-
Type:
Change Request
-
Resolution: Persuasive with Modification
-
Priority:
Medium
-
Structured Data Capture (SDC) (FHIR)
-
current
-
FHIR Infrastructure
-
Form Behavior and Calculation
-
-
Brian Postlethwaite/Paul Lynch: 5-0-0
-
Clarification
-
Compatible, substantive
Some questions need to be answered 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?
3) If (2) is Yes, then in what order should they be run, and what should be done if the initialExpression does not resolve to an item from the list answerExpression generates, and the item does not allow off-list answers? (Suggestion: Run answerExpression 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).
4) Can an item with answerExpression also have calculatedExpression? (I think the same approach for (2) could work here.)