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

Add .item element to standard Questionnaire and QuestinnaireResponse Search Parameters

    XMLWordPrintableJSON

Details

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

      linkIds are only meaningful in the context of a Questionnaire.  Searching for linkId of "1.1" isn't terribly useful - you might get lots of hits, but it's going to mean something completely different in every Questionnaire.  We don't understand why anyone would want to search by this.  If you're searching for a standard code that corresponds to the question, that would be in either item.definition or item.code (and there are search criteria for both of those).  Might re-consider if there is a specific use-case with justification.

      Querying by answer within QuestionnaireResponse is generally unsafe because the meaning of questions is influenced by parent answer.  In general, if you're interested in searching by the data in a QuestionnaireResponse is to extract the data into other resources.  QuestionnaireResponses are intended to be retrieved by their metadata, not their data.

      Show
      linkIds are only meaningful in the context of a Questionnaire.  Searching for linkId of "1.1" isn't terribly useful - you might get lots of hits, but it's going to mean something completely different in every Questionnaire.  We don't understand why anyone would want to search by this.  If you're searching for a standard code that corresponds to the question, that would be in either item.definition or item.code (and there are search criteria for both of those).  Might re-consider if there is a specific use-case with justification. Querying by answer within QuestionnaireResponse is generally unsafe because the meaning of questions is influenced by parent answer.  In general, if you're interested in searching by the data in a QuestionnaireResponse is to extract the data into other resources.  QuestionnaireResponses are intended to be retrieved by their metadata, not their data.
    • Paul Lynch/Eric Haas: 4-0-0

    Description

      item contains key valuable data for Questionnaire and QuestionnaireResponse. The need to be able to query both Questionnaire and QuestionnaireResponse for .item.linkId as well as QuestionnaireResponse for .item.answer has come up and should be considered as an addition to the resources standard search parameters in R5.

      Attachments

        Activity

          People

            Unassigned Unassigned
            deroode David DeRoode
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: