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

Guidance for conflicts between itemControl extension and other elements

    XMLWordPrintableJSON

Details

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

      Will update the description of the item-control extension to also say:

      "Certain item controls only make sense for certain types of items.  For example, a radio button doesn't make sense for a question where repeats=true; few systems will know how to implement a 'slider' control if the question type is 'Attachment', etc.  Form fillers are allowed to ignore item controls that don't make sense (or that they don't know how to handle) for the type of item the extension appears on.  If the extension is ignored, the form filler will use whatever display control it supports that works best for the type of item present.

      Similarly, Form authoring tools may raise validation issues or prohibit the selection of certain control types based on the characteristics of the item."

      Show
      Will update the description of the item-control extension to also say: "Certain item controls only make sense for certain types of items.  For example, a radio button doesn't make sense for a question where repeats=true; few systems will know how to implement a 'slider' control if the question type is 'Attachment', etc.  Form fillers are allowed to ignore item controls that don't make sense (or that they don't know how to handle) for the type of item the extension appears on.  If the extension is ignored, the form filler will use whatever display control it supports that works best for the type of item present. Similarly, Form authoring tools may raise validation issues or prohibit the selection of certain control types based on the characteristics of the item."
    • Brian Postlethwaite/Stoyan Halkaliev: 9-0-0
    • Clarification
    • Non-substantive
    • R5

    Description

      The itemControl extension is meant for indicating how certain questions should be rendered (slider, table etc.). However, some of the options in the associated, extensible code system can seemingly clash with other entries in the `item` element. For instance, if I have set item.repeats = true and then add itemsControl with the code "radio-button", we have an apparent contradiction since a radio-button UI-element only allows choosing a single option.

      It would be good if the could provide guidance on how to proceed in this case and similar cases where an extension on Questionnaire.item extension conflict non-extension sub-elements of Questionnaire.item. E.g. guidance may be that the itemControl extension can be ignored when it conflicts with other element.

      It was suggested that this guidance could be put in the SDC IG. However, it should be considered that the issue ist not limited to SDC contexts and putting it in the SDC IG would make it harder to find for users who are explicitly not working in such a context (this was e.g. the case for me).

      Related Zulip-Thread: https://chat.fhir.org/#narrow/stream/179255-questionnaire/topic/Conflicts.20between.20itemControl.20extension.20and.20other.20elements

      Attachments

        Activity

          People

            lloyd Lloyd McKenzie
            morten Morten Ernebjerg
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: