Clarify Questionnaire Populate return results

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive with Modification
    • Priority: High
    • Structured Data Capture (SDC) (FHIR)
    • STU3
    • FHIR Infrastructure
    • Questionnaire [deprecated]
    • Hide

      Will clarify that 'issues' is used when returning warnings alongside the populated QuestionnaireResponse - and that a failure would mean that you would get an OperationOutcome without a Parameters resource. If there is no error, you will always get a Parameters instance containing a QuestionnaireResponse and maybe some warnings too.

      Will rename "questionnaire" to "response"

      Will change the 'content' element to be complex with two mandatory sub-parameters: 'name' (string) and 'content' (Reference). Will indicate that the 'name' element must correspond to a launchContext name or to the expression name of a variable present at the root of the Questionnaire. Will update the language on variable to note that if content is passed in to the populate operation, that content should be treated as the result of the query, FHIRPath or CQL expression for that variable and that the expression should not be executed.

      Show
      Will clarify that 'issues' is used when returning warnings alongside the populated QuestionnaireResponse - and that a failure would mean that you would get an OperationOutcome without a Parameters resource. If there is no error, you will always get a Parameters instance containing a QuestionnaireResponse and maybe some warnings too. Will rename "questionnaire" to "response" Will change the 'content' element to be complex with two mandatory sub-parameters: 'name' (string) and 'content' (Reference). Will indicate that the 'name' element must correspond to a launchContext name or to the expression name of a variable present at the root of the Questionnaire. Will update the language on variable to note that if content is passed in to the populate operation, that content should be treated as the result of the query, FHIRPath or CQL expression for that variable and that the expression should not be executed.
    • Grahame Grieve/Paul Lynch: 6-0-0
    • Enhancement
    • Non-compatible

      The $populate operation defines 2 output parameters, questionnaire and issues.

      The issues parameter is quite clear that if the population was fatal it can return an error code, and just the OperationOutcome resource directly (and no wrapping Paramters resource).

      However the questionnaire resource doesn't specify if there are no warnings or other messages is can be returned as just the QuestionnaireResponse resource.

      And *questionnaire *seems like an odd parameter name for the QuestionnaireResponse resource.

      *result *or *response *would seem like a more appropriate value.

            Assignee:
            Lloyd McKenzie
            Reporter:
            Brian Postlethwaite
            Brian Postlethwaite
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: