Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-37360

Clarify that the Questionnaire.item.AnswerOption checking for Coding/Reference answers

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Medium Medium
    • FHIR Core (FHIR)
    • R5
    • FHIR Infrastructure
    • Questionnaire
    • Hide

      Will indicate on the QuestionnaireResponse.item.answer.value in a comment:

      Note that all elements for complex answers provided in the QuestionnaireResponse SHOULD be the same as those allowed in the Questionnaire, however not all elements will be propagated and some systems might use language translations resulting in different displays.  Comparison of value to the values defined in the Questionnaire (whether by answerOption, answerValueSet or answerExpression) SHALL NOT pay attention to Coding.display, Reference.display, Quantity.unit unless those are the only elements present.  As well, systems are not required to check for a match on any extensions (e.g. ordinal values, translations, etc).  Systems MAY enforce that if extensions such as ordinal values are present in both Questionnaire and QuestionnaireResponse, they match.

      Show
      Will indicate on the QuestionnaireResponse.item.answer.value in a comment: Note that all elements for complex answers provided in the QuestionnaireResponse SHOULD be the same as those allowed in the Questionnaire, however not all elements will be propagated and some systems might use language translations resulting in different displays.  Comparison of value to the values defined in the Questionnaire (whether by answerOption, answerValueSet or answerExpression) SHALL NOT pay attention to Coding.display, Reference.display, Quantity.unit unless those are the only elements present.  As well, systems are not required to check for a match on any extensions (e.g. ordinal values, translations, etc).  Systems MAY enforce that if extensions such as ordinal values are present in both Questionnaire and QuestionnaireResponse, they match.
    • Brian Postlethwaite/Paul Lynch: 5-0-0
    • Clarification
    • Non-substantive
    • R5

    Description

      Guidance should be included to clarify that the system/coding values should be checked, but not necessarily the display value, and similarly for Reference, if the display is not in the AnswerOption.value, then it need not be checked.

      i.e. the AnswerOption.coding and AnswerOption.reference and a "pattern" that include the properties that must be in the item.answer, rather than an exact match.

      https://chat.fhir.org/#narrow/stream/179255-questionnaire/topic/Validating.20an.20SDC.20Questionnaire

      Attachments

        Activity

          People

            lloyd Lloyd McKenzie
            brian.postlethwaite Brian Postlethwaite
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: