Two clarifications for questionnaire items of type boolean

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive with Modification
    • Priority: Medium
    • FHIR Core (FHIR)
    • STU3
    • FHIR Infrastructure
    • Questionnaire
    • 2.37
    • Hide

      Will add language in Questionnaire to note that systems SHOULD use controls (check boxes, radio buttons, etc.) that distinguish between non-answered questions and those that a specific answer has been chosen. I.e. If a question has a boolean answer or is a "pick one" of a set of choices (either of which might reasonably be represented by a radio button and the first of which could be represented by a single check-box), it should be possible to distinguish "user hasn't selected an option" and it should be possible for the user to return to that state.

      This may mean that default XHTML controls may not necessarily provide the desired behavior. If using default XHTML controls, one option would be to have a set of radio buttons where the first (and default) option is "no selection made". Selecting that option would correspond to omitting an answer for that Questionnaire.item.

      Note that this concern only applies if the question is optional or doesn't have a default answer.

      Will also add guidance that enableWhen expressions need to differentiate between "no answer" and "false" for boolean elements.

      Show
      Will add language in Questionnaire to note that systems SHOULD use controls (check boxes, radio buttons, etc.) that distinguish between non-answered questions and those that a specific answer has been chosen. I.e. If a question has a boolean answer or is a "pick one" of a set of choices (either of which might reasonably be represented by a radio button and the first of which could be represented by a single check-box), it should be possible to distinguish "user hasn't selected an option" and it should be possible for the user to return to that state. This may mean that default XHTML controls may not necessarily provide the desired behavior. If using default XHTML controls, one option would be to have a set of radio buttons where the first (and default) option is "no selection made". Selecting that option would correspond to omitting an answer for that Questionnaire.item. Note that this concern only applies if the question is optional or doesn't have a default answer. Will also add guidance that enableWhen expressions need to differentiate between "no answer" and "false" for boolean elements.
    • Paul Lynch/Sheridan Cook: 5-0-0
    • Clarification
    • Non-substantive

      1) QuestionnaireResponse should not contain answers of type "false" for boolean items unless the user has explicity selected "false' an an answer. One of way handling this would be with a three-state checkbox (yes/no/indeterminate).

      2) The processing of enabledWhen conditions referencing boolean items should be able to distinguish between a "false" answer and no answer, i.e. it should not treat two possibilities as identical unless the conditions have been constructed to treat them so.

            Assignee:
            Lloyd McKenzie
            Reporter:
            Paul Lynch
            Paul Lynch
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: