Clarify context for expression on unanswered item

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: High
    • Structured Data Capture (SDC) (FHIR)
    • current
    • FHIR Infrastructure
    • Using Expressions
    • 5.5
    • Hide

      We will clarify the FHIRPath behavior of things like enableWhenExpression or %context that may refer to QuestionnaireResponse items that don't actually 'exist' because they don't have an answer to make clear that they should still resolve as items with no answer rather than 'null'.  Will do this in the section on expressions.

      Show
      We will clarify the FHIRPath behavior of things like enableWhenExpression or %context that may refer to QuestionnaireResponse items that don't actually 'exist' because they don't have an answer to make clear that they should still resolve as items with no answer rather than 'null'.  Will do this in the section on expressions.
    • Paul Lynch/Joee Garcia: 7-0-0
    • Clarification
    • Non-substantive

      See https://chat.fhir.org/#narrow/stream/179255-questionnaire/topic/.25context.20for.20calculatedExpression for discussion.

      Since a saved QuestionnaireResponse does not does not contain an item for unanswered questions, this section should make clear that in such cases that context for evaluating the expression will still be an "item" node with the appropriate linkId (without asserting anything about whether such nodes exist in the program's memory copy of the QuestionnaireResponse).

            Assignee:
            joeegarcia
            Reporter:
            Paul Lynch
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: