-
Type:
Change Request
-
Resolution: Not Persuasive
-
Priority:
Medium
-
Structured Data Capture (SDC) (FHIR)
-
2.7.0 [deprecated]
-
FHIR Infrastructure
-
Advanced Behavior Questionnaire
-
-
Paul Lynch/Koray Atalag: 9-0-1
answerExpression currently can return a list of Codings. ValueSet.expansion.contains is very similar to a Coding, having matching field names for system, code, and display. Although we also have answerValueSet, if one has a expanded ValueSet in Questionnaire.contained, one could use answerExpression to pull in, and possibly filter it with FHIRPath "where" statements.
The one potential issue I see is that there can be a nested structure of ValueSet.expansion.contains, but if the list widget supports that for answerValueSet, it should not be difficult to handle that for answerExpression.
chat discussion: https://chat.fhir.org/#narrow/stream/179255-questionnaire/topic/answerExpression.20and.20ValueSet.20expansions.3F