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

How to render resources returned by a contextExpression

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: High High
    • Structured Data Capture (SDC) (FHIR)
    • current
    • FHIR Infrastructure
    • Populatable Questionnaire [deprecated]
    • Hide

      We will remove candidateExpression - now replaced by answerExpression.  The values retrieved from answerExpression would be displayed in a similar manner to how they would have been displayed if they were defined in an answerValueSet or a set of answerOptions.

      For contextExpression, will modify the extension to be a complex extension having both:

      • a "label" to appear on/beside the control that provides the context and that describes the information being retrieved
      • as well as the expression that returns guiding information. 

      Will ensure that the extensions that control table labels, table width, sorting, etc. are allowed on this extension too.  Will also ensure that contextExpression can be 0..* as multiple types of context might be provided.  Will suggest that 'context' information be available via a button or link that launches a separate dialog/window.

      Show
      We will remove candidateExpression - now replaced by answerExpression.  The values retrieved from answerExpression would be displayed in a similar manner to how they would have been displayed if they were defined in an answerValueSet or a set of answerOptions. For contextExpression, will modify the extension to be a complex extension having both: a "label" to appear on/beside the control that provides the context and that describes the information being retrieved as well as the expression that returns guiding information.  Will ensure that the extensions that control table labels, table width, sorting, etc. are allowed on this extension too.  Will also ensure that contextExpression can be 0..* as multiple types of context might be provided.  Will suggest that 'context' information be available via a button or link that launches a separate dialog/window.
    • Joee Garcia/Paul Lynch: 8-0-0
    • Enhancement
    • Non-compatible

    Description

      In http://build.fhir.org/ig/HL7/sdc/populate.html#expression-based-population..

      "7. For Answer Context, use the sdc-questionnaire-contextExpression to indicate the resources to make available for display to the user to aid in answering the question. The information SHOULD be made available through user action (clicking a button or link) rather than being presented by default."

      How can you indicate that a button or a link will be initially displayed to the user? Also, how do you specify the label for this button or link?

      "When an initialExpression, candidateExpression or contextExpression will return a resource, backbone element or complex data type, the questionnaire-choiceColumn extension can be used to control which data elements should be exposed to the user (and what labels and widths should be allocated to each element so exposed)."

      What if the question and the resources returned by the contextExpression need to both use the questionnaire-choiceColumn extension? Since they are in the same "item" element, how can you indicate where the choiceColumn extension should be applied?

      Attachments

        Activity

          People

            Unassigned Unassigned
            joeegarcia Josephine Garcia (Inactive)
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: