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

Representation of repeating groups is ambigue

    XMLWordPrintableJSON

Details

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

      We think the language in QuestionnaireResponse.item that says "When dealing with repeating items, each group repetition will be handled by a separate item. However, repeating questions are handled with a single question item and potentially multiple answers." is clear.

      We will move the diagram that's included in Questionnaire to QuestionnaireResponse and update the section on linkIds in Questionnaire to include a reference to the QuestionnaireResponse section that contains the diagram.

      We will also change "Groups cannot have answers and therefore must nest directly within item." to "Groups cannot have answers and therefore all contained items are nested as item.item, not item.answer.item."

      Show
      We think the language in QuestionnaireResponse.item that says "When dealing with repeating items, each group repetition will be handled by a separate item. However, repeating questions are handled with a single question item and potentially multiple answers." is clear. We will move the diagram that's included in Questionnaire to QuestionnaireResponse and update the section on linkIds in Questionnaire to include a reference to the QuestionnaireResponse section that contains the diagram. We will also change "Groups cannot have answers and therefore must nest directly within item." to "Groups cannot have answers and therefore all contained items are nested as item.item, not item.answer.item."
    • Brian Postlethwaite/Paul Lynch: 3-0-1
    • Clarification
    • Non-substantive
    • R5

    Description

      The description of QuestionnaireResponse is not clear how to represented repeating groups. The specification indicates that `item.item` is used when nesting items in a group. It does not indicate clearly in what way repeating groups are to be represented.

      This can be represented as answers
          item (li1)- 
              answer - item (li1.1)
              answer - item (li1.1)

      or by repeating the item multiple times (answers only for questions).
          item (li1)
              item (li1.1)
          item (li1)
              item (li1.1)

      The specification hints at the second but should indicate the behavior more explicitly. to make sure that expressions depending on it will work in different setting.

      Note: although from the specification I understand that the intend is repeating items. The pattern item-answer-item is easier to process from an IT perspective as there will be no difference in handling questions and groups.

      Attachments

        Activity

          People

            lloyd Lloyd McKenzie
            lloyd Lloyd McKenzie
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: