Affects View/s:
Find Terms , Navigate Terms
Testing Notes:
Tested and verified it is now working correctly. This was fixed in an earlier version of 1.7.
Build Number (Fixed):
1.7.02.0005
The source code for i2b2 is not consistent in the way in which it loads concept synonyms in the Ontology cell. It also has an issue with keeping a persistent value for the option which allows you to toggle whether it shows synonyms or not. When i2b2 is launched, it doesn't seem logical to show concept synonyms by default in the ontology cell, but rather give the option to show synonyms if the user prefers, or allow the ability to search for synonyms. Typically the preferred term should be displayed in a SKOS terminology model, and that's essentially what the i2b2 terminology is.
1.) In the Ontology Cell Navigation Options form, the check box for "Show Synonymous Terms" is turned off.
FILE: \webclient\default.htm
SOURCE CODE:
<div style="margin-left:50px"><input type="checkbox" id="ONTNAVshowSynonyms" /> Show Synonymous Terms</div>
If it was turned on, it would have the checked property set:
<div style="margin-left:50px"><input type="checkbox" id="ONTNAVshowSynonyms" checked /> Show Synonymous Terms</div>
2.) However, this is inconsistent with the way the web client loads i2b2 concept synonyms. In order to make this form and the initial load consistent with each other, this "defaultValue" setting should be set to false, not true. If you download the source code from the i2b2.org site, the value is set to false.
FILE: \webclient\cell_config_data.js
SOURCE CODE:
{xmlName:'OntSynonyms', thinClientName:'synonyms', defaultValue:true}
should be:
{xmlName:'OntSynonyms', thinClientName:'synonyms', defaultValue:false}
3.) This takes the value of the params.synonyms from cell_config_data.js and applies the value to what the form should set as checked. Currently, it's taking the opposite of it's value, which seems strange.
FILE: \webclient\js-i2b22\cells\ONT\ONT_view_Nav.js
SOURCE CODE:
$('ONTNAVshowSynonyms').checked = parseBoolean(!this.params.synonyms);
should be (without the !)
$('ONTNAVshowSynonyms').checked = parseBoolean(this.params.synonyms);
4.) And in order to make the code explicit, this code should be using the not (!) operator, rather than commenting out the code completely. Without this, the value displayed in the form never persists. It always shows as false. This code is probably okay, but it's better to be explicit.
FILE: \webclient\js-i2b22\cells\ONT\ONT_view_Find.js
SOURCE CODE:
//$('ONTFINDshowSynonyms').checked = parseBoolean(this.params.synonyms);
should be:
$('ONTFINDshowSynonyms').checked = parseBoolean(!this.params.synonyms);
==================
CONCLUSION:
So in order to be consistent, #1 should be unchecked (no checked property) and #2 should be set to false. #3 should have the not operator removed and #4 should have the not operator applied rather than being uncommented out.
And if you want synonyms to show in the navigation pane by default, then #1 should be checked, #2 should be set to true, and #3 and #4 should also be fixed in the same way.
==================
Janice Donahoe
made changes -
22/May/14 5:58 PM
Field
Original Value
New Value
Workflow
classic default workflow
[ 10202
]
i2b2 Issues
[ 10292
]
Janice Donahoe
made changes -
29/May/14 1:16 PM
Component/s
Web Client
[ 10021
]
Janice Donahoe
made changes -
29/May/14 1:17 PM
Component/s
Web Client
[ 10021
]
Mike Mendis
made changes -
29/May/14 2:22 PM
Status
Open
[ 1
]
In Progress
[ 3
]
Mike Mendis
made changes -
29/May/14 2:22 PM
Worklog Id
10001
[ 10001
]
Remaining Estimate
0d
[ 0
]
Time Spent
0.25h
[ 900
]
Mike Mendis
made changes -
29/May/14 2:22 PM
Fix Version/s
1.7.02
[ 10091
]
Assignee
Mike Mendis
[ mem61
]
Janice Donahoe
[ jmd86
]
Status
In Progress
[ 3
]
Ready to Test
[ 10001
]
Janice Donahoe
made changes -
29/May/14 4:07 PM
Workflow
i2b2 Issues
[ 10292
]
i2b2 Issues Workflow
[ 10458
]
Janice Donahoe
made changes -
05/Jun/14 6:04 PM
Component/s
Web Client
[ 10021
]
Janice Donahoe
made changes -
05/Jun/14 6:04 PM
Component/s
Ontology Cell
[ 10040
]
Component/s
Web Client
[ 10046
]
Component/s
Ontology Cell
[ 10001
]
Component/s
Web Client
[ 10021
]
Fix Version/s
1.7.02
[ 10127
]
Fix Version/s
1.7.02
[ 10091
]
Key
LEOPARD-114
WEBCLIENT-43
Project
i2b2
[ 10000
]
i2b2 Web Client
[ 10033
]
Affects Version/s
1.6.06
[ 10119
]
Affects Version/s
1.6.06
[ 10072
]
Workflow
i2b2 Issues Workflow
[ 10458
]
Web Client Issues Workflow
[ 10649
]
Janice Donahoe
made changes -
06/Jun/14 11:24 AM
Status
Ready to Test
[ 10001
]
Testing
[ 10002
]
Janice Donahoe
made changes -
09/Jun/14 9:49 AM
Affects View/s
Find Terms,Navigate Terms
[ 10044, 10047
]
Build Number/s (Testing)
1.7.02.0005
Testing Notes
Tested and verified it is now working correctly. This was fixed in an earlier version of 1.7.
Status
Testing
[ 10002
]
Testing
[ 10002
]
Janice Donahoe
made changes -
09/Jun/14 9:49 AM
Build Number (Fixed)
1.7.02.0005
Resolution
Fixed
[ 1
]
Status
Testing
[ 10002
]
Resolved
[ 5
]
Janice Donahoe
made changes -
01/Jul/14 11:39 AM
Status
Resolved
[ 5
]
Closed
[ 6
]
{"report":{"fcp":1068.6999998092651,"ttfb":238.5,"pageVisibility":"visible","entityId":10202,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"bb1ee233-337f-4432-99dc-8fe44178055b","navigationType":0,"readyForUser":1145.1999998092651,"redirectCount":0,"resourceLoadedEnd":945.6999998092651,"resourceLoadedStart":263.2999997138977,"resourceTiming":[{"duration":43,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/7fd763ecdf5ed1f47fc4d22fa8382e97-CDN/4x9nqn/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/css/_super/batch.css","startTime":263.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":263.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":306.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":43.40000009536743,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/898b8076c5e82f53cd816ca393e45a56-CDN/4x9nqn/820011/16zrvj4/f614b50eeb842ebd1ea7ab2903699907/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.css?jira.create.linked.issue=true&richediton=true","startTime":263.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":263.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":307,"responseStart":0,"secureConnectionStart":0},{"duration":559.5999999046326,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/4c9c503fe98f210445831b0d7b0cdc33-CDN/4x9nqn/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":263.7999997138977,"connectEnd":737.0999999046326,"connectStart":710.6999998092651,"domainLookupEnd":710.6999998092651,"domainLookupStart":710.6999998092651,"fetchStart":263.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":737.2999997138977,"responseEnd":823.3999996185303,"responseStart":755.5999999046326,"secureConnectionStart":723.1999998092651},{"duration":574.5999999046326,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/694e598c1ae48b0f96655173631cd247-CDN/4x9nqn/820011/16zrvj4/f614b50eeb842ebd1ea7ab2903699907/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":264,"connectEnd":757.1999998092651,"connectStart":731.5999999046326,"domainLookupEnd":731.5999999046326,"domainLookupStart":731.5999999046326,"fetchStart":264,"redirectEnd":0,"redirectStart":0,"requestStart":757.2999997138977,"responseEnd":838.5999999046326,"responseStart":775.8999996185303,"secureConnectionStart":744.1999998092651},{"duration":516.5999999046326,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/53f54e0ac3f00bb56b136b4d2fff2853-CDN/4x9nqn/820011/16zrvj4/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":264.19999980926514,"connectEnd":767.0999999046326,"connectStart":743.5,"domainLookupEnd":743.5,"domainLookupStart":743.5,"fetchStart":264.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":767.1999998092651,"responseEnd":780.7999997138977,"responseStart":780,"secureConnectionStart":754.7999997138977},{"duration":522.2000002861023,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":264.2999997138977,"connectEnd":772.5,"connectStart":749.1999998092651,"domainLookupEnd":749.1999998092651,"domainLookupStart":749.1999998092651,"fetchStart":264.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":772.5999999046326,"responseEnd":786.5,"responseStart":785.2999997138977,"secureConnectionStart":760.5999999046326},{"duration":551.3999996185303,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":264.5,"connectEnd":798.3999996185303,"connectStart":775.1999998092651,"domainLookupEnd":775.1999998092651,"domainLookupStart":775.0999999046326,"fetchStart":264.5,"redirectEnd":0,"redirectStart":0,"requestStart":798.5999999046326,"responseEnd":815.8999996185303,"responseStart":814.2999997138977,"secureConnectionStart":786.6999998092651},{"duration":47.59999990463257,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/30748292e4ca68be6947d7969829384b-CDN/4x9nqn/820011/16zrvj4/4f66da484ef7d95a2a604d3ab014374c/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":264.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":264.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":312.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":556.2000002861023,"initiatorType":"script","name":"https://community.i2b2.org/jira/rest/api/1.0/shortcuts/820011/a9e270f026ecabffc9a59343e5439391/shortcuts.js?context=issuenavigation&context=issueaction","startTime":264.7999997138977,"connectEnd":804.5999999046326,"connectStart":780.6999998092651,"domainLookupEnd":780.6999998092651,"domainLookupStart":780.6999998092651,"fetchStart":264.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":804.6999998092651,"responseEnd":821,"responseStart":819.2999997138977,"secureConnectionStart":792.5},{"duration":51.5,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/4x9nqn/820011/16zrvj4/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":402.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":402.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":454.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":462.40000009536743,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/8087506fefd02b4096991c90836b49f6-CDN/4x9nqn/820011/16zrvj4/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":402.7999997138977,"connectEnd":847.2999997138977,"connectStart":820.8999996185303,"domainLookupEnd":820.8999996185303,"domainLookupStart":820.7999997138977,"fetchStart":402.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":847.3999996185303,"responseEnd":865.1999998092651,"responseStart":863.2999997138977,"secureConnectionStart":834.0999999046326},{"duration":506.40000009536743,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":420.2999997138977,"connectEnd":913,"connectStart":889.8999996185303,"domainLookupEnd":889.8999996185303,"domainLookupStart":889.8999996185303,"fetchStart":420.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":913,"responseEnd":926.6999998092651,"responseStart":925.7999997138977,"secureConnectionStart":901.2999997138977},{"duration":398.69999980926514,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":547,"connectEnd":930.5999999046326,"connectStart":904.5999999046326,"domainLookupEnd":904.5999999046326,"domainLookupStart":904.5,"fetchStart":547,"redirectEnd":0,"redirectStart":0,"requestStart":930.6999998092651,"responseEnd":945.6999998092651,"responseStart":944.5999999046326,"secureConnectionStart":917.3999996185303},{"duration":186.09999990463257,"initiatorType":"xmlhttprequest","name":"https://community.i2b2.org/jira/rest/webResources/1.0/resources","startTime":1005.5999999046326,"connectEnd":1173.6999998092651,"connectStart":1147.5999999046326,"domainLookupEnd":1147.5999999046326,"domainLookupStart":1147.5999999046326,"fetchStart":1005.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1173.7999997138977,"responseEnd":1191.6999998092651,"responseStart":1190.7999997138977,"secureConnectionStart":1160.6999998092651}],"fetchStart":0,"domainLookupStart":41,"domainLookupEnd":141,"connectStart":141,"connectEnd":181,"secureConnectionStart":154,"requestStart":181,"responseStart":238,"responseEnd":546,"domLoading":253,"domInteractive":1229,"domContentLoadedEventStart":1229,"domContentLoadedEventEnd":1277,"domComplete":1526,"loadEventStart":1526,"loadEventEnd":1526,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1196.8999996185303},{"name":"bigPipe.sidebar-id.end","time":1197.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1197.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.end","time":1202.2999997138977},{"name":"activityTabFullyLoaded","time":1298.0999999046326}],"measures":[],"correlationId":"ecd351ff57277c","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":346,"dbReadsTimeInMs":63,"dbConnsTimeInMs":81,"applicationHash":"0629dd8d260e3954ece49053e565d01dabe11609","experiments":[]}}