+"bundle";System.register("main.js",[],function(a,b){"use strict";function c(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot("shell")});var b={auth:sessionStorage.getItem("shrine.auth")};sessionStorage.removeItem("shrine.auth"),a.use.instance("shrine",b)}return a("configure",c),{setters:[],execute:function(){}}}),System.register("repository/pm-repository.js",[],function(a,b){"use strict";return{setters:[],execute:function(){}}}),function(){var a=System.amdDefine;a("shell.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return"<template><router-view></router-view></template>"})}(),System.register("shell.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("Shell",d=function(){function a(){c(this,a)}return a.prototype.configureRouter=function(a,b){a.title="SHRINE Webclient Plugin",a.map([{route:["","mailto"],moduleId:"views/mailto/mailto"},{route:"query-viewer",moduleId:"views/query-viewer/query-viewer"}]),this.router=b},a}()),a("Shell",d)}}}),function(){var a=System.amdDefine;a("views/mailto/mailto.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><div class="mailto"><div class="content"><p>If you have questions about your query results or this SHRINE network, contact the Data Steward at your site.</p><div class="email js-email"><button class="button button--large js-button" click.delegate="openEmail()">Email Data Steward</button></div></div></div></template>'})}(),System.register("views/mailto/mailto.service.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),a("MailToService",(g=d(e),i=g(h=function(){function a(b){var d=this;c(this,a),b.configure(function(a){a.useStandardConfiguration().withBaseUrl(d.url)}),this.http=b}return a.prototype.fetchStewardEmail=function(){return this.http.fetch("data?key=stewardEmail").then(function(a){return a.json()}).then(function(a){return a.indexOf('"')>0?a.split('"')[1]:a})["catch"](function(){return""})},f(a,[{key:"url",get:function(){var a="6443",b=document.URL,c="/shrine-metadata/";return b.substring(0,b.indexOf(a)+a.length)+c}}]),a}())||h)),a("MailToService",i)}}}),System.register("views/mailto/mailto.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("MailConfig",c={mailto:"mailto:",subject:"subject="+encodeURIComponent("Question from a SHRINE User"),body:encodeURIComponent("Please enter the suggested information and your question. Your data steward will reply to this email.\n\n***Never send patient information, passwords, or other sensitive information by email****\nName:\nTitle:\nUser name (to log into SHRINE):\nTelephone Number (optional):\nPreferred email address (optional):\n\nQuestion or Comment:")}),a("MailConfig",c)}}}),System.register("views/mailto/mailto.js",["aurelia-framework","views/mailto/mailto.service","views/mailto/mailto.config"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.MailToService},function(a){f=a.MailConfig}],execute:function(){a("MailTo",(g=d(e,f),i=g(h=function(){function a(b,d){c(this,a),this.service=b,this.config=d}return a.prototype.openEmail=function(){var a=this;this.service.fetchStewardEmail().then(function(b){return window.top.location=a.getComposition(b),a})},a.prototype.getComposition=function(a){return this.config.mailto+a+"?"+this.config.subject+"&"+this.config.body},a}())||h)),a("MailTo",i)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-viewer.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><require from="views/query-viewer/result-style.converter"></require><require from="views/query-viewer/result-value.converter"></require><div style="width: 100%; text-align: center"><ul class="circle-pagination" if.bind="showCircles"><li repeat.for="screen of screens" class="${screenIndex === $index? \'active\' : \'\'}" click.delegate="screenIndex = $index"><div>${screen.id}</div></li></ul></div><div class="box-wrapper"><div class="box" repeat.for="screen of screens" css="transform: translate(${slidePct}, 0%);"><section><div><table cellpadding="0" cellspacing="0" border="0"><thead><tr><th class="tbl-header"></th><th repeat.for="node of screen.nodes" class="tbl-header"><div class="hideextra">${node}</div></th></tr></thead></table></div><div class="tbl-content"><table cellpadding="0" cellspacing="0" border="0"><tbody><tr repeat.for="result of screen.results" css="background: ${$odd? \'rgba(98,108,146, .1)\' : \'white\'}"><th><div class="hideextra">${result.name}</div></th><!-- use a value converter --><td repeat.for="nodeResult of result.nodeResults" css="${nodeResult | resultStyle}">${nodeResult | result}</td><!--td repeat.for="nodeResult of result.nodeResults" \n css="${getCSSFromStatus(nodeResult, isUnresolved, getColorValue, \'color\')}">\n ${result.result}\n </td--></tr></tbody></table></div></section></div></div></template>'})}(),System.register("views/query-viewer/query-viewer.service.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),i=10,a("QueryViewerService",(g=d(e,"shrine"),j=g(h=function(){function a(b,d){var e=this;c(this,a),void 0!==b&&(b.configure(function(a){a.useStandardConfiguration().withBaseUrl(e.url).withDefaults({headers:{Authorization:"Basic "+d.auth}})}),this.http=b)}return a.prototype.fetchPreviousQueries=function(){return this.http.fetch("qep/queryResults").then(function(a){return a.json()})["catch"](function(a){return a})},a.prototype.getScreens=function(a,b){var c=this;return new Promise(function(d,e){for(var f=a.sort().length,g=[],h=0;h<f;h+=i){var j=c.getNumberOfNodesOnScreen(a,h,i),k=j-1,l=c.getScreenId(a,h,k),m=a.slice(h,j),n=c.mapQueriesToScreenNodes(m,b,c.findQueriesForNode);g.push({id:l,nodes:m,results:n})}d(g)})},a.prototype.mapQueriesToScreenNodes=function(a,b){var c=[];return b.forEach(function(b,d){var e={name:b.query.queryName,id:b.query.networkId,nodeResults:[]};a.forEach(function(a){e.nodeResults.push(b.adaptersToResults.find(function(b){return b.adapterNode===a}))}),c.push(e)}),c},a.prototype.getNumberOfNodesOnScreen=function(a,b){var c=b+i;return c<a.length?c:a.length},a.prototype.getScreenId=function(a,b,c){var d=a[b],e=a[c];return String(d).substr(0,1)+"-"+String(e).substr(0,1)},f(a,[{key:"url",get:function(){var a="6443",b=document.URL,c="/shrine-metadata/";return b.substring(0,b.indexOf(a)+a.length)+c}}]),a}())||h)),a("QueryViewerService",j)}}}),System.register("views/query-viewer/query-viewer.js",["aurelia-framework","views/query-viewer/query-viewer.service"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j;return{setters:[function(a){d=a.inject},function(a){e=a.QueryViewerService}],execute:function(){f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),i=10,a("QueryViewer",(g=d(e),j=g(h=function(){function a(b){var d=this;c(this,a),this.screenIndex=0,this.showCircles=!1,this.service=b,this.service.fetchPreviousQueries().then(function(a){var c=a.queryResults,d=a.adapters;return b.getScreens(d,c)}).then(function(a){d.screens=a,d.showCircles=d.screens.length>1})["catch"](function(a){return console.log(a)})}return f(a,[{key:"slidePct",get:function(){return String(-100*this.screenIndex)+"%"}}]),a}())||h)),a("QueryViewer",j)}}}),System.register("views/query-viewer/result-style.converter.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function d(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"FINISHED";return!a||a.status!==b}function e(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ERROR",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#FF0000",d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#00FF00";return a&&a.status!==b?d:c}var f;return{setters:[],execute:function(){a("ResultStyleValueConverter",f=function(){function a(){c(this,a)}return a.prototype.toView=function(a){var b=d(a)?"color:"+e(a):"";return b},a}()),a("ResultStyleValueConverter",f)}}}),System.register("views/query-viewer/result-value.converter.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("ResultValueConverter",d=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return a?"FINISHED"!==a.status?a.status:a.count:"not available"},a}()),a("ResultValueConverter",d)}}});
-"bundle";System.register("main.js",[],function(a,b){"use strict";function c(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot("shell")})}return a("configure",c),{setters:[],execute:function(){}}}),System.register("repository/pm-repository.js",[],function(a,b){"use strict";return{setters:[],execute:function(){}}}),function(){var a=System.amdDefine;a("shell.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return"<template><router-view></router-view></template>"})}(),System.register("shell.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("Shell",d=function(){function a(){c(this,a)}return a.prototype.configureRouter=function(a,b){a.title="SHRINE Webclient Plugin",a.map([{route:["","mailto"],moduleId:"views/mailto/mailto"},{route:"query-viewer",moduleId:"views/query-viewer/query-viewer"}]),this.router=b},a}()),a("Shell",d)}}}),function(){var a=System.amdDefine;a("views/mailto/mailto.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><div class="mailto"><div class="content"><p>If you have questions about your query results or this SHRINE network, contact the Data Steward at your site.</p><div class="email js-email"><button class="button button--large js-button" click.delegate="openEmail()">Email Data Steward</button></div></div></div></template>'})}(),System.register("views/mailto/mailto.service.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),a("MailToService",(g=d(e),i=g(h=function(){function a(b){var d=this;c(this,a),b.configure(function(a){a.useStandardConfiguration().withBaseUrl(d.url)}),this.http=b}return a.prototype.fetchStewardEmail=function(){return this.http.fetch("data?key=stewardEmail").then(function(a){return a.json()}).then(function(a){return a.indexOf('"')>0?a.split('"')[1]:a})["catch"](function(){return""})},f(a,[{key:"url",get:function(){var a="6443",b=document.URL,c="/shrine-metadata/";return b.substring(0,b.indexOf(a)+a.length)+c}}]),a}())||h)),a("MailToService",i)}}}),System.register("views/mailto/mailto.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("MailConfig",c={mailto:"mailto:",subject:"subject="+encodeURIComponent("Question from a SHRINE User"),body:encodeURIComponent("Please enter the suggested information and your question. Your data steward will reply to this email.\n\n***Never send patient information, passwords, or other sensitive information by email****\nName:\nTitle:\nUser name (to log into SHRINE):\nTelephone Number (optional):\nPreferred email address (optional):\n\nQuestion or Comment:")}),a("MailConfig",c)}}}),System.register("views/mailto/mailto.js",["aurelia-framework","views/mailto/mailto.service","views/mailto/mailto.config"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.MailToService},function(a){f=a.MailConfig}],execute:function(){a("MailTo",(g=d(e,f),i=g(h=function(){function a(b,d){c(this,a),this.service=b,this.config=d}return a.prototype.openEmail=function(){var a=this;this.service.fetchStewardEmail().then(function(b){return window.top.location=a.getComposition(b),a})},a.prototype.getComposition=function(a){return this.config.mailto+a+"?"+this.config.subject+"&"+this.config.body},a}())||h)),a("MailTo",i)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-viewer.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><div style="width: 100%; text-align: center"><ul class="circle-pagination"><li repeat.for="screen of screens" class="${screenIndex === $index? \'active\' : \'\'}" click.delegate="screenIndex = $index"><div>${screen.name}</div></li></ul></div><div class="box-wrapper"><div class="box" repeat.for="screen of screens" css="transform: translate(${slidePct}, 0%);"><section><!-- ${boxWrapper.offsetWidth} --><!--for demo wrap>\n <!--h1>Fixed Table header</h1--><div><table cellpadding="0" cellspacing="0" border="0"><thead><tr><th class="tbl-header"></th><th repeat.for="node of screen.nodes" class="tbl-header"><div class="hideextra">${node}</div></th></tr></thead></table></div><div class="tbl-content"><table cellpadding="0" cellspacing="0" border="0"><tbody><tr repeat.for="query of screen.queries" css="background: ${$odd? \'rgba(98,108,146, .1)\' : \'white\'}"><th><div class="hideextra">${query.name}</div></th><td repeat.for="result of query.results">${result.result}</td></tr></tbody></table></div></section></div></div></template>'})}(),System.register("views/query-viewer/query-viewer.service.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),i=10,a("QueryViewerService",(g=d(e),j=g(h=function(){function a(b){var d=this;c(this,a),b.configure(function(a){a.useStandardConfiguration().withBaseUrl(d.url)}),this.http=b}return a.prototype.fetchPreviousQueries=function(){return this.http.fetch("previous-queries").then(function(a){return a.json()})["catch"](function(a){return a})},a.prototype.getNodes=function(a){return a.length>0?a[0].results.map(function(a){return a.node}):[]},a.prototype.getScreens=function(a,b){return new Promise(function(c,d){for(var e=a.length,f=[],g=function(c){var d=c+i<e?c+i:e-1,g=String(a[c]).substr(0,1)+"-"+String(a[d]).substr(0,1),h=a.slice(c,d),j=b.map(function(a){return{id:a.id,name:a.name,results:a.results.slice(c,d)}});f.push({name:g,nodes:h,queries:j})},h=0;h<e;h+=i)g(h);c(f)})},f(a,[{key:"url",get:function(){var a="8000",b=document.URL,c="6443/shrine-proxy/request/shrine/api/";return b.substring(0,b.indexOf(a))+c}}]),a}())||h)),a("QueryViewerService",j)}}}),System.register("views/query-viewer/query-viewer.js",["aurelia-framework","views/query-viewer/query-viewer.service"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j;return{setters:[function(a){d=a.inject},function(a){e=a.QueryViewerService}],execute:function(){f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),i=10,a("QueryViewer",(g=d(e),j=g(h=function(){function a(b){var d=this;c(this,a),this.screenIndex=0,this.service=b,this.service.fetchPreviousQueries().then(function(a){var c=a.queries,e=d.service.getNodes(c);return b.getScreens(e,c)}).then(function(a){d.screens=a})["catch"](function(a){return console.log(a)})}return f(a,[{key:"slidePct",get:function(){return String(-100*this.screenIndex)+"%"}}]),a}())||h)),a("QueryViewer",j)}}});
\ No newline at end of file
+"bundle";System.register("main.js",[],function(a,b){"use strict";function c(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot("shell")});var b={auth:sessionStorage.getItem("shrine.auth")};sessionStorage.removeItem("shrine.auth"),a.use.instance("shrine",b)}return a("configure",c),{setters:[],execute:function(){}}}),System.register("repository/pm-repository.js",[],function(a,b){"use strict";return{setters:[],execute:function(){}}}),function(){var a=System.amdDefine;a("shell.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return"<template><router-view></router-view></template>"})}(),System.register("shell.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("Shell",d=function(){function a(){c(this,a)}return a.prototype.configureRouter=function(a,b){a.title="SHRINE Webclient Plugin",a.map([{route:["","mailto"],moduleId:"views/mailto/mailto"},{route:"query-viewer",moduleId:"views/query-viewer/query-viewer"}]),this.router=b},a}()),a("Shell",d)}}}),function(){var a=System.amdDefine;a("views/mailto/mailto.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><div class="mailto"><div class="content"><p>If you have questions about your query results or this SHRINE network, contact the Data Steward at your site.</p><div class="email js-email"><button class="button button--large js-button" click.delegate="openEmail()">Email Data Steward</button></div></div></div></template>'})}(),System.register("views/mailto/mailto.service.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),a("MailToService",(g=d(e),i=g(h=function(){function a(b){var d=this;c(this,a),b.configure(function(a){a.useStandardConfiguration().withBaseUrl(d.url)}),this.http=b}return a.prototype.fetchStewardEmail=function(){return this.http.fetch("data?key=stewardEmail").then(function(a){return a.json()}).then(function(a){return a.indexOf('"')>0?a.split('"')[1]:a})["catch"](function(){return""})},f(a,[{key:"url",get:function(){var a="6443",b=document.URL,c="/shrine-metadata/";return b.substring(0,b.indexOf(a)+a.length)+c}}]),a}())||h)),a("MailToService",i)}}}),System.register("views/mailto/mailto.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("MailConfig",c={mailto:"mailto:",subject:"subject="+encodeURIComponent("Question from a SHRINE User"),body:encodeURIComponent("Please enter the suggested information and your question. Your data steward will reply to this email.\n\n***Never send patient information, passwords, or other sensitive information by email****\nName:\nTitle:\nUser name (to log into SHRINE):\nTelephone Number (optional):\nPreferred email address (optional):\n\nQuestion or Comment:")}),a("MailConfig",c)}}}),System.register("views/mailto/mailto.js",["aurelia-framework","views/mailto/mailto.service","views/mailto/mailto.config"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.MailToService},function(a){f=a.MailConfig}],execute:function(){a("MailTo",(g=d(e,f),i=g(h=function(){function a(b,d){c(this,a),this.service=b,this.config=d}return a.prototype.openEmail=function(){var a=this;this.service.fetchStewardEmail().then(function(b){return window.top.location=a.getComposition(b),a})},a.prototype.getComposition=function(a){return this.config.mailto+a+"?"+this.config.subject+"&"+this.config.body},a}())||h)),a("MailTo",i)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-viewer.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><require from="views/query-viewer/result-style.converter"></require><require from="views/query-viewer/result-value.converter"></require><div style="width: 100%; text-align: center"><ul class="circle-pagination" if.bind="showCircles"><li repeat.for="screen of screens" class="${screenIndex === $index? \'active\' : \'\'}" click.delegate="screenIndex = $index"><div>${screen.id}</div></li></ul></div><div class="box-wrapper"><div class="box" repeat.for="screen of screens" css="transform: translate(${slidePct}, 0%);"><section><div><table cellpadding="0" cellspacing="0" border="0"><thead><tr><th class="tbl-header"></th><th repeat.for="node of screen.nodes" class="tbl-header"><div class="hideextra">${node}</div></th></tr></thead></table></div><div class="tbl-content"><table cellpadding="0" cellspacing="0" border="0"><tbody><tr repeat.for="result of screen.results" css="background: ${$odd? \'rgba(98,108,146, .1)\' : \'white\'}"><th><div class="hideextra">${result.name}</div></th><!-- use a value converter --><td repeat.for="nodeResult of result.nodeResults" css="${nodeResult | resultStyle}">${nodeResult | result}</td><!--td repeat.for="nodeResult of result.nodeResults" \n css="${getCSSFromStatus(nodeResult, isUnresolved, getColorValue, \'color\')}">\n ${result.result}\n </td--></tr></tbody></table></div></section></div></div></template>'})}(),System.register("views/query-viewer/query-viewer.service.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),i=10,a("QueryViewerService",(g=d(e,"shrine"),j=g(h=function(){function a(b,d){var e=this;c(this,a),void 0!==b&&(b.configure(function(a){a.useStandardConfiguration().withBaseUrl(e.url).withDefaults({headers:{Authorization:"Basic "+d.auth}})}),this.http=b)}return a.prototype.fetchPreviousQueries=function(){return this.http.fetch("qep/queryResults").then(function(a){return a.json()})["catch"](function(a){return a})},a.prototype.getScreens=function(a,b){var c=this;return new Promise(function(d,e){for(var f=a.sort().length,g=[],h=0;h<f;h+=i){var j=c.getNumberOfNodesOnScreen(a,h,i),k=j-1,l=c.getScreenId(a,h,k),m=a.slice(h,j),n=c.mapQueriesToScreenNodes(m,b,c.findQueriesForNode);g.push({id:l,nodes:m,results:n})}d(g)})},a.prototype.mapQueriesToScreenNodes=function(a,b){var c=[];return b.forEach(function(b,d){var e={name:b.query.queryName,id:b.query.networkId,nodeResults:[]};a.forEach(function(a){e.nodeResults.push(b.adaptersToResults.find(function(b){return b.adapterNode===a}))}),c.push(e)}),c},a.prototype.getNumberOfNodesOnScreen=function(a,b){var c=b+i;return c<a.length?c:a.length},a.prototype.getScreenId=function(a,b,c){var d=a[b],e=a[c];return String(d).substr(0,1)+"-"+String(e).substr(0,1)},f(a,[{key:"url",get:function(){var a="6443",b=document.URL,c="/shrine-metadata/";return b.substring(0,b.indexOf(a)+a.length)+c}}]),a}())||h)),a("QueryViewerService",j)}}}),System.register("views/query-viewer/query-viewer.js",["aurelia-framework","views/query-viewer/query-viewer.service"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i,j;return{setters:[function(a){d=a.inject},function(a){e=a.QueryViewerService}],execute:function(){f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),i=10,a("QueryViewer",(g=d(e),j=g(h=function(){function a(b){var d=this;c(this,a),this.screenIndex=0,this.showCircles=!1,this.service=b,this.service.fetchPreviousQueries().then(function(a){var c=a.queryResults,d=a.adapters;return b.getScreens(d,c)}).then(function(a){d.screens=a,d.showCircles=d.screens.length>1})["catch"](function(a){return console.log(a)})}return f(a,[{key:"slidePct",get:function(){return String(-100*this.screenIndex)+"%"}}]),a}())||h)),a("QueryViewer",j)}}}),System.register("views/query-viewer/result-style.converter.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function d(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"FINISHED";return!a||a.status!==b}function e(a){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ERROR",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#FF0000",d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#00FF00";return a&&a.status!==b?d:c}var f;return{setters:[],execute:function(){a("ResultStyleValueConverter",f=function(){function a(){c(this,a)}return a.prototype.toView=function(a){var b=d(a)?"color:"+e(a):"";return b},a}()),a("ResultStyleValueConverter",f)}}}),System.register("views/query-viewer/result-value.converter.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("ResultValueConverter",d=function(){function a(){c(this,a)}return a.prototype.toView=function(a){return a?"FINISHED"!==a.status?a.status:a.count:"not available"},a}()),a("ResultValueConverter",d)}}});
+ "expression": "Constrained(Term(\\\\SHRINE\\SHRINE\\Diagnoses\\Certain conditions originating in the perinatal period (760-779.99)\\),Some(Modifiers(Admit Diagnosis,\\SHRINE\\Diagnoses\\Certain conditions originating in the perinatal period (760-779.99)\\%,\\\\SHRINE\\Admit Diagnosis\\)),None)",
+ "queryName": "Admit Diagnosis@14:29:22",
+ "deleted": false,
+ "changeDate": 1490984963326,
+ "userName": "ij22",
+ "networkId": 7768019175359373000,
+ "queryXml": "<runQuery><projectId>SHRINE</projectId><waitTimeMs>180000</waitTimeMs><authenticationInfo><domain>i2b2demo</domain><username>ij22</username><credential isToken=\"true\">SessionKey:U9v3LeZcEkbdTCfWLQi7</credential></authenticationInfo><queryId>7768019175359372886</queryId><topicId>3</topicId><topicName>medication only_27th march</topicName><outputTypes><resultType><id>4</id><name>PATIENT_COUNT_XML</name><isBreakdown>false</isBreakdown><description>Number of patients</description><displayType>CATNUM</displayType></resultType></outputTypes><queryDefinition><name>Admit Diagnosis@14:29:22</name><expr><constrainedTerm><term>\\\\SHRINE\\SHRINE\\Diagnoses\\Certain conditions originating in the perinatal period (760-779.99)\\</term><modifier><name>Admit Diagnosis</name><appliedPath>\\SHRINE\\Diagnoses\\Certain conditions originating in the perinatal period (760-779.99)\\%</appliedPath><key>\\\\SHRINE\\Admit Diagnosis\\</key></modifier></constrainedTerm></expr></queryDefinition></runQuery>",
+ "queryXml": "<runQuery><projectId>SHRINE</projectId><waitTimeMs>180000</waitTimeMs><authenticationInfo><domain>i2b2demo</domain><username>ij22</username><credential isToken=\"true\">SessionKey:Gv6xaK4AQNjQipmypc7p</credential></authenticationInfo><queryId>2226563841174084953</queryId><topicId>3</topicId><topicName>medication only_27th march</topicName><outputTypes><resultType><name>PATIENT_AGE_COUNT_XML</name><isBreakdown>true</isBreakdown><description>Age patient breakdown</description><displayType>CATNUM</displayType></resultType><resultType><id>4</id><name>PATIENT_COUNT_XML</name><isBreakdown>false</isBreakdown><description>Number of patients</description><displayType>CATNUM</displayType></resultType><resultType><name>PATIENT_GENDER_COUNT_XML</name><isBreakdown>true</isBreakdown><description>Gender patient breakdown</description><displayType>CATNUM</displayType></resultType><resultType><name>PATIENT_RACE_COUNT_XML</name><isBreakdown>true</isBreakdown><description>Race patient breakdown</description><displayType>CATNUM</displayType></resultType><resultType><name>PATIENT_VITALSTATUS_COUNT_XML</name><isBreakdown>true</isBreakdown><description>Vital Status patient breakdown</description><displayType>CATNUM</displayType></resultType></outputTypes><queryDefinition><name>Female@19:46:33</name><expr><term>\\\\SHRINE\\SHRINE\\Demographics\\Gender\\Female\\</term></expr></queryDefinition></runQuery>",
+ "dateCreated": 1490571996395,
+ "userDomain": "i2b2demo"
+ }
+ },
+ {
+ "adaptersToResults": [
+ {
+ "startDate": 1490571983703,
+ "count": -1,
+ "networkQueryId": 6386518509045377000,
+ "statusMessage": "FINISHED",
+ "changeDate": 1490571987946,
+ "instanceId": 831,
+ "resultId": 1016,
+ "status": "FINISHED",
+ "resultType": {
+ "isBreakdown": false,
+ "name": "PATIENT_COUNT_XML",
+ "id": 4,
+ "i2b2Options": {
+ "description": "Number of patients",
+ "displayType": "CATNUM"
+ }
+ },
+ "endDate": 1490571985231,
+ "adapterNode": "SHRINE QA Node 2"
+ },
+ {
+ "startDate": 1490571983939,
+ "count": -1,
+ "networkQueryId": 6386518509045377000,
+ "statusMessage": "FINISHED",
+ "changeDate": 1490571987953,
+ "instanceId": 1057,
+ "resultId": 1242,
+ "status": "FINISHED",
+ "resultType": {
+ "isBreakdown": false,
+ "name": "PATIENT_COUNT_XML",
+ "id": 4,
+ "i2b2Options": {
+ "description": "Number of patients",
+ "displayType": "CATNUM"
+ }
+ },
+ "endDate": 1490571985580,
+ "adapterNode": "SHRINE QA Hub"
+ },
+ {
+ "startDate": 1490571985806,
+ "count": -1,
+ "networkQueryId": 6386518509045377000,
+ "statusMessage": "FINISHED",
+ "changeDate": 1490571987957,
+ "instanceId": 1855,
+ "resultId": 2125,
+ "status": "FINISHED",
+ "resultType": {
+ "isBreakdown": false,
+ "name": "PATIENT_COUNT_XML",
+ "id": 4,
+ "i2b2Options": {
+ "description": "Number of patients",
+ "displayType": "CATNUM"
+ }
+ },
+ "endDate": 1490571987400,
+ "adapterNode": "SHRINE QA Node 3"
+ }
+ ],
+ "query": {
+ "expression": "Term(\\\\SHRINE\\SHRINE\\Demographics\\Age\\0-9 years old\\)",
+ "queryName": "0-9 years old@19:46:24",
+ "deleted": false,
+ "changeDate": 1490571985154,
+ "userName": "ij22",
+ "networkId": 6386518509045377000,
+ "queryXml": "<runQuery><projectId>SHRINE</projectId><waitTimeMs>180000</waitTimeMs><authenticationInfo><domain>i2b2demo</domain><username>ij22</username><credential isToken=\"true\">SessionKey:Gv6xaK4AQNjQipmypc7p</credential></authenticationInfo><queryId>6386518509045377410</queryId><topicId>3</topicId><topicName>medication only_27th march</topicName><outputTypes><resultType><id>4</id><name>PATIENT_COUNT_XML</name><isBreakdown>false</isBreakdown><description>Number of patients</description><displayType>CATNUM</displayType></resultType></outputTypes><queryDefinition><name>0-9 years old@19:46:24</name><expr><term>\\\\SHRINE\\SHRINE\\Demographics\\Age\\0-9 years old\\</term></expr></queryDefinition></runQuery>",
+ "queryXml": "<runQuery><projectId>SHRINE</projectId><waitTimeMs>180000</waitTimeMs><authenticationInfo><domain>i2b2demo</domain><username>ij22</username><credential isToken=\"true\">SessionKey:Gv6xaK4AQNjQipmypc7p</credential></authenticationInfo><queryId>2400531532595122336</queryId><topicId>3</topicId><topicName>medication only_27th march</topicName><outputTypes><resultType><id>4</id><name>PATIENT_COUNT_XML</name><isBreakdown>false</isBreakdown><description>Number of patients</description><displayType>CATNUM</displayType></resultType></outputTypes><queryDefinition><name>Female@19:46:17</name><expr><term>\\\\SHRINE\\SHRINE\\Demographics\\Gender\\Female\\</term></expr></queryDefinition></runQuery>",
+ "dateCreated": 1490571978064,
+ "userDomain": "i2b2demo"
+ }
+ },
+ {
+ "adaptersToResults": [
+ {
+ "startDate": 1490571965504,
+ "count": -1,
+ "networkQueryId": 1813286953364395500,
+ "statusMessage": "FINISHED",
+ "changeDate": 1490571967830,
+ "instanceId": 1853,
+ "resultId": 2123,
+ "status": "FINISHED",
+ "resultType": {
+ "isBreakdown": false,
+ "name": "PATIENT_COUNT_XML",
+ "id": 4,
+ "i2b2Options": {
+ "description": "Number of patients",
+ "displayType": "CATNUM"
+ }
+ },
+ "endDate": 1490571966969,
+ "adapterNode": "SHRINE QA Node 3"
+ },
+ {
+ "startDate": 1490571963634,
+ "count": -1,
+ "networkQueryId": 1813286953364395500,
+ "statusMessage": "FINISHED",
+ "changeDate": 1490571967857,
+ "instanceId": 829,
+ "resultId": 1014,
+ "status": "FINISHED",
+ "resultType": {
+ "isBreakdown": false,
+ "name": "PATIENT_COUNT_XML",
+ "id": 4,
+ "i2b2Options": {
+ "description": "Number of patients",
+ "displayType": "CATNUM"
+ }
+ },
+ "endDate": 1490571965423,
+ "adapterNode": "SHRINE QA Node 2"
+ },
+ {
+ "startDate": 1490571963687,
+ "count": -1,
+ "networkQueryId": 1813286953364395500,
+ "statusMessage": "FINISHED",
+ "changeDate": 1490571967872,
+ "instanceId": 1055,
+ "resultId": 1240,
+ "status": "FINISHED",
+ "resultType": {
+ "isBreakdown": false,
+ "name": "PATIENT_COUNT_XML",
+ "id": 4,
+ "i2b2Options": {
+ "description": "Number of patients",
+ "displayType": "CATNUM"
+ }
+ },
+ "endDate": 1490571965339,
+ "adapterNode": "SHRINE QA Hub"
+ }
+ ],
+ "query": {
+ "expression": "Term(\\\\SHRINE\\SHRINE\\Demographics\\Age\\0-9 years old\\)",
+ "queryName": "0-9 years old@19:46:03",
+ "deleted": false,
+ "changeDate": 1490571964673,
+ "userName": "ij22",
+ "networkId": 1813286953364395500,
+ "queryXml": "<runQuery><projectId>SHRINE</projectId><waitTimeMs>180000</waitTimeMs><authenticationInfo><domain>i2b2demo</domain><username>ij22</username><credential isToken=\"true\">SessionKey:Gv6xaK4AQNjQipmypc7p</credential></authenticationInfo><queryId>1813286953364395437</queryId><topicId>2</topicId><topicName>26th march 2017</topicName><outputTypes><resultType><id>4</id><name>PATIENT_COUNT_XML</name><isBreakdown>false</isBreakdown><description>Number of patients</description><displayType>CATNUM</displayType></resultType></outputTypes><queryDefinition><name>0-9 years old@19:46:03</name><expr><term>\\\\SHRINE\\SHRINE\\Demographics\\Age\\0-9 years old\\</term></expr></queryDefinition></runQuery>",
+ "expression": "Constrained(Term(\\\\SHRINE\\SHRINE\\Diagnoses\\Certain conditions originating in the perinatal period (760-779.99)\\),Some(Modifiers(Admit Diagnosis,\\SHRINE\\Diagnoses\\Certain conditions originating in the perinatal period (760-779.99)\\%,\\\\SHRINE\\Admit Diagnosis\\)),None)",
+ "queryName": "Admit Diagnosis@14:29:22",
+ "deleted": false,
+ "changeDate": 1490984963326,
+ "userName": "ij22",
+ "networkId": 7768019175359373000,
+ "queryXml": "<runQuery><projectId>SHRINE</projectId><waitTimeMs>180000</waitTimeMs><authenticationInfo><domain>i2b2demo</domain><username>ij22</username><credential isToken=\"true\">SessionKey:U9v3LeZcEkbdTCfWLQi7</credential></authenticationInfo><queryId>7768019175359372886</queryId><topicId>3</topicId><topicName>medication only_27th march</topicName><outputTypes><resultType><id>4</id><name>PATIENT_COUNT_XML</name><isBreakdown>false</isBreakdown><description>Number of patients</description><displayType>CATNUM</displayType></resultType></outputTypes><queryDefinition><name>Admit Diagnosis@14:29:22</name><expr><constrainedTerm><term>\\\\SHRINE\\SHRINE\\Diagnoses\\Certain conditions originating in the perinatal period (760-779.99)\\</term><modifier><name>Admit Diagnosis</name><appliedPath>\\SHRINE\\Diagnoses\\Certain conditions originating in the perinatal period (760-779.99)\\%</appliedPath><key>\\\\SHRINE\\Admit Diagnosis\\</key></modifier></constrainedTerm></expr></queryDefinition></runQuery>",
+ "queryXml": "<runQuery><projectId>SHRINE</projectId><waitTimeMs>180000</waitTimeMs><authenticationInfo><domain>i2b2demo</domain><username>ij22</username><credential isToken=\"true\">SessionKey:Gv6xaK4AQNjQipmypc7p</credential></authenticationInfo><queryId>2226563841174084953</queryId><topicId>3</topicId><topicName>medication only_27th march</topicName><outputTypes><resultType><name>PATIENT_AGE_COUNT_XML</name><isBreakdown>true</isBreakdown><description>Age patient breakdown</description><displayType>CATNUM</displayType></resultType><resultType><id>4</id><name>PATIENT_COUNT_XML</name><isBreakdown>false</isBreakdown><description>Number of patients</description><displayType>CATNUM</displayType></resultType><resultType><name>PATIENT_GENDER_COUNT_XML</name><isBreakdown>true</isBreakdown><description>Gender patient breakdown</description><displayType>CATNUM</displayType></resultType><resultType><name>PATIENT_RACE_COUNT_XML</name><isBreakdown>true</isBreakdown><description>Race patient breakdown</description><displayType>CATNUM</displayType></resultType><resultType><name>PATIENT_VITALSTATUS_COUNT_XML</name><isBreakdown>true</isBreakdown><description>Vital Status patient breakdown</description><displayType>CATNUM</displayType></resultType></outputTypes><queryDefinition><name>Female@19:46:33</name><expr><term>\\\\SHRINE\\SHRINE\\Demographics\\Gender\\Female\\</term></expr></queryDefinition></runQuery>",
+ "dateCreated": 1490571996395,
+ "userDomain": "i2b2demo"
+ }
+ },
+ {
+ "adaptersToResults": [
+ {
+ "startDate": 1490571983703,
+ "count": -1,
+ "networkQueryId": 6386518509045377000,
+ "statusMessage": "FINISHED",
+ "changeDate": 1490571987946,
+ "instanceId": 831,
+ "resultId": 1016,
+ "status": "FINISHED",
+ "resultType": {
+ "isBreakdown": false,
+ "name": "PATIENT_COUNT_XML",
+ "id": 4,
+ "i2b2Options": {
+ "description": "Number of patients",
+ "displayType": "CATNUM"
+ }
+ },
+ "endDate": 1490571985231,
+ "adapterNode": "SHRINE QA Node 2"
+ },
+ {
+ "startDate": 1490571983939,
+ "count": -1,
+ "networkQueryId": 6386518509045377000,
+ "statusMessage": "FINISHED",
+ "changeDate": 1490571987953,
+ "instanceId": 1057,
+ "resultId": 1242,
+ "status": "FINISHED",
+ "resultType": {
+ "isBreakdown": false,
+ "name": "PATIENT_COUNT_XML",
+ "id": 4,
+ "i2b2Options": {
+ "description": "Number of patients",
+ "displayType": "CATNUM"
+ }
+ },
+ "endDate": 1490571985580,
+ "adapterNode": "SHRINE QA Hub"
+ },
+ {
+ "startDate": 1490571985806,
+ "count": -1,
+ "networkQueryId": 6386518509045377000,
+ "statusMessage": "FINISHED",
+ "changeDate": 1490571987957,
+ "instanceId": 1855,
+ "resultId": 2125,
+ "status": "FINISHED",
+ "resultType": {
+ "isBreakdown": false,
+ "name": "PATIENT_COUNT_XML",
+ "id": 4,
+ "i2b2Options": {
+ "description": "Number of patients",
+ "displayType": "CATNUM"
+ }
+ },
+ "endDate": 1490571987400,
+ "adapterNode": "SHRINE QA Node 3"
+ }
+ ],
+ "query": {
+ "expression": "Term(\\\\SHRINE\\SHRINE\\Demographics\\Age\\0-9 years old\\)",
+ "queryName": "0-9 years old@19:46:24",
+ "deleted": false,
+ "changeDate": 1490571985154,
+ "userName": "ij22",
+ "networkId": 6386518509045377000,
+ "queryXml": "<runQuery><projectId>SHRINE</projectId><waitTimeMs>180000</waitTimeMs><authenticationInfo><domain>i2b2demo</domain><username>ij22</username><credential isToken=\"true\">SessionKey:Gv6xaK4AQNjQipmypc7p</credential></authenticationInfo><queryId>6386518509045377410</queryId><topicId>3</topicId><topicName>medication only_27th march</topicName><outputTypes><resultType><id>4</id><name>PATIENT_COUNT_XML</name><isBreakdown>false</isBreakdown><description>Number of patients</description><displayType>CATNUM</displayType></resultType></outputTypes><queryDefinition><name>0-9 years old@19:46:24</name><expr><term>\\\\SHRINE\\SHRINE\\Demographics\\Age\\0-9 years old\\</term></expr></queryDefinition></runQuery>",
+ "queryXml": "<runQuery><projectId>SHRINE</projectId><waitTimeMs>180000</waitTimeMs><authenticationInfo><domain>i2b2demo</domain><username>ij22</username><credential isToken=\"true\">SessionKey:Gv6xaK4AQNjQipmypc7p</credential></authenticationInfo><queryId>2400531532595122336</queryId><topicId>3</topicId><topicName>medication only_27th march</topicName><outputTypes><resultType><id>4</id><name>PATIENT_COUNT_XML</name><isBreakdown>false</isBreakdown><description>Number of patients</description><displayType>CATNUM</displayType></resultType></outputTypes><queryDefinition><name>Female@19:46:17</name><expr><term>\\\\SHRINE\\SHRINE\\Demographics\\Gender\\Female\\</term></expr></queryDefinition></runQuery>",
+ "dateCreated": 1490571978064,
+ "userDomain": "i2b2demo"
+ }
+ },
+ {
+ "adaptersToResults": [
+ {
+ "startDate": 1490571965504,
+ "count": -1,
+ "networkQueryId": 1813286953364395500,
+ "statusMessage": "FINISHED",
+ "changeDate": 1490571967830,
+ "instanceId": 1853,
+ "resultId": 2123,
+ "status": "FINISHED",
+ "resultType": {
+ "isBreakdown": false,
+ "name": "PATIENT_COUNT_XML",
+ "id": 4,
+ "i2b2Options": {
+ "description": "Number of patients",
+ "displayType": "CATNUM"
+ }
+ },
+ "endDate": 1490571966969,
+ "adapterNode": "SHRINE QA Node 3"
+ },
+ {
+ "startDate": 1490571963634,
+ "count": -1,
+ "networkQueryId": 1813286953364395500,
+ "statusMessage": "FINISHED",
+ "changeDate": 1490571967857,
+ "instanceId": 829,
+ "resultId": 1014,
+ "status": "FINISHED",
+ "resultType": {
+ "isBreakdown": false,
+ "name": "PATIENT_COUNT_XML",
+ "id": 4,
+ "i2b2Options": {
+ "description": "Number of patients",
+ "displayType": "CATNUM"
+ }
+ },
+ "endDate": 1490571965423,
+ "adapterNode": "SHRINE QA Node 2"
+ },
+ {
+ "startDate": 1490571963687,
+ "count": -1,
+ "networkQueryId": 1813286953364395500,
+ "statusMessage": "FINISHED",
+ "changeDate": 1490571967872,
+ "instanceId": 1055,
+ "resultId": 1240,
+ "status": "FINISHED",
+ "resultType": {
+ "isBreakdown": false,
+ "name": "PATIENT_COUNT_XML",
+ "id": 4,
+ "i2b2Options": {
+ "description": "Number of patients",
+ "displayType": "CATNUM"
+ }
+ },
+ "endDate": 1490571965339,
+ "adapterNode": "SHRINE QA Hub"
+ }
+ ],
+ "query": {
+ "expression": "Term(\\\\SHRINE\\SHRINE\\Demographics\\Age\\0-9 years old\\)",
+ "queryName": "0-9 years old@19:46:03",
+ "deleted": false,
+ "changeDate": 1490571964673,
+ "userName": "ij22",
+ "networkId": 1813286953364395500,
+ "queryXml": "<runQuery><projectId>SHRINE</projectId><waitTimeMs>180000</waitTimeMs><authenticationInfo><domain>i2b2demo</domain><username>ij22</username><credential isToken=\"true\">SessionKey:Gv6xaK4AQNjQipmypc7p</credential></authenticationInfo><queryId>1813286953364395437</queryId><topicId>2</topicId><topicName>26th march 2017</topicName><outputTypes><resultType><id>4</id><name>PATIENT_COUNT_XML</name><isBreakdown>false</isBreakdown><description>Number of patients</description><displayType>CATNUM</displayType></resultType></outputTypes><queryDefinition><name>0-9 years old@19:46:03</name><expr><term>\\\\SHRINE\\SHRINE\\Demographics\\Age\\0-9 years old\\</term></expr></queryDefinition></runQuery>",