\r\n \r\n \r\n \r\n \r\n \r\n \r\n Coroner's Summary Report
\r\n \r\n \r\n \r\n \r\n Date Range
\r\n \r\n \r\n \r\n \r\n \r\n !!v || 'Start date is required']\" required/>\r\n \r\n \r\n !!v || 'End date is required']\" required label=\"End Date\"/>\r\n \r\n \r\n Search Range\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Coroner Cases
\r\n \r\n \r\n {{props.item.name}} | \r\n {{props.item.count}} | \r\n \r\n \r\n \r\n \r\n \r\n \r\n Download CSV\r\n \r\n \r\n Download PDF\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Non Jurisdictional
\r\n \r\n \r\n {{props.item.name}} | \r\n {{props.item.count}} | \r\n \r\n \r\n \r\n \r\n \r\n \r\n Download CSV\r\n \r\n \r\n Download PDF\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Total
\r\n \r\n \r\n {{props.item.name}} | \r\n {{props.item.count}} | \r\n \r\n \r\n \r\n \r\n \r\n \r\n Download CSV\r\n \r\n \r\n Download PDF\r\n \r\n \r\n \r\n \r\n \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!./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":""}