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

Clarify behavior of required if the parent is not required

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Medium Medium
    • Structured Data Capture (SDC) (FHIR)
    • current
    • FHIR Infrastructure
    • Advanced Rendering Questionnaire
    • Hide

      Note that 'required' only applies in the context of a containing item.  If the containing item is optional and omitted from the QuestionnaireResponse (or disabled via enableWhen), then the fact a child item is 'required' is moot.

      Show
      Note that 'required' only applies in the context of a containing item.  If the containing item is optional and omitted from the QuestionnaireResponse (or disabled via enableWhen), then the fact a child item is 'required' is moot.
    • Paul Lynch/Brian Reinhold: 5-0-0
    • Clarification
    • Non-substantive

    Description

      Per discussion at https://chat.fhir.org/#narrow/stream/179255-questionnaire/topic/get.20questionnaire.20user.20input/near/270751805, it seems that if an item is required, but any of its parent items is not, then the item is not really required. This rule is not stated either in https://build.fhir.org/ig/HL7/sdc/behavior.html#required or https://www.hl7.org/fhir/questionnaire-definitions.html#Questionnaire.item.required. I think it needs to stated in both places.
      Suggested sentence to include: "Note that if an item is required but its parent item is not, then the item is only required to appear in the QuestionnaireResponse if the parent item is included."

      Attachments

        Activity

          People

            lloyd Lloyd McKenzie
            plynch Paul Lynch
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: