[WEBCLIENT-173] Right-Click "Display" menu to load Previous Query Created: 23/Dec/15  Updated: 25/Jan/16  Resolved: 30/Dec/15

Status: Closed
Project: i2b2 Web Client
Component/s: None
Affects Version/s: None
Fix Version/s: 1.7.07

Type: Improvement Priority: Major
Reporter: Nich Assignee: Janice Donahoe
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Affects View/s:
Previous Queries, Query Tool
i2b2 Sponsored Project/s:
i2b2 Web Client
Affects Web Browser/s:
All Web Browsers
Testing Notes: TEST STATUS: Completed
COMPLETION DATE: 12/30/2015


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

TEST DATE: 12/29/2015 & 12/30/2015
TESTED BY: Janice Donahoe
BUILD NUMBER: 1.7.07.0008
TEST STATUS: Completed


CLIENTS TESTED:
     i2b2 Web Client

ENVIRONMENTS TESTED:
     Browsers: Chrome, Firefox, Internet Explorer, and Safari
     Databases: Not applicable for this test
     Client OS: Windows and Macintosh


TEST COMMENTS:
Tested with the latest Web Client build (1.7.07.0008) and no new issues were found. The display previous query appears to be working correctly.


SCENARIOS TESTED
The following variations of queries were used when testing

1. Simple query: 1 or 2 items in a panel.
2. Modifier query: at least one item is a modifier.
3. Multiple panel query: A minimum of 7 panels are used in the query.
4. Different queries with the following constraints:
        a.) Date constraints - both panel and item level
        b.) Value constraints - both concepts and modifiers
        c.) Text constraints - both concepts and modifiers
        d.) Large text constraints - both concepts and modifiers.

5. Exclusion query: at least one panel is excluded
6. Temporal query: different configurations
        a.) basic temporal query - 2 events & 1 relationship
        b.) More than 2 events & more than 1 relationship

7. Same instance query
        a.) Set at the query level and all panels the same
        b.) Multiple configuration:
                  * 2 panels have same instance
                  * Remaining panels have one of the following:
                              - Treat Independently
                              - Occurs in Same Encounter

8. Same financial encounter query
        a.) Set at the query level and all panels the same
        b.) Multiple configuration:
                  * 2 panels have occurs in same financial encounter
                  * Remaining panels have one of the following:
                              - Treat Independently
                              - Items Instance will be the same
                              

Verification:
Unless otherwise noted the following was verified to be working correctly for every type of query listed above. These items are from the point in which the user selects "Display" in Previous Queries

Basic Things to Verify for all types of queries:

1. The previous query appears in the Query Tool.
2. The name displays correctly at Query Name.
3. The correct Temporal Constraint is displayed.
4. The correct items display in the panel(s).
5. The query results appear correctly in Show Query Status, Graph Results, and Query Report Tabs.

Additional things to verify for specific types of queries.

1. Multi Panel Query: Verify the following additional items.
     -- Every group has the correct concepts defined.
     -- The Group number at the bottom of the view is updated to the correct number of panels.

2. Date Constraint Query: Verify the following additional items.
     -- Panel level constraint defined:
          -- "Dates" is underlined
          -- The correct dates appear in the date constraint window.
          -- The dates also appear correctly next to each item in the panel.
          -- The date constraints can be edited.

     -- Panel & Item level date constraints defined:
          -- Date constraints for the panel does not appear.
          -- Date constraints for the items appear correctly.
          -- The date constraints can be edited on both levels.

     -- Item level date constraints defined:
          -- Date constraints for the items appear correctly.
          -- The date constraints can be edited on both levels.

     -- Date constraints defined for Group 2 and not Group 1.
          -- Correct date constraints are defined for Group 2 items.
          -- No dates are defined for Group 1 items.

3. Exclusion Query: Verify the following additional items.
     -- "Exclude" is underlined.
     -- The word "NOT" displays in front of each item (color is red)
     -- The message box is pink and says "none of these".

4. Temporal Queries: Verify the following additional items.
     -- The Temporal Constraint is set to "Define sequence of Events"
     -- A new drop down menu displays defaulting to "Population in which events occur".
     -- Verify the correct items and constraints display for these pages.
          -- Population in which Events Occur
          -- Event 1
          -- Event 2
          -- Define order of events
          -- Any additional Events associated to the query
     -- If more than the standard 2 Events are associated, verify a message appears for each event added.

5. Same Instance and Same Financial Encounter Queries: Verify the following additional items.
     -- The correct selection appears at Temporal Constraint
     -- The correct selection appears on the panel level for every panel.


ISSUES FOUND:
No issues were found while testing.


Participant/s:

 Description   
A new feature has been added to Previous Queries that will allow you to easily display the query in the Query Tool. Now when you right click on the query in Previous Queries, the normal pop-up menu you will display with a new option called "Display". When you select this option the query will automatically display in the Query Tool.

NOTE: The ability to drag the query from Previous Queries and dropping it at the Query Name in the Query tool is still available.

 Comments   
Comment by Janice Donahoe [ 25/Jan/16 ]
On 01/22/2016, the 1.7.07 Release was made available at the following locations.

https://www.i2b2.org/software/
 - zip files for release 1.7.07 are available on this site. This includes both the code and documentation.

https://github.com/i2b2
 - source code has been tagged with v1.7.07.
Generated at Wed Apr 24 20:32:25 UTC 2024 using Jira 8.20.11#820011-sha1:0629dd8d260e3954ece49053e565d01dabe11609.