{"version":3,"sources":["webpack:///./src/reporting/components/TemplateSet.vue?4204","webpack:///./src/dialogs/AnalyzeReports.vue?a9f7","webpack:///./src/dialogs/AnalyzeReports.vue","webpack:///./src/dialogs/AnalyzeReports.vue?a935","webpack:///./src/dialogs/AnalyzeReports.vue?5e7d","webpack:///./src/dialogs/AnalyzeReports.vue?c45d","webpack:///./src/reporting/dialogs/NewReportTemplateDlg.vue?db53","webpack:///./src/dialogs/AnalyzeReports.vue?125a","webpack:///./src/reporting/dialogs/NewReportTemplateDlg.vue?fd73","webpack:///./src/reporting/dialogs/NewReportTemplateDlg.vue","webpack:///./src/reporting/dialogs/NewReportTemplateDlg.vue?cbd2","webpack:///./src/reporting/dialogs/NewReportTemplateDlg.vue?eb9a","webpack:///./src/reporting/components/StatusTag.vue?2104","webpack:///src/reporting/components/StatusTag.vue","webpack:///./src/reporting/components/StatusTag.vue?2fb0","webpack:///./src/reporting/components/StatusTag.vue","webpack:///./src/reporting/components/StatusTag.vue?763f","webpack:///./src/reporting/components/TemplateSet.vue?c46c","webpack:///./src/reporting/components/TemplateSet.vue","webpack:///./src/reporting/components/TemplateSet.vue?bcbe","webpack:///./src/reporting/components/TemplateSet.vue?3899"],"names":["render","_vm","this","_h","$createElement","_c","_self","on","close","staticClass","attrs","_v","reportType","$event","_e","consultantList","length","scopedSlots","_u","key","fn","c","staticStyle","isGroup","_s","name","model","value","callback","$$v","consultant","expression","class","filter","isComplete","includes","isDraft","$set","requestTypes","_l","ref","requestType","guid","billingCodes","billingCodeId","o","id","groupMembers","claimedByConsultantId","clientClinics","requestedByOptions","requestedBy","regions","region","Object","keys","k","dateRanges","isLoading","hasErrors","exportCSV","staticRenderFns","AnalyzeReportsFilter","_createClass","_classCallCheck","consultantId","modalityIds","startDate","endDate","responseStartDate","responseEndDate","studyStartDate","studyEndDate","clinicCode","requestingUserId","AnalyzeReports","components","AstRadio","DateRangePicker","DlgHeader","ModalWrapper","ModalitySelect","props","initialReportType","type","String","default","dateRangeOptions","entries","dateRangeLabels","map","_ref","_ref2","_slicedToArray","label","_ref3","data","communityUsers","accountBillingCodes","consultantBillingCodes","studyDateRangeError","requestDateRangeError","responseDateRangeError","computed","assign","clinics","isCommunity","concat","_toConsumableArray","sort","a","b","get","_this","find","set","client","mapState","showTeleconsultationScheduleFiltering","state","static","permissions","watch","loadConsultantFilterOptions","_context","stop","_callee","handler","newVal","dateRangeIsBiggerThanAYear","deep","created","initialDateRages","getDateRanges","Today","isAdmin","userData","serverAdministration","_context2","prev","next","Promise","all","loadConsultantList","getAccountBillingCodes","finish","_callee2","methods","addToList","promises","_regeneratorRuntime","wrap","_context3","items","forEach","undefined","used","list","push","consultations","getConsultantGroups","claims","userId","then","r","$store","consultantsForAdmin","getConsultantInfo","_callee3","codes","_context4","sent","deleted","_callee4","requests","getConsultantGroupMembers","getConsultantRegions","getConsultantClientClinics","getConsultantCommunityUsers","getConsultantRequestTypes","m","_this2","_context5","responses","_callee5","dlg","reportService","years","Date","getFullYear","openAnalyzeReports","open","component","module","exports","stopPropagation","preventDefault","create","directives","rawName","modifiers","domProps","target","composing","trim","$forceUpdate","NewReportTemplateDlg","selectedType","sets","abrupt","createSet","setid","getTemplateMeta","meta","mounted","openNewReportTemplateDlg","arguments","displayStatus","toLowerCase","status","required","isLegacy","Boolean","load","_f","modifiedDate","isActive","deleteWorkflow","isTeleconsultation","retire","StatusTag","TemplateSetStatus","Published","retired","Retired","draft","Draft","$router","params","setId","showConfirm","setTemplateSetStatus","$emit"],"mappings":"yKAAA,W,6FCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,gBAAgB,CAACE,GAAG,CAAC,MAAQN,EAAIO,QAAQ,CAACH,EAAG,MAAM,CAACI,YAAY,0BAA0B,CAACJ,EAAG,aAAa,CAACK,MAAM,CAAC,MAAQ,mBAAmBH,GAAG,CAAC,MAAQN,EAAIO,SAASH,E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AIa,MAAM,QACxtC+C,EAAkB,G,oFCmCP,GACdpC,KAAM,cACNmD,WAAY,CACX0J,kBAEDpJ,MAAO,CAAC,MAAO,QACfc,KAAI,WACH,MAAO,CACNuB,eAGFhB,SAAU,CACT2H,SAAQ,WACP,OAAOhO,KAAKiH,IAAIwG,SAAWY,OAAkBC,WAE9CJ,mBAAkB,WACjB,MAAyB,qBAAlBlO,KAAKiH,IAAI/B,MAEjBqJ,QAAO,WACN,OAAOvO,KAAKiH,IAAIwG,SAAWY,OAAkBG,SAE9CC,MAAK,WACJ,OAAOzO,KAAKiH,IAAIwG,SAAWY,OAAkBK,QAG/CzF,QAAS,CACR4E,KAAI,WACH7N,KAAK2O,QAAQ/E,KAAK,CACjBrI,KAAM,gBACNqN,OAAQ,CAAEC,MAAO7O,KAAKiH,IAAIrE,OAGtBuL,OAAM,W,gKACPnO,KAAKkO,mBAAoB,CAAFxG,EAAAgB,KAAA,eAAAhB,EAAAqF,OAAA,iBACrB,OADqBrF,EAAAgB,KAAA,EACfoG,eAAY,sDAAqD,UAAApH,EAAA+C,KAAA,CAAA/C,EAAAgB,KAAA,eAAAhB,EAAAqF,OAAA,iBAC7E,OAD6ErF,EAAAgB,KAAA,EACvErB,OAAM0H,qBAAqB/O,KAAKiH,IAAKoH,OAAkBG,SAAQ,wBAAA9G,EAAAC,UAAAC,EAAA,WAEtEqG,eAAc,WACbjO,KAAKgP,MAAM,sBAAuBhP,KAAKiH,QC1E6W,I,wBCQnZ6E,EAAY,eACd,EACAhM,EACA6D,GACA,EACA,KACA,KACA,MAIa,OAAAmI,E","file":"js/reportsSettingView~teleconsultationSettingView.d9f7d2c57906acb456a1.bundle.js","sourcesContent":["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!./TemplateSet.vue?vue&type=style&index=0&id=393589bc&prod&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal-wrapper',{on:{\"close\":_vm.close}},[_c('div',{staticClass:\"dialog analyze-reports\"},[_c('dlg-header',{attrs:{\"title\":\"Analyze Reports\"},on:{\"close\":_vm.close}}),_c('div',{staticClass:\"filters\"},[(_vm.isAdmin)?_c('div',[_c('label',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tReport Type\\n\\t\\t\\t\\t\\t\")]),_c('div',{staticClass:\"radio-group\"},[_c('ast-radio',{attrs:{\"id\":\"report-type-teleconsultation\",\"value\":\"teleconsultation\",\"model\":_vm.reportType},on:{\"input\":function($event){_vm.reportType = 'teleconsultation'}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tTeleconsultation\\n\\t\\t\\t\\t\\t\\t\")]),_c('ast-radio',{attrs:{\"id\":\"report-type-standard\",\"value\":\"standard\",\"model\":_vm.reportType},on:{\"input\":function($event){_vm.reportType = 'standard'}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tNon-Teleconsultation\\n\\t\\t\\t\\t\\t\\t\")])],1)]):_vm._e(),(_vm.reportType === 'teleconsultation' && _vm.consultantList.length > 1)?_c('div',[_c('label',[_vm._v(\"Consultant\")]),_c('v-select',{staticClass:\"consultant-select\",attrs:{\"label\":\"name\",\"options\":_vm.consultantList,\"clearable\":false,\"searchable\":true},scopedSlots:_vm._u([{key:\"option\",fn:function(c){return [_c('svg-icon',{staticStyle:{\"opacity\":\"0.7\"},attrs:{\"icon\":c.isGroup ? 'account-multiple' : 'account',\"fixed\":\"\",\"inline\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(c.name)+\"\\n\\t\\t\\t\\t\\t\\t\")]}}],null,false,2411854902),model:{value:(_vm.consultant),callback:function ($$v) {_vm.consultant=$$v},expression:\"consultant\"}})],1):_vm._e(),_c('div',[_c('label',[_vm._v(\"Status\")]),_c('div',[_c('button',{staticClass:\"btn\",class:_vm.filter.isComplete === 'Open' ? 'btn-success' : 'btn-default',on:{\"click\":function($event){_vm.filter.isComplete = 'Open'}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tOpen\\n\\t\\t\\t\\t\\t\\t\")]),_c('button',{staticClass:\"btn\",class:_vm.filter.isComplete === 'Complete' ? 'btn-success' : 'btn-default',on:{\"click\":function($event){_vm.filter.isComplete = 'Complete'}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tComplete\\n\\t\\t\\t\\t\\t\\t\")]),_c('button',{staticClass:\"btn\",class:!['Open', 'Complete'].includes(_vm.filter.isComplete) ? 'btn-success' : 'btn-default',on:{\"click\":function($event){_vm.filter.isComplete = 'Any'}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tAll\\n\\t\\t\\t\\t\\t\\t\")])])]),(_vm.reportType === 'teleconsultation')?_c('div',[_c('label',[_vm._v(\"Pending Review\")]),_c('div',[_c('button',{staticClass:\"btn\",class:_vm.filter.isDraft === 'Yes' ? 'btn-success' : 'btn-default',on:{\"click\":function($event){_vm.filter.isDraft = 'Yes'}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tYes\\n\\t\\t\\t\\t\\t\\t\")]),_c('button',{staticClass:\"btn\",class:_vm.filter.isDraft === 'No' ? 'btn-success' : 'btn-default',on:{\"click\":function($event){_vm.filter.isDraft = 'No'}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tNo\\n\\t\\t\\t\\t\\t\\t\")]),_c('button',{staticClass:\"btn\",class:!['Yes', 'No'].includes(_vm.filter.isDraft) ? 'btn-success' : 'btn-default',on:{\"click\":function($event){_vm.filter.isDraft = 'Any'}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tAll\\n\\t\\t\\t\\t\\t\\t\")])])]):_vm._e(),_c('div',[_c('label',[_vm._v(\"Modalities\")]),_c('modality-select',{attrs:{\"multiple\":\"\"},model:{value:(_vm.filter.modalityIds),callback:function ($$v) {_vm.$set(_vm.filter, \"modalityIds\", $$v)},expression:\"filter.modalityIds\"}})],1),(_vm.reportType === 'teleconsultation' && _vm.requestTypes.length)?_c('div',{staticStyle:{\"font-size\":\"0.9em\",\"letter-spacing\":\"0.05em\"}},[_c('label',[_vm._v(\"Type\")]),_c('div',{staticClass:\"radio-group\"},_vm._l((_vm.requestTypes),function(ref){\nvar requestType = ref[0];\nvar guid = ref[1];\nreturn _c('ast-radio',{key:guid,attrs:{\"id\":(\"request-type-\" + guid),\"value\":guid,\"model\":_vm.filter.requestType},on:{\"input\":function($event){_vm.filter.requestType = $event}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(requestType)+\"\\n\\t\\t\\t\\t\\t\\t\")])}),1)]):_vm._e(),(_vm.billingCodes.length)?_c('div',[_c('label',[_vm._v(\"Billing Code\")]),_c('v-select',{attrs:{\"value\":_vm.filter.billingCodeId,\"label\":\"name\",\"options\":_vm.billingCodes,\"reduce\":function (o) { return o.id; },\"searchable\":false,\"clear-search-on-select\":false},on:{\"input\":function($event){_vm.filter.billingCodeId = $event}}})],1):_vm._e(),(_vm.reportType === 'teleconsultation' && _vm.groupMembers.length)?_c('div',[_c('label',[_vm._v(\"Claimed By\")]),_c('v-select',{attrs:{\"value\":_vm.filter.claimedByConsultantId,\"label\":\"name\",\"options\":_vm.groupMembers,\"reduce\":function (o) { return o.id; },\"searchable\":false,\"clear-search-on-select\":false},on:{\"input\":function($event){_vm.filter.claimedByConsultantId = $event}}})],1):_vm._e(),(_vm.reportType === 'teleconsultation' && _vm.clientClinics.length)?_c('div',[_c('label',[_vm._v(\"Requested By\")]),_c('v-select',{attrs:{\"label\":\"name\",\"options\":_vm.requestedByOptions,\"searchable\":false,\"clear-search-on-select\":false},model:{value:(_vm.requestedBy),callback:function ($$v) {_vm.requestedBy=$$v},expression:\"requestedBy\"}})],1):_vm._e(),(_vm.reportType === 'teleconsultation' && _vm.regions.length)?_c('div',[_c('label',[_vm._v(\"Region\")]),_c('v-select',{attrs:{\"value\":_vm.filter.region,\"options\":Object.keys(_vm.regions),\"reduce\":function (k) { return _vm.regions[k]; },\"searchable\":false,\"clear-search-on-select\":false},on:{\"input\":function($event){_vm.filter.region = $event}}})],1):_vm._e(),_c('date-range-picker',{attrs:{\"start-date-key\":\"studyStartDate\",\"end-date-key\":\"studyEndDate\",\"label\":\"Study Date\",\"date-ranges\":_vm.dateRanges,\"filter\":_vm.filter},on:{\"input\":function($event){_vm.filter = $event}}}),(_vm.studyDateRangeError)?_c('div',{staticClass:\"has-error\"},[_c('p',[_c('svg-icon',{attrs:{\"icon\":\"exclamation-triangle\"}}),_vm._v(\"\\n Date Range must be one year or less\\n \")],1)]):_vm._e(),_c('date-range-picker',{attrs:{\"label\":_vm.reportType === 'teleconsultation' ? 'Request Date' : 'Report Date',\"date-ranges\":_vm.dateRanges,\"filter\":_vm.filter},on:{\"input\":function($event){_vm.filter = $event}}}),(_vm.requestDateRangeError)?_c('div',{staticClass:\"has-error\"},[_c('p',[_c('svg-icon',{attrs:{\"icon\":\"exclamation-triangle\"}}),_vm._v(\"\\n Date Range must be one year or less\\n \")],1)]):_vm._e(),(_vm.reportType === 'teleconsultation')?_c('date-range-picker',{attrs:{\"start-date-key\":\"responseStartDate\",\"end-date-key\":\"responseEndDate\",\"label\":\"Response Date\",\"date-ranges\":_vm.dateRanges,\"filter\":_vm.filter},on:{\"input\":function($event){_vm.filter = $event}}}):_vm._e(),(_vm.responseDateRangeError)?_c('div',{staticClass:\"has-error\"},[_c('p',[_c('svg-icon',{attrs:{\"icon\":\"exclamation-triangle\"}}),_vm._v(\"\\n Date Range must be one year or less\\n \")],1)]):_vm._e(),_c('div',{staticStyle:{\"padding-top\":\"16px\"}},[_c('button',{staticClass:\"btn btn-primary\",staticStyle:{\"min-width\":\"80px\"},attrs:{\"disabled\":_vm.isLoading || _vm.hasErrors},on:{\"click\":_vm.exportCSV}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tExport CSV\\n\\t\\t\\t\\t\\t\")])])],1),_c('div',{staticClass:\"loading\",class:_vm.isLoading && 'is-loading'},[_c('svg-icon',{attrs:{\"icon\":\"spinner\",\"pulse\":\"\"}})],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\nimport { mapState } from 'vuex'\nimport ModalWrapper from '@components/ModalWrapper.vue'\nimport { dlg } from '@utils/dlgUtils'\nimport DlgHeader from '@components/DlgHeader.vue'\nimport AstRadio from '@components/Radio.vue'\nimport DateRangePicker from '@components/DateRangePicker.vue'\nimport ModalitySelect from '@components/ModalitySelect.vue'\nimport { dateRangeLabels, getDateRanges } from '@utils/dateUtils'\nimport consultations from '@services/consultationService'\nimport { userData } from '@services/userData'\nimport { billingCodes } from '@services/billingCodes'\nimport reportService from '@services/reportService'\n\nclass AnalyzeReportsFilter implements ITeleconsultationListSearchForm {\n\tconsultantId = ''\n\tisComplete = 'Any'\n\tisDraft = 'Any' // teleconsultation only\n\tmodalityIds = []\n\tbillingCodeId = null\n\tstartDate = '' // request date / report creation date\n\tendDate = '' // request date / report creation date\n\tresponseStartDate = '' // teleconsultation only\n\tresponseEndDate = '' // teleconsultation only\n\tstudyStartDate = ''\n\tstudyEndDate = ''\n\tregion = '' // teleconsultation only\n\trequestType = '00000000-0000-0000-0000-000000000000' // teleconsultation only\n\tclaimedByConsultantId = '' // teleconsultation only\n\tclinicCode = '' // teleconsultation only\n\trequestingUserId = '' // teleconsultation only (for community users)\n}\n\nconst AnalyzeReports = {\n\tname: 'AnalyzeReports',\n\tcomponents: {\n\t\tAstRadio,\n\t\tDateRangePicker,\n\t\tDlgHeader,\n\t\tModalWrapper,\n\t\tModalitySelect,\n\t},\n\tprops: {\n\t\tinitialReportType: {\n\t\t\ttype: String,\n\t\t\tdefault: 'teleconsultation',\n\t\t},\n\t},\n\tdateRangeOptions: Object.entries(dateRangeLabels)\n\t\t.map(([value, label]) => ({ value, label }))\n\t\t.filter(({ label }) => !label.includes('Past')), // presets do not use the Past Week/Month/Year ranges\n\tdata() {\n\t\treturn {\n\t\t\tfilter: new AnalyzeReportsFilter(),\n\t\t\tisLoading: false,\n\t\t\treportType: '',\n\t\t\tconsultant: {},\n\t\t\tconsultantList: [],\n\t\t\tgroupMembers: [],\n\t\t\tregions: [],\n\t\t\tclientClinics: [],\n\t\t\tcommunityUsers: [],\n\t\t\trequestTypes: [],\n\t\t\taccountBillingCodes: [],\n\t\t\tconsultantBillingCodes: [],\n dateRanges: ['Year', 'Week', 'Yesterday', 'Today'],\n hasErrors: false,\n studyDateRangeError: false,\n requestDateRangeError: false,\n responseDateRangeError: false,\n\t\t}\n\t},\n\tcomputed: {\n\t\tbillingCodes() {\n\t\t\tif (this.reportType === 'teleconsultation') {\n\t\t\t\treturn this.consultantBillingCodes\n\t\t\t} else {\n\t\t\t\treturn this.accountBillingCodes\n\t\t\t}\n\t\t},\n\t\trequestedByOptions() {\n\t\t\tconst clinics = this.clientClinics.map(c => ({\n\t\t\t\tname: c.isCommunity ? 'All Community Users' : c.name,\n\t\t\t\tclinicCode: c.clinicCode,\n\t\t\t\trequestingUserId: '',\n\t\t\t}))\n\t\t\tconst communityUsers = this.communityUsers.map(c => ({\n\t\t\t\tname: c.name,\n\t\t\t\tclinicCode: c.clinicCode,\n\t\t\t\trequestingUserId: c.id,\n\t\t\t}))\n\t\t\treturn [...clinics, ...communityUsers].sort((a, b) => (a.name < b.name ? -1 : 1))\n\t\t},\n\t\trequestedBy: {\n\t\t\tget() {\n\t\t\t\treturn this.requestedByOptions.find(\n\t\t\t\t\tc => this.filter.clinicCode === c.clinicCode && this.filter.requestingUserId === c.requestingUserId\n\t\t\t\t)\n\t\t\t},\n\t\t\tset(client) {\n\t\t\t\tthis.filter.clinicCode = client ? client.clinicCode : ''\n\t\t\t\tthis.filter.requestingUserId = client ? client.requestingUserId : ''\n\t\t\t},\n\t\t},\n\t\t...mapState({\n\t\t\tshowTeleconsultationScheduleFiltering: (state: any) =>\n\t\t\t\tstate.static.permissions.showTeleconsultationScheduleFiltering,\n\t\t}),\n\t},\n\twatch: {\n\t\tasync consultant() {\n\t\t\tthis.loadConsultantFilterOptions()\n\t\t},\n filter: {\n handler(newVal) {\n // Check Study Date\n this.studyDateRangeError = this.dateRangeIsBiggerThanAYear(newVal.studyStartDate, newVal.studyEndDate)\n\n // Check Request / Report Date\n this.requestDateRangeError = this.dateRangeIsBiggerThanAYear(newVal.startDate, newVal.endDate)\n\n // Check Response Date\n this.responseDateRangeError = this.dateRangeIsBiggerThanAYear(newVal.responseStartDate, newVal.responseEndDate)\n\n this.hasErrors = this.studyDateRangeError || this.requestDateRangeError || this.responseDateRangeError\n },\n deep: true\n },\n\t},\n\tasync created() {\n\n const initialDateRages = getDateRanges()\n // Set initial dates ranges to Today\n this.filter.startDate = initialDateRages.Today.startDate\n this.filter.endDate = initialDateRages.Today.endDate\n this.filter.studyStartDate = initialDateRages.Today.startDate\n this.filter.studyEndDate = initialDateRages.Today.endDate\n this.filter.responseStartDate = initialDateRages.Today.startDate\n this.filter.responseEndDate = initialDateRages.Today.endDate\n\n\t\tthis.reportType = this.initialReportType\n\t\tthis.isAdmin = userData.permissions.serverAdministration\n\t\tthis.isLoading = true\n\t\ttry {\n\t\t\tawait Promise.all([this.loadConsultantList(), this.getAccountBillingCodes()])\n\t\t} finally {\n\t\t\tthis.isLoading = false\n\t\t}\n\t},\n\tmethods: {\n\t\tasync loadConsultantList() {\n\t\t\tlet list: IConsultantInfo[] = []\n\t\t\tlet used = {}\n\n\t\t\tfunction addToList(items: IConsultantInfo[]) {\n\t\t\t\titems.forEach(c => {\n\t\t\t\t\tif (c && used[c.id] === undefined) {\n\t\t\t\t\t\tlist.push(c)\n\t\t\t\t\t\tused[c.id] = true\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tlet promises = []\n\t\t\t// consultant groups user belongs to\n\t\t\tpromises.push(consultations.getConsultantGroups(userData.claims.userId).then(r => addToList(r)))\n\n\t\t\tif (this.isAdmin) {\n\t\t\t\t// local consultants\n\t\t\t\taddToList(this.$store.state.static.consultantsForAdmin)\n\t\t\t} else {\n\t\t\t\t// self\n\t\t\t\tpromises.push(consultations.getConsultantInfo(userData.claims.userId).then(r => addToList([r])))\n\t\t\t}\n\n\t\t\tawait Promise.all(promises)\n\n\t\t\tlist.sort((a, b) => {\n\t\t\t\tif (a.isGroup && !b.isGroup) return -1\n\t\t\t\tif (b.isGroup && !a.isGroup) return 1\n\t\t\t\telse {\n\t\t\t\t\tif (a.name < b.name) {\n\t\t\t\t\t\treturn -1\n\t\t\t\t\t}\n\t\t\t\t\tif (a.name > b.name) {\n\t\t\t\t\t\treturn 1\n\t\t\t\t\t}\n\t\t\t\t\treturn 0\n\t\t\t\t}\n\t\t\t})\n\n\t\t\tthis.consultantList = list\n\t\t\tthis.consultant = list[0]\n\t\t},\n\t\tasync getAccountBillingCodes() {\n\t\t\tconst codes = await billingCodes.get(null)\n\t\t\tthis.accountBillingCodes = codes.filter(c => !c.deleted)\n\t\t},\n\t\tasync loadConsultantFilterOptions() {\n\t\t\tthis.isLoading = true\n\t\t\tthis.filter.claimedByConsultantId = ''\n\t\t\tthis.filter.clinicCode = ''\n\t\t\tthis.filter.requestingUserId = ''\n\t\t\tthis.filter.region = ''\n\t\t\tthis.filter.requestType = '00000000-0000-0000-0000-000000000000'\n\t\t\tthis.filter.billingCodeId = null\n\t\t\tconst requests = [\n\t\t\t\tconsultations.getConsultantGroupMembers,\n\t\t\t\tconsultations.getConsultantRegions,\n\t\t\t\tconsultations.getConsultantClientClinics,\n\t\t\t\tconsultations.getConsultantCommunityUsers,\n\t\t\t\tconsultations.getConsultantRequestTypes,\n\t\t\t\tbillingCodes.get,\n\t\t\t].map(m => m(this.consultant.id))\n\t\t\ttry {\n\t\t\t\tconst responses = await Promise.all(requests)\n\t\t\t\tthis.groupMembers = [{ id: '00000000-0000-0000-0000-000000000001', name: 'Unclaimed' }, ...responses[0]]\n\t\t\t\tthis.regions = responses[1]\n\t\t\t\tthis.clientClinics = responses[2]\n\t\t\t\tthis.communityUsers = responses[3]\n\t\t\t\tthis.requestTypes = Object.entries(responses[4]).sort((a, b) => {\n\t\t\t\t\treturn a[1] < b[1] ? -1 : 1\n\t\t\t\t})\n\t\t\t\tthis.consultantBillingCodes = responses[5].filter(c => !c.deleted)\n\t\t\t} finally {\n\t\t\t\tthis.isLoading = false\n\t\t\t}\n\t\t},\n\t\tclose() {\n\t\t\tdlg.close(this)\n\t\t},\n\t\texportCSV() {\n\t\t\tthis.filter.consultantId = this.reportType === 'teleconsultation' ? this.consultant.id : ''\n\t\t\treportService.exportCSV(this.filter)\n\t\t},\n dateRangeIsBiggerThanAYear(startDate,endDate) {\n const years = new Date(endDate - startDate).getFullYear() - 1970;\n return years > 1\n }\n\t},\n}\n\nexport default AnalyzeReports\n\nexport function openAnalyzeReports(initialReportType) {\n\treturn dlg.open(AnalyzeReports, { initialReportType })\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!./AnalyzeReports.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!./AnalyzeReports.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AnalyzeReports.vue?vue&type=template&id=790cb063\"\nimport script from \"./AnalyzeReports.vue?vue&type=script&lang=ts\"\nexport * from \"./AnalyzeReports.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AnalyzeReports.vue?vue&type=style&index=0&id=790cb063&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!./AnalyzeReports.vue?vue&type=style&index=0&id=790cb063&prod&lang=scss\"","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!./NewReportTemplateDlg.vue?vue&type=style&index=0&id=bf2e386a&prod&lang=scss\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"small\":\"640px\",\"medium\":\"800px\",\"large\":\"1024px\",\"xLarge\":\"1280px\"};","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal-wrapper',{on:{\"close\":_vm.close}},[_c('div',{staticClass:\"dialog\",attrs:{\"id\":\"newReportTemplateDlg\"}},[_c('dlg-header',{attrs:{\"title\":\"New Report Template\"},on:{\"close\":_vm.close}}),_c('form',{on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.create()}}},[_c('div',{staticStyle:{\"padding\":\"16px\"}},[_c('div',[_c('label',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tName\\n\\t\\t\\t\\t\\t\\t\"),_c('small',[_vm._v(\"(only visible to you)\")])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.name),expression:\"name\",modifiers:{\"trim\":true}},{name:\"focus\",rawName:\"v-focus\"}],staticClass:\"input\",domProps:{\"value\":(_vm.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.name=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})]),_c('div',{staticClass:\"footer right\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.close()}}},[_vm._v(\"Cancel\")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\",\"disabled\":!_vm.name || !_vm.name.length}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tCreate\\n\\t\\t\\t\\t\\t\")])])])])],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\nimport DlgHeader from '@components/DlgHeader.vue'\nimport ModalWrapper from '@components/ModalWrapper.vue'\nimport { dlg } from '@utils/dlgUtils'\nimport state from '@services/reportService'\nimport { TemplateSet } from '../classes'\n\nconst NewReportTemplateDlg = {\n\tname: 'NewReportDlg',\n\tprops: ['type', 'consultantId'],\n\tdata() {\n\t\treturn {\n\t\t\tname: '',\n\t\t\tselectedType: '',\n\t\t\tsets: [],\n\t\t}\n\t},\n\tcomponents: {\n\t\tDlgHeader,\n\t\tModalWrapper,\n\t},\n\tmethods: {\n\t\tasync create() {\n\t\t\tif (!this.name || !this.name.length) return\n\t\t\tlet setid = await state.createSet(this.name, this.selectedType, this.consultantId)\n\t\t\tdlg.close(this, true, setid)\n\t\t},\n\t\tclose() {\n\t\t\tdlg.close(this)\n\t\t},\n\t},\n\tasync created() {\n\t\tlet meta = await state.getTemplateMeta()\n\t\tthis.sets = meta.sets\n\t},\n\tmounted() {\n\t\tthis.selectedType = this.type\n\t},\n}\n\nexport default NewReportTemplateDlg\n\nexport function openNewReportTemplateDlg(\n\ttype: string,\n\tconsultantId: string = null\n): Promise {\n\treturn dlg.open(NewReportTemplateDlg, { type, consultantId })\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!./NewReportTemplateDlg.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!./NewReportTemplateDlg.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NewReportTemplateDlg.vue?vue&type=template&id=bf2e386a\"\nimport script from \"./NewReportTemplateDlg.vue?vue&type=script&lang=ts\"\nexport * from \"./NewReportTemplateDlg.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NewReportTemplateDlg.vue?vue&type=style&index=0&id=bf2e386a&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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"status-tag\",class:_vm.displayStatus.toLowerCase()},[(_vm.status === 'Published')?_c('svg-icon',{staticStyle:{\"margin-right\":\"2px\"},attrs:{\"icon\":\"check-circle\",\"fixed\":\"\"}}):_vm._e(),_vm._v(\"\\n\\t\"+_vm._s(_vm.displayStatus)+\"\\n\")],1)}\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!./StatusTag.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!./StatusTag.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./StatusTag.vue?vue&type=template&id=1a1e0c29\"\nimport script from \"./StatusTag.vue?vue&type=script&lang=js\"\nexport * from \"./StatusTag.vue?vue&type=script&lang=js\"\nimport style0 from \"./StatusTag.vue?vue&type=style&index=0&id=1a1e0c29&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!./StatusTag.vue?vue&type=style&index=0&id=1a1e0c29&prod&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"template-set\"},[_c('div',{staticClass:\"heading\",on:{\"click\":_vm.load}},[_c('h4',[_vm._v(_vm._s(_vm.set.name))]),_c('svg-icon',{staticClass:\"is-muted\",attrs:{\"icon\":\"chevron-right\"}})],1),(_vm.set.modifiedDate)?_c('p',[_vm._v(\"Last modified \"+_vm._s(_vm._f(\"localizeDate\")(_vm.set.modifiedDate)))]):_vm._e(),_c('div',[_c('status-tag',{attrs:{\"status\":_vm.set.status,\"is-legacy\":_vm.set.isLegacy}})],1),_c('div',{staticClass:\"item-footer\"},[_c('div',{staticClass:\"buttons\"},[_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){return _vm.load()}}},[_c('svg-icon',{attrs:{\"icon\":\"edit\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\tEdit\\n\\t\\t\\t\")],1),(!_vm.isActive && !_vm.set.isLegacy)?[(_vm.draft)?_c('button',{staticClass:\"btn is-link btn-delete\",on:{\"click\":function($event){return _vm.deleteWorkflow()}}},[_vm._v(\"\\n\\t\\t\\t\\t\\tDelete\\n\\t\\t\\t\\t\")]):_vm._e()]:_vm._e(),(_vm.isActive && !_vm.isTeleconsultation)?[_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){return _vm.retire()}}},[_c('svg-icon',{attrs:{\"icon\":\"stop-circle\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\tRetire\\n\\t\\t\\t\\t\")],1)]:_vm._e()],2)])])}\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\nimport StatusTag from './StatusTag.vue'\nimport { TemplateSetStatus } from '@reporting/classes'\nimport state from '@services/reportService'\nimport { showConfirm } from '@dialogs/ConfirmDlg.vue'\n\nexport default {\n\tname: 'TemplateSet',\n\tcomponents: {\n\t\tStatusTag,\n\t},\n\tprops: ['set', 'sets'],\n\tdata() {\n\t\treturn {\n\t\t\tstate,\n\t\t}\n\t},\n\tcomputed: {\n\t\tisActive() {\n\t\t\treturn this.set.status === TemplateSetStatus.Published\n\t\t},\n\t\tisTeleconsultation() {\n\t\t\treturn this.set.type === 'Teleconsultation'\n\t\t},\n\t\tretired() {\n\t\t\treturn this.set.status === TemplateSetStatus.Retired\n\t\t},\n\t\tdraft() {\n\t\t\treturn this.set.status === TemplateSetStatus.Draft\n\t\t},\n\t},\n\tmethods: {\n\t\tload() {\n\t\t\tthis.$router.push({\n\t\t\t\tname: 'report-editor',\n\t\t\t\tparams: { setId: this.set.id },\n\t\t\t})\n\t\t},\n\t\tasync retire() {\n\t\t\tif (this.isTeleconsultation) return\n\t\t\tif (!(await showConfirm('Are you sure you want to retire this template set?'))) return\n\t\t\tawait state.setTemplateSetStatus(this.set, TemplateSetStatus.Retired)\n\t\t},\n\t\tdeleteWorkflow() {\n\t\t\tthis.$emit('delete-template-set', this.set)\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!./TemplateSet.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!./TemplateSet.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TemplateSet.vue?vue&type=template&id=393589bc\"\nimport script from \"./TemplateSet.vue?vue&type=script&lang=ts\"\nexport * from \"./TemplateSet.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TemplateSet.vue?vue&type=style&index=0&id=393589bc&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"],"sourceRoot":""}