{"version":3,"sources":["webpack:///./node_modules/core-js/modules/_string-html.js","webpack:///./src/services/caseReportService.js","webpack:///./src/components/Loader.vue?df94","webpack:///src/components/Loader.vue","webpack:///./src/components/Loader.vue?3038","webpack:///./src/components/Loader.vue?f04a","webpack:///./src/components/Loader.vue?5c14","webpack:///./src/services/mediaService.js","webpack:///./src/views/Reports/DateRangeTotalsReport.vue?bda3","webpack:///src/views/Reports/DateRangeTotalsReport.vue","webpack:///./src/views/Reports/DateRangeTotalsReport.vue?ff85","webpack:///./src/views/Reports/DateRangeTotalsReport.vue","webpack:///./src/services/caseService.js","webpack:///./node_modules/core-js/modules/es6.string.small.js"],"names":["$export","__webpack_require__","fails","defined","quot","createHTML","string","tag","attribute","value","S","String","p1","replace","module","exports","NAME","exec","O","P","F","test","toLowerCase","split","length","_services_util_loggingService__WEBPACK_IMPORTED_MODULE_0__","_services_util_dateService__WEBPACK_IMPORTED_MODULE_1__","serviceName","path","isDebug","caseFullReportGen","http","caseId","loggingService","log","post","responseType","caseInitialReportGen","deathTypeReportGen","deathType","caseNarrativeReportGen","generateDateRangeTotalsReport","startDate","endDate","dateService","toDateTimeString","console","generateYearToDateReport","year","generateNonJurisdictionalReport","generateAnnualReportPdf","list","filename","type","generateDateRangePdf","reportType","convertToLocalDateString","__webpack_exports__","render","_vm","this","_h","$createElement","_c","_self","staticClass","class","fullScreen","attrs","fluid","pa-0","size","width","color","indeterminate","staticRenderFns","Loadervue_type_script_lang_js_","name","props","message","default","small","data","components_Loadervue_type_script_lang_js_","component","Object","componentNormalizer","options","__file","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Loader_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Loader_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","mediaParentType","mediaType","mediaSubtype","listByParent","mediaParentTypeId","parentId","concat","requestUrl","get","then","response","_","forEach","key","createdDate","convertToDateTimeString","listByParentAndType","mediaTypeId","mediaSubtypeId","mediaId","getMass","mediaList","getMediaCompressed","getMediaThumbnail","fileToDownload","link","document","createElement","href","createBlobUrl","download","click","blob","Blob","headers","window","URL","webkitURL","createObjectURL","saveFile","fileToUpload","comment","FormData","append","removeByMediaId","delete","generateLetterPdf","generateLetterPdfDto","generateAndSaveLetterPdf","CaseImageCoroner","CaseImageAutopsy","CaseImageOutsideAgency","CaseImageOther","_e","directives","rawName","isLoading","expression","px-4","py-0","pt-1","grid-list-lg","row","wrap","xs12","sm6","_v","xs3","ref","on","submit","$event","preventDefault","searchRange","model","callback","$$v","formValid","md3","label","rules","v","required","searchDateStart","searchDateEnd","md2","disabled","pa-2","md8","offset-md2","hide-headers","items","coronerCasesTotalList","hide-actions","rowsPerPage","scopedSlots","_u","fn","_s","item","count","justify-center","disableDownloads","downloadCsv","exportPdf","cumulativeTotalListValues","coronerCallsTotalList","DateRangeTotalsReportvue_type_script_lang_js_","components","loader","Loader","searchYear","cumulativeTotalList","caseTypeEnum","caseService","CaseTypeEnum","mannerOfDeathEnum","MannerOfDeathEnum","computed","mounted","methods","_this","$refs","dateRange","validate","caseReportService","$http","buildCumulativeTotalList","buildCoronerCasesTotalList","buildCoronerCallsTotalList","buildCountsList","dataList","_this2","countsList","totalCount","suicideCount","filter","x","mannerOfDeathId","suicide","caseTypeId","accidentCount","accident","naturalCount","natural","homicideCount","homicide","pendingCount","pendingInv","pending","undeterminedCount","undetermined","push","countyFundedBurial","backwardsCase","exhumations","knownDonor","isDonorAlliance","isRMLEyeBank","autopsyPerformedYnu","unidentifiedBody","unclaimedBody","acceptedCase","title","csvContent","map","e","join","encodedUri","encodeURI","setAttribute","_this3","arguments","undefined","convertToDateString","mediaService","Reports_DateRangeTotalsReportvue_type_script_lang_js_","aoa","LocationOfDeathTypeEnum","hospitalInpatient","hospitalOutpatient","hospitalDoa","decedentHome","hospice","nursingHome","other","assistedLiving","put","dto","coronerNotifiedDate","dateTimeStringToMoment","coronerNotifiedDateString","coronerNotifiedTimeString","decedentDeathDate","decedentDeathDateString","decedentDeathTimeString","injuryDate","injuryDateString","injuryTimeString","foundDeadDate","foundDeadDateString","foundDeadTimeString","lastSeenAliveDate","lastSeenAliveDateString","lastSeenAliveTimeString","pronouncedDeadDate","pronouncedDeadDateString","pronouncedDeadTimeString","nextOfKinNotifiedDate","nextOfKinNotifiedDateString","nextOfKinNotifiedTimeString","placedInCoolingDate","placedInCoolingDateString","placedInCoolingTimeString","funeralHomePickupDate","funeralHomePickupDateString","funeralHomePickupTimeString","id","parseDateTimeToIndivStrings","decedentDateOfBirth","autopsyPerformedDate","catch","error","search","deathDate","fileAsPendingToVss","caseDoNotSendToVss","doNotSend","linkCaseToVss","deathId","copyRecord","validateSimilarRecordsToVss","searchSimilarRecords","removePendingStatus","getRejectionNotes","getVssDeathMediaList","getVssDeathMedia","vssMediaId","genBurialTransitPermit","permitSelection"],"mappings":"iGAAA,IAAAA,EAAcC,EAAQ,QACtBC,EAAYD,EAAQ,QACpBE,EAAcF,EAAQ,QACtBG,EAAA,KAEAC,EAAA,SAAAC,EAAAC,EAAAC,EAAAC,GACA,IAAAC,EAAAC,OAAAR,EAAAG,IACAM,EAAA,IAAAL,EAEA,MADA,KAAAC,IAAAI,GAAA,IAAAJ,EAAA,KAAAG,OAAAF,GAAAI,QAAAT,EAAA,UAA0F,KAC1FQ,EAAA,IAAA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A,CAAwB,iBAAAI,GACxB,kBACA,OAAAA,EAAAuD,KAAA","file":"js/chunk-30ed.9d294d06.js","sourcesContent":["var $export = require('./_export');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n var S = String(defined(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\nmodule.exports = function (NAME, exec) {\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function () {\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n","import loggingService from '@/services/util/loggingService'\r\nimport dateService from '@/services/util/dateService'\r\n\r\nvar serviceName = 'caseReportService'\r\nvar path = '/CaseReport/'\r\nvar isDebug = false\r\n\r\nfunction caseFullReportGen (http, caseId) {\r\n loggingService.log(isDebug, serviceName, 'caseFullReportGen')\r\n return http.post(path + `CaseFullReportGen?caseId=` + caseId, {caseId: caseId}, { responseType: 'arraybuffer' })\r\n}\r\n\r\nfunction caseInitialReportGen (http, caseId) {\r\n loggingService.log(isDebug, serviceName, 'caseInitialReportGen')\r\n return http.post(path + `CaseInitialReportGen?caseId=` + caseId, {caseId: caseId}, { responseType: 'arraybuffer' })\r\n}\r\n\r\nfunction deathTypeReportGen (http, caseId, deathType) {\r\n loggingService.log(isDebug, serviceName, 'deathTypeReportGen, caseId: ' + caseId + ', deathType: ' + deathType)\r\n return http.post(path + `DeathTypeReportGen?caseId=` + caseId + `&deathType=` + deathType, {caseId: caseId, deathType: deathType}, { responseType: 'arraybuffer' })\r\n}\r\n\r\nfunction caseNarrativeReportGen (http, caseId) {\r\n return http.post(path + `CaseNarrativeReportGen?caseId=` + caseId, { caseId: caseId }, { responseType: 'arraybuffer' })\r\n}\r\n\r\nfunction generateDateRangeTotalsReport (http, startDate, endDate) {\r\n loggingService.log(isDebug, serviceName, 'dateRangeTotalsReport')\r\n startDate = dateService.toDateTimeString(startDate)\r\n endDate = dateService.toDateTimeString(endDate)\r\n console.log(startDate)\r\n return http.post(path + 'CaseDateRangeReportGen?startDate=' + startDate + '&endDate=' + endDate)\r\n}\r\n\r\nfunction generateYearToDateReport (http, year) {\r\n loggingService.log(isDebug, serviceName, 'yearToDateReportGen')\r\n return http.post(path + 'CaseYearToDateReportGen?year=' + year)\r\n}\r\n\r\nfunction generateNonJurisdictionalReport (http, year) {\r\n loggingService.log(isDebug, serviceName, 'generateNonJurisdictionalReportGen')\r\n return http.post(path + 'NonJurisdictionalReportGen?year=' + year)\r\n}\r\n\r\nfunction generateAnnualReportPdf (http, list, filename, year, type) {\r\n loggingService.log(isDebug, serviceName, 'annualReportPdfGen')\r\n return http.post(path + 'AnnualCaseReportGen?fileName=' + filename + '&year=' + year + '&type=' + type, list, {responseType: 'arraybuffer'})\r\n}\r\n\r\nfunction generateDateRangePdf (http, list, filename, startDate, endDate, reportType) {\r\n loggingService.log(isDebug, serviceName, 'dateRangeReportPdfGen')\r\n startDate = dateService.convertToLocalDateString(startDate)\r\n endDate = dateService.convertToLocalDateString(endDate)\r\n return http.post(path + 'DateRangeReportPdfGen?fileName=' + filename + '&startDate=' + startDate + '&endDate=' + endDate + '&reportType=' + reportType, list, {responseType: 'arraybuffer'})\r\n}\r\n\r\nexport default {\r\n caseFullReportGen: caseFullReportGen,\r\n caseInitialReportGen: caseInitialReportGen,\r\n deathTypeReportGen: deathTypeReportGen,\r\n caseNarrativeReportGen: caseNarrativeReportGen,\r\n generateDateRangeTotalsReport: generateDateRangeTotalsReport,\r\n generateYearToDateReport: generateYearToDateReport,\r\n generateNonJurisdictionalReport: generateNonJurisdictionalReport,\r\n generateAnnualReportPdf: generateAnnualReportPdf,\r\n generateDateRangePdf: generateDateRangePdf\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"loader_container\",class:_vm.fullScreen ? 'full-vh' : 'full-percent',attrs:{\"fluid\":\"\",\"pa-0\":\"\"}},[_c('div',{staticClass:\"loader_content\"},[_c('v-progress-circular',{attrs:{\"size\":_vm.size,\"width\":_vm.width,\"color\":\"primary\",\"indeterminate\":\"\"}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\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/vue-loader/lib/index.js??vue-loader-options!./Loader.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/vue-loader/lib/index.js??vue-loader-options!./Loader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Loader.vue?vue&type=template&id=719784c5&\"\nimport script from \"./Loader.vue?vue&type=script&lang=js&\"\nexport * from \"./Loader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Loader.vue?vue&type=style&index=0&lang=css&\"\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\ncomponent.options.__file = \"Loader.vue\"\nexport default component.exports","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loader.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loader.vue?vue&type=style&index=0&lang=css&\"","import dateService from '@/services/util/dateService'\r\nimport loggingService from '@/services/util/loggingService'\r\nimport _ from 'lodash/lodash.min.js'\r\n\r\nvar serviceName = 'mediaService'\r\nvar path = '/Media/'\r\nvar isDebug = false\r\n\r\nconst mediaParentType = {}\r\nmediaParentType.Autopsy = 1\r\nmediaParentType.Toxicology = 2\r\nmediaParentType.MedicalRecords = 3\r\nmediaParentType.PharmacyRecords = 4\r\nmediaParentType.Case = 5\r\n\r\nconst mediaType = {}\r\nmediaType.AutopsySummary = 1\r\nmediaType.AutopsyPreliminaryReport = 2\r\nmediaType.AutopsyFinalReport = 3\r\nmediaType.AutopsyAddendum = 4\r\nmediaType.ToxicologyReport = 5\r\nmediaType.MedicalRecords = 6\r\nmediaType.PharmacyRecords = 7\r\nmediaType.CaseLetter = 8\r\nmediaType.CaseSupportingDocument = 9\r\nmediaType.CaseImage = 10\r\nmediaType.AutopsyImage = 11\r\nmediaType.AutopsyOther = 16\r\nmediaType.AutopsyMedicalRecords = 17\r\nmediaType.CaseProperty = 18\r\nmediaType.CaseEvidence = 19\r\nmediaType.CasePropertyOther = 20\r\nmediaType.OralSwab = 21\r\nmediaType.BloodSwab = 22\r\nmediaType.NasalSwab = 23\r\nmediaType.BloodCard = 24\r\nmediaType.Fingerprints = 25\r\nmediaType.DNA = 26\r\nmediaType.SpecimenOther = 27\r\nmediaType.SpecimenAutopsy = 28\r\nmediaType.DonorDocument = 29\r\nmediaType.AutopsyAttendance = 30\r\n\r\nconst mediaSubtype = {}\r\nmediaSubtype.CaseImageCoroner = 1\r\nmediaSubtype.CaseImageAutopsy = 2\r\nmediaSubtype.CaseImageOutsideAgency = 3\r\nmediaSubtype.CaseImageOther = 4\r\n\r\nfunction listByParent (http, mediaParentTypeId, parentId) {\r\n loggingService.log(isDebug, serviceName, `listByParent - mediaParentTypeId: ${mediaParentTypeId}, parentId: ${parentId}`)\r\n var requestUrl = `${path}ListByParent?mediaParentTypeId=${mediaParentTypeId}&parentId=${parentId}`\r\n return http.get(requestUrl).then(function (response) {\r\n _.forEach(response.data, function (value, key) {\r\n value.createdDate = dateService.convertToDateTimeString(value.createdDate)\r\n })\r\n return response\r\n })\r\n}\r\n\r\nfunction listByParentAndType (http, mediaTypeId, mediaSubtypeId, parentId) {\r\n loggingService.log(isDebug, serviceName, `listByParent - mediaTypeId: ${mediaTypeId}, mediaSubtypeId: ${mediaSubtypeId}, parentId: ${parentId}`)\r\n var requestUrl = `${path}ListByParentAndType?mediaTypeId=${mediaTypeId}&parentId=${parentId}`\r\n\r\n // if (mediaSubtypeId) {\r\n requestUrl = requestUrl + `&mediaSubtypeId=${mediaSubtypeId}`\r\n // }\r\n return http.get(requestUrl).then(function (response) {\r\n _.forEach(response.data, function (value, key) {\r\n value.createdDate = dateService.convertToDateTimeString(value.createdDate)\r\n })\r\n return response\r\n })\r\n}\r\n\r\nfunction get (http, mediaId, mediaTypeId, mediaSubtypeId, parentId) {\r\n loggingService.log(isDebug, serviceName, `get - mediaId: ${mediaId}, mediaTypeId: ${mediaTypeId}, mediaSubtypeId: ${mediaSubtypeId}, parentId: ${parentId}`)\r\n var requestUrl = `${path}Get?mediaId=${mediaId}&mediaTypeId=${mediaTypeId}&parentId=${parentId}`\r\n if (mediaSubtypeId) {\r\n requestUrl = requestUrl + `&mediaSubtypeId=${mediaSubtypeId}`\r\n }\r\n return http.get(requestUrl, { responseType: 'arraybuffer' })\r\n}\r\n\r\nfunction getMass (http, mediaList) {\r\n loggingService.log(isDebug, serviceName, `get - mediaDownloadList: ${mediaList}`)\r\n var requestUrl = `${path}`\r\n return http.post(requestUrl + 'GetMass', mediaList, { responseType: 'arraybuffer' })\r\n}\r\n\r\nfunction getMediaCompressed (http, mediaId, parentId) {\r\n loggingService.log(isDebug, serviceName, `getMediaCompressed - mediaId: ${mediaId}, parentId: ${parentId}`)\r\n var requestUrl = `${path}GetMediaCompressed?mediaId=${mediaId}&parentId=${parentId}`\r\n return http.get(requestUrl, { responseType: 'arraybuffer' })\r\n}\r\n\r\nfunction getMediaThumbnail (http, mediaId, parentId) {\r\n loggingService.log(isDebug, serviceName, `getMediaThumbnail - mediaId: ${mediaId}, parentId: ${parentId}`)\r\n var requestUrl = `${path}GetMediaThumbnail?mediaId=${mediaId}&parentId=${parentId}`\r\n return http.get(requestUrl)\r\n}\r\n\r\n//This is an axios response object that contains a downloaded file\r\nfunction fileToDownload (response, filename) {\r\n var link = document.createElement('a')\r\n link.href = createBlobUrl(response)\r\n link.download = filename\r\n link.click()\r\n}\r\n\r\nfunction createBlobUrl (response) {\r\n var blob = new Blob([response.data], { type: response.headers['content-type'] })\r\n return (window.URL || window.webkitURL).createObjectURL(blob)\r\n}\r\n\r\nfunction saveFile (http, mediaTypeId, mediaSubtypeId, parentId, fileToUpload, comment) {\r\n loggingService.log(isDebug, serviceName, 'saveFile for mediaTypeId: ' + mediaTypeId + ', parentId: ' + parentId)\r\n\r\n var data = new FormData()\r\n data.append('mediaTypeId', mediaTypeId)\r\n if (mediaSubtypeId) {\r\n data.append('mediaSubtypeId', mediaSubtypeId)\r\n }\r\n data.append('parentId', parentId)\r\n data.append('file', fileToUpload)\r\n data.append('comment', comment)\r\n console.log(path)\r\n return http.post(path + 'SaveFile', data).then(function (response) {\r\n loggingService.log(isDebug, serviceName, 'saveFile.then')\r\n return response\r\n })\r\n}\r\n\r\n//Remove media by mediaId. Cannot handle removing shapefiles yet due to dependencies\r\nfunction removeByMediaId (http, mediaId) {\r\n loggingService.log(isDebug, serviceName, 'removeByMediaId for : ' + mediaId)\r\n return http.delete(path + `RemoveByMediaId?mediaId=${mediaId}`)\r\n}\r\n\r\n//letter generation\r\nfunction generateLetterPdf (http, generateLetterPdfDto) {\r\n loggingService.log(isDebug, serviceName, 'generateLetterPdf')\r\n return http.post(path + `GenerateLetterPdf`, generateLetterPdfDto, { responseType: 'arraybuffer' })\r\n}\r\n\r\nfunction generateAndSaveLetterPdf (http, generateLetterPdfDto) {\r\n loggingService.log(isDebug, serviceName, 'generateAndSaveLetterPdf')\r\n return http.post(path + `GenerateAndSaveLetterPdf`, generateLetterPdfDto, { responseType: 'arraybuffer' })\r\n}\r\n\r\n// function getHtmlToPdfFile (http, pdfHtmlFileDto) {\r\n// loggingService.log(isDebug, serviceName, 'getHtmlToPdfFile')\r\n\r\n// //var data = JSON.stringify(html)\r\n\r\n// //return http.post(path + 'GetHtmlToPdfFile', pdfHtmlFileDto, { headers: { 'Content-Type': 'application/json;charset=UTF-8' }, responseType: 'arraybuffer' })\r\n// return http.post(path + 'GetHtmlToPdfFile', pdfHtmlFileDto, { responseType: 'arraybuffer' })\r\n// }\r\n\r\n//letter generate and save file to server\r\n// function generateLetterPdfSave (http, generateLetterPdfDto) {\r\n// loggingService.log(isDebug, serviceName, 'generateLetterPdfSave')\r\n// return http.post(path + 'GenerateLetterPdfSave', generateLetterPdfDto, { responseType: 'arraybuffer' })\r\n// }\r\n\r\nexport default {\r\n mediaParentType: mediaParentType,\r\n mediaType: mediaType,\r\n mediaSubtype: mediaSubtype,\r\n get: get,\r\n listByParent: listByParent,\r\n listByParentAndType: listByParentAndType,\r\n fileToDownload: fileToDownload,\r\n getMass: getMass,\r\n createBlobUrl: createBlobUrl,\r\n saveFile: saveFile,\r\n removeByMediaId: removeByMediaId,\r\n generateLetterPdf: generateLetterPdf,\r\n generateAndSaveLetterPdf: generateAndSaveLetterPdf,\r\n getMediaCompressed: getMediaCompressed,\r\n getMediaThumbnail: getMediaThumbnail\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.isLoading)?_c('loader',{attrs:{\"fullScreen\":true}}):_vm._e(),_c('v-container',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isLoading),expression:\"!isLoading\"}],attrs:{\"fluid\":\"\",\"px-4\":\"\",\"py-0\":\"\",\"pt-1\":\"\",\"grid-list-lg\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}}),_c('v-flex',{attrs:{\"xs12\":\"\",\"sm6\":\"\"}},[_c('h3',[_vm._v(\"Coroner's Summary Report\")])])],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs3\":\"\"}},[_c('h4',[_vm._v(\"Date Range\")])])],1),_c('v-form',{ref:\"dateRange\",on:{\"submit\":function($event){$event.preventDefault();return _vm.searchRange($event)}},model:{value:(_vm.formValid),callback:function ($$v) {_vm.formValid=$$v},expression:\"formValid\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"md3\":\"\"}},[_c('v-text-field',{attrs:{\"type\":\"date\",\"label\":\"Start Date\",\"rules\":[function (v) { return !!v || 'Start date is required'; }],\"required\":\"\"},model:{value:(_vm.searchDateStart),callback:function ($$v) {_vm.searchDateStart=$$v},expression:\"searchDateStart\"}})],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"md3\":\"\"}},[_c('v-text-field',{attrs:{\"type\":\"date\",\"rules\":[function (v) { return !!v || 'End date is required'; }],\"required\":\"\",\"label\":\"End Date\"},model:{value:(_vm.searchDateEnd),callback:function ($$v) {_vm.searchDateEnd=$$v},expression:\"searchDateEnd\"}})],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"md2\":\"\"}},[_c('v-btn',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\",\"disabled\":_vm.searchDateStart === null || _vm.searchDateEnd === null}},[_vm._v(\"Search Range\")])],1)],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\",\"pa-2\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"md8\":\"\",\"offset-md2\":\"\"}},[_c('h4',[_vm._v(\"Coroner Cases\")]),_c('v-data-table',{attrs:{\"hide-headers\":\"\",\"items\":_vm.coronerCasesTotalList,\"hide-actions\":\"\",\"rowsPerPage\":\"-1\"},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('td',[_vm._v(_vm._s(props.item.name))]),_c('td',[_vm._v(_vm._s(props.item.count))])]}}])})],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\",\"justify-center\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"sm6\":\"\",\"md2\":\"\"}},[_c('v-btn',{staticClass:\"btn btn-primary\",attrs:{\"disabled\":_vm.disableDownloads},on:{\"click\":function($event){_vm.downloadCsv(_vm.coronerCasesTotalList, 'date_range_accepted_cases' + _vm.searchDateStart + '-' + _vm.searchDateEnd)}}},[_vm._v(\"Download CSV\")])],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"sm6\":\"\",\"md2\":\"\"}},[_c('v-btn',{staticClass:\"btn btn-primary\",attrs:{\"disabled\":_vm.disableDownloads},on:{\"click\":function($event){_vm.exportPdf(_vm.cumulativeTotalListValues, 'date_range_report_cumulative_', 'Accepted Cases')}}},[_vm._v(\"Download PDF\")])],1)],1)],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\",\"pa-2\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"md8\":\"\",\"offset-md2\":\"\"}},[_c('h4',[_vm._v(\"Non Jurisdictional\")]),_c('v-data-table',{attrs:{\"hide-headers\":\"\",\"items\":_vm.coronerCallsTotalList,\"hide-actions\":\"\",\"rowsPerPage\":\"-1\"},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('td',[_vm._v(_vm._s(props.item.name))]),_c('td',[_vm._v(_vm._s(props.item.count))])]}}])})],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\",\"justify-center\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"sm6\":\"\",\"md2\":\"\"}},[_c('v-btn',{staticClass:\"btn btn-primary\",attrs:{\"disabled\":_vm.disableDownloads},on:{\"click\":function($event){_vm.downloadCsv(_vm.coronerCallsTotalList, 'date_range_calls' + _vm.searchDateStart + '-' + _vm.searchDateEnd)}}},[_vm._v(\"Download CSV\")])],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"sm6\":\"\",\"md2\":\"\"}},[_c('v-btn',{staticClass:\"btn btn-primary\",attrs:{\"disabled\":_vm.disableDownloads},on:{\"click\":function($event){_vm.exportPdf(_vm.cumulativeTotalListValues, 'date_range_report_cumulative_', 'Coroner Calls')}}},[_vm._v(\"Download PDF\")])],1)],1)],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\",\"pa-2\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"md8\":\"\",\"offset-md2\":\"\"}},[_c('h4',[_vm._v(\"Total\")]),_c('v-data-table',{attrs:{\"hide-headers\":\"\",\"items\":_vm.cumulativeTotalListValues,\"hide-actions\":\"\",\"rowsPerPage\":\"-1\"},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('td',[_vm._v(_vm._s(props.item.name))]),_c('td',[_vm._v(_vm._s(props.item.count))])]}}])})],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\",\"justify-center\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"sm6\":\"\",\"md2\":\"\"}},[_c('v-btn',{staticClass:\"btn btn-primary\",attrs:{\"disabled\":_vm.disableDownloads},on:{\"click\":function($event){_vm.downloadCsv(_vm.cumulativeTotalListValues, 'date_range_cumulative' + _vm.searchDateStart + '-' + _vm.searchDateEnd)}}},[_vm._v(\"Download CSV\")])],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"sm6\":\"\",\"md2\":\"\"}},[_c('v-btn',{staticClass:\"btn btn-primary\",attrs:{\"disabled\":_vm.disableDownloads},on:{\"click\":function($event){_vm.exportPdf(_vm.cumulativeTotalListValues, 'date_range_report_cumulative_')}}},[_vm._v(\"Download PDF\")])],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\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/vue-loader/lib/index.js??vue-loader-options!./DateRangeTotalsReport.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/vue-loader/lib/index.js??vue-loader-options!./DateRangeTotalsReport.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DateRangeTotalsReport.vue?vue&type=template&id=79cee867&\"\nimport script from \"./DateRangeTotalsReport.vue?vue&type=script&lang=js&\"\nexport * from \"./DateRangeTotalsReport.vue?vue&type=script&lang=js&\"\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\ncomponent.options.__file = \"DateRangeTotalsReport.vue\"\nexport default component.exports","import loggingService from '@/services/util/loggingService'\r\nimport dateService from '../services/util/dateService'\r\n\r\nvar serviceName = 'caseService'\r\nvar path = '/Case/'\r\nvar isDebug = false\r\n\r\nconst CaseTypeEnum = {\r\n homicide: 1,\r\n suicide: 2,\r\n accident: 3,\r\n natural: 4,\r\n undetermined: 5,\r\n aoa: 6,\r\n pending: 7\r\n}\r\n\r\nconst MannerOfDeathEnum = {\r\n accident: 2,\r\n suicide: 3,\r\n homicide: 4,\r\n pendingInv: 5,\r\n undetermined: 6,\r\n natural: 8\r\n}\r\n\r\nconst LocationOfDeathTypeEnum = {\r\n hospitalInpatient: 1,\r\n hospitalOutpatient: 2,\r\n hospitalDoa: 3,\r\n decedentHome: 4,\r\n hospice: 5,\r\n nursingHome: 6,\r\n other: 7,\r\n assistedLiving: 8\r\n}\r\n\r\nfunction put (http, dto) {\r\n loggingService.log(isDebug, serviceName, 'put')\r\n //serialize datetime\r\n dto.coronerNotifiedDate = dateService.dateTimeStringToMoment(dto.coronerNotifiedDateString, dto.coronerNotifiedTimeString)\r\n dto.decedentDeathDate = dateService.dateTimeStringToMoment(dto.decedentDeathDateString, dto.decedentDeathTimeString)\r\n dto.injuryDate = dateService.dateTimeStringToMoment(dto.injuryDateString, dto.injuryTimeString)\r\n dto.foundDeadDate = dateService.dateTimeStringToMoment(dto.foundDeadDateString, dto.foundDeadTimeString)\r\n dto.lastSeenAliveDate = dateService.dateTimeStringToMoment(dto.lastSeenAliveDateString, dto.lastSeenAliveTimeString)\r\n dto.pronouncedDeadDate = dateService.dateTimeStringToMoment(dto.pronouncedDeadDateString, dto.pronouncedDeadTimeString)\r\n dto.nextOfKinNotifiedDate = dateService.dateTimeStringToMoment(dto.nextOfKinNotifiedDateString, dto.nextOfKinNotifiedTimeString)\r\n dto.placedInCoolingDate = dateService.dateTimeStringToMoment(dto.placedInCoolingDateString, dto.placedInCoolingTimeString)\r\n dto.funeralHomePickupDate = dateService.dateTimeStringToMoment(dto.funeralHomePickupDateString, dto.funeralHomePickupTimeString)\r\n return http.put(path + 'Put', dto)\r\n}\r\n\r\nfunction get (http, id) {\r\n loggingService.log(isDebug, serviceName, 'get')\r\n return http.get(path + 'Get?caseId=' + id).then(response => {\r\n //console.log(response.data)\r\n if (response.data) {\r\n //parse datetime into dateString and timeString\r\n dateService.parseDateTimeToIndivStrings(response.data)\r\n response.data.decedentDateOfBirth = dateService.convertToDateString(response.data.decedentDateOfBirth)\r\n response.data.autopsyPerformedDate = dateService.convertToDateString(response.data.autopsyPerformedDate)\r\n }\r\n return response\r\n }).catch(error => {\r\n throw error\r\n })\r\n}\r\n\r\nfunction search (http, dto) {\r\n loggingService.log(isDebug, serviceName, 'search')\r\n return http.post(path + 'Search', dto).then(response => {\r\n if (response.data) {\r\n response.data.forEach(x => {\r\n x.createdDate = dateService.convertToDateString(x.createdDate)\r\n x.deathDate = dateService.convertToDateString(x.deathDate)\r\n })\r\n }\r\n return response\r\n })\r\n}\r\n\r\n// function sendVssDeathData (http, caseId) {\r\n// return http.put(path + 'SendVssDeathData?caseId=' + caseId)\r\n// }\r\n\r\nfunction fileAsPendingToVss (http, caseId) {\r\n return http.put(path + 'FileAsPendingToVss?caseId=' + caseId)\r\n}\r\n\r\nfunction caseDoNotSendToVss (http, caseId, doNotSend) {\r\n return http.put(path + `CaseDoNotSend?caseId=${caseId}&doNotSend=${doNotSend}`)\r\n}\r\n\r\nfunction linkCaseToVss (http, caseId, deathId, copyRecord) {\r\n return http.put(path + `LinkCaseToVss?caseId=${caseId}&deathId=${deathId}©Record=${copyRecord}`)\r\n}\r\n\r\nfunction validateSimilarRecordsToVss (http, caseId) {\r\n return http.post(path + 'ValidateSimilarRecordsToVss?caseId=' + caseId)\r\n}\r\n\r\nfunction searchSimilarRecords (http, caseId) {\r\n return http.post(path + 'SearchSimilarRecords?caseId=' + caseId).then(response => {\r\n if (response.data) {\r\n response.data.forEach(x => {\r\n x.createdDate = dateService.convertToDateString(x.createdDate)\r\n })\r\n }\r\n return response\r\n })\r\n}\r\n\r\nfunction removePendingStatus (http, caseId) {\r\n return http.put(path + 'RemovePendingStatus?caseId=' + caseId).then(response => {\r\n if (response.data) {\r\n return response\r\n }\r\n })\r\n}\r\n\r\nfunction getRejectionNotes (http, caseId) {\r\n return http.get(path + 'GetRejectionNotes?caseId=' + caseId).then(response => {\r\n if (response.data) {\r\n return response\r\n }\r\n })\r\n}\r\n\r\nfunction getVssDeathMediaList (http, caseId) {\r\n return http.get(path + 'GetVssDeathMediaList?caseId=' + caseId).then(response => {\r\n if (response.data) {\r\n return response\r\n }\r\n })\r\n}\r\n\r\nfunction getVssDeathMedia (http, caseId, vssMediaId) {\r\n return http.get(path + `GetVssDeathMedia?caseId=${caseId}&vssMediaId=${vssMediaId}`, { responseType: 'arraybuffer' })\r\n}\r\n\r\nfunction genBurialTransitPermit (http, caseId, permitSelection) {\r\n console.log(permitSelection)\r\n return http.get(path + `GenBurialTransitPermit?caseId=${caseId}&permitSelection=${permitSelection}`, { responseType: 'arraybuffer' })\r\n}\r\n\r\nexport default {\r\n put: put,\r\n get: get,\r\n search: search,\r\n //sendVssDeathData: sendVssDeathData\r\n fileAsPendingToVss: fileAsPendingToVss,\r\n caseDoNotSendToVss: caseDoNotSendToVss,\r\n validateSimilarRecordsToVss: validateSimilarRecordsToVss,\r\n searchSimilarRecords: searchSimilarRecords,\r\n linkCaseToVss: linkCaseToVss,\r\n removePendingStatus: removePendingStatus,\r\n getRejectionNotes: getRejectionNotes,\r\n getVssDeathMediaList: getVssDeathMediaList,\r\n getVssDeathMedia: getVssDeathMedia,\r\n genBurialTransitPermit: genBurialTransitPermit,\r\n CaseTypeEnum: CaseTypeEnum,\r\n MannerOfDeathEnum: MannerOfDeathEnum,\r\n LocationOfDeathTypeEnum: LocationOfDeathTypeEnum\r\n}\r\n","'use strict';\n// B.2.3.11 String.prototype.small()\nrequire('./_string-html')('small', function (createHTML) {\n return function small() {\n return createHTML(this, 'small', '', '');\n };\n});\n"],"sourceRoot":""}