{"version":3,"sources":["webpack:///./src/router/views/ReportDeepSearch.vue?30f7","webpack:///./src/router/views/ReportDeepSearch.vue","webpack:///./src/router/views/ReportDeepSearch.vue?936f","webpack:///./src/router/views/ReportDeepSearch.vue?4f35","webpack:///./src/router/views/ReportDeepSearch.vue?de7e","webpack:///./src/components/SplitView.vue?0a00","webpack:///./src/components/SplitViewLayout.vue?9616","webpack:///./src/router/views/StdReport.vue?5527","webpack:///./src/router/views/StdReport.vue","webpack:///./src/router/views/StdReport.vue?0973","webpack:///./src/router/views/StdReport.vue?c807","webpack:///./src/router/views/StdReport.vue?2773","webpack:///./src/components/SplitViewLayout.vue?c62b","webpack:///src/components/SplitViewLayout.vue","webpack:///./src/components/SplitViewLayout.vue?46cd","webpack:///./src/components/SplitViewLayout.vue","webpack:///./src/components/SplitView.vue?e44f","webpack:///src/components/SplitView.vue","webpack:///./src/components/SplitView.vue?7066","webpack:///./src/components/SplitView.vue","webpack:///./src/mixins/cachedFilter.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","ref","on","toggleDrawerIfNeeded","attrs","filterPresets","filter","isTeleconsultation","$event","updateFilter","ConsultantOpenAll","scopedSlots","_u","key","fn","_e","_v","proxy","staticStyle","consultantId","consultants","o","id","modalityIds","updateFilterComponent","_s","$store","getters","modalityNamesById","join","responseStartDate","responseEndDate","startDate","endDate","clearFilterDateRange","studyStartDate","studyEndDate","species","requestedBy","menu","getClinicNameFromClinicCode","clientClinics","length","clinicCode","speciesNames","directives","name","rawName","value","mq","small","expression","class","medium","isLoading","validSearch","list","noResultsText","columns","listSort","handleSortSelected","handleRowSelected","handleRowOpen","row","stopPropagation","openReportAndViewer","type","_f","requestDate","consultant","isConsultantApprovalSupported","draftedBy","requestingDoctor","clinic","patientId","patientName","ownerName","modality","keywords","_l","item","index","nativeOn","currentPage","resultsPerPage","hasMoreResults","selectedRowTitle","onSplitViewClose","selectedRow","consultantReportId","reportId","staticRenderFns","defaultFilter","keywordString","order","by","isAscending","components","SplitViewLayout","SplitView","StandardReport","TeleconsultationDetail","mixins","ListMixin","CacheFilter","props","Boolean","default","data","JSON","parse","stringify","computed","Object","assign","mapState","claims","state","auth","_toConsumableArray","Set","split","map","k","trim","MetaColumn","columnName","isSortable","sortName","x","static","concat","watch","refreshSelectedRow","created","isConsultantUser","userId","_context","next","consultations","getConsultantGroups","groups","sent","api","patient","getSpecies","speciesList","s","stop","_callee","methods","fetchList","_context2","abrupt","reportService","deepSearch","page","results","orderby","isOrderAscending","_callee2","_a","_b","find","r","includes","_this","$nextTick","__awaiter","_regeneratorRuntime","mark","_callee3","wrap","_context3","prev","$refs","dataTable","scrollSelectedRowIntoView","viewOnOpen","arguments","undefined","doneLoading","_this2","_context4","$router","push","params","isSaleSubmission","isImageOnly","_callee4","_context5","_callee5","_this3","hideExpandedRow","_this$$refs$splitView","splitView","isVertical","secondaryView","drawerIsOpen","ui","isPersistentDrawerOpen","action","didHide","xLarge","commit","component","report","templateSetName","isComplete","isValid","saveReport","openViewer","openReportPdf","isActionsOpen","isOwner","template","pendingChanges","root","preventDefault","downloadReport","isCommunityUser","permissions","sendEmail","openEmailReportDlg","deleteReport","_eventBus$type","eventBus","REPORT_COMPLETED","REFRESH_REPORT","IMAGE_CHANGE","REPORT_IMAGE_COMMENT","BackRouteName","nextReport","AstToolbar","ToolbarButton","ModalDrawer","SaveReport","filters","url","substring","toLowerCase","String","required","Array","isSaving","isPageLoading","canDelete","deleteStudy","ownerId","isReadOnly","statusClass","isSalesEntry","isLocked","groupConsultantId","statusIcon","activeTemplate","loadReport","beforeRouteEnter","to","from","getReportDetail","t0","beforeRouteUpdate","isLoadingAnotherReport","beforeRouteLeave","forceNavigation","dispatch","refreshReport","onCommentUpdated","dbounce","Dbounce","bind","beforeDestroy","off","clear","mapActions","redirectToList","refresh","$el","querySelector","scrollTo","_context6","readOnly","highlightKeywords","onChangeCB","set","_callee6","showConfirm","result","_context7","deleteStandardReport","notificationType","message","_callee7","complete","_context8","getStandardReportData","saveStandardReport","broadcast","finish","_callee8","_context9","viewer","getStudy","ids","studyIds","then","studies","images","forEach","study","imageData","series","EmailItem","isFakeSeries","i","some","imageId","openEmailStudyDlg","catch","e","_callee9","openStudy","activeClinicCode","imageType","$api","file","downloadType","_this$report","getStandardReport","detail","_context10","showAlert","_callee10","style","onMouseDown","onMouseMove","onMouseUp","onTouchStart","onTouchMove","onTouchEnd","_t","provide","$splitViewLayout","resizable","minBasis","Number","layoutStyle","views","secondaryViewWidth","secondaryViewHeight","tracking","primaryView","values","v","isPrimary","isSecondary","showSecondaryView","secondaryViewBasis","viewBasis","isManual","val","$emit","post","RESIZE","onDoubleClick","target","attributes","startTracking","screenX","screenY","track","endTracking","_e$touches$","touches","_e$touches$2","handleId","view","startX","startY","startWidth","clientWidth","startHeight","clientHeight","_this$tracking","maxBasis","offset","Math","max","min","_uid","title","dock","icon","iconStyle","$options","capitalize","inject","closable","maxHeightSelector","orientations","show","containerStyle","_this$$splitViewLayou","maxWidth","maxHeight","flexGrow","flexShrink","flexBasis","mounted","_this$$splitViewLayou2","$set","closeView","hasSameProperties","obj1","obj2","keys","every","prop","hasOwnProperty","cacheKey","$route","handler","nullOrEmpty","sessionStorage","setItem","deep","_asyncToGenerator","missingFilter","cachedFilter","console","warn","query","getItem"],"mappings":"kJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,oBAAoB,CAACG,IAAI,YAAYC,GAAG,CAAC,qBAAqBR,EAAIS,uBAAuB,CAACL,EAAG,aAAa,CAACM,MAAM,CAAC,MAAQ,OAAO,aAAa,KAAK,CAACN,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,oBAAoB,CAACM,MAAM,CAAC,iBAAiBV,EAAIW,cAAc,OAASX,EAAIY,OAAO,qBAAoB,EAAK,6BAA6BZ,EAAIa,mBAA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MuX,GAAevX,GAASA,IAAU,GACnCuX,GACJC,eAAeC,QAAQ9a,KAAKya,SAAUvT,KAAKE,UAAU/D,KAGvD0X,MAAM,IAGFjB,QAAO,WAAG,IAAAnP,EAAA,YAAAqQ,eAAAlQ,iBAAAC,MAAA,SAAArB,IAAA,IAAAuR,EAAAC,EAAA,OAAApQ,iBAAAG,MAAA,SAAAnC,GAAA,eAAAA,EAAAqC,KAAArC,EAAAC,MAAA,OACwD,GAAjEkS,EAAgC,OAAhBtQ,EAAKhK,aAAmC8K,IAAhBd,EAAKhK,QAC/Csa,EAAe,CAAFnS,EAAAC,KAAA,QAC+D,OAA/EoS,QAAQC,KAAK,mEAAkEtS,EAAAgB,OAAA,qBAI5Ea,EAAK+P,OAAOW,MAAM,iBAAkB,CAAFvS,EAAAC,KAAA,eAAAD,EAAAgB,OAAA,iBAIhCoR,EAAehU,KAAKC,MAAM0T,eAAeS,QAAQ3Q,EAAK8P,WACxDS,GAAgBhB,EAAkBvP,EAAKhK,OAAQua,KAClDvQ,EAAKhK,OAAS2G,OAAOC,OAAO,GAAIoD,EAAKhK,OAAQua,IAC7C,wBAAApS,EAAAW,UAAAC,MAdcsR,M","file":"js/ReportDeepSearch.59fe25411a896be1b801.bundle.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-wrapper\"},[_c('split-view-layout',{ref:\"splitView\",on:{\"update:orientation\":_vm.toggleDrawerIfNeeded}},[_c('split-view',{attrs:{\"title\":\"List\",\"is-primary\":\"\"}},[_c('div',{staticClass:\"list-scroll\"},[_c('search-and-filter',{attrs:{\"filter-presets\":_vm.filterPresets,\"filter\":_vm.filter,\"show-reset-button\":true,\"show-modality-near-search\":!_vm.isTeleconsultation,\"keyword-search\":\"\"},on:{\"input\":function($event){return _vm.updateFilter($event)},\"reset\":function($event){return _vm.updateFilter(_vm.filterPresets.ConsultantOpenAll)}},scopedSlots:_vm._u([{key:\"left\",fn:function(){return [(!_vm.isTeleconsultation)?_c('router-link',{staticClass:\"btn btn-default\",attrs:{\"to\":\"/studies\",\"tag\":\"button\"}},[_c('svg-icon',{attrs:{\"icon\":\"arrow-left\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tStudies\\n\\t\\t\\t\\t\\t\\t\")],1):_vm._e()]},proxy:true},{key:\"middle\",fn:function(){return [(_vm.isTeleconsultation)?_c('v-select',{staticStyle:{\"min-width\":\"160px\"},attrs:{\"placeholder\":\"Consultant\",\"value\":_vm.filter.consultantId,\"label\":\"name\",\"clearable\":false,\"options\":_vm.consultants,\"reduce\":function (o) { return o.id; },\"searchable\":false,\"clear-search-on-select\":false},on:{\"input\":function($event){_vm.filter.consultantId = $event\n\t\t\t\t\t\t\t\t_vm.updateFilter(_vm.filter)}}}):_vm._e()]},proxy:true},{key:\"tags\",fn:function(){return [(_vm.isTeleconsultation)?_c('router-link',{staticClass:\"btn btn-default\",attrs:{\"to\":\"/teleconsultations/\",\"tag\":\"button\"}},[_c('svg-icon',{attrs:{\"icon\":\"text-search\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tPatient search\\n\\t\\t\\t\\t\\t\\t\")],1):_vm._e(),_c('filter-tag',{attrs:{\"value\":_vm.filter.modalityIds,\"clear-value\":[]},on:{\"input\":function($event){return _vm.updateFilterComponent('modalityIds', $event)}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.$store.getters.modalityNamesById(_vm.filter.modalityIds).join(' / '))+\"\\n\\t\\t\\t\\t\\t\\t\")]),(_vm.filter.responseStartDate || _vm.filter.responseEndDate)?_c('filter-tag',{attrs:{\"value\":{ startDate: _vm.filter.responseStartDate, endDate: _vm.filter.responseEndDate },\"clear-value\":\"\"},on:{\"input\":function($event){return _vm.clearFilterDateRange('response')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.isTeleconsultation ? 'Responded:' : 'Date:')+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.filter.studyStartDate || _vm.filter.studyEndDate)?_c('filter-tag',{attrs:{\"value\":{ startDate: _vm.filter.studyStartDate, endDate: _vm.filter.studyEndDate },\"clear-value\":\"\"},on:{\"input\":function($event){return _vm.clearFilterDateRange('study')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tStudy Date:\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.filter.species)?_c('filter-tag',{attrs:{\"value\":{ species: _vm.filter.species },\"clear-value\":\"\"},on:{\"input\":function($event){_vm.filter.species = null}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tSpecies: \"+_vm._s(_vm.filter.species)+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.filter.requestedBy)?_c('filter-tag',{attrs:{\"value\":_vm.filter.requestedBy,\"clear-value\":\"\"},on:{\"input\":function($event){return _vm.updateFilterComponent('requestedBy', $event)}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.menu.getClinicNameFromClinicCode(_vm.filter.requestedBy))+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e()]},proxy:true},{key:\"top\",fn:function(){return [(_vm.isTeleconsultation && _vm.clientClinics.length)?_c('div',[_c('label',[_vm._v(\"Requested By\")]),_c('v-select',{attrs:{\"value\":_vm.filter.clinicCode,\"label\":\"name\",\"options\":_vm.clientClinics,\"reduce\":function (o) { return o.clinicCode; },\"searchable\":false,\"clear-search-on-select\":false},on:{\"input\":function($event){return _vm.updateFilterComponent('requestedBy', $event)}}})],1):_vm._e(),_c('date-range-picker',{attrs:{\"start-date-key\":\"responseStartDate\",\"end-date-key\":\"responseEndDate\",\"label\":_vm.isTeleconsultation ? 'Response Date' : 'Report Date',\"date-ranges\":['All', 'Week', 'Yesterday', 'Today'],\"filter\":_vm.filter},on:{\"input\":function($event){return _vm.updateFilter($event)}}}),_c('date-range-picker',{attrs:{\"start-date-key\":\"studyStartDate\",\"end-date-key\":\"studyEndDate\",\"label\":\"Study Date\",\"date-ranges\":['All', 'Week', 'Yesterday', 'Today'],\"filter\":_vm.filter},on:{\"input\":function($event){return _vm.updateFilter($event)}}}),_c('div',[_c('label',[_vm._v(\"Species\")]),_c('v-select',{attrs:{\"value\":_vm.filter.species,\"options\":_vm.speciesNames,\"searchable\":false,\"clear-search-on-select\":false},on:{\"input\":function($event){_vm.filter.species = $event\n\t\t\t\t\t\t\t\t\t_vm.updateFilter(_vm.filter)}}})],1)]},proxy:true}])}),_c('div',{directives:[{name:\"scroll-nav\",rawName:\"v-scroll-nav\",value:(!_vm.mq.small),expression:\"!mq.small\"}],staticClass:\"table-wrapper\",class:{ 'has-cards': !_vm.mq.medium }},[_c('section',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isLoading && (!_vm.validSearch || !_vm.list.length)),expression:\"!isLoading && (!validSearch || !list.length)\"}],staticClass:\"no-results\"},[_c('em',[_vm._v(_vm._s(_vm.noResultsText))])]),(_vm.mq.medium)?_c('data-table',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.validSearch && (_vm.list.length || _vm.isLoading)),expression:\"validSearch && (list.length || isLoading)\"}],ref:\"dataTable\",attrs:{\"columns\":_vm.columns,\"rows\":_vm.list,\"sort\":_vm.listSort,\"is-loading\":_vm.isLoading,\"collapse-on-list-change\":false},on:{\"sort-selected\":_vm.handleSortSelected,\"row-selected\":_vm.handleRowSelected,\"row-open\":_vm.handleRowOpen},scopedSlots:_vm._u([{key:\"row\",fn:function(ref){\n\t\t\t\t\t\t\t\t\tvar row = ref.row;\nreturn [_c('td',[_c('button',{staticClass:\"action-button\",on:{\"click\":function($event){$event.stopPropagation();return _vm.openReportAndViewer(row)}}},[_c('svg-icon',{attrs:{\"icon\":\"eye\",\"fixed\":\"\"}})],1)]),(_vm.isTeleconsultation)?_c('td',{staticStyle:{\"font-size\":\"0.85em\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(row.type)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e(),_c('td',{staticClass:\"break-md\",staticStyle:{\"font-size\":\"0.85em\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm._f(\"localizeDate\")(row.requestDate))+\"\\n\\t\\t\\t\\t\\t\\t\\t\")]),(_vm.isTeleconsultation)?_c('td',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(row.consultant)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e(),(_vm.isTeleconsultation && _vm.isConsultantApprovalSupported)?_c('td',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(row.draftedBy)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e(),_c('td',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(row.requestingDoctor)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")]),(_vm.isTeleconsultation)?_c('td',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(row.clinic)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e(),_c('td',{staticClass:\"break-sm\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(row.patientId)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")]),_c('td',{staticClass:\"break-sm\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(row.patientName)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")]),_c('td',{staticClass:\"break-sm\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(row.ownerName)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")]),_c('td',{staticStyle:{\"font-size\":\"0.85em\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(row.modality)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")])]}},{key:\"expanded\",fn:function(){return [_c('div')]},proxy:true}],null,false,3856112153)}):_vm._e(),(!_vm.mq.medium)?_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.keywords.length && _vm.list.length),expression:\"keywords.length && list.length\"}],staticClass:\"panel-list-container\"},_vm._l((_vm.list),function(item,index){return _c('ast-card',{key:index,staticClass:\"teleconsultation-card\",attrs:{\"show-header\":false,\"is-hoverable\":true,\"is-loading\":_vm.isLoading},nativeOn:{\"click\":function($event){return _vm.handleRowOpen(item)}}},[_c('div',[_c('button',{staticClass:\"view-button\",on:{\"click\":function($event){$event.stopPropagation();return _vm.openReportAndViewer(item)}}},[_c('svg-icon',{attrs:{\"icon\":\"eye\"}})],1),(_vm.isTeleconsultation)?_c('div',[_c('section',{staticStyle:{\"margin\":\"0 0 15px 0\"}},[_c('div',[_c('span',{staticClass:\"label\"},[_c('svg-icon',{attrs:{\"icon\":\"user-md\",\"aria-hidden\":\"true\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tConsultant:\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")],1),_c('span',[_vm._v(_vm._s(item.consultant))])]),(item.draftedBy)?_c('div',[_c('span',{staticClass:\"label\"},[_c('svg-icon',{attrs:{\"icon\":\"user-md\",\"aria-hidden\":\"true\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tDrafted By:\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")],1),_c('span',[_vm._v(_vm._s(item.draftedBy))])]):_vm._e()])]):_vm._e(),_c('div',{staticStyle:{\"display\":\"flex\",\"flex-wrap\":\"wrap\"}},[_c('div',{staticStyle:{\"flex\":\"1\",\"padding\":\"8px\",\"min-width\":\"160px\"}},[_c('h4',{staticStyle:{\"margin-bottom\":\"4px\"}},[_vm._v(\"Request\")]),_c('ul',[_c('li',[_c('span',{staticClass:\"label\"},[_vm._v(\"Date:\")]),_c('span',[_vm._v(_vm._s(_vm._f(\"localizeDate\")(item.requestDate)))])]),_c('li',[_c('span',{staticClass:\"label\"},[_vm._v(\"Client:\")]),_c('span',[_vm._v(_vm._s(item.requestingDoctor))])]),(_vm.isTeleconsultation)?_c('li',[_c('span',{staticClass:\"label\"},[_vm._v(\"Clinic:\")]),_c('span',[_vm._v(_vm._s(item.clinic))])]):_vm._e(),_c('li',[_c('span',{staticClass:\"label\"},[_vm._v(\"Modality:\")]),_c('span',[_vm._v(_vm._s(item.modality))])])])]),_c('div',{staticStyle:{\"flex\":\"1\",\"padding\":\"8px\",\"min-width\":\"160px\"}},[_c('h4',{staticStyle:{\"margin-bottom\":\"4px\"}},[_vm._v(\"Patient\")]),_c('ul',[_c('li',[_c('span',{staticClass:\"label\"},[_vm._v(\"Id:\")]),_c('span',[_vm._v(_vm._s(item.patientId))])]),_c('li',[_c('span',{staticClass:\"label\"},[_vm._v(\"Name:\")]),_c('span',[_vm._v(_vm._s(item.patientName))])]),_c('li',[_c('span',{staticClass:\"label\"},[_vm._v(\"Owner:\")]),_c('span',[_vm._v(_vm._s(item.ownerName))])])])])]),(_vm.isTeleconsultation)?_c('div',[_c('section',{staticStyle:{\"margin\":\"15px 0 0 0\"}},[_c('div',[_c('span',{staticClass:\"label\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tType:\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]),_c('span',[_vm._v(_vm._s(item.type))])])])]):_vm._e()])])}),1):_vm._e()],1),_c('ast-pagination',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.list.length),expression:\"list.length\"}],attrs:{\"current-page\":_vm.currentPage,\"results-per-page\":_vm.resultsPerPage,\"results-length\":_vm.list.length,\"has-more-results\":_vm.hasMoreResults},on:{\"set-results-per-page\":function($event){_vm.resultsPerPage = $event},\"set-current-page\":function($event){_vm.currentPage = $event}}})],1)]),(_vm.selectedRow)?_c('split-view',{attrs:{\"title\":_vm.selectedRowTitle},on:{\"open\":_vm.toggleDrawerIfNeeded,\"close\":_vm.onSplitViewClose}},[(_vm.selectedRow.consultantReportId)?_c('teleconsultation-detail',{ref:\"reportDetail\",attrs:{\"id\":_vm.selectedRow.consultantReportId,\"keywords\":_vm.keywords}}):_c('standard-report',{ref:\"reportDetail\",attrs:{\"id\":_vm.selectedRow.reportId,\"keywords\":_vm.keywords}})],1):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { mapState } from 'vuex'\nimport SplitViewLayout from '@/components/SplitViewLayout.vue'\nimport SplitView from '@components/SplitView.vue'\nimport StandardReport from '@router/views/StdReport.vue'\nimport TeleconsultationDetail from '@router/views/TeleconsultationDetail.vue'\nimport MetaColumn from '@store/models/base/TableMetaColumn'\nimport ListMixin from '@mixins/list.js'\nimport CacheFilter from '@mixins/cachedFilter.js'\nimport reportService from '@services/reportService'\nimport { menu } from '@services/menu'\nimport api from '@services/api'\nimport consultations from '@services/consultationService'\n\nconst defaultFilter = {\n\tkeywordString: '',\n\torder: {\n\t\tby: 'requestDate',\n\t\tisAscending: false,\n\t},\n\tmodalityIds: [],\n\tstudyStartDate: '',\n\tstudyEndDate: '',\n\tresponseStartDate: '',\n\tresponseEndDate: '',\n\tconsultantId: null,\n\tspecies: '',\n\trequestedBy: null\n}\n\nexport default {\n\tname: 'ReportDeepSearch',\n\tcomponents: {\n\t\tSplitViewLayout,\n\t\tSplitView,\n\t\tStandardReport,\n\t\tTeleconsultationDetail,\n\t},\n\tmixins: [ListMixin, CacheFilter],\n\tprops: {\n\t\tisTeleconsultation: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tmenu,\n\t\t\tselectedRow: null,\n\t\t\tfilter: JSON.parse(JSON.stringify(defaultFilter)),\n\t\t\tspeciesNames: [],\n\t\t}\n\t},\n\tcomputed: {\n\t\t...mapState({\n\t\t\tclaims: (state: any) => state.auth.claims,\n\t\t\tisConsultantApprovalSupported: (state: any) => state.auth.claims.isConsultantApprovalSupported,\n\t\t\tclientClinics: state => state.consultant.clientClinics,\n\t\t}),\n\t\tkeywords() {\n\t\t\treturn [\n\t\t\t\t...new Set(\n\t\t\t\t\tthis.filter.keywordString\n\t\t\t\t\t\t.split(/[\\s|,]+/g)\n\t\t\t\t\t\t.map(k => k.trim())\n\t\t\t\t\t\t.filter(k => !!k)\n\t\t\t\t),\n\t\t\t]\n\t\t},\n\t\tcolumns() {\n\t\t\tconst columns = [\n\t\t\t\t{}, // View button\n\t\t\t\tthis.isTeleconsultation ? MetaColumn('Type') : null,\n\t\t\t\t{\n\t\t\t\t\tname: this.isTeleconsultation ? 'Request Date' : 'Report Date',\n\t\t\t\t\tcolumnName: 'requestDate',\n\t\t\t\t\tisSortable: true,\n\t\t\t\t},\n\t\t\t\tthis.isTeleconsultation ? MetaColumn('Consultant') : null,\n\t\t\t\tthis.isTeleconsultation && this.isConsultantApprovalSupported ? MetaColumn('Drafted By') : null,\n\t\t\t\tMetaColumn({ name: this.isTeleconsultation ? 'Client' : 'Consultant', sortName: 'RequestingDoctor' }),\n\t\t\t\tthis.isTeleconsultation ? MetaColumn('Clinic') : null,\n\t\t\t\tMetaColumn('Patient Id'),\n\t\t\t\tMetaColumn({ name: 'Patient', sortName: 'PatientName' }),\n\t\t\t\tMetaColumn({ name: 'Owner', sortName: 'OwnerName' }),\n\t\t\t\tMetaColumn({ name: 'Modality', columnName: 'modality', sortName: 'ModalityId' }),\n\t\t\t].filter(x => !!x)\n\t\t\treturn columns\n\t\t},\n\t\tconsultants() {\n\t\t\treturn this.$store.state.static.consultants\n\t\t},\n\t\tvalidSearch() {\n\t\t\tif (!this.keywords.length) return false\n\t\t\tif (this.isTeleconsultation && !this.filter.consultantId) return false\n\t\t\treturn true\n\t\t},\n\t\tnoResultsText() {\n\t\t\tif (this.validSearch) return 'No results found.'\n\t\t\telse if (this.isTeleconsultation && !this.filter.consultantId) {\n\t\t\t\tif (this.keywords.length) {\n\t\t\t\t\treturn 'Please select a consultant.'\n\t\t\t\t} else return 'Select a consultant and enter at least one keyword to perform a search.'\n\t\t\t} else return 'Enter at least one keyword to perform a search.'\n\t\t},\n\t\tselectedRowTitle() {\n\t\t\tif (this.selectedRow) {\n\t\t\t\treturn `${this.selectedRow.patientName} - ${this.selectedRow.patientId}`\n\t\t\t}\n\t\t\treturn 'Details'\n\t\t},\n\t},\n\twatch: {\n\t\tlist() {\n\t\t\tthis.refreshSelectedRow()\n\t\t},\n\t},\n\tasync created() {\n\t\tlet consultantId = null\n\t\tif (this.isTeleconsultation && this.claims.isConsultantUser) {\n\t\t\tconsultantId = this.claims.userId\n\t\t}\n\n\t\tif (consultantId) {\n\t\t\tlet groups = await consultations.getConsultantGroups(consultantId)\n\t\t\tthis.filter.consultantId = groups.length ? groups[0].id : consultantId\n\t\t}\n\t\tlet speciesList = await api.patient.getSpecies(consultantId)\n\t\tthis.speciesNames = speciesList.map(s => s.name)\n\t},\n\tmethods: {\n\t\tasync fetchList() {\n\t\t\tif (!this.validSearch) return\n\n\t\t\tconst data = await reportService.deepSearch({\n\t\t\t\t...this.filter,\n\t\t\t\tkeywords: this.keywords,\n\t\t\t\tpage: this.currentPage || 0,\n\t\t\t\tresults: this.resultsPerPage || 10,\n\t\t\t\torderby: this.filter.order.by,\n\t\t\t\tisOrderAscending: this.filter.order.isAscending === true,\n\t\t\t\tconsultantId: this.filter.consultantId,\n\t\t\t})\n\n\t\t\tif (data) {\n\t\t\t\tthis.list = data.results\n\t\t\t\tthis.hasMoreResults = data.hasMoreResults\n\t\t\t}\n\t\t},\n\t\trefreshSelectedRow() {\n\t\t\tconst reportId = this.selectedRow?.consultantReportId || this.selectedRow?.reportId\n\t\t\tif (this.list && reportId) {\n\t\t\t\tthis.selectedRow = this.list.find(r => [r.consultantReportId,r.reportId].includes(reportId))\n\t\t\t}\n\t\t},\n\t\thandleRowSelected(row) {\n\t\t\tthis.selectedRow = row\n\t\t\tif (!row) return\n\t\t\t// Split view appearing could move selected row out of visible scroll area\n\t\t\tthis.$nextTick(async () => {\n\t\t\t\tthis.$refs.dataTable.scrollSelectedRowIntoView()\n\t\t\t})\n\t\t},\n\t\tasync handleRowOpen(row, viewOnOpen = false) {\n\t\t\tthis.isLoading = true // show loading spinner while teleconsultation detail loads\n\t\t\tconst doneLoading = () => (this.isLoading = false)\n\t\t\tif (!row.consultantReportId) {\n\t\t\t\tthis.$router.push(\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'standard-report',\n\t\t\t\t\t\tparams: { id: row.reportId, keywords: this.keywords, viewOnOpen },\n\t\t\t\t\t},\n\t\t\t\t\tdoneLoading, // hide loading spinner after routing completes or is aborted\n\t\t\t\t\tdoneLoading\n\t\t\t\t)\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.$router.push(\n\t\t\t\t{\n\t\t\t\t\tname: row.isSaleSubmission ? 'sale-submission' : row.isImageOnly ? 'image-only-report' : 'teleconsultation',\n\t\t\t\t\tparams: { id: row.consultantReportId, keywords: this.keywords, viewOnOpen },\n\t\t\t\t},\n\t\t\t\tdoneLoading, // hide loading spinner after routing completes or is aborted\n\t\t\t\tdoneLoading\n\t\t\t)\n\t\t},\n\t\tasync openReportAndViewer(row) {\n\t\t\tthis.handleRowOpen(row, true)\n\t\t},\n\t\tonSplitViewClose() {\n\t\t\tthis.selectedRow = null\n\t\t\tif (this.$refs.dataTable) this.$refs.dataTable.hideExpandedRow()\n\t\t\tthis.$nextTick(() => this.toggleDrawerIfNeeded())\n\t\t},\n\t\ttoggleDrawerIfNeeded() {\n\t\t\tconst { isVertical, secondaryView } = this.$refs.splitView\n\t\t\tconst drawerIsOpen = this.$store.state.ui.isPersistentDrawerOpen\n\t\t\tlet action = ''\n\n\t\t\t// Hide persistent drawer if constrained in horizontal orientation\n\t\t\t// ...or reopen if it was closed and it shouldn't be any more\n\t\t\tif (secondaryView) {\n\t\t\t\tif (isVertical) {\n\t\t\t\t\tif (this.didHide) action = 'open'\n\t\t\t\t} else if (!this.mq.xLarge) {\n\t\t\t\t\taction = 'close'\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (this.didHide) {\n\t\t\t\t\taction = 'open'\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ((action === 'open' && !drawerIsOpen) || (action === 'close' && drawerIsOpen)) {\n\t\t\t\tthis.$store.commit('TOGGLE_PERSISTENT_DRAWER')\n\t\t\t\tthis.didHide = drawerIsOpen\n\t\t\t}\n\t\t},\n\t},\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportDeepSearch.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportDeepSearch.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ReportDeepSearch.vue?vue&type=template&id=f1156728&scoped=true\"\nimport script from \"./ReportDeepSearch.vue?vue&type=script&lang=ts\"\nexport * from \"./ReportDeepSearch.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ReportDeepSearch.vue?vue&type=style&index=0&id=f1156728&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f1156728\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportDeepSearch.vue?vue&type=style&index=0&id=f1156728&prod&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitView.vue?vue&type=style&index=0&id=e41f3c46&prod&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitViewLayout.vue?vue&type=style&index=0&id=6ad26fdf&prod&lang=scss&scoped=true\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.report)?_c('div',{staticClass:\"page-wrapper\",attrs:{\"id\":\"standard-report\",\"list-name\":_vm.report.templateSetName || 'Report'}},[_c('ast-toolbar',{staticClass:\"toolbar-header-secondary\"},[(!_vm.report.isComplete)?_c('toolbar-button',{attrs:{\"disabled\":!_vm.report.isValid,\"icon\":\"check-circle\",\"label\":\"Finalize\",\"title\":\"Finalize\"},nativeOn:{\"click\":function($event){return _vm.saveReport(true)}}}):_vm._e(),_c('toolbar-button',{attrs:{\"icon\":\"eye\",\"label\":\"Launch Viewer\",\"title\":\"Launch Viewer\"},nativeOn:{\"click\":function($event){return _vm.openViewer($event)}}}),_c('toolbar-button',{attrs:{\"icon\":\"file-text-o\",\"label\":\"PDF Report\",\"title\":\"PDF Report\"},nativeOn:{\"click\":function($event){return _vm.openReportPdf($event)}}}),_c('toolbar-button',{attrs:{\"icon\":\"dots-horizontal\",\"label\":\"Actions\",\"title\":\"Actions\"},nativeOn:{\"click\":function($event){_vm.isActionsOpen = true}}}),_c('span',{staticStyle:{\"flex-grow\":\"1\"}}),(!_vm.report.isComplete && _vm.isOwner)?_c('save-report',{attrs:{\"saving\":_vm.template.pendingChanges}}):_vm._e()],1),_c('div',{staticClass:\"list-scroll\"},[(_vm.report.isComplete)?_c('div',{staticStyle:{\"margin-bottom\":\"8px\"}},[_c('span',{staticClass:\"status is-success\"},[(_vm.statusIcon)?_c('svg-icon',{attrs:{\"icon\":\"check-circle\"}}):_vm._e(),_c('span',[_vm._v(\"Completed\")])],1)]):_vm._e(),_c('layout',{attrs:{\"id\":\"rootReportLayout\",\"layout\":_vm.template.root}})],1),(_vm.isActionsOpen)?_c('modal-drawer',{attrs:{\"title\":\"Actions\",\"from-right\":\"\"},on:{\"close\":function($event){_vm.isActionsOpen = false}}},[_c('div',{staticStyle:{\"padding\":\"1rem 1.25rem\",\"width\":\"280px\"}},[_c('ul',{staticClass:\"teleconsultation-actions unlist\"},[_c('li',[_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){$event.preventDefault();return _vm.downloadReport('download-dicom')}}},[_c('svg-icon',{attrs:{\"icon\":\"cloud-download\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\tDownload DICOM Images\\n\\t\\t\\t\\t\\t\")],1)]),_c('li',[_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){$event.preventDefault();return _vm.downloadReport('download-jpeg')}}},[_c('svg-icon',{attrs:{\"icon\":\"cloud-download\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\tDownload JPEG Images\\n\\t\\t\\t\\t\\t\")],1)]),(!_vm.claims.isCommunityUser && _vm.permissions.sendEmail)?_c('li',[_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){$event.preventDefault();return _vm.openEmailReportDlg()}}},[_c('svg-icon',{attrs:{\"icon\":\"email\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\tSend to Email Address\\n\\t\\t\\t\\t\\t\")],1)]):_vm._e(),(_vm.canDelete)?_c('li',[_c('button',{staticClass:\"btn btn-danger\",on:{\"click\":function($event){$event.preventDefault();return _vm.deleteReport($event)}}},[_c('svg-icon',{attrs:{\"icon\":\"delete\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\tDelete\\n\\t\\t\\t\\t\\t\")],1)]):_vm._e()])])]):_vm._e()],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { mapState, mapActions } from 'vuex'\nimport api from '@services/api'\nimport { reportService } from '@services/reportService'\nimport ModalDrawer from '@components/ModalDrawer.vue'\nimport AstToolbar from '@components/Toolbar.vue'\nimport ToolbarButton from '@components/ToolbarButton.vue'\nimport { eventBus } from '@services/eventBus'\nimport { Dbounce } from '@utils/dbounce'\nimport { showAlert } from '../../dialogs/MessageDlg.vue'\nimport { ReportDetail } from '@reporting/classes'\nimport { openReportPdf } from '@dialogs/ReportPdf.vue'\nimport SaveReport from '@reporting/components/SaveReport.vue'\nimport { showConfirm } from '@dialogs/ConfirmDlg.vue'\nimport { highlightKeywords } from '@services/hilitor'\nimport { openEmailStudyDlg } from '@/dialogs/emailStudyDlg.vue'\nimport { EmailItem } from '@/components/EmailStudyForm.vue'\n\nconst { REPORT_COMPLETED, REFRESH_REPORT, IMAGE_CHANGE, REPORT_IMAGE_COMMENT } = eventBus.type\nconst BackRouteName = 'studies'\nlet nextReport: ReportDetail = null\n\nexport default {\n\tname: 'StandardReport',\n\tcomponents: {\n\t\tAstToolbar,\n\t\tToolbarButton,\n\t\tModalDrawer,\n\t\tSaveReport,\n\t},\n\tfilters: {\n\t\turl(value) {\n\t\t\tif (value.substring(0, 4).toLowerCase() !== 'http') {\n\t\t\t\tvalue = 'http://' + value\n\t\t\t}\n\t\t\treturn value\n\t\t},\n\t},\n\tprops: {\n\t\tid: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tkeywords: {\n\t\t\ttype: Array,\n\t\t\trequired: false,\n\t\t},\n\t\tviewOnOpen: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\treport: null,\n\t\t\tisActionsOpen: false,\n\t\t\tisSaving: false,\n\t\t\tisPageLoading: false,\n\t\t}\n\t},\n\tcomputed: {\n\t\t...mapState({\n\t\t\tclaims: (state: any) => state.auth.claims,\n\t\t\tpermissions: (state: any) => state.static.permissions,\n\t\t}),\n\t\tcanDelete() {\n\t\t\treturn (this.permissions.deleteStudy || this.isOwner) && !this.report.isComplete\n\t\t},\n\t\tisOwner() {\n\t\t\treturn this.claims.userId === this.report.ownerId\n\t\t},\n\t\tisReadOnly() {\n\t\t\treturn this.report && this.report.isComplete\n\t\t},\n\t\tstatusClass() {\n\t\t\tif (this.report.isComplete || this.report.isSalesEntry) return 'is-success'\n\t\t\tif (this.report.isLocked) return 'is-danger'\n\t\t\tif (this.report.groupConsultantId) return 'is-info'\n\t\t\treturn 'is-warning'\n\t\t},\n\t\tstatusIcon() {\n\t\t\tif (this.report.isComplete || this.report.isSalesEntry) return 'check-circle'\n\t\t\tif (this.report.isLocked) return 'lock'\n\t\t\treturn ''\n\t\t},\n\t\ttemplate() {\n\t\t\treturn this.report && this.report.activeTemplate\n\t\t},\n\t},\n\twatch: {\n\t\tid() {\n\t\t\tthis.loadReport()\n\t\t},\n\t},\n\tasync beforeRouteEnter(to, from, next) {\n\t\ttry {\n\t\t\tnextReport = await getReportDetail(to.params.id)\n\t\t\t// Cancel navigation if images are not ready or error\n\t\t\tif (!nextReport) return next(from.name ? false : BackRouteName)\n\t\t\tnext()\n\t\t} catch (err) {\n\t\t\tnext(from.name ? false : BackRouteName)\n\t\t}\n\t},\n\tasync beforeRouteUpdate(to, from, next) {\n\t\tconst isLoadingAnotherReport = to.params.id !== from.params.id\n\t\tif (!isLoadingAnotherReport) return next()\n\t\tthis.isPageLoading = true\n\t\tawait this.saveReport()\n\t\tnextReport = await getReportDetail(to.params.id)\n\t\tthis.isPageLoading = false\n\t\t// Cancel navigation if images are not ready or error\n\t\tif (!nextReport) return next(from.name ? false : BackRouteName)\n\t\tnext()\n\t},\n\tasync beforeRouteLeave(to, from, next) {\n\t\tif (this.forceNavigation || !this.claims.isConsultantUser) return next()\n\t\tawait this.saveReport()\n\t\tnext()\n\t},\n\tasync created() {\n\t\tthis.$store.dispatch('getOnBehalfOfList')\n\t\teventBus.on(REFRESH_REPORT, this.refreshReport)\n\t\teventBus.on(IMAGE_CHANGE, this.refreshReport)\n\t\teventBus.on(REPORT_IMAGE_COMMENT, this.onCommentUpdated)\n\t\tthis.dbounce = new Dbounce(3000, this.saveReport.bind(this))\n\t\tthis.loadReport()\n\t\tif (this.viewOnOpen) this.openViewer()\n\t},\n\tbeforeDestroy() {\n\t\teventBus.off(REFRESH_REPORT, this.refreshReport)\n\t\teventBus.off(IMAGE_CHANGE, this.refreshReport)\n\t\teventBus.off(REPORT_IMAGE_COMMENT, this.onCommentUpdated)\n\t\tthis.dbounce.clear()\n\t},\n\tmethods: {\n\t\t...mapActions(['openStudy']),\n\t\tredirectToList() {\n\t\t\tthis.forceNavigation = true\n\t\t\tthis.$router.push({ name: BackRouteName })\n\t\t},\n\t\t// Listen for events from other windows spawned from the main Omni window.\n\t\tonCommentUpdated(reportId) {\n\t\t\tif (reportId !== this.report.reportId) return\n\t\t\tthis.refreshReport()\n\t\t},\n\t\tasync refreshReport() {\n\t\t\tawait this.saveReport()\n\t\t\tconst report = await getReportDetail(this.id)\n\t\t\tif (!report) return this.redirectToList()\n\t\t\tthis.report.refresh(report)\n\t\t},\n\t\tasync loadReport() {\n\t\t\tif (this.$el) this.$el.querySelector('.list-scroll').scrollTo(0, 0)\n\n\t\t\tthis.isPageLoading = true\n\t\t\tthis.report = nextReport || (await getReportDetail(this.id))\n\t\t\tnextReport = null\n\t\t\tthis.isPageLoading = false\n\t\t\tif (!this.report) return\n\n\t\t\tif (this.template.root.readOnly) {\n\t\t\t\thighlightKeywords(this.keywords, '#rootReportLayout')\n\t\t\t}\n\t\t\tthis.template.onChangeCB = this.dbounce.set.bind(this.dbounce)\n\t\t\tthis.template.pendingChanges = false\n\t\t},\n\t\tasync deleteReport() {\n\t\t\tlet result = await showConfirm('Are you sure you want to delete this report?')\n\t\t\tif (!result) return\n\t\t\treportService.deleteStandardReport(this.id)\n\t\t\tthis.$store.dispatch('addNotification', {\n\t\t\t\tnotificationType: 'success',\n\t\t\t\tmessage: 'Report deleted!',\n\t\t\t})\n\t\t\tthis.redirectToList()\n\t\t},\n\t\tasync saveReport(complete = false) {\n\t\t\tif (!this.template) return\n\t\t\tif (!complete && (this.isReadOnly || !this.template.pendingChanges)) return\n\n\t\t\ttry {\n\t\t\t\tthis.isSaving = true\n\t\t\t\tlet data = this.report.getStandardReportData(complete)\n\t\t\t\tawait reportService.saveStandardReport(data)\n\t\t\t\tthis.template.pendingChanges = false\n\n\t\t\t\tif (complete) {\n\t\t\t\t\tthis.$store.dispatch('addNotification', {\n\t\t\t\t\t\tnotificationType: 'success',\n\t\t\t\t\t\tmessage: 'Report completed!',\n\t\t\t\t\t})\n\t\t\t\t\teventBus.broadcast(REPORT_COMPLETED, this.report.reportId)\n\t\t\t\t\tthis.redirectToList()\n\t\t\t\t}\n\t\t\t} finally {\n\t\t\t\tthis.isSaving = false\n\t\t\t}\n\t\t},\n\t\tasync openEmailReportDlg() {\n\t\t\tthis.isActionsOpen = false\n\t\t\tlet report: ReportDetail = this.report\n\t\t\tlet studies: IStudy[] = await api.viewer.getStudy({ ids: report.studyIds }, false).then(r => r.studies)\n\n\t\t\tlet images: EmailItem[] = []\n\t\t\tstudies.forEach(study => {\n\t\t\t\tstudy.imageData.series.forEach(s => {\n\t\t\t\t\timages.push(new EmailItem(s, s.images[0], !s.isFakeSeries))\n\t\t\t\t})\n\t\t\t})\n\n\t\t\timages = images.filter(i => report.images.some(x => x.id === i.imageId))\n\t\t\topenEmailStudyDlg(studies, images, [report.consultantReportId]).catch(e => {})\n\t\t},\n\t\topenViewer() {\n\t\t\tthis.openStudy({\n\t\t\t\tclinicCode: this.claims.activeClinicCode,\n\t\t\t\treportId: this.report.reportId,\n\t\t\t\tmodality: this.report.study.modality,\n\t\t\t})\n\t\t},\n\t\tdownloadReport(imageType) {\n\t\t\tthis.$api.file.downloadReport({\n\t\t\t\tdownloadType: imageType === 'download-jpeg' ? 0 : 1,\n\t\t\t\tclinicCode: this.claims.activeClinicCode,\n\t\t\t\tid: this.id,\n\t\t\t})\n\t\t},\n\t\topenReportPdf() {\n\t\t\tconst { reportId, consultantReportId, isComplete } = this.report\n\t\t\topenReportPdf(reportId, consultantReportId, isComplete)\n\t\t},\n\t},\n}\nasync function getReportDetail(id) {\n\ttry {\n\t\tconst detail = await reportService.getStandardReport(id)\n\t\treturn detail\n\t} catch (err) {\n\t\tshowAlert(err.message)\n\t}\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StdReport.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StdReport.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./StdReport.vue?vue&type=template&id=4332e7f9\"\nimport script from \"./StdReport.vue?vue&type=script&lang=ts\"\nexport * from \"./StdReport.vue?vue&type=script&lang=ts\"\nimport style0 from \"./StdReport.vue?vue&type=style&index=0&id=4332e7f9&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StdReport.vue?vue&type=style&index=0&id=4332e7f9&prod&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"dblclick\",rawName:\"v-dblclick\",value:(_vm.onDoubleClick),expression:\"onDoubleClick\"}],staticClass:\"split-view-layout\",class:{ 'is-vertical': _vm.isVertical },style:(_vm.layoutStyle),on:{\"mousedown\":_vm.onMouseDown,\"mousemove\":_vm.onMouseMove,\"mouseup\":_vm.onMouseUp,\"touchstart\":_vm.onTouchStart,\"touchmove\":_vm.onTouchMove,\"touchend\":_vm.onTouchEnd}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitViewLayout.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitViewLayout.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SplitViewLayout.vue?vue&type=template&id=6ad26fdf&scoped=true\"\nimport script from \"./SplitViewLayout.vue?vue&type=script&lang=js\"\nexport * from \"./SplitViewLayout.vue?vue&type=script&lang=js\"\nimport style0 from \"./SplitViewLayout.vue?vue&type=style&index=0&id=6ad26fdf&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6ad26fdf\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.show)?_c('div',{staticClass:\"split-view\",class:{ 'is-vertical': _vm.$splitViewLayout.isVertical, 'is-secondary': _vm.isSecondary },style:(_vm.containerStyle)},[(_vm.isSecondary)?[_c('div',{staticClass:\"split-view-handle-target\",attrs:{\"data-handle-id\":_vm._uid}},[_c('div',{staticClass:\"split-view-handle\",attrs:{\"data-handle-id\":_vm._uid}})]),_c('div',{staticClass:\"split-view-header\"},[_c('span',{staticClass:\"split-view-title\"},[_vm._v(_vm._s(_vm.title))]),_vm._t(\"header-buttons\"),_vm._l((_vm.orientations),function(ref,i){\nvar dock = ref.dock;\nvar icon = ref.icon;\nvar iconStyle = ref.iconStyle;\nvar isVertical = ref.isVertical;\nreturn [(_vm.$splitViewLayout.isVertical !== isVertical)?_c('button',{key:i},[_c('svg-icon',{style:(iconStyle),attrs:{\"icon\":icon,\"title\":_vm.$options.filters.capitalize(dock)},nativeOn:{\"click\":function($event){_vm.$splitViewLayout.isVertical = isVertical}}})],1):_vm._e()]}),(_vm.closable)?_c('button',{on:{\"click\":function($event){return _vm.$emit('close')}}},[_c('svg-icon',{attrs:{\"icon\":\"close\"}})],1):_vm._e()],2)]:_vm._e(),_c('div',{staticClass:\"split-view-content\"},[_vm._t(\"default\")],2)],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitView.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitView.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SplitView.vue?vue&type=template&id=e41f3c46&scoped=true\"\nimport script from \"./SplitView.vue?vue&type=script&lang=js\"\nexport * from \"./SplitView.vue?vue&type=script&lang=js\"\nimport style0 from \"./SplitView.vue?vue&type=style&index=0&id=e41f3c46&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e41f3c46\",\n null\n \n)\n\nexport default component.exports","// ================\n// CachedFilter\n// ================\n// Caches the most recently used filter for the component when its value\n// updates. Restores that filter in the created hook for the component.\n// A less generic version of: https://github.com/coffee-driven-dev/v-cache\n//\n// Requirements:\n// ----------------\n// - Global $route\n// - Component `filter` data\nexport default {\n\tcomputed: {\n\t\tcacheKey() {\n\t\t\treturn `temp:${this.$route.name}:filter`\n\t\t},\n\t},\n\twatch: {\n\t\tfilter: {\n\t\t\thandler(value) {\n\t\t\t\tconst nullOrEmpty = !value || value === {}\n\t\t\t\tif (!nullOrEmpty) {\n\t\t\t\t\tsessionStorage.setItem(this.cacheKey, JSON.stringify(value))\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeep: true,\n\t\t},\n\t},\n\tasync mounted() {\n\t\tconst missingFilter = this.filter === null || this.filter === undefined\n\t\tif (missingFilter) {\n\t\t\tconsole.warn('cachedFilter mixin used, but component has no `filter` property')\n\t\t\treturn\n\t\t}\n\n\t\tif (this.$route.query['filter-preset']) return\n\n\t\t// We check that properties match so we're not forcing an old/outdated\n\t\t// schema for visiting users between major versions\n\t\tconst cachedFilter = JSON.parse(sessionStorage.getItem(this.cacheKey))\n\t\tif (cachedFilter && hasSameProperties(this.filter, cachedFilter)) {\n\t\t\tthis.filter = Object.assign({}, this.filter, cachedFilter)\n\t\t}\n\t},\n}\n\n/**\n * Compares two object's top level properties. Returns true\n * if obj2 contains all of obj1's properties\n *\n * @param {*} obj1\n * @param {*} obj2\n * @returns\n */\nfunction hasSameProperties(obj1, obj2) {\n\treturn Object.keys(obj1).every(function(prop) {\n\t\treturn obj2.hasOwnProperty(prop)\n\t})\n}\n"],"sourceRoot":""}