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

Fix resource to allow for 'Stand-Alone' instances or remove the concept

    XMLWordPrintableJSON

Details

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

      We will make QuestionnaireResponse.questionnaire 1..1

      We will add the following to comments:

      "It is possible to have a QuestionnaireResponse whose 'questionnaire' element does not resolve.  It is also possible for the questionnaire element to not have a value but only extensions (e.g. conveying the title or identifier for the questionnaire).  This may happen for legacy data.  If there is no formally defined Questionnaire, it is undefined what the 'correct' values for the linkId elements should be and it is possible that linkIds might be inconsistent for QuestionnaireResponses for the same form if captured by distinct systems."

      We will add an example QuestionnaireResponse instance that shows this situation of a QR with no resolvable Q.

      Show
      We will make QuestionnaireResponse.questionnaire 1..1 We will add the following to comments: "It is possible to have a QuestionnaireResponse whose 'questionnaire' element does not resolve.  It is also possible for the questionnaire element to not have a value but only extensions (e.g. conveying the title or identifier for the questionnaire).  This may happen for legacy data.  If there is no formally defined Questionnaire, it is undefined what the 'correct' values for the linkId elements should be and it is possible that linkIds might be inconsistent for QuestionnaireResponses for the same form if captured by distinct systems." We will add an example QuestionnaireResponse instance that shows this situation of a QR with no resolvable Q.
    • Brian Postlethwaite/Bryn Rhodes: 4-0-0
    • Correction
    • Non-compatible
    • R5

    Description

      Background

      The QR notes state:

      QuestionnaireResponse may be stand-alone or may point to the definition of the questions in Questionnaire. If the QuestionnaireResponse refers to a Questionnaire:

       

      However QR.item.linkID is min=1 making it infeasible for a QR to "stand-alone" ( I.e., not point to a Q) unless it makes up some string to put in the element.

      See this chat : https://chat.fhir.org/#narrow/stream/179255-questionnaire/topic/Stand-alone.20QuestionnaireResponse

       

      Proposed options:

       

      1. Keep the notion of a Stand-alone QR and:
        1. make QR.item.linkID  min=0 with an invariant that is required if QR.questionniare is present.
        2. Define that stand-alone literally means the QR is independent of a Q.
        3. Create some examples
      2. Remove the notion of a Stand-alone QR and state that a QR always needs a Q
        1. consider making QR.questionnaire min=1 and loosen type to a plain uri. to allow to reference non-fhir Qs too.

       

      Attachments

        Activity

          People

            lloyd Lloyd McKenzie
            ehaas Eric Haas
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: