Uploaded image for project: 'i2b2 Core Software'
  1. i2b2 Core Software
  2. CORE-235

Previous query panel - find terms by patient number is returning incorrect results

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.06
    • 1.7.09c
    • CRC Cell, XML
    • None
    • Find (Previous Queries)
    • Find Previous Queries
    • All databases
    • All Web Browsers
    • Hide
      This can be reproduced in both the test and demo environments.

      This may be a design issue and not a bug. It needs to be reviewed by development.

      The problem is that when you search the patient number for "10" it is only returning one query. This is because the maximum number of queries to display defaults to "20". The Web Client sends the following in the message to the CRC:

      <ns4:get_name_info category="pdo" max="20">

      The CRC uses the max="20" to determine how many to return. The CRC is counting the "patients" in the patient set rather than the number of previous queries. Therefore if the patient set in the query has at least 20 patients then only the one query will display. If you go into options and increase the maximum number of queries to display to 200 then multiple queries will display.

      Show
      This can be reproduced in both the test and demo environments. This may be a design issue and not a bug. It needs to be reviewed by development. The problem is that when you search the patient number for "10" it is only returning one query. This is because the maximum number of queries to display defaults to "20". The Web Client sends the following in the message to the CRC: <ns4:get_name_info category="pdo" max="20"> The CRC uses the max="20" to determine how many to return. The CRC is counting the "patients" in the patient set rather than the number of previous queries. Therefore if the patient set in the query has at least 20 patients then only the one query will display. If you go into options and increase the maximum number of queries to display to 200 then multiple queries will display.
    • Hide
      Find Previous Queries by 'Any Category' no longer works.

      29/Nov/17: This has been tested with 1.7.09c and it is now working correctly. Find Previous Queries will now work for all of the operators (Any Category, Begins with, Exact, Ends with).
      Show
      Find Previous Queries by 'Any Category' no longer works. 29/Nov/17: This has been tested with 1.7.09c and it is now working correctly. Find Previous Queries will now work for all of the operators (Any Category, Begins with, Exact, Ends with).

    Description

      log into ihttps://www.i2b2.org/webclient/
      as demo user
      navigate to previous queries panel
      click on Find tab
      select 'Patient number' from drop down list category
      with default 'containing' selection match
      input '10' in the search box and click on find
      Expected: all the previous queries containing patient number '10' should be listed
      Actual : only one query is returned with default(20) selection count
      xml response log show the same query master id multiple times

      Attachments

        Activity

          rm302 Reeta Metta created issue -
          rm302 Reeta Metta made changes -
          Field Original Value New Value
          Attachment Message Log.txt [ 10332 ]
          rm302 Reeta Metta made changes -
          Attachment findPatientnum.JPG [ 10333 ]
          rm302 Reeta Metta made changes -
          Attachment previous query item showing as undefined after the query ran unsuccessfully.JPG [ 10334 ]
          rm302 Reeta Metta made changes -
          Attachment query run as query-in-query.JPG [ 10335 ]
          rm302 Reeta Metta made changes -
          Attachment previous query run as query in query.JPG [ 10336 ]
          rm302 Reeta Metta made changes -
          Attachment previous query item showing as undefined after the query ran unsuccessfully.JPG [ 10337 ]
          Attachment previous query run as query in query.JPG [ 10338 ]
          Attachment query run as query-in-query.JPG [ 10339 ]
          rm302 Reeta Metta made changes -
          Attachment previous query item showing as undefined after the query ran unsuccessfully.JPG [ 10337 ]
          rm302 Reeta Metta made changes -
          Attachment previous query item showing as undefined after the query ran unsuccessfully.JPG [ 10334 ]
          rm302 Reeta Metta made changes -
          Attachment query run as query-in-query.JPG [ 10339 ]
          rm302 Reeta Metta made changes -
          Attachment previous query run as query in query.JPG [ 10338 ]
          rm302 Reeta Metta made changes -
          Attachment query run as query-in-query.JPG [ 10335 ]
          rm302 Reeta Metta made changes -
          Attachment previous query run as query in query.JPG [ 10336 ]
          jmd86 Janice Donahoe made changes -
          Affects Database/s All databases [ 10219 ]
          Affects View/s Find (Previous Queries) [ 10240 ]
          Affects Web Browser/s All Web Browsers [ 10220 ]
          Component/s CRC Cell [ 10035 ]
          Component/s Web Client [ 10046 ]
          Component/s XML [ 10045 ]
          Reproduction Notes This can be reproduced in both the test and demo environments.

          This may be a design issue and not a bug. It needs to be reviewed by development.

          The problem is that when you search the patient number for "10" it is only returning one query. This is because the maximum number of queries to display defaults to "20". The Web Client sends the following in the message to the CRC:

          <ns4:get_name_info category="pdo" max="20">

          The CRC uses the max="20" to determine how many to return. The CRC is counting the "patients" in the patient set rather than the number of previous queries. Therefore if the patient set in the query has at least 20 patients then only the one query will display. If you go into options and increase the maximum number of queries to display to 200 then multiple queries will display.

          Affects Version/s 1.7.06 [ 10202 ]
          Assignee Nich [ nich ]
          i2b2 Feature/s Find Previous Queries [ 10245 ]
          Status New [ 10000 ] Open [ 1 ]
          jmd86 Janice Donahoe made changes -
          Assignee Nich [ nich ] Janice Donahoe [ jmd86 ]
          This issue needs to be reviewed by both the CRC and Web Client developers to determine if this is a bug or an issue with the design.
          jmd86 Janice Donahoe added a comment - This issue needs to be reviewed by both the CRC and Web Client developers to determine if this is a bug or an issue with the design.
          jmd86 Janice Donahoe made changes -
          Assignee Janice Donahoe [ jmd86 ] Nich [ nich ]
          Status Open [ 1 ] Needs Verification [ 10003 ]
          jmd86 Janice Donahoe made changes -
          Assignee Nich [ nich ] Janice Donahoe [ jmd86 ]
          Reviewed with Mike and this is an issue on the server side. It is being re-assigned to Mike and moved to the i2b2 Core Software project.
          jmd86 Janice Donahoe added a comment - Reviewed with Mike and this is an issue on the server side. It is being re-assigned to Mike and moved to the i2b2 Core Software project.
          jmd86 Janice Donahoe made changes -
          Assignee Janice Donahoe [ jmd86 ] Mike Mendis [ mem61 ]
          Status Needs Verification [ 10003 ] Open [ 1 ]
          jmd86 Janice Donahoe made changes -
          Component/s CRC Cell [ 10049 ]
          Component/s XML [ 10059 ]
          Component/s CRC Cell [ 10035 ]
          Component/s Web Client [ 10046 ]
          Component/s XML [ 10045 ]
          Key WEBCLIENT-148 CORE-235
          Affects Version/s 1.7.06 [ 10200 ]
          Affects Version/s 1.7.06 [ 10202 ]
          Workflow Web Client Issues Workflow [ 11075 ] i2b2 Issues Workflow [ 11396 ]
          Project i2b2 Web Client [ 10033 ] i2b2 Core Software [ 10034 ]
          mem61 Mike Mendis made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          mem61 Mike Mendis made changes -
          Assignee Mike Mendis [ mem61 ] Janice Donahoe [ jmd86 ]
          Status In Progress [ 3 ] Ready to Test [ 10001 ]
          jmd86 Janice Donahoe made changes -
          Fix Version/s 1.7.09 [ 10306 ]
          jmd86 Janice Donahoe made changes -
          Status Ready to Test [ 10001 ] Testing [ 10002 ]
          jmd86 Janice Donahoe made changes -
          Summary Previous query panel- find terms by patient number is returning incorrect results Previous query panel - find terms by patient number is returning incorrect results
          jmd86 Janice Donahoe made changes -
          Testing Notes Find Previous Queries by 'Any Category' no longer works.
          Status Testing [ 10002 ] Testing [ 10002 ]
          jmd86 Janice Donahoe made changes -
          Status Testing [ 10002 ] Reopened [ 4 ]
          jmd86 Janice Donahoe made changes -
          Assignee Janice Donahoe [ jmd86 ] Mike Mendis [ mem61 ]
          jmd86 Janice Donahoe made changes -
          Assignee Mike Mendis [ mem61 ] Janice Donahoe [ jmd86 ]
          jmd86 Janice Donahoe made changes -
          Status Reopened [ 4 ] In Progress [ 3 ]
          jmd86 Janice Donahoe made changes -
          Status In Progress [ 3 ] Ready to Test [ 10001 ]
          jmd86 Janice Donahoe made changes -
          Status Ready to Test [ 10001 ] Testing [ 10002 ]
          Accidentally moved this issue to ready to test. Development has not addressed this issue yet.
          jmd86 Janice Donahoe added a comment - Accidentally moved this issue to ready to test. Development has not addressed this issue yet.
          jmd86 Janice Donahoe made changes -
          Assignee Janice Donahoe [ jmd86 ] Mike Mendis [ mem61 ]
          Status Testing [ 10002 ] Reopened [ 4 ]
          jmd86 Janice Donahoe made changes -
          Fix Version/s 1.7.10 [ 10307 ]
          Fix Version/s 1.7.09 [ 10306 ]
          jmd86 Janice Donahoe made changes -
          Sprint Release 1.7.10 Sprint [ 17 ]
          jmd86 Janice Donahoe made changes -
          Sprint Release 1.7.10 Sprint [ 17 ]
          jmd86 Janice Donahoe made changes -
          Rank Ranked lower
          jmd86 Janice Donahoe made changes -
          Fix Version/s 1.7.09c [ 10713 ]
          Fix Version/s 1.7.10 [ 10307 ]
          jmd86 Janice Donahoe made changes -
          Testing Notes Find Previous Queries by 'Any Category' no longer works. Find Previous Queries by 'Any Category' no longer works.

          29/Nov/17: This has been tested with 1.7.09c and it is now working correctly. Find Previous Queries will now work for all of the operators (Any Category, Begins with, Exact, Ends with).
          jmd86 Janice Donahoe made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          jmd86 Janice Donahoe made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            mem61 Mike Mendis
            rm302 Reeta Metta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: