Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.05
-
None
-
Query Tool
-
Temporal Queries
-
i2b2 Web Client
-
All Web Browsers
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.
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.
i2b2 version 1.7.06 was released on August 12, 2015.