[WEBCLIENT-123] Order of events not maintained when running a previous temporal query Created: 01/Jun/15  Updated: 18/Aug/15  Resolved: 08/Jun/15

Status: Closed
Project: i2b2 Web Client
Component/s: Web Client
Affects Version/s: 1.7.05
Fix Version/s: 1.7.06

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

Affects View/s:
Query Tool
i2b2 Feature/s:
Temporal Queries
i2b2 Sponsored Project/s:
i2b2 Web Client
Affects Web Browser/s:
All Web Browsers
Reproduction Notes: STEPS TO REPRODUCE / TEST:

1. Run a Temporal Query making sure you have a temporal relationship defined that has two events. (define order of events tab).

2. Click on the Clear button to clear the Query Tool.

3. Drag the Temporal Query you just ran from Previous Queries to the Query Tool.

4. Go to the Define order of events tab and notice the relationship you defined is not displaying correctly.

5. Run the query (do not change anything).

6. Notice in the sent xml that the subquery constraint is sending what is now defined in the query tool instead of what was defined when the temporal query was initially run.
Testing Notes: Test Date: 06/04/2015
Build Number:
Test Status: Completed (Passed Testing)

Clients Tested :
     i2b2 Web Client

Environments Tested :
     Browsers: Chrome, Firefox, Internet Explorer, and Safari
     Databases: Not applicable for this test
     Client OS: Mac OS and Windows

Test Comments:
Tested with the latest web client build and it appears to be working correctly. The “order of events” defined in the original temporal query are maintained when you drop the previous temporal query into the Query Tool.

ISSUES FOUND:
An unrelated issue was found that may have been introduced when the fix for this issue was made. A separate issue has been submitted. Please see WEBCLIENT-126 for additional information.
Participant/s:

 Description   
The order of events defined when running a temporal query is not defaulting correctly when the previous temporal query is added to the Query Tool.

When you go to the Define Order of Events page the events for the defined relationship are all defaulting to 1.

For Example:

Temporal Relationship when the first Temporal Query is run:

Start of the First Ever Event 1
- occurs before -
Start of the First Ever Event 2


Temporal Relationship that displays when drop the previous Temporal Query into the Query Tool:

Start of the First Ever Event 1
- occurs before -
Start of the First Ever Event 1


IMPORTANT: This is not just a display issue. If you run the previous Temporal Query without making edits to the event relationship, they will be sent in the xml as Event 1.

     <subquery_constraint>
<first_query>
<query_id>Event 1</query_id>
<join_column>STARTDATE</join_column>
<aggregate_operator>FIRST</aggregate_operator>
</first_query>
<operator>LESS</operator>
<second_query>
<query_id>Event 1</query_id>
<join_column>STARTDATE</join_column>
<aggregate_operator>FIRST</aggregate_operator>
</second_query>
</subquery_constraint>


This issue is happening in all browsers.
 

 Comments   
Comment by Janice Donahoe [ 18/Aug/15 ]
The fix for this issue was included in the 1.7.06 release.

i2b2 version 1.7.06 was released on August 12, 2015.
Generated at Sat Apr 27 01:29:34 UTC 2024 using Jira 8.20.11#820011-sha1:0629dd8d260e3954ece49053e565d01dabe11609.