Questionnaire.item.required needs clarification

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: Medium
    • FHIR Core (FHIR)
    • R4
    • FHIR Infrastructure
    • Questionnaire
    • Hide

      We will update the core specification as follows:

      1) We will change the wording to "Items are assumed not to be required unless explicitly specified, though extensions may impose additional expectations."

      2) Will add a note that if the item marked as 'required' is a group, that means that at least one child item (and all required child items) must be present if the group is required.  

      3) Child required items are only 'required' if the parent item is present in the QuestionnaireResponse.  I.e. if the parent item is not required and is omitted, the 'required' status of child elements is irrelevant.

      Show
      We will update the core specification as follows: 1) We will change the wording to "Items are assumed not to be required unless explicitly specified, though extensions may impose additional expectations." 2) Will add a note that if the item marked as 'required' is a group, that means that at least one child item (and all required child items) must be present if the group is required.   3) Child required items are only 'required' if the parent item is present in the QuestionnaireResponse.  I.e. if the parent item is not required and is omitted, the 'required' status of child elements is irrelevant.
    • Brian Postlethwaite/Paul Lynch: 9-0-0
    • Clarification
    • Non-substantive

      The description of Questionnaire.item.required leads to some questions:

      1) "Items are generally assumed not to be required unless explicitly specified." What does "generally" mean? Most implementers? Most cases? If the latter, what are cases where the item is assumed to be required?

      2) What happens if an item that is a group is required? Are all the child items then required?

      3) If an item is required but one of its ancestor items has required=false, what does that mean?

      4) Does the answer to (3) depend on whether the ancestor item is a question or a group?

      5) If the ancestor item in (3) does not have "required" set at all, does that affect the answer?

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

              Created:
              Updated:
              Resolved: