{"version":3,"sources":["webpack:///./src/dialogs/Residents.vue?cc97","webpack:///./src/schedule/dialogs/ScheduleItemReport.vue?5463","webpack:///./src/services/scheduleData.ts","webpack:///./src/schedule/dialogs/ScheduleItemDlg.vue?0b35","webpack:///./src/schedule/dialogs/ScheduleItemDlg.vue?d355","webpack:///./src/schedule/dialogs/ScheduleItemReport.vue?018f","webpack:///./src/schedule/dialogs/ScheduleItemReport.vue","webpack:///./src/schedule/dialogs/ScheduleItemReport.vue?0e2e","webpack:///./src/schedule/dialogs/ScheduleItemReport.vue?906d","webpack:///./src/schedule/dialogs/ScheduleItemDlg.vue","webpack:///./src/schedule/dialogs/ScheduleItemDlg.vue?a3c3","webpack:///./src/schedule/dialogs/ScheduleItemDlg.vue?d292","webpack:///./src/router/views/TeleconsultationDetail.vue?f00a","webpack:///./src/router/views/TeleconsultationDetail.vue?d709","webpack:///./src/reporting/components/SaveReport.vue?56cf","webpack:///./src/components/TimePicker.vue?2cf9","webpack:///./src/services/hilitor.ts","webpack:///./src/reporting/components/SaveReport.vue?0cc1","webpack:///src/reporting/components/SaveReport.vue","webpack:///./src/reporting/components/SaveReport.vue?4788","webpack:///./src/reporting/components/SaveReport.vue","webpack:///./src/schedule/dialogs/ScheduleItemDlg.vue?42d9","webpack:///./src/dialogs/Residents.vue?542c","webpack:///./src/components/DateTimePicker.vue?c3bc","webpack:///./src/components/TimePicker.vue?9b55","webpack:///src/components/TimePicker.vue","webpack:///./src/components/TimePicker.vue?bef5","webpack:///./src/components/TimePicker.vue","webpack:///src/components/DateTimePicker.vue","webpack:///./src/components/DateTimePicker.vue?e7c2","webpack:///./src/components/DateTimePicker.vue","webpack:///./src/schedule/mixins/ItemStatus.ts","webpack:///./src/components/Tabs.vue?0e19","webpack:///src/components/Tabs.vue","webpack:///./src/components/Tabs.vue?8bfc","webpack:///./src/components/Tabs.vue","webpack:///./src/schedule/dialogs/ScheduleItemReport.vue?cf6d","webpack:///./src/router/views/TeleconsultationDetail.vue?5f51","webpack:///./src/dialogs/Residents.vue?71b6","webpack:///src/dialogs/Residents.vue","webpack:///./src/dialogs/Residents.vue?2144","webpack:///./src/dialogs/Residents.vue","webpack:///./src/router/views/TeleconsultationDetail.vue","webpack:///./src/router/views/TeleconsultationDetail.vue?f904","webpack:///./src/router/views/TeleconsultationDetail.vue?86d8"],"names":["module","exports","ScheduleStatus","scheduleStatusIdDesc","status","Started","ImagesAvailable","ImagesPendingReview","ImagingComplete","ReportInProgress","ReportPendingApproval","ReportPendingRounds","ReportComplete","CancelQueued","ScheduleData","_classCallCheck","config","_createClass","key","value","item","copy","Object","assign","requestedDateTime","serializeDate","scheduleDateTime","scheduleDateTime2","scheduleDateTime3","API","post","paramsSerializer","billed","put","params","id","then","r","scheduleStatusId","form","itemId","scheduleModalityId","modalityId","beginDate","endDate","queued","get","data","items","_context","sent","next","abrupt","some","i","length","stop","_callee","modality","modalities","this","_context2","_callee2","configuration","_this","consultantId","scheduleItemId","concat","hasMppsAssociation","mppsAssociationDeleted","scheduleData","window","getConfiguration","render","_vm","_h","$createElement","_c","_self","attrs","on","close","staticClass","_v","staticStyle","readonly","model","callback","$$v","$set","expression","directives","name","rawName","$event","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","multiple","domProps","_l","m","_s","isAdmin","onScheduleChange","getFilteredScheduleModalities","_e","modalityId2","scheduleModalityId2","modalityId3","scheduleModalityId3","prefillPatient","patientNameLabel","composing","patientIdLabel","class","required","isOwnerNameRequired","responsiblePersonLabel","accessionNumberLabel","isPatientGenderRequired","gender","isPatientWeightRequired","isPatientBirthdateRequired","isPatientSpeciesRequired","speciesList","isPatientBreedRequired","breedList","isPatientMedicalAlertsRequired","isPatientLocationRequired","isReferringPhysicianRequired","isReferringPhysicianPhoneRequired","isRequestingPhysicianRequired","isCommentsRequired","isSpecialNeedsRequired","isAdmittingDiagnosisRequired","isProcedureIdRequired","isProcedureDescriptionRequired","isProcedureStepDescriptionRequired","isProcedurePriorityRequired","isProcedurePreMedicationRequired","c","keys","radiologists","residents","u","fullName","emailRecipients","isLoading","isSaving","getItemClasses","getStatusIcon","currentStatus","canEditBilled","breakMPPS","deleteItem","startImaging","stopImaging","completeImaging","startReport","canStatus","hasScheduleConflict","save","staticRenderFns","template","root","ScheduleItemReport","components","DlgHeader","ModalWrapper","ResponseSelector","props","report","computed","response","created","startResponseReport","ReportDetail","loadFromScheduleItemReport","methods","saveResponseReport","getSaveResponseForm","dlg","openScheduleItemReport","open","component","ScheduleItemDlg","mixins","ItemStatusMixin","AstCheckbox","BirthdateAge","EmailSelect","DateTimePicker","type","scheduleModalities","scheduleDateTimeConflict","scheduleDateTimeConflict2","scheduleDateTimeConflict3","examTypes","consultants","users","genderList","isPetRays","petRaysExamTypeList","PriorityOptions","userData","permissions","schedulingStatus","isMppsBreakAllowed","canStartImaging","Scheduled","studyId","canStopImaging","isImaging","includes","canStartReport","isImagingComplete","$store","getters","isConsultantUser","canCompleteImaging","find","split","e","trim","set","recipients","join","watch","handler","species","getBreedList","immediate","getOptions","schedulingAdmin","state","static","prev","promises","api","patient","getSpecies","_this2","getAllUsers","getModalities","Promise","all","finish","msg","showConfirm","openStudiesDlg","study","_context3","patientId","patientName","responsiblePerson","ownerName","patientSpeciesDescription","speciesName","patientBreedDescription","breedName","patientSex","patientGender","_callee3","modalityNumber","arguments","undefined","_context4","Date","getTime","defaultExamLength","checkForScheduleConflict","hasConflict","_callee4","p","updateItemStatus","isBilled","setLoading","getTelemedicineOptions","_context5","_callee5","isSameModality","modalityIdA","modalityIdB","cr","dx","_this3","s","_this4","_context6","getBreeds","list","_toConsumableArray","Set","breed","_callee6","_context7","Queued","updateItem","createItem","addNotification","_callee7","openPromptDlg","buttonLabel","prompt","requireInput","cancelMessage","_context8","deleted","cancelUserId","claims","userId","cancelDateTime","_callee8","confirm","openScheduleItemDlg","itemToEdit","values","JSON","parse","stringify","caseId","consultantReportId","accessionNumber","requestingPhysician","referringPhysiciansName","admittingDiagnosisDescription","patientBirthDate","patientWeight","patientSexNeutered","patientComments","specialNeeds","requestedProcedureStepDescription","requestedProcedureId","requestedProcedureDescription","requestedProcedurePriority","createdDateTime","reportHistory","teleradiologyUserId","visitId","currentPatientLocation","referringPhysicianTelephoneNumbers","preMedication","medicalAlerts","petRaysExamType","petRaysSonographerFindings","reportPriority","requestedRadiologistConsultantId","requestedResidentConsultantId","scheduleAssociationKey","found","store","birthdate","Hilitor","targetNode","tag","hiliteTag","skipTags","RegExp","colors","wordColor","colorIdx","matchRegExp","endRegExp","breakRegExp","setRegex","input","replace","re","hiliteWords","node","test","nodeName","hasChildNodes","childNodes","nodeType","textNode","regs","nodeValue","exec","toLowerCase","match","document","createElement","appendChild","createTextNode","style","backgroundColor","color","after","splitText","index","substring","parentNode","insertBefore","remove","arr","getElementsByTagName","el","parent","replaceChild","firstChild","normalize","apply","highlightKeywords","keywords","rootSelector","Vue","nextTick","querySelector","hl","saving","Boolean","disabled","dateOnly","allowFutureDates","updateDate","marginTop","timeOnly","updateTime","isMobileOS","ref","validateTimeInput","time","placeholder","validateTextInput","String","default","isTimeInputSupported","is12HourLocale","_objectSpread","mapGetters","dte","hours","getHours","minutes","getMinutes","toTwoDigits","num","Math","abs","parseInt","slice","$emit","_time$replace$split$m","Number","_time$replace$split$m2","_slicedToArray","setHours","mounted","setAttribute","toLocaleTimeString","getLocale","$refs","timeInput","checkValidity","textInput","Datepicker","Timepicker","updateValue","dragItemId","tabs_","onWheel","accent","lowContrast","tab","selectedTab","closable","selectTab","onDragStart","preventDefault","onDragEnter","onDragLeave","onDrop","_t","label","nativeOn","stopPropagation","closeTab","tabs","canReorder","offset","normalizeTabs","value_","draggedOverEl","mq","small","paddingLeft","t","$nextTick","focusTab","result","onClose","onSelect","moveTab","fromIndex","toIndex","splice","findIndex","tabId","$el","scrollIntoView","findAncestor","cls","classList","contains","parentElement","findTabItem","event","dataTransfer","dropEffect","effectAllowed","setData","add","setTimeout","getData","wrapper","deltaY","scrollLeft","reportTabs","scopedSlots","_u","fn","isOriginal","_f","requestDate","openViewer","isChangingClaim","claim","releaseClaim","hasPermissionToFinalize","residentResponses","residentsButtonBadge","openResidents","selectedResidentResponse","radiologistFeedback","isCompletable","isPageLoading","tryCompleteReport","openReportPdf","newExam","isActionsOpen","isComplete","isOwner","pendingChanges","statusClass","statusIcon","statusHeading","priorityInfo","priorityName","viewPriorityEscalationDetail","priorityChangeDateTime","priorityChangeUser","draftedBy","draftDateTime","inline","medium","useInlineResidentReview","isResidentReviewExpanded","consultantName","radiologistName","updateTextValue","isSavingResidentResponseReview","hasResidentResponseReview","reviewResidentResponse","residentResponseReviewHasChanged","closeResidentResponse","maxHeight","wysiwygMaxHeight","message","toggleResidentResponse","collapsed","downloadReport","isCommunityUser","sendEmail","openEmailReportDlg","deleteReport","confirmPriorityChange","canRecall","confirmRecall","consultant","clinicCode","formatClinicCode","deleteWarning","columns","sortedResidentResponses","listSort","handleSortSelected","selectResident","row","editDateTime","comment","date","isReportComplete","copyToOfficalReport","Residents","AstModalWrapper","DataTable","order","by","isAscending","sortName","columnName","isSortable","orderBy","isSorted","responseDate","reviewDate","sort","a","b","sa","sb","toString","localeCompare","residentResponse","responseToApply","evt","responseToView","_eventBus$type","eventBus","REPORT_COMPLETED","REFRESH_REPORT","IMAGE_CHANGE","REPORT_IMAGE_COMMENT","RESIZE","nextReport","ModalDrawer","AstToolbar","ToolbarButton","SaveReport","Tabs","CKEditor","filters","url","completeRetryTimeout","pollingInterval","residentResponseReview","residentResponseReviewTextValue","mapState","auth","groupMembers","_a","isConsultantResident","radiologist","isRespondingAsResident","isResidentResponseSubmitted","rr","isClaimable","isLocked","groupConsultantId","isConsultantTranscriptionist","isUnclaimable","isGroupMemberAndOwner","isConsultantMember","userAdministration","isValid","isReadOnly","canOnlyDraft","isConsultantIntern","lockedByUserId","canDelete","deleteStudy","serverAdministration","actionsPanel","panels","panel","completedDate","$options","localizeDate","completedDateTime","completedBy","lockedDate","lockedDateTime","lockedBy","activeTemplate","completedResidentResponseCount","canCreateScheduleItem","loadReport","beforeRouteEnter","to","from","getReportDetail","t0","beforeRouteUpdate","isLoadingAnotherReport","saveReport","beforeRouteLeave","forceNavigation","refreshReport","onCommentUpdated","resizeResidentReview","ONE_MINUTE","setInterval","dbounce","Dbounce","bind","beforeDestroy","off","clearInterval","clearTimeout","clear","mapActions","redirectToList","$router","currentRoute","push","listScroll","clientWidth","clientHeight","reportId","refresh","scrollTo","onChangeCB","readOnly","refreshReportTabs","relatedReports","lockService","lock","unlock","_context9","applyResidentResponse","setCanRespond","mergeResidentResponse","_callee9","htmlValue","textValue","complete","_context10","reportService","dispatch","notificationType","_callee10","_context11","isReviewPending","_callee11","_context12","title","reason","consultations","_callee12","_context13","saveConsultantResponse","REPORT_SAVE","_callee13","completeReport","_context14","fetchInfo","broadcast","console","warn","_callee14","_context15","viewer","getStudy","ids","studyIds","studies","images","forEach","imageData","series","EmailItem","isFakeSeries","x","imageId","openEmailStudyDlg","catch","_callee15","GoogleAnalytics","sendGAEvent","event_category","event_label","err","log","openStudy","activeClinicCode","imageType","$api","file","downloadType","_this$report","appliedResidentResponseId","forceConsultantHeader","showInfo","priorityChangeComment","_context16","escalatePriority","_callee16","provider","warning","_context17","recallPetRaysReport","recall","recalled","showAlert","errors","consultation","recallReport","Success","ErrorMessage","_callee17","toUpperCase","$VetsChoice_ClinicCode","_context18","getConsultantReport","detail","areImagesAvailable","_callee18"],"mappings":"mJACAA,EAAOC,QAAU,CAAC,MAAQ,QAAQ,OAAS,QAAQ,MAAQ,SAAS,OAAS,W,oCCD7E,W,4GCEYC,E,4FA2DN,SAAUC,EAAqBC,GACpC,OAAQA,GACP,KAAKF,EAAeG,QACnB,MAAO,kBACR,KAAKH,EAAeI,gBACnB,MAAO,4BACR,KAAKJ,EAAeK,oBACnB,MAAO,yBACR,KAAKL,EAAeM,gBACnB,MAAO,mBACR,KAAKN,EAAeO,iBACnB,MAAO,iBACR,KAAKP,EAAeQ,sBACnB,MAAO,0BACR,KAAKR,EAAeS,oBACnB,MA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B,OAAc2D,aAAaD,GAAa,QAAvDJ,EAAMF,EAAA9uB,KACVU,KAAK0e,eAAgB,EAChB4P,EAAOM,SAGVhc,OAAM2X,SAAS,kBAAmB,CAChCjK,QAAS,wBAAF/f,OAA0B2tB,EAAQ,kBACzC1D,iBAAkB,YAEpBxqB,KAAK8nB,iBANL0G,eAAU,oCAADjuB,OAAqC2tB,EAAQ,qBAAA3tB,OAAoB+tB,EAAOO,eAOlF,yBAAAT,EAAAxuB,UAAAkvB,EAAA,WAIP3N,iBAAgB,SAACD,GACf,MAAmB,YAAfA,EAAmC,UACf,WAAfA,EAAkC,SAClCA,GAAcA,EAAW6N,cAAc5kB,SAASnK,KAAKgvB,wBAAkC,mBAA3F,MAIX,SAAezH,EAAgBhpB,G,qKACxBA,EAAI,CAAF0wB,EAAA1vB,KAAA,eAAA0vB,EAAAzvB,OAAA,iBAEU,OAFVyvB,EAAAvjB,KAAA,EAAAujB,EAAA1vB,KAAA,EAEgByrB,OAAckE,oBAAoB3wB,GAAG,OAA9C,GAAN4wB,EAAMF,EAAA3vB,KACP6vB,EAAOC,mBAAoB,CAAFH,EAAA1vB,KAAA,QAI1B,OAHFqT,OAAM2X,SAAS,kBAAmB,CAChCC,iBAAkB,OAClBlK,QAAS,sFACT2O,EAAAzvB,OAAA,wBAAAyvB,EAAAzvB,OAAA,SAGG2vB,GAAM,QAAAF,EAAAvjB,KAAA,GAAAujB,EAAAzH,GAAAyH,EAAA,YAEbT,eAAUS,EAAAzH,GAAIlH,SAAQ,yBAAA2O,EAAArvB,UAAAyvB,EAAA,mBC5xBwY,QCQ9Z,I,UAAY,eACd,EACAxuB,EACAmG,GACA,EACA,KACA,KACA,OAIa,gB","file":"js/ReportDeepSearch~teleconsultationDetail~teleconsultationList.f67f09bcae741ef869ee.bundle.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"small\":\"640px\",\"medium\":\"800px\",\"large\":\"1024px\",\"xLarge\":\"1280px\"};","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!./ScheduleItemReport.vue?vue&type=style&index=0&id=484134fc&prod&lang=scss\"","import { API, paramsSerializer, serializeDate } from '@services/api'\n\nexport enum ScheduleStatus {\n\t/// \n\t/// The status is unknown\n\t/// \n\tUnknown = 0,\n\t/// \n\t/// Item is in the queue and waiting to be scheduled\n\t/// \n\tQueued = 1,\n\t/// \n\t/// Item is scheduled but imaging has not started\n\t/// \n\tScheduled = 2,\n\t/// \n\t/// Imaging has started\n\t/// \n\tStarted = 3,\n\t/// \n\t/// Images have been received for the study\n\t/// \n\tImagesAvailable = 4,\n\t/// \n\t/// Images have been received are awaiting review/approval\n\t/// \n\tImagesPendingReview = 5,\n\t/// \n\t/// All images have been received\n\t/// \n\tImagingComplete = 6,\n\t/// \n\t/// A teleradiology report has been started\n\t/// \n\tReportInProgress = 7,\n\t/// \n\t/// The teleradiology report has a draft that is waiting for approval\n\t/// \n\tReportPendingApproval = 8,\n\t/// \n\t/// The teleradiology report is finished but waiting for \"rounds\" review\n\t/// \n\tReportPendingRounds = 9,\n\t/// \n\t/// The teleradiology report is complete\n\t/// \n\tReportComplete = 10,\n\t/// \n\t/// The item has been queued at the annex and needs to be forwarded to the account that will perform imaging.\n\t/// \n\tAnnexQueued = 11,\n\t/// \n\t/// The item has been queued for cancellation. Annex will finish the cancellation and send email notifications.\n\t/// \n\tCancelQueued = 12,\n\t/// \n\t/// The item has been fully cancelled and cannot be accessed anymore.\n\t/// \n\tCancelled = 13,\n}\n\nexport function scheduleStatusIdDesc(status: ScheduleStatus): string {\n\tswitch (status) {\n\t\tcase ScheduleStatus.Started:\n\t\t\treturn 'Imaging started'\n\t\tcase ScheduleStatus.ImagesAvailable:\n\t\t\treturn 'Images have been received'\n\t\tcase ScheduleStatus.ImagesPendingReview:\n\t\t\treturn 'Imaging pending review'\n\t\tcase ScheduleStatus.ImagingComplete:\n\t\t\treturn 'Imaging complete'\n\t\tcase ScheduleStatus.ReportInProgress:\n\t\t\treturn 'Report started'\n\t\tcase ScheduleStatus.ReportPendingApproval:\n\t\t\treturn 'Report pending approval'\n\t\tcase ScheduleStatus.ReportPendingRounds:\n\t\t\treturn 'Report pending rounds approval'\n\t\tcase ScheduleStatus.ReportComplete:\n\t\t\treturn 'Report complete'\n\t\tcase ScheduleStatus.CancelQueued:\n\t\t\treturn 'Deleting ...'\n\t\tdefault:\n\t\t\treturn ScheduleStatus[status]\n\t}\n}\n\nclass ScheduleData {\n\tconfig: IScheduleConfiguration = null\n\n\tcreateItem(item: IScheduleItem) {\n\t\tlet copy = { ...item }\n\t\tcopy.requestedDateTime = serializeDate(item.requestedDateTime, false)\n\t\tcopy.scheduleDateTime = serializeDate(item.scheduleDateTime, false)\n\t\tcopy.scheduleDateTime2 = serializeDate(item.scheduleDateTime2, false)\n\t\tcopy.scheduleDateTime3 = serializeDate(item.scheduleDateTime3, false)\n\t\treturn API.post('/schedule/create-item', copy, { paramsSerializer })\n\t}\n\n\tupdateItemStatus(item: IScheduleItem, status: ScheduleStatus, billed: boolean) {\n\t\treturn API.put('/schedule/update-item-status', null, {\n\t\t\tparams: {\n\t\t\t\tid: item.id,\n\t\t\t\tbilled,\n\t\t\t\tstatus,\n\t\t\t},\n\t\t}).then(r => {\n\t\t\titem.scheduleStatusId = status\n\t\t})\n\t}\n\n\tupdateItem(item: IScheduleItem) {\n\t\tlet copy = { ...item }\n\t\tcopy.requestedDateTime = serializeDate(item.requestedDateTime, false)\n\t\tcopy.scheduleDateTime = serializeDate(item.scheduleDateTime, false)\n\t\tcopy.scheduleDateTime2 = serializeDate(item.scheduleDateTime2, false)\n\t\tcopy.scheduleDateTime3 = serializeDate(item.scheduleDateTime3, false)\n\t\treturn API.put('/schedule/update-item', copy)\n\t}\n\n\tscheduleItem(item: IScheduleItem) {\n\t\tlet form = {\n\t\t\titemId: item.id,\n\t\t\tscheduleDateTime: serializeDate(item.scheduleDateTime, false),\n\t\t\tscheduleModalityId: item.scheduleModalityId,\n\t\t}\n\n\t\treturn API.put('/schedule/schedule-item', form)\n\t}\n\n\tgetItems(modalityId: string, beginDate: Date, endDate: Date, queued: boolean): Promise {\n\t\treturn API.get('/schedule/items', {\n\t\t\tparams: {\n\t\t\t\tmodalityId,\n\t\t\t\tbeginDate: serializeDate(beginDate, false),\n\t\t\t\tendDate: serializeDate(endDate, false),\n\t\t\t\tqueued,\n\t\t\t},\n\t\t}).then(r => r.data)\n\t}\n\n\tasync checkForScheduleConflict(\n\t\tmodalityId: string,\n\t\tbeginDate: Date,\n\t\tendDate: Date,\n\t\titemId?: string\n\t): Promise {\n\t\tconst items: IScheduleItem[] = await API.get('/schedule/items', {\n\t\t\tparams: {\n\t\t\t\tmodalityId,\n\t\t\t\tbeginDate,\n\t\t\t\tendDate,\n\t\t\t\tqueued: false,\n\t\t\t},\n\t\t}).then(r => r.data)\n\t\tif (itemId) return items.some(i => i.id !== itemId)\n\t\treturn !!items.length\n\t}\n\n\tsaveModality(modality: IScheduleModality) {\n\t\treturn API.post('/schedule/save-modality', modality).then(r => r.data)\n\t}\n\n\tsaveModalities(modalities: IScheduleModality[]) {\n\t\treturn API.post('/schedule/save-modalities', modalities).then(r => r.data)\n\t}\n\n\tgetModalities(): Promise {\n\t\treturn API.get('/schedule/modalities').then(r => r.data)\n\t}\n\n\tgetDicomTags() {\n\t\treturn API.get('/schedule/dicom-tags').then(r => r.data)\n\t}\n\n\tasync getConfiguration(): Promise {\n\t\tthis.config = await API.get('/schedule/configuration').then(r => r.data)\n\t\treturn this.config\n\t}\n\n\tsaveConfiguration(configuration: IScheduleConfiguration) {\n\t\treturn API.post('/schedule/configuration', configuration).then(() => {\n\t\t\tthis.config = configuration\n\t\t})\n\t}\n\n\tgetTelemedicineOptions(consultantId?: string, modalityId?: number): Promise {\n\t\tif (consultantId && consultantId === '00000000-0000-0000-0000-000000000000') {\n\t\t\tconsultantId = null\n\t\t}\n\t\treturn API.get('/schedule/telemedicine-options', {\n\t\t\tparams: {\n\t\t\t\tconsultantId,\n\t\t\t\tmodalityId,\n\t\t\t},\n\t\t}).then(r => r.data)\n\t}\n\n\tstartResponseReport(scheduleItemId: string, consultantId: string): Promise {\n\t\tlet config = {\n\t\t\tparams: {\n\t\t\t\tconsultantId,\n\t\t\t},\n\t\t}\n\n\t\treturn API.get(`/schedule/start-response-report/${scheduleItemId}`, config).then(r => r.data)\n\t}\n\n\tsaveResponseReport(scheduleItemId: string, consultantId: string, form: IConsultantResponseForm) {\n\t\tlet config = {\n\t\t\tparams: {\n\t\t\t\tconsultantId,\n\t\t\t},\n\t\t}\n\n\t\treturn API.post(`/schedule/save-response-fields/${scheduleItemId}`, form, config)\n\t}\n\n\tbreakMPPS(item: IScheduleItem) {\n\t\treturn API.get(`/schedule/break-mpps/${item.id}`).then(r => {\n\t\t\titem.hasMppsAssociation = false\n\t\t\titem.mppsAssociationDeleted = true\n\t\t})\n\t}\n}\n\nexport const scheduleData = new ScheduleData()\nexport default scheduleData\n// @ts-ignore\nwindow.scheduleData = scheduleData\nscheduleData.getConfiguration()\n","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!./ScheduleItemDlg.vue?vue&type=style&index=0&id=7dead3f0&prod&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal-wrapper',{attrs:{\"close-on-overlay-click\":false,\"close-on-escape\":false},on:{\"close\":_vm.close}},[_c('div',{staticClass:\"dialog\",attrs:{\"id\":\"schedule-item-dlg\"}},[_c('dlg-header',{attrs:{\"title\":\"Schedule Item\"},on:{\"close\":_vm.close}}),_c('div',{staticClass:\"dialog-body\"},[_c('section',[_c('h3',[_vm._v(\"Scheduling\")]),_c('div',{staticStyle:{\"display\":\"grid\",\"grid-gap\":\"16px 8px\",\"grid-template-columns\":\"repeat(auto-fill, minmax(200px, 1fr))\"}},[_c('div',[_c('label',{staticClass:\"required\"},[_vm._v(\"Requested Time\")]),_c('date-time-picker',{attrs:{\"disabled\":_vm.readonly},model:{value:(_vm.item.requestedDateTime),callback:function ($$v) {_vm.$set(_vm.item, \"requestedDateTime\", $$v)},expression:\"item.requestedDateTime\"}})],1),_c('div',[_c('label',{staticClass:\"required\"},[_vm._v(\"Modality\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.modalityId),expression:\"item.modalityId\"}],staticClass:\"select\",staticStyle:{\"margin-bottom\":\"8px\"},attrs:{\"disabled\":_vm.readonly || _vm.item.scheduleStatusId > 1,\"data-test\":\"modality-select\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"modalityId\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":null}}),_vm._l((_vm.modalities),function(m){return _c('option',{key:m.id,domProps:{\"value\":m.id}},[_vm._v(_vm._s(m.name))])})],2),(_vm.item.id || _vm.isAdmin)?[_c('label',[_vm._v(\"Scheduled Modality\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.scheduleModalityId),expression:\"item.scheduleModalityId\"}],staticClass:\"select\",attrs:{\"disabled\":_vm.readonly || _vm.item.modalityId === null || _vm.item.scheduleStatusId > 2,\"data-test\":\"schedule-modality-select\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"scheduleModalityId\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.onScheduleChange()}]}},[_c('option',{domProps:{\"value\":null}}),_vm._l((_vm.getFilteredScheduleModalities(_vm.item.modalityId)),function(m){return _c('option',{key:m.id,domProps:{\"value\":m.id}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(m.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\")])})],2),_c('date-time-picker',{staticStyle:{\"margin-top\":\"4px\"},attrs:{\"allow-future-dates\":true,\"disabled\":!_vm.item.scheduleModalityId || _vm.readonly || _vm.item.scheduleStatusId > 2,\"data-test\":\"schedule-date-time-picker\"},on:{\"input\":function($event){return _vm.onScheduleChange()}},model:{value:(_vm.item.scheduleDateTime),callback:function ($$v) {_vm.$set(_vm.item, \"scheduleDateTime\", $$v)},expression:\"item.scheduleDateTime\"}}),_c('transition',{attrs:{\"name\":\"expand\"}},[(_vm.scheduleDateTimeConflict)?_c('p',{staticClass:\"is-danger\",staticStyle:{\"padding-top\":\"4px\"},attrs:{\"data-test\":\"conflict-message\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tThis time conflicts with another scheduled item.\\n\\t\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e()])]:_vm._e()],2),(!_vm.item.id)?[_c('div',[_c('label',[_vm._v(\"Modality 2\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.modalityId2),expression:\"item.modalityId2\"}],staticClass:\"select\",staticStyle:{\"margin-bottom\":\"8px\"},attrs:{\"disabled\":_vm.readonly,\"data-test\":\"modality-select\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"modalityId2\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":null}}),_vm._l((_vm.modalities),function(m){return _c('option',{key:m.id,domProps:{\"value\":m.id}},[_vm._v(_vm._s(m.name))])})],2),(_vm.item.id || _vm.isAdmin)?[_c('label',[_vm._v(\"Scheduled Modality\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.scheduleModalityId2),expression:\"item.scheduleModalityId2\"}],staticClass:\"select\",attrs:{\"disabled\":_vm.readonly || _vm.item.modalityId2 === null,\"data-test\":\"schedule-modality-select\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"scheduleModalityId2\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.onScheduleChange('2')}]}},[_c('option',{domProps:{\"value\":null}}),_vm._l((_vm.getFilteredScheduleModalities(_vm.item.modalityId2)),function(m){return _c('option',{key:m.id,domProps:{\"value\":m.id}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(m.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\")])})],2),_c('date-time-picker',{staticStyle:{\"margin-top\":\"4px\"},attrs:{\"allow-future-dates\":true,\"disabled\":!_vm.item.scheduleModalityId2 || _vm.readonly,\"data-test\":\"schedule-date-time-picker\"},on:{\"input\":function($event){return _vm.onScheduleChange('2')}},model:{value:(_vm.item.scheduleDateTime2),callback:function ($$v) {_vm.$set(_vm.item, \"scheduleDateTime2\", $$v)},expression:\"item.scheduleDateTime2\"}}),_c('transition',{attrs:{\"name\":\"expand\"}},[(_vm.scheduleDateTimeConflict2)?_c('p',{attrs:{\"data-test\":\"conflict-message\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tThis time conflicts with another scheduled item.\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e()])]:_vm._e()],2),_c('div',[_c('label',[_vm._v(\"Modality 3\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.modalityId3),expression:\"item.modalityId3\"}],staticClass:\"select\",staticStyle:{\"margin-bottom\":\"8px\"},attrs:{\"disabled\":_vm.readonly,\"data-test\":\"modality-select\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"modalityId3\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":null}}),_vm._l((_vm.modalities),function(m){return _c('option',{key:m.id,domProps:{\"value\":m.id}},[_vm._v(_vm._s(m.name))])})],2),(_vm.item.id || _vm.isAdmin)?[_c('label',[_vm._v(\"Scheduled Modality\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.scheduleModalityId3),expression:\"item.scheduleModalityId3\"}],staticClass:\"select\",attrs:{\"disabled\":_vm.readonly || _vm.item.modalityId3 === null,\"data-test\":\"schedule-modality-select\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"scheduleModalityId3\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.onScheduleChange('3')}]}},[_c('option',{domProps:{\"value\":null}}),_vm._l((_vm.getFilteredScheduleModalities(_vm.item.modalityId3)),function(m){return _c('option',{key:m.id,domProps:{\"value\":m.id}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(m.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\")])})],2),_c('date-time-picker',{staticStyle:{\"margin-top\":\"4px\"},attrs:{\"allow-future-dates\":true,\"disabled\":!_vm.item.scheduleModalityId3 || _vm.readonly,\"data-test\":\"schedule-date-time-picker\"},on:{\"input\":function($event){return _vm.onScheduleChange('3')}},model:{value:(_vm.item.scheduleDateTime3),callback:function ($$v) {_vm.$set(_vm.item, \"scheduleDateTime3\", $$v)},expression:\"item.scheduleDateTime3\"}}),_c('transition',{attrs:{\"name\":\"expand\"}},[(_vm.scheduleDateTimeConflict3)?_c('p',{attrs:{\"data-test\":\"conflict-message\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tThis time conflicts with another scheduled item.\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e()])]:_vm._e()],2)]:_vm._e()],2),(_vm.item.scheduleAssociationKey)?_c('p',{staticStyle:{\"margin-top\":\"16px\",\"max-width\":\"500px\"},attrs:{\"data-test\":\"multiple-message\"}},[_c('svg-icon',{staticClass:\"is-info\",attrs:{\"icon\":\"info-circle\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\tThis schedule item is part of a request for multiple types of images. All images will be attached to the\\n\\t\\t\\t\\t\\tsame report, and the report will not be submitted until imaging is complete on all modalities.\\n\\t\\t\\t\\t\")],1):_vm._e()]),_c('section',[_c('div',{staticStyle:{\"display\":\"flex\",\"justify-content\":\"space-between\"}},[_c('h3',[_vm._v(\"Patient\")]),(!_vm.readonly)?_c('button',{staticClass:\"btn btn-default\",staticStyle:{\"margin\":\"0 0 8px 16px\"},attrs:{\"data-test\":\"fill-from-study-button\"},on:{\"click\":_vm.prefillPatient}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tFill from study …\\n\\t\\t\\t\\t\\t\")]):_vm._e()]),_c('div',{staticStyle:{\"display\":\"grid\",\"grid-gap\":\"16px 8px\",\"grid-template-columns\":\"repeat(auto-fill, minmax(250px, 1fr))\"}},[_c('div',[_c('label',{staticClass:\"required\",attrs:{\"data-test\":\"patient-name-label\"}},[_vm._v(_vm._s(_vm.patientNameLabel))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.patientName),expression:\"item.patientName\"}],staticClass:\"input\",attrs:{\"maxlength\":\"250\",\"disabled\":_vm.readonly,\"data-test\":\"patient-name-input\"},domProps:{\"value\":(_vm.item.patientName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"patientName\", $event.target.value)}}})]),_c('div',[_c('label',{staticClass:\"required\",attrs:{\"data-test\":\"patient-id-label\"}},[_vm._v(_vm._s(_vm.patientIdLabel))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.patientId),expression:\"item.patientId\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"data-test\":\"patient-id-input\",\"maxlength\":\"250\"},domProps:{\"value\":(_vm.item.patientId)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"patientId\", $event.target.value)}}})]),_c('div',[_c('label',{class:{ required: _vm.config.isOwnerNameRequired },attrs:{\"data-test\":\"owner-name-label\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.responsiblePersonLabel)+\"\\n\\t\\t\\t\\t\\t\\t\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.responsiblePerson),expression:\"item.responsiblePerson\"}],staticClass:\"input\",attrs:{\"maxlength\":\"250\",\"disabled\":_vm.readonly,\"data-test\":\"owner-name-input\"},domProps:{\"value\":(_vm.item.responsiblePerson)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"responsiblePerson\", $event.target.value)}}})]),_c('div',[_c('label',{attrs:{\"data-test\":\"accession-number-label\"}},[_vm._v(_vm._s(_vm.accessionNumberLabel))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.accessionNumber),expression:\"item.accessionNumber\"}],staticClass:\"input\",attrs:{\"maxlength\":\"16\",\"disabled\":\"\",\"data-test\":\"accession-number-input\"},domProps:{\"value\":(_vm.item.accessionNumber)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"accessionNumber\", $event.target.value)}}})]),_c('div',[_c('label',{class:{\n\t\t\t\t\t\t\t\trequired: _vm.config.isPatientGenderRequired || _vm.options.isPatientGenderRequired,\n\t\t\t\t\t\t\t}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tGender\\n\\t\\t\\t\\t\\t\\t\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.patientSex),expression:\"item.patientSex\"}],staticClass:\"select\",attrs:{\"disabled\":_vm.readonly},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"patientSex\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":null}}),_vm._l((_vm.genderList),function(gender){return _c('option',{key:gender},[_vm._v(_vm._s(gender))])})],2)]),_c('div',[_c('label',{class:{\n\t\t\t\t\t\t\t\trequired: _vm.config.isPatientWeightRequired || _vm.options.isPatientWeightRequired,\n\t\t\t\t\t\t\t}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tWeight\\n\\t\\t\\t\\t\\t\\t\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.patientWeight),expression:\"item.patientWeight\"}],staticClass:\"input\",attrs:{\"maxlength\":\"16\",\"disabled\":_vm.readonly},domProps:{\"value\":(_vm.item.patientWeight)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"patientWeight\", $event.target.value)}}})]),_c('div',[_c('birthdate-age',{attrs:{\"disabled\":_vm.readonly,\"required\":_vm.config.isPatientBirthdateRequired || _vm.options.isPatientBirthdateRequired},model:{value:(_vm.item.patientBirthDate),callback:function ($$v) {_vm.$set(_vm.item, \"patientBirthDate\", $$v)},expression:\"item.patientBirthDate\"}})],1),_c('div',[_c('label',{class:{\n\t\t\t\t\t\t\t\trequired: _vm.config.isPatientSpeciesRequired || _vm.options.isPatientSpeciesRequired,\n\t\t\t\t\t\t\t}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tSpecies\\n\\t\\t\\t\\t\\t\\t\")]),_c('v-select',{attrs:{\"disabled\":_vm.readonly,\"name\":\"species\",\"options\":_vm.speciesList,\"reduce\":function (i) { return i.name; },\"label\":\"name\"},model:{value:(_vm.item.patientSpeciesDescription),callback:function ($$v) {_vm.$set(_vm.item, \"patientSpeciesDescription\", $$v)},expression:\"item.patientSpeciesDescription\"}})],1),_c('div',[_c('label',{class:{ required: _vm.config.isPatientBreedRequired || _vm.options.isPatientBreedRequired }},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tBreed\\n\\t\\t\\t\\t\\t\\t\")]),_c('v-select',{attrs:{\"disabled\":_vm.readonly,\"name\":\"breed\",\"options\":_vm.breedList,\"taggable\":true},model:{value:(_vm.item.patientBreedDescription),callback:function ($$v) {_vm.$set(_vm.item, \"patientBreedDescription\", $$v)},expression:\"item.patientBreedDescription\"}})],1),_c('div',[_c('label',{class:{ required: _vm.config.isPatientMedicalAlertsRequired }},[_vm._v(\"Patient Medical Alerts\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.medicalAlerts),expression:\"item.medicalAlerts\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"64\"},domProps:{\"value\":(_vm.item.medicalAlerts)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"medicalAlerts\", $event.target.value)}}})]),_c('div',[_c('label',{class:{ required: _vm.config.isPatientLocationRequired }},[_vm._v(\"Patient Location\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.currentPatientLocation),expression:\"item.currentPatientLocation\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"64\"},domProps:{\"value\":(_vm.item.currentPatientLocation)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"currentPatientLocation\", $event.target.value)}}})]),_c('div',[_c('label',{class:{ required: _vm.config.isReferringPhysicianRequired }},[_vm._v(\"Referring Physician\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.referringPhysiciansName),expression:\"item.referringPhysiciansName\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"64\"},domProps:{\"value\":(_vm.item.referringPhysiciansName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"referringPhysiciansName\", $event.target.value)}}})]),_c('div',[_c('label',{class:{ required: _vm.config.isReferringPhysicianPhoneRequired }},[_vm._v(\"Referring Physician Phone\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.referringPhysicianTelephoneNumbers),expression:\"item.referringPhysicianTelephoneNumbers\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"16\"},domProps:{\"value\":(_vm.item.referringPhysicianTelephoneNumbers)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"referringPhysicianTelephoneNumbers\", $event.target.value)}}})]),_c('div',[_c('label',{class:{ required: _vm.config.isRequestingPhysicianRequired }},[_vm._v(\"Requesting Physician\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.requestingPhysician),expression:\"item.requestingPhysician\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"64\"},domProps:{\"value\":(_vm.item.requestingPhysician)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"requestingPhysician\", $event.target.value)}}})])])]),_c('section',[_c('h3',[_vm._v(\"Exam\")]),_c('div',{staticStyle:{\"display\":\"grid\",\"grid-gap\":\"16px 8px\",\"grid-template-columns\":\"repeat(auto-fill, minmax(250px, 1fr))\"}},[_c('div',[_c('label',{class:{ required: _vm.config.isCommentsRequired }},[_vm._v(\"Comments\")]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.patientComments),expression:\"item.patientComments\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"data-test\":\"comments-textarea\",\"maxlength\":\"500\"},domProps:{\"value\":(_vm.item.patientComments)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"patientComments\", $event.target.value)}}})]),_c('div',[_c('label',{class:{ required: _vm.config.isSpecialNeedsRequired }},[_vm._v(\"Special Needs\")]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.specialNeeds),expression:\"item.specialNeeds\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"500\"},domProps:{\"value\":(_vm.item.specialNeeds)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"specialNeeds\", $event.target.value)}}})]),_c('div',[_c('label',{class:{ required: _vm.config.isAdmittingDiagnosisRequired }},[_vm._v(\"Admitting Diagnosis\")]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.admittingDiagnosisDescription),expression:\"item.admittingDiagnosisDescription\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"500\"},domProps:{\"value\":(_vm.item.admittingDiagnosisDescription)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"admittingDiagnosisDescription\", $event.target.value)}}})]),_c('div',[_c('label',{class:{ required: _vm.config.isProcedureIdRequired }},[_vm._v(\"Procedure Id\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.requestedProcedureId),expression:\"item.requestedProcedureId\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"100\"},domProps:{\"value\":(_vm.item.requestedProcedureId)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"requestedProcedureId\", $event.target.value)}}})]),_c('div',[_c('label',{class:{ required: _vm.config.isProcedureDescriptionRequired }},[_vm._v(\"Procedure Description\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.requestedProcedureDescription),expression:\"item.requestedProcedureDescription\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"500\"},domProps:{\"value\":(_vm.item.requestedProcedureDescription)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"requestedProcedureDescription\", $event.target.value)}}})]),_c('div',[_c('label',{class:{ required: _vm.config.isProcedureStepDescriptionRequired }},[_vm._v(\"Procedure Step Description\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.requestedProcedureStepDescription),expression:\"item.requestedProcedureStepDescription\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"500\"},domProps:{\"value\":(_vm.item.requestedProcedureStepDescription)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"requestedProcedureStepDescription\", $event.target.value)}}})]),_c('div',[_c('label',{class:{ required: _vm.config.isProcedurePriorityRequired }},[_vm._v(\"Procedure Priority\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.requestedProcedurePriority),expression:\"item.requestedProcedurePriority\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"16\"},domProps:{\"value\":(_vm.item.requestedProcedurePriority)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"requestedProcedurePriority\", $event.target.value)}}})]),_c('div',[_c('label',{class:{ required: _vm.config.isProcedurePreMedicationRequired }},[_vm._v(\"Procedure Pre-Medication\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.preMedication),expression:\"item.preMedication\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"64\"},domProps:{\"value\":(_vm.item.preMedication)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"preMedication\", $event.target.value)}}})])])]),_c('section',[_c('h3',[_vm._v(\"Teleconsultation Report\")]),_c('div',{staticStyle:{\"display\":\"grid\",\"grid-gap\":\"16px 8px\",\"grid-template-columns\":\"repeat(auto-fill, minmax(250px, 1fr))\"}},[_c('div',[_c('label',[_vm._v(\"Consultant\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.consultantId),expression:\"item.consultantId\"}],staticClass:\"select\",attrs:{\"disabled\":_vm.readonly,\"data-test\":\"consultant-select\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"consultantId\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":null}}),_vm._l((_vm.consultants),function(c){return _c('option',{key:c.id,domProps:{\"value\":c.id}},[_vm._v(_vm._s(c.name))])})],2)]),(Object.keys(_vm.options.radiologists).length)?_c('div',[_c('label',[_vm._v(\"Radiologist\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.requestedRadiologistConsultantId),expression:\"item.requestedRadiologistConsultantId\"}],staticClass:\"select\",attrs:{\"disabled\":_vm.readonly},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"requestedRadiologistConsultantId\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":null}}),_vm._l((_vm.options.radiologists),function(name,id){return _c('option',{key:id,domProps:{\"value\":id}},[_vm._v(_vm._s(name))])})],2)]):_vm._e(),(Object.keys(_vm.options.residents).length)?_c('div',[_c('label',[_vm._v(\"Resident\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.requestedResidentConsultantId),expression:\"item.requestedResidentConsultantId\"}],staticClass:\"select\",attrs:{\"disabled\":_vm.readonly},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"requestedResidentConsultantId\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":null}}),_vm._l((_vm.options.residents),function(name,id){return _c('option',{key:id,domProps:{\"value\":id}},[_vm._v(_vm._s(name))])})],2)]):_vm._e(),_c('div',[_c('label',[_vm._v(\"Requested By\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.teleradiologyUserId),expression:\"item.teleradiologyUserId\"}],staticClass:\"select\",attrs:{\"disabled\":_vm.readonly,\"data-test\":\"requested-by-select\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"teleradiologyUserId\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.users),function(u){return _c('option',{key:u.id,domProps:{\"value\":u.id}},[_vm._v(_vm._s(u.fullName))])}),0)]),_c('div',[_c('label',[_vm._v(\"Visit Id\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.visitId),expression:\"item.visitId\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"maxlength\":\"100\"},domProps:{\"value\":(_vm.item.visitId)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"visitId\", $event.target.value)}}})]),_c('div',[_c('label',[_vm._v(\"Email Notification\")]),_c('email-select',{attrs:{\"disabled\":_vm.readonly},model:{value:(_vm.emailRecipients),callback:function ($$v) {_vm.emailRecipients=$$v},expression:\"emailRecipients\"}})],1),(_vm.options.isPetRays)?[_c('div',[_c('label',{staticClass:\"required\"},[_vm._v(\"Exam Type\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.petRaysExamType),expression:\"item.petRaysExamType\"}],staticClass:\"select\",attrs:{\"disabled\":_vm.readonly},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"petRaysExamType\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":null}}),_vm._l((_vm.options.petRaysExamTypeList),function(i){return _c('option',{key:i,domProps:{\"value\":i}},[_vm._v(_vm._s(i))])})],2)]),_c('div',[_c('label',[_vm._v(\"Report Priority\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.reportPriority),expression:\"item.reportPriority\"}],staticClass:\"select\",attrs:{\"disabled\":_vm.readonly},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.item, \"reportPriority\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":null}}),_vm._l((_vm.options.priorityOptions),function(u){return _c('option',{key:u.id,domProps:{\"value\":u.id}},[_vm._v(_vm._s(u.name))])})],2)]),(_vm.options.isUltrasound)?_c('div',[_c('label',[_vm._v(\"Sonographer Findings\")]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.petRaysSonographerFindings),expression:\"item.petRaysSonographerFindings\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly},domProps:{\"value\":(_vm.item.petRaysSonographerFindings)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"petRaysSonographerFindings\", $event.target.value)}}})]):_vm._e()]:_vm._e()],2),_c('div',{staticStyle:{\"margin-top\":\"16px\"}},[_c('label',{class:{ required: !!_vm.item.consultantId }},[_vm._v(\"History\")]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.reportHistory),expression:\"item.reportHistory\"}],staticClass:\"input\",attrs:{\"disabled\":_vm.readonly,\"data-test\":\"history-textarea\",\"rows\":\"6\"},domProps:{\"value\":(_vm.item.reportHistory)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.item, \"reportHistory\", $event.target.value)}}})])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isLoading || _vm.isSaving),expression:\"isLoading || isSaving\"}],staticClass:\"loading\"},[(_vm.isLoading)?_c('svg-icon',{attrs:{\"icon\":\"spinner\",\"pulse\":\"\"}}):_vm._e()],1)]),(_vm.item.id)?_c('div',{staticClass:\"billed-container\"},[(_vm.item.scheduleStatusId > 0)?_c('p',{attrs:{\"data-test\":\"status\"}},[_vm._v(\"\\n\\t\\t\\t\\tStatus:\\n\\t\\t\\t\\t\"),_c('span',{class:_vm.getItemClasses(_vm.item)},[(_vm.getStatusIcon(_vm.item))?_c('svg-icon',{attrs:{\"icon\":_vm.getStatusIcon(_vm.item),\"fixed\":\"\"}}):_vm._e(),_c('b',[_vm._v(_vm._s(_vm.currentStatus))])],1)]):_vm._e(),_c('ast-checkbox',{staticStyle:{\"margin-bottom\":\"0\"},attrs:{\"disabled\":_vm.isLoading || _vm.isSaving || !_vm.canEditBilled,\"data-test\":\"is-billed-checkbox\"},model:{value:(_vm.item.isBilled),callback:function ($$v) {_vm.$set(_vm.item, \"isBilled\", $$v)},expression:\"item.isBilled\"}},[_vm._v(\"\\n\\t\\t\\t\\tHas been billed\\n\\t\\t\\t\")])],1):_vm._e(),_c('div',{staticClass:\"footer\"},[_c('div',[(_vm.isMppsBreakAllowed)?_c('button',{staticClass:\"btn btn-danger\",attrs:{\"data-test\":\"break-mpps-button\"},on:{\"click\":_vm.breakMPPS}},[_vm._v(\"Break MPPS\")]):_vm._e(),(_vm.item.id && _vm.isAdmin && _vm.item.scheduleStatusId < 7)?_c('button',{staticClass:\"btn btn-danger\",attrs:{\"disabled\":_vm.isLoading || _vm.isSaving,\"data-test\":\"delete-button\"},on:{\"click\":_vm.deleteItem}},[_vm._v(\"\\n\\t\\t\\t\\t\\tDelete\\n\\t\\t\\t\\t\")]):_vm._e(),(_vm.canStartImaging)?_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.isLoading || _vm.isSaving,\"data-test\":\"start-imaging-button\"},on:{\"click\":_vm.startImaging}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.item.scheduleStatusId === 6 ? 'Restart Imaging' : 'Start Imaging')+\"\\n\\t\\t\\t\\t\")]):_vm._e(),(_vm.canStopImaging)?_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.isLoading || _vm.isSaving,\"data-test\":\"stop-imaging-button\"},on:{\"click\":_vm.stopImaging}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.item.scheduleStatusId === 6 ? 'Reset to Scheduled' : 'Stop Imaging')+\"\\n\\t\\t\\t\\t\")]):_vm._e(),(_vm.canCompleteImaging)?_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.isLoading || _vm.isSaving,\"data-test\":\"complete-imaging-button\"},on:{\"click\":_vm.completeImaging}},[_vm._v(\"\\n\\t\\t\\t\\t\\tComplete Imaging\\n\\t\\t\\t\\t\")]):_vm._e(),(_vm.canStartReport)?_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.isLoading || _vm.isSaving,\"data-test\":\"start-report-button\"},on:{\"click\":_vm.startReport}},[_vm._v(\"\\n\\t\\t\\t\\t\\tStart Report\\n\\t\\t\\t\\t\")]):_vm._e()]),_c('div',[(!_vm.readonly || _vm.canStatus)?_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.isLoading || _vm.isSaving,\"data-test\":\"cancel-button\"},on:{\"click\":_vm.close}},[_vm._v(\"\\n\\t\\t\\t\\t\\tCancel\\n\\t\\t\\t\\t\")]):_vm._e(),(!_vm.readonly || _vm.canStatus || _vm.canEditBilled)?_c('button',{staticClass:\"btn btn-primary\",attrs:{\"disabled\":_vm.isLoading || _vm.isSaving || _vm.hasScheduleConflict,\"data-test\":\"save-button\"},on:{\"click\":_vm.save}},[_c('svg-icon',{attrs:{\"pulse\":_vm.isSaving,\"icon\":_vm.isSaving ? 'spinner' : 'check',\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\tSave Item\\n\\t\\t\\t\\t\")],1):_vm._e()])])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal-wrapper',{attrs:{\"close-on-overlay-click\":false},on:{\"close\":function($event){return _vm.close()}}},[_c('div',{staticClass:\"dialog\",attrs:{\"id\":\"schedule-item-report\"}},[_c('dlg-header',{attrs:{\"title\":\"Start Report\"},on:{\"close\":_vm.close}}),_c('div',{staticClass:\"dialog-body\"},[_c('transition',{attrs:{\"name\":\"expand\",\"mode\":\"out-in\"}},[(_vm.template)?_c('layout',{attrs:{\"layout\":_vm.template.root}}):_c('p',{staticStyle:{\"margin\":\"auto\"}},[_c('svg-icon',{attrs:{\"icon\":\"spinner\",\"pulse\":\"\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\tLoading …\\n\\t\\t\\t\\t\")],1)],1)],1),_c('div',{staticClass:\"footer right\"},[_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){return _vm.close()}}},[_vm._v(\"Cancel\")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"disabled\":!_vm.template},on:{\"click\":function($event){return _vm.save()}}},[_vm._v(\"Save\")])])],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\nimport DlgHeader from '@components/DlgHeader.vue'\nimport ModalWrapper from '@components/ModalWrapper.vue'\nimport { dlg } from '@utils/dlgUtils'\nimport scheduleData from '@services/scheduleData'\nimport { ReportDetail } from '@/reporting/classes'\nimport ResponseSelector from '@reporting/primitives/ResponseSelector.vue'\n\nconst ScheduleItemReport = {\n\tname: 'ScheduleItemReport',\n\tcomponents: {\n\t\tDlgHeader,\n\t\tModalWrapper,\n\t\tResponseSelector,\n\t},\n\tprops: ['item'],\n\tdata() {\n\t\treturn {\n\t\t\treport: null,\n\t\t}\n\t},\n\tcomputed: {\n\t\ttemplate() {\n\t\t\treturn this.report && this.report.response\n\t\t},\n\t},\n\tasync created() {\n\t\tlet item: IScheduleItem = this.item\n\t\tlet report = await scheduleData.startResponseReport(item.id, item.consultantId)\n\t\tthis.report = await ReportDetail.loadFromScheduleItemReport(report)\n\t},\n\tmethods: {\n\t\tasync save() {\n\t\t\tlet report: ReportDetail = this.report\n\t\t\tlet item: IScheduleItem = this.item\n\t\t\tawait scheduleData.saveResponseReport(item.id, item.consultantId, report.getSaveResponseForm())\n\t\t\tthis.close()\n\t\t},\n\t\tclose() {\n\t\t\tdlg.close(this)\n\t\t},\n\t},\n}\n\nexport default ScheduleItemReport\n\nexport function openScheduleItemReport(item: IScheduleItem) {\n\treturn dlg.open(ScheduleItemReport, { item })\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!./ScheduleItemReport.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!./ScheduleItemReport.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ScheduleItemReport.vue?vue&type=template&id=484134fc\"\nimport script from \"./ScheduleItemReport.vue?vue&type=script&lang=ts\"\nexport * from \"./ScheduleItemReport.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ScheduleItemReport.vue?vue&type=style&index=0&id=484134fc&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","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 ModalWrapper from '@components/ModalWrapper.vue'\nimport AstCheckbox from '@components/Checkbox.vue'\nimport BirthdateAge from '@components/BirthdateAgeInputs.vue'\nimport { dlg } from '@utils/dlgUtils'\nimport DlgHeader from '@components/DlgHeader.vue'\nimport EmailSelect from '@components/EmailSelect.vue'\nimport { userData } from '@services/userData'\nimport scheduleData, { ScheduleStatus, scheduleStatusIdDesc } from '@services/scheduleData'\nimport { setLoading } from '@components/Loading.vue'\nimport DateTimePicker from '@components/DateTimePicker.vue'\nimport api from '@services/api'\nimport store from '@store'\nimport { addNotification } from '@services/notificationService'\nimport { openScheduleItemReport } from './ScheduleItemReport.vue'\nimport ItemStatusMixin from '@/schedule/mixins/ItemStatus'\nimport { showConfirm } from '@dialogs/ConfirmDlg.vue'\nimport { openStudiesDlg } from '@dialogs/StudiesDlg.vue'\nimport { openPromptDlg } from '@dialogs/TextPromptDlg.vue'\n\nconst ScheduleItemDlg = {\n\tname: 'ScheduleItemDlg',\n\tmixins: [ItemStatusMixin],\n\tcomponents: {\n\t\tAstCheckbox,\n\t\tBirthdateAge,\n\t\tModalWrapper,\n\t\tDlgHeader,\n\t\tEmailSelect,\n\t\tDateTimePicker,\n\t},\n\tprops: {\n\t\titem: {\n\t\t\ttype: Object,\n\t\t\trequired: true,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tisLoading: true,\n\t\t\tisSaving: false,\n\t\t\tconfig: scheduleData.config,\n\t\t\tisAdmin: false,\n\t\t\trequestedDateTime: null,\n\t\t\tmodalities: [],\n\t\t\tscheduleModalities: [],\n\t\t\tscheduleDateTimeConflict: false,\n\t\t\tscheduleDateTimeConflict2: false,\n\t\t\tscheduleDateTimeConflict3: false,\n\t\t\texamTypes: [],\n\t\t\tconsultants: [],\n\t\t\tusers: [],\n\t\t\tspeciesList: [],\n\t\t\tbreedList: [],\n\t\t\tgenderList: ['Male', 'Male Castrated', 'Female', 'Female Spayed'],\n\t\t\toptions: {\n\t\t\t\tisPetRays: false,\n\t\t\t\tpetRaysExamTypeList: [],\n\t\t\t\tresidents: [],\n\t\t\t\tradiologists: [],\n\t\t\t\tPriorityOptions: [],\n\t\t\t},\n\t\t}\n\t},\n\tcomputed: {\n\t\tcanStatus() {\n\t\t\tif (this.item.hasMppsAssociation) return false\n\t\t\treturn this.isAdmin || userData.permissions.schedulingStatus\n\t\t},\n\t\tcanEditBilled() {\n\t\t\treturn this.isAdmin || userData.permissions.schedulingStatus\n\t\t},\n\t\tisMppsBreakAllowed() {\n\t\t\tlet item: IScheduleItem = this.item\n\t\t\treturn item.hasMppsAssociation && this.isAdmin && item.scheduleStatusId < ScheduleStatus.ImagingComplete\n\t\t},\n\t\tcanStartImaging() {\n\t\t\tif (this.item.scheduleModalityId && this.canStatus && this.item.scheduleStatusId === ScheduleStatus.Scheduled)\n\t\t\t\treturn true\n\t\t\tif (\n\t\t\t\tthis.canStatus &&\n\t\t\t\tthis.item.scheduleStatusId === ScheduleStatus.ImagingComplete &&\n\t\t\t\tthis.item.studyId &&\n\t\t\t\t!this.item.consultantId\n\t\t\t)\n\t\t\t\treturn true\n\t\t\treturn false\n\t\t},\n\t\tcanStopImaging() {\n\t\t\tconst isImaging = [\n\t\t\t\tScheduleStatus.Started,\n\t\t\t\tScheduleStatus.ImagesAvailable,\n\t\t\t\tScheduleStatus.ImagesPendingReview,\n\t\t\t].includes(this.item.scheduleStatusId)\n\t\t\tif (this.canStatus && isImaging) return true\n\t\t\tif (\n\t\t\t\tthis.canStatus &&\n\t\t\t\tthis.item.scheduleStatusId === ScheduleStatus.ImagingComplete &&\n\t\t\t\t!this.item.studyId &&\n\t\t\t\t!this.item.consultantId\n\t\t\t)\n\t\t\t\treturn true\n\t\t\treturn false\n\t\t},\n\t\tcanStartReport() {\n\t\t\tconst isImagingComplete = this.item.scheduleStatusId > ScheduleStatus.ImagesPendingReview\n\t\t\treturn this.item.id && !isImagingComplete && this.item.consultantId && this.$store.getters.isConsultantUser\n\t\t},\n\t\tcanCompleteImaging() {\n\t\t\tconst isImaging = [\n\t\t\t\tScheduleStatus.Started,\n\t\t\t\tScheduleStatus.ImagesAvailable,\n\t\t\t\tScheduleStatus.ImagesPendingReview,\n\t\t\t].includes(this.item.scheduleStatusId)\n\t\t\treturn this.canStatus && isImaging && this.item.studyId\n\t\t},\n\t\tmodality() {\n\t\t\tif (!this.item.scheduleModalityId || !this.scheduleModalities.length) return null\n\t\t\treturn this.scheduleModalities.find(m => m.id === this.item.scheduleModalityId)\n\t\t},\n\t\tcurrentStatus() {\n\t\t\treturn scheduleStatusIdDesc(this.item.scheduleStatusId)\n\t\t},\n\t\thasScheduleConflict() {\n\t\t\treturn this.scheduleDateTimeConflict || this.scheduleDateTimeConflict2 || this.scheduleDateTimeConflict3\n\t\t},\n\t\tpatientNameLabel() {\n\t\t\treturn (this.modality && this.modality.patientNameLabel) || 'Patient Name'\n\t\t},\n\t\tpatientIdLabel() {\n\t\t\treturn (this.modality && this.modality.patientIdLabel) || 'Patient ID'\n\t\t},\n\t\tresponsiblePersonLabel() {\n\t\t\treturn (this.modality && this.modality.responsiblePersonLabel) || 'Owner Name'\n\t\t},\n\t\taccessionNumberLabel() {\n\t\t\treturn (this.modality && this.modality.accessionNumberLabel) || 'Accession Number'\n\t\t},\n\t\treadonly() {\n\t\t\tif (!this.item.id) return false\n\t\t\treturn !this.isAdmin || this.item.scheduleStatusId > ScheduleStatus.ImagesPendingReview || this.isMppsBreakAllowed\n\t\t},\n\t\temailRecipients: {\n\t\t\tget() {\n\t\t\t\tif (!this.item.emailRecipients) return []\n\t\t\t\treturn this.item.emailRecipients.split(',').map(e => e.trim())\n\t\t\t},\n\t\t\tset(recipients) {\n\t\t\t\tthis.item.emailRecipients = recipients.join(',')\n\t\t\t},\n\t\t},\n\t},\n\twatch: {\n\t\t'item.patientSpeciesDescription': {\n\t\t\thandler(species) {\n\t\t\t\tthis.getBreedList()\n\t\t\t},\n\t\t\timmediate: false,\n\t\t},\n\t\t'item.consultantId'() {\n\t\t\tthis.getBreedList()\n\t\t\tthis.getOptions()\n\t\t},\n\t\t'item.modalityId'() {\n\t\t\tthis.getBreedList()\n\t\t\tthis.getOptions()\n\t\t},\n\t},\n\tasync created() {\n\t\tthis.isLoading = true\n\t\tthis.isAdmin = userData.permissions.schedulingAdmin\n\t\tthis.modalities = this.$store.state.static.modalities\n\t\tthis.consultants = this.$store.state.static.consultants\n\t\ttry {\n\t\t\tconst promises = [\n\t\t\t\tapi.patient.getSpecies(this.item.consultantId).then(r => {\n\t\t\t\t\tthis.speciesList = r\n\t\t\t\t\tthis.getBreedList()\n\t\t\t\t}),\n\n\t\t\t\tthis.getOptions(),\n\t\t\t\tuserData.getAllUsers().then(r => (this.users = r)),\n\t\t\t\tscheduleData.getModalities().then(r => (this.scheduleModalities = r)),\n\t\t\t]\n\t\t\tawait Promise.all(promises)\n\t\t} finally {\n\t\t\tthis.isLoading = false\n\t\t}\n\t},\n\tmethods: {\n\t\tasync breakMPPS() {\n\t\t\tlet msg = `This will break the MPPS (Modality Performed Procedure Step) association between Keystone and the modality. The MPPS association should only be broken if the study cannot be completed on the modality. The proper way to break the association is the cancel/discontinue the study on the modality. Once the MPPS association is broken, you will need to start the study from the beginning. Are you sure you want to do this?`\n\t\t\tlet r = await showConfirm(msg)\n\t\t\tif (r) {\n\t\t\t\tscheduleData.breakMPPS(this.item)\n\t\t\t}\n\t\t},\n\t\tasync prefillPatient() {\n\t\t\tconst study = await openStudiesDlg()\n\t\t\tif (!study) return\n\t\t\tthis.item.patientId = study.patientId\n\t\t\tthis.item.patientName = study.patientName\n\t\t\tthis.item.responsiblePerson = study.ownerName\n\t\t\tthis.item.patientSpeciesDescription = study.speciesName\n\t\t\tthis.item.patientBreedDescription = study.breedName\n\t\t\tthis.item.patientSex = study.patientGender\n\t\t},\n\t\tasync onScheduleChange(modalityNumber: string = '') {\n\t\t\tconst scheduleModalityId = this.item['scheduleModalityId' + modalityNumber]\n\t\t\tif (!scheduleModalityId) this.item['scheduleDateTime' + modalityNumber] = null\n\t\t\tif (!this.item['scheduleDateTime' + modalityNumber]) return\n\t\t\tconst scheduleDateTime = new Date(this.item['scheduleDateTime' + modalityNumber])\n\t\t\tthis['scheduleDateTimeConflict' + modalityNumber] = false\n\t\t\tconst modality: IScheduleModality = this.scheduleModalities.find(m => m.id === scheduleModalityId)\n\t\t\tif (!modality) return\n\t\t\tconst beginDate = new Date(scheduleDateTime.getTime() - (modality.defaultExamLength - 1) * 60000)\n\t\t\tconst endDate = new Date(scheduleDateTime.getTime() + modality.defaultExamLength * 60000)\n\t\t\tconst hasConflict = await scheduleData.checkForScheduleConflict(\n\t\t\t\tscheduleModalityId,\n\t\t\t\tbeginDate,\n\t\t\t\tendDate,\n\t\t\t\tthis.item.id\n\t\t\t)\n\t\t\tthis['scheduleDateTimeConflict' + modalityNumber] = hasConflict\n\t\t},\n\t\tstartReport() {\n\t\t\topenScheduleItemReport(this.item)\n\t\t},\n\t\tstopImaging() {\n\t\t\tlet p = scheduleData.updateItemStatus(this.item, ScheduleStatus.Scheduled, this.item.isBilled)\n\t\t\tsetLoading('Saving ...', p)\n\t\t},\n\t\tstartImaging() {\n\t\t\tlet p = scheduleData.updateItemStatus(this.item, ScheduleStatus.Started, this.item.isBilled)\n\t\t\tsetLoading('Saving ...', p)\n\t\t},\n\t\tcompleteImaging() {\n\t\t\tlet p = scheduleData.updateItemStatus(this.item, ScheduleStatus.ImagingComplete, this.item.isBilled)\n\t\t\tsetLoading('Saving ...', p)\n\t\t},\n\t\tasync getOptions() {\n\t\t\tthis.options = await scheduleData.getTelemedicineOptions(this.item.consultantId, this.item.modalityId)\n\t\t},\n\t\tisSameModality(modalityIdA, modalityIdB) {\n\t\t\tconst cr = this.$store.state.static.modalities.find(m => m.name === 'CR').id\n\t\t\tconst dx = this.$store.state.static.modalities.find(m => m.name === 'DX').id\n\t\t\t// treat CR and DX as same modality\n\t\t\tif ([cr, dx].includes(modalityIdA) && [cr, dx].includes(modalityIdB)) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn modalityIdA === modalityIdB\n\t\t},\n\t\tgetFilteredScheduleModalities(modalityId) {\n\t\t\treturn this.scheduleModalities.filter(m => this.isSameModality(m.modalityId, modalityId))\n\t\t},\n\t\tasync getBreedList() {\n\t\t\tlet s = this.speciesList.find(s => s.name === this.item.patientSpeciesDescription)\n\t\t\tif (!s) {\n\t\t\t\tthis.breedList = []\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst list = await api.patient.getBreeds(s.id)\n\t\t\tthis.breedList = [...new Set(list.map(breed => breed.name))]\n\t\t},\n\t\tasync save() {\n\t\t\tif (this.item.id && !this.isAdmin && !this.canStatus && !this.canEditBilled) return\n\t\t\tthis.isSaving = true\n\t\t\ttry {\n\t\t\t\tlet p: Promise = null\n\t\t\t\tif (this.item.id && !this.readonly) {\n\t\t\t\t\tif (!this.item.scheduleDateTime) this.scheduleStatusId = ScheduleStatus.Queued\n\t\t\t\t\tp = scheduleData.updateItem(this.item)\n\t\t\t\t} else if (!this.item.id && !this.readonly) {\n\t\t\t\t\tp = scheduleData.createItem(this.item)\n\t\t\t\t} else {\n\t\t\t\t\tp = scheduleData.updateItemStatus(this.item, this.item.scheduleStatusId, this.item.isBilled)\n\t\t\t\t}\n\t\t\t\tawait p\n\t\t\t\tif (!this.item.id) {\n\t\t\t\t\taddNotification(\n\t\t\t\t\t\t'Your exam has been added to the schedule. View the Schedule to monitor its progress.',\n\t\t\t\t\t\t'success'\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t\tdlg.close(this, true, true)\n\t\t\t} finally {\n\t\t\t\tthis.isSaving = false\n\t\t\t}\n\t\t},\n\t\tasync deleteItem() {\n\t\t\tconst cancelMessage = await openPromptDlg({\n\t\t\t\tbuttonLabel: 'OK',\n\t\t\t\tprompt: 'Please provide a reason for deleting this item.',\n\t\t\t\trequireInput: true,\n\t\t\t\ttype: 'textarea',\n\t\t\t})\n\t\t\tif (!cancelMessage) return\n\t\t\tthis.item.scheduleStatusId = ScheduleStatus.CancelQueued\n\t\t\tthis.item.deleted = true\n\t\t\tthis.item.cancelMessage = cancelMessage\n\t\t\tthis.item.cancelUserId = userData.claims.userId\n\t\t\tthis.item.cancelDateTime = new Date()\n\t\t\tthis.isLoading = true\n\t\t\ttry {\n\t\t\t\tawait scheduleData.updateItem(this.item)\n\t\t\t\tdlg.close(this, true, true)\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, true, false)\n\t\t},\n\t\tconfirm() {\n\t\t\tdlg.close(this, true, true)\n\t\t},\n\t},\n}\n\nexport default ScheduleItemDlg\n\nexport function openScheduleItemDlg(itemToEdit: IScheduleItem, study?: IStudy, patient?: IPatient, values?: any) {\n\tif (!itemToEdit) {\n\t\titemToEdit = {\n\t\t\tid: null,\n\t\t\tscheduleStatusId: null,\n\t\t\tmodalityId: null,\n\t\t\tmodalityId2: null,\n\t\t\tmodalityId3: null,\n\t\t\tscheduleDateTime: null,\n\t\t\tscheduleDateTime2: null,\n\t\t\tscheduleDateTime3: null,\n\t\t\tscheduleModalityId: null,\n\t\t\tscheduleModalityId2: null,\n\t\t\tscheduleModalityId3: null,\n\n\t\t\tstatus: null,\n\t\t\tstudyId: null,\n\t\t\tcaseId: null,\n\t\t\tconsultantId: scheduleData.config.consultantId || null,\n\t\t\tconsultantReportId: null,\n\t\t\thasMppsAssociation: false,\n\n\t\t\trequestedDateTime: new Date(),\n\t\t\tpatientName: null,\n\t\t\tpatientId: null,\n\t\t\tresponsiblePerson: null,\n\t\t\taccessionNumber: null,\n\t\t\trequestingPhysician: null,\n\t\t\treferringPhysiciansName: null,\n\t\t\tadmittingDiagnosisDescription: null,\n\n\t\t\tpatientBirthDate: study ? study.patientBirthDate : null,\n\t\t\tpatientSex: study ? study.patientGender : null,\n\t\t\tpatientWeight: null,\n\t\t\tpatientSexNeutered: null,\n\t\t\tpatientSpeciesDescription: null,\n\t\t\tpatientBreedDescription: null,\n\t\t\tpatientComments: null,\n\t\t\tspecialNeeds: null,\n\n\t\t\trequestedProcedureStepDescription: null,\n\t\t\trequestedProcedureId: null,\n\t\t\trequestedProcedureDescription: null,\n\t\t\trequestedProcedurePriority: null,\n\t\t\tcreatedDateTime: null,\n\t\t\treportHistory: null,\n\t\t\tteleradiologyUserId: userData.claims.userId,\n\t\t\tvisitId: null,\n\t\t\tcurrentPatientLocation: null,\n\t\t\treferringPhysicianTelephoneNumbers: null,\n\t\t\tpreMedication: null,\n\t\t\tmedicalAlerts: null,\n\t\t\temailRecipients: null,\n\t\t\tpetRaysExamType: null,\n\t\t\tpetRaysSonographerFindings: null,\n\t\t\tdeleted: false,\n\t\t\tcancelMessage: '',\n\t\t\tisBilled: false,\n\t\t\treportPriority: null,\n\t\t\trequestedRadiologistConsultantId: null,\n\t\t\trequestedResidentConsultantId: null,\n\t\t\tscheduleAssociationKey: null,\n\t\t}\n\n\t\tif (study) {\n\t\t\titemToEdit.studyId = study.studyId\n\t\t\titemToEdit.referringPhysiciansName = study.referringPhysiciansName\n\n\t\t\tlet found = store.state.static.modalities.find(m => m.name === study.modality)\n\t\t\tif (found) itemToEdit.modalityId = found.id\n\n\t\t\titemToEdit.patientName = study.patientName\n\t\t\titemToEdit.patientId = study.patientId\n\t\t\titemToEdit.responsiblePerson = study.ownerName\n\t\t\titemToEdit.patientSpeciesDescription = study.speciesName\n\t\t\titemToEdit.patientBreedDescription = study.breedName\n\t\t\titemToEdit.patientSex = study.patientGender\n\t\t\titemToEdit.patientBirthDate = study.patientBirthDate\n\t\t} else if (patient) {\n\t\t\titemToEdit.patientId = patient.id\n\t\t\titemToEdit.patientName = patient.name\n\t\t\titemToEdit.patientBirthDate = patient.birthdate\n\t\t\titemToEdit.patientBreedDescription = patient.breed\n\t\t\titemToEdit.patientSpeciesDescription = patient.species\n\t\t\titemToEdit.patientSex = patient.gender\n\t\t}\n\t\tif (values) itemToEdit = { ...itemToEdit, ...values }\n\t} else {\n\t\titemToEdit = JSON.parse(JSON.stringify(itemToEdit))\n\t}\n\treturn dlg.open(ScheduleItemDlg, { item: itemToEdit })\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!./ScheduleItemDlg.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!./ScheduleItemDlg.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ScheduleItemDlg.vue?vue&type=template&id=7dead3f0\"\nimport script from \"./ScheduleItemDlg.vue?vue&type=script&lang=ts\"\nexport * from \"./ScheduleItemDlg.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ScheduleItemDlg.vue?vue&type=style&index=0&id=7dead3f0&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!./TeleconsultationDetail.vue?vue&type=style&index=0&id=47c68d29&prod&lang=scss\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"small\":\"640px\",\"medium\":\"800px\",\"large\":\"1024px\",\"xLarge\":\"1280px\"};","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!./SaveReport.vue?vue&type=style&index=0&id=74b02bd9&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!./TimePicker.vue?vue&type=style&index=0&id=3eacb700&prod&lang=scss\"","import Vue from 'vue'\n// https://www.the-art-of-web.com/javascript/search-highlight/\n\nexport function Hilitor(targetNode: HTMLElement, tag) {\n\tlet hiliteTag = tag || 'MARK'\n\tlet skipTags = new RegExp('^(?:' + hiliteTag + '|SCRIPT|FORM)$')\n\tlet colors = ['#ff6', '#a0ffff', '#9f9', '#f99', '#f6f']\n\tlet wordColor = []\n\tlet colorIdx = 0\n\tlet matchRegExp: RegExp = null\n\t// characters to strip from start and end of the input string\n\tlet endRegExp = new RegExp('^[^\\\\w]+|[^\\\\w]+$', 'g')\n\t// characters used to break up the input string into words\n\tlet breakRegExp = new RegExp(\"[^\\\\w'-]+\", 'g')\n\n\tthis.setRegex = function(input) {\n\t\tinput = input.replace(endRegExp, '')\n\t\tinput = input.replace(breakRegExp, '|')\n\t\tinput = input.replace(/^\\||\\|$/g, '')\n\t\tif (input) {\n\t\t\tlet re = '(' + input + ')'\n\t\t\tmatchRegExp = new RegExp(re, 'i')\n\t\t\treturn matchRegExp\n\t\t}\n\t\treturn false\n\t}\n\n\t// recursively apply word highlighting\n\tthis.hiliteWords = function(node: Node) {\n\t\tif (node === undefined || !node) return\n\t\tif (!matchRegExp) return\n\t\tif (skipTags.test(node.nodeName)) return\n\n\t\tif (node.hasChildNodes()) {\n\t\t\tfor (let i = 0; i < node.childNodes.length; i++) this.hiliteWords(node.childNodes[i])\n\t\t}\n\t\tif (node.nodeType === 3) {\n\t\t\t// NODE_TEXT\n\t\t\tlet textNode: Text = node\n\t\t\tlet regs = node.nodeValue && matchRegExp.exec(node.nodeValue)\n\t\t\tif (regs) {\n\t\t\t\tif (!wordColor[regs[0].toLowerCase()]) {\n\t\t\t\t\twordColor[regs[0].toLowerCase()] = colors[colorIdx++ % colors.length]\n\t\t\t\t}\n\n\t\t\t\tlet match = document.createElement(hiliteTag)\n\t\t\t\tmatch.appendChild(document.createTextNode(regs[0]))\n\t\t\t\tmatch.style.backgroundColor = wordColor[regs[0].toLowerCase()]\n\t\t\t\tmatch.style.color = '#000'\n\n\t\t\t\tlet after = textNode.splitText(regs.index)\n\t\t\t\tafter.nodeValue = after.nodeValue.substring(regs[0].length)\n\t\t\t\tnode.parentNode.insertBefore(match, after)\n\t\t\t}\n\t\t}\n\t}\n\n\t// remove highlighting\n\tthis.remove = function() {\n\t\tlet arr = document.getElementsByTagName(hiliteTag)\n\t\tlet el = null\n\n\t\twhile (arr.length && (el = arr[0])) {\n\t\t\tlet parent = el.parentNode\n\t\t\tparent.replaceChild(el.firstChild, el)\n\t\t\tparent.normalize()\n\t\t}\n\t}\n\n\t// start highlighting at target node\n\tthis.apply = function(input) {\n\t\tthis.remove()\n\t\tif (input === undefined || !(input = input.replace(/(^\\s+|\\s+$)/g, ''))) {\n\t\t\treturn\n\t\t}\n\t\tif (this.setRegex(input)) {\n\t\t\tthis.hiliteWords(targetNode)\n\t\t}\n\t\treturn matchRegExp\n\t}\n}\n\nexport const highlightKeywords = function(keywords: string[], rootSelector: string) {\n\tVue.nextTick(() => {\n\t\tlet root: HTMLElement = document.querySelector(rootSelector)\n\t\tif (keywords && keywords.length > 0 && root) {\n\t\t\tlet hl = new Hilitor(root, undefined)\n\t\t\thl.apply(keywords.join(' '))\n\t\t}\n\t})\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"save-report\"}},[(_vm.saving)?_c('span',{key:\"saving\"},[_vm._v(\"Saving …\")]):_c('span',{key:\"saved\"},[_c('svg-icon',{staticClass:\"is-success\",attrs:{\"icon\":\"check\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\tSaved\\n\\t\")],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!./SaveReport.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!./SaveReport.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SaveReport.vue?vue&type=template&id=74b02bd9\"\nimport script from \"./SaveReport.vue?vue&type=script&lang=js\"\nexport * from \"./SaveReport.vue?vue&type=script&lang=js\"\nimport style0 from \"./SaveReport.vue?vue&type=style&index=0&id=74b02bd9&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","// extracted by mini-css-extract-plugin\nmodule.exports = {\"small\":\"640px\",\"medium\":\"800px\",\"large\":\"1024px\",\"xLarge\":\"1280px\"};","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!./Residents.vue?vue&type=style&index=0&id=5edf694f&prod&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('datepicker',{attrs:{\"disabled\":_vm.disabled,\"value\":_vm.dateOnly,\"allow-future-dates\":_vm.allowFutureDates},on:{\"input\":_vm.updateDate}}),_c('timepicker',{style:({ marginTop: '2px' }),attrs:{\"disabled\":_vm.disabled,\"value\":_vm.timeOnly},on:{\"input\":_vm.updateTime}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tp-wrapper\"},[(!_vm.isMobileOS)?_c('svg',{staticClass:\"tp-clock\",attrs:{\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z\"}})]):_vm._e(),(_vm.isTimeInputSupported)?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.time),expression:\"time\"}],ref:\"timeInput\",staticClass:\"time-picker input\",attrs:{\"type\":\"time\",\"disabled\":_vm.disabled},domProps:{\"value\":(_vm.time)},on:{\"blur\":_vm.validateTimeInput,\"input\":function($event){if($event.target.composing){ return; }_vm.time=$event.target.value}}}):_c('input',{ref:\"textInput\",staticClass:\"time-picker input\",attrs:{\"type\":\"text\",\"pattern\":\"[0-2]?[0-9]:[0-5][0-9]\\\\s?(am|AM|pm|PM)?\\\\s?\",\"placeholder\":_vm.placeholder,\"disabled\":_vm.disabled},domProps:{\"value\":_vm.time},on:{\"blur\":_vm.validateTextInput}})])}\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!./TimePicker.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!./TimePicker.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TimePicker.vue?vue&type=template&id=3eacb700\"\nimport script from \"./TimePicker.vue?vue&type=script&lang=js\"\nexport * from \"./TimePicker.vue?vue&type=script&lang=js\"\nimport style0 from \"./TimePicker.vue?vue&type=style&index=0&id=3eacb700&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","\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!./DateTimePicker.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!./DateTimePicker.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DateTimePicker.vue?vue&type=template&id=7c20462b\"\nimport script from \"./DateTimePicker.vue?vue&type=script&lang=js\"\nexport * from \"./DateTimePicker.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\nexport default component.exports","import { ScheduleStatus } from '@services/scheduleData'\nexport default {\n\tmethods: {\n\t\tgetItemClasses(item: IScheduleItem) {\n\t\t\treturn {\n\t\t\t\t'drag-item': this.dragItemId && this.dragItemId === item.id,\n\t\t\t\t'status-started': [\n\t\t\t\t\tScheduleStatus.Started,\n\t\t\t\t\tScheduleStatus.ImagesAvailable,\n\t\t\t\t\tScheduleStatus.ImagesPendingReview,\n\t\t\t\t].includes(item.scheduleStatusId),\n\t\t\t\t'status-imaging-complete': [ScheduleStatus.ImagingComplete, ScheduleStatus.ReportInProgress].includes(\n\t\t\t\t\titem.scheduleStatusId\n\t\t\t\t),\n\t\t\t\t'status-report-pending-approval': [\n\t\t\t\t\tScheduleStatus.ReportPendingApproval,\n\t\t\t\t\tScheduleStatus.ReportPendingRounds,\n\t\t\t\t].includes(item.scheduleStatusId),\n\t\t\t\t'status-report-complete': item.scheduleStatusId === ScheduleStatus.ReportComplete,\n\t\t\t}\n\t\t},\n\t\tgetStatusIcon(item: IScheduleItem) {\n\t\t\tswitch (item.scheduleStatusId) {\n\t\t\t\tcase ScheduleStatus.Started:\n\t\t\t\t\treturn 'clock-o'\n\t\t\t\tcase ScheduleStatus.ImagesAvailable:\n\t\t\t\t\treturn 'clock-o'\n\t\t\t\tcase ScheduleStatus.ImagesPendingReview:\n\t\t\t\t\treturn 'clock-o'\n\t\t\t\tcase ScheduleStatus.ImagingComplete:\n\t\t\t\t\treturn 'check'\n\t\t\t\tcase ScheduleStatus.ReportInProgress:\n\t\t\t\t\treturn 'check'\n\t\t\t\tcase ScheduleStatus.ReportPendingApproval:\n\t\t\t\t\treturn 'clock-o'\n\t\t\t\tcase ScheduleStatus.ReportPendingRounds:\n\t\t\t\t\treturn 'clock-o'\n\t\t\t\tcase ScheduleStatus.ReportComplete:\n\t\t\t\t\treturn 'check'\n\t\t\t\tdefault:\n\t\t\t\t\treturn null\n\t\t\t}\n\t\t},\n\t},\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tabs_.length)?_c('div',{ref:\"wrapper\",staticClass:\"tabs-wrapper\",on:{\"wheel\":_vm.onWheel}},[_c('div',{staticClass:\"tabs\",class:{ 'is-accent': _vm.accent, 'is-low-contrast': _vm.lowContrast },style:(_vm.style)},_vm._l((_vm.tabs_),function(tab){return _c('div',{key:tab.id,staticClass:\"tab-item\",class:{ 'is-selected': tab === _vm.selectedTab, 'is-closable': tab.closable },attrs:{\"data-id\":tab.id,\"draggable\":\"\"},on:{\"click\":function($event){return _vm.selectTab(tab)},\"dragstart\":function($event){return _vm.onDragStart($event, tab)},\"dragenter\":function($event){$event.preventDefault();},\"dragover\":function($event){return _vm.onDragEnter($event, tab)},\"dragleave\":function($event){return _vm.onDragLeave($event, tab)},\"drop\":function($event){return _vm.onDrop($event, tab)}}},[_vm._t(\"default\",[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(tab.label)+\"\\n\\t\\t\\t\")],null,tab),_c('div',{staticClass:\"close\"},[(tab.closable)?_c('svg-icon',{attrs:{\"icon\":\"close\"},nativeOn:{\"click\":function($event){$event.stopPropagation();return _vm.closeTab(tab)}}}):_vm._e()],1)],2)}),0)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./Tabs.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!./Tabs.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Tabs.vue?vue&type=template&id=2f1fe94e\"\nimport script from \"./Tabs.vue?vue&type=script&lang=js\"\nexport * from \"./Tabs.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\nexport default component.exports","// 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 (_vm.report)?_c('div',{staticClass:\"page-wrapper\",attrs:{\"id\":\"consultation\"}},[_c('tabs',{staticStyle:{\"z-index\":\"10\"},attrs:{\"tabs\":_vm.reportTabs,\"value\":_vm.report && _vm.report.consultantReportId},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar isOriginal = ref.isOriginal;\nvar report = ref.report;\nreturn [_c('div',{staticClass:\"tab-item-content\"},[(isOriginal)?_c('svg-icon',{attrs:{\"icon\":\"pencil\"}}):_vm._e(),_c('span',[_vm._v(_vm._s(_vm._f(\"localizeDate\")(report.requestDate)))]),(report.modality)?_c('div',{staticClass:\"modality-indicator\"},[_vm._v(_vm._s(report.modality))]):_vm._e()],1)]}}],null,false,3893647912)}),_c('ast-toolbar',{staticClass:\"toolbar-header-secondary\"},[_c('toolbar-button',{attrs:{\"icon\":\"eye\",\"label\":\"Launch Viewer\",\"title\":\"Launch Viewer\"},nativeOn:{\"click\":function($event){return _vm.openViewer($event)}}}),(_vm.isClaimable)?_c('toolbar-button',{attrs:{\"icon\":\"clock-o\",\"label\":\"Claim\",\"title\":\"Claim\",\"disabled\":_vm.isChangingClaim},nativeOn:{\"click\":function($event){return _vm.claim($event)}}}):(_vm.isUnclaimable)?_c('toolbar-button',{attrs:{\"icon\":\"clock-o\",\"label\":\"Release Claim\",\"title\":\"Release Claim\",\"disabled\":_vm.isChangingClaim},nativeOn:{\"click\":function($event){return _vm.releaseClaim($event)}}}):_vm._e(),(_vm.hasPermissionToFinalize && _vm.residentResponses.length)?_c('toolbar-button',{attrs:{\"icon\":\"account-multiple\",\"label\":\"Residents\",\"title\":\"Review resident responses\",\"badge\":_vm.residentsButtonBadge},nativeOn:{\"click\":function($event){return _vm.openResidents($event)}}}):_vm._e(),(_vm.claims.isConsultantUser && !_vm.selectedResidentResponse && !_vm.radiologistFeedback)?_c('toolbar-button',{attrs:{\"icon\":\"email\",\"label\":_vm.hasPermissionToFinalize ? 'Send Response' : 'Send for Approval',\"title\":_vm.hasPermissionToFinalize ? 'Send Response' : 'Send for Approval',\"disabled\":!_vm.isCompletable || _vm.isPageLoading},nativeOn:{\"click\":function($event){return _vm.tryCompleteReport($event)}}}):_vm._e(),_c('toolbar-button',{attrs:{\"icon\":\"file-text-o\",\"label\":\"PDF Report\",\"title\":\"PDF Report\"},nativeOn:{\"click\":function($event){return _vm.openReportPdf($event)}}}),(_vm.canCreateScheduleItem)?_c('toolbar-button',{attrs:{\"icon\":\"calendar\",\"label\":\"New Exam\",\"title\":\"New Exam\"},nativeOn:{\"click\":function($event){return _vm.newExam()}}}):_vm._e(),_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',{ref:\"listScroll\",staticClass:\"list-scroll\",class:{ 'loading-report': _vm.isPageLoading }},[_c('div',{staticStyle:{\"margin-bottom\":\"8px\"}},[_c('p',[_c('span',{staticClass:\"status\",class:_vm.statusClass},[(_vm.statusIcon)?_c('svg-icon',{attrs:{\"icon\":_vm.statusIcon}}):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.statusHeading))])],1),(_vm.priorityInfo.priorityName)?_c('span',{staticClass:\"status\",class:_vm.statusClass,staticStyle:{\"margin-left\":\"8px\"}},[_c('span',[_vm._v(\"Priority: \"+_vm._s(_vm.priorityInfo.priorityName))]),(_vm.priorityInfo.priorityChangeUser)?_c('span',{staticStyle:{\"margin-left\":\"8px\",\"text-decoration\":\"underline\",\"cursor\":\"pointer\"},on:{\"click\":function($event){return _vm.viewPriorityEscalationDetail()}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tEscalated on \"+_vm._s(_vm._f(\"localizeDate\")(_vm.priorityInfo.priorityChangeDateTime))+\" by\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.priorityInfo.priorityChangeUser)+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e()]):_vm._e()]),(_vm.report.draftedBy)?_c('p',[_vm._v(\" \"+_vm._s(_vm.report.draftedBy)+\" on \"+_vm._s(_vm._f(\"localizeDate\")(_vm.report.draftDateTime))+\" \")]):_vm._e()]),(_vm.selectedResidentResponse || _vm.radiologistFeedback)?_c('div',{staticClass:\"resident-review\",class:{ inline: !_vm.mq.medium || _vm.useInlineResidentReview }},[_c('p',{staticStyle:{\"cursor\":\"pointer\",\"font-size\":\"0.9em\"},on:{\"click\":function($event){_vm.isResidentReviewExpanded = !_vm.isResidentReviewExpanded}}},[(_vm.hasPermissionToFinalize)?[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tReviewing the response from \"),_c('strong',[_vm._v(_vm._s(_vm.selectedResidentResponse.consultantName))])]:[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tComments from \"),_c('strong',[_vm._v(_vm._s(_vm.radiologistFeedback.radiologistName))])]],2),_c('transition',{attrs:{\"name\":\"expand\"}},[(_vm.isResidentReviewExpanded || !_vm.mq.medium || _vm.useInlineResidentReview)?_c('div',[(_vm.hasPermissionToFinalize)?[_c('c-k-editor',{ref:\"editor\",attrs:{\"read-only\":false},on:{\"input\":_vm.updateTextValue}}),(!_vm.report.isComplete)?[_c('button',{staticClass:\"btn btn-primary\",attrs:{\"disabled\":_vm.isSavingResidentResponseReview || !_vm.hasResidentResponseReview},on:{\"click\":function($event){return _vm.reviewResidentResponse(true)}}},[_c('svg-icon',{attrs:{\"icon\":\"paper-plane\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tSend feedback\\n\\t\\t\\t\\t\\t\\t\\t\\t\")],1),(_vm.selectedResidentResponse.status < 2)?_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.isSavingResidentResponseReview || !_vm.residentResponseReviewHasChanged},on:{\"click\":function($event){return _vm.reviewResidentResponse(false)}}},[_c('svg-icon',{attrs:{\"icon\":\"floppy-o\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tSave Draft\\n\\t\\t\\t\\t\\t\\t\\t\\t\")],1):_vm._e()]:_vm._e(),_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.isPageLoading},on:{\"click\":_vm.closeResidentResponse}},[_c('svg-icon',{attrs:{\"icon\":\"close\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.report.isComplete ? 'Close resident response' : 'End reviewing session')+\"\\n\\t\\t\\t\\t\\t\\t\\t\")],1)]:[_c('p',{staticClass:\"readonly-rich-text\",staticStyle:{\"margin\":\"16px 0\",\"overflow\":\"auto\"},style:({ maxHeight: _vm.wysiwygMaxHeight }),attrs:{\"read-only\":\"\"},domProps:{\"innerHTML\":_vm._s(_vm.radiologistFeedback.message)}}),(_vm.report.isComplete)?_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.isPageLoading},on:{\"click\":_vm.toggleResidentResponse}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\tSwitch to \"+_vm._s(_vm.selectedResidentResponse ? 'official' : 'my')+\" response\\n\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e()]],2):_vm._e()]),(_vm.mq.medium)?_c('button',{staticClass:\"collapse\",class:{ collapsed: !_vm.isResidentReviewExpanded },on:{\"click\":function($event){$event.stopPropagation();_vm.isResidentReviewExpanded = !_vm.isResidentReviewExpanded}}},[_c('svg-icon',{attrs:{\"icon\":\"chevron-right\"}})],1):_vm._e()],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\\t\\tDownload DICOM Images\\n\\t\\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\\t\\tDownload JPEG Images\\n\\t\\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\\t\\tSend to Email Address\\n\\t\\t\\t\\t\\t\\t\")],1)]):_vm._e(),(_vm.report.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\\t\\tDelete\\n\\t\\t\\t\\t\\t\\t\")],1)]):_vm._e(),(_vm.priorityInfo.allowPriorityChange)?_c('li',[_c('button',{staticClass:\"btn btn-danger\",on:{\"click\":function($event){$event.preventDefault();return _vm.confirmPriorityChange($event)}}},[_c('svg-icon',{attrs:{\"icon\":\"info-circle\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tEscalate to STAT Priority\\n\\t\\t\\t\\t\\t\\t\")],1)]):_vm._e(),(_vm.claims.isConsultantUser && _vm.report.canRecall)?_c('li',[_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){$event.preventDefault();return _vm.confirmRecall(_vm.report.consultant.clinicCode)}}},[_c('svg-icon',{attrs:{\"icon\":\"redo\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\tRecall from \"+_vm._s(_vm.formatClinicCode(_vm.report.consultant.clinicCode))+\"\\n\\t\\t\\t\\t\\t\\t\")],1)]):_vm._e()]),(_vm.deleteWarning)?_c('p',{staticStyle:{\"text-align\":\"center\",\"margin-top\":\"16px\",\"font-size\":\"0.9em\"}},[_c('svg-icon',{staticClass:\"is-info\",attrs:{\"icon\":\"info-circle\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.deleteWarning)+\"\\n\\t\\t\\t\\t\")],1):_vm._e()])]):_vm._e()],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('ast-modal-wrapper',{on:{\"close\":_vm.close}},[_c('div',{staticClass:\"dialog residents\"},[_c('dlg-header',{attrs:{\"title\":\"Select a resident to review their response.\"},on:{\"close\":_vm.close}}),_c('div',{staticClass:\"dialog-body\"},[_c('data-table',{attrs:{\"columns\":_vm.columns,\"rows\":_vm.sortedResidentResponses,\"sort\":_vm.listSort,\"sticky-headers\":true},on:{\"sort-selected\":_vm.handleSortSelected,\"row-open\":_vm.selectResident},scopedSlots:_vm._u([{key:\"row\",fn:function(ref){\nvar row = ref.row;\nreturn [_c('td',{class:{ 'no-response': !row.status }},[(row.status)?_c('svg-icon',{staticClass:\"hover-icon\",attrs:{\"icon\":\"pencil\"}}):_vm._e()],1),_c('td',{class:{ 'no-response': !row.status },attrs:{\"data-test\":\"resident-name\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(row.consultantName)+\"\\n\\t\\t\\t\\t\\t\\t\")]),_c('td',{class:{ 'no-response': !row.status },staticStyle:{\"font-size\":\"0.8em\"}},[(row.status)?_c('b',{staticClass:\"is-info\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm._f(\"localizeDate\")(row.editDateTime))+\"\\n\\t\\t\\t\\t\\t\\t\\t\")]):_c('em',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\tNo response\\n\\t\\t\\t\\t\\t\\t\\t\")])]),_c('td',{class:{ 'no-response': !row.status },staticStyle:{\"font-size\":\"0.8em\"}},[(row.status === 2)?_c('b',{staticClass:\"is-success\"},[_c('svg-icon',{attrs:{\"icon\":\"check-circle\",\"fixed\":\"\",\"inline\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm._f(\"localizeDate\")(row.comment.date))+\"\\n\\t\\t\\t\\t\\t\\t\\t\")],1):_c('em',[_vm._v(\" Not reviewed \"),(row.comment && row.comment.message)?_c('span',[_vm._v(\"(Draft saved)\")]):_vm._e()])]),_c('td',{class:{ 'no-response': !row.status }},[(!_vm.isReportComplete && _vm.isOwner && row.status === 2)?_c('button',{staticClass:\"btn btn-info\",staticStyle:{\"font-size\":\"0.8em\"},attrs:{\"data-test\":\"copy-resident-response-button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.copyToOfficalReport(row)}}},[_c('svg-icon',{attrs:{\"icon\":\"copy\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\tCopy to official report\\n\\t\\t\\t\\t\\t\\t\\t\")],1):_vm._e()]),_c('td',{class:{ 'no-response': !row.status },staticStyle:{\"width\":\"auto\"}})]}}])})],1),_c('div',{staticClass:\"footer right\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"data-test\":\"close-resident-dlg-button\"},on:{\"click\":function($event){return _vm.close()}}},[_vm._v(\"Cancel\")])])],1)])],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!./Residents.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!./Residents.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Residents.vue?vue&type=template&id=5edf694f\"\nimport script from \"./Residents.vue?vue&type=script&lang=js\"\nexport * from \"./Residents.vue?vue&type=script&lang=js\"\nimport style0 from \"./Residents.vue?vue&type=style&index=0&id=5edf694f&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","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 store from '@store'\nimport { consultations } from '@services/consultationService'\nimport { lockService } from '@services/lockService'\nimport Tabs from '@components/Tabs.vue'\nimport ModalDrawer from '@components/ModalDrawer.vue'\nimport ToolbarButton from '@components/ToolbarButton.vue'\nimport AstToolbar from '@components/Toolbar.vue'\nimport { eventBus } from '@services/eventBus'\nimport { showInfo, showAlert } from '@dialogs/MessageDlg.vue'\nimport { Dbounce } from '@utils/dbounce'\nimport { openReportPdf } from '@dialogs/ReportPdf.vue'\nimport SaveReport from '@reporting/components/SaveReport.vue'\nimport { openPromptDlg } from '@dialogs/TextPromptDlg.vue'\nimport { showConfirm } from '@dialogs/ConfirmDlg.vue'\nimport { openScheduleItemDlg } from '@/schedule/dialogs/ScheduleItemDlg.vue'\nimport { userData } from '@services/userData'\nimport { openResidents } from '@dialogs/Residents.vue'\nimport reportService from '@services/reportService'\nimport { ReportDetail } from '@/reporting/classes'\nimport { highlightKeywords } from '@services/hilitor'\nimport { openEmailStudyDlg } from '@/dialogs/emailStudyDlg.vue'\nimport api from '@services/api'\nimport { EmailItem } from '@/components/EmailStudyForm.vue'\nimport { addNotification } from '@services/notificationService'\nimport CKEditor from \"@components/CKEditor.vue\"\nimport GoogleAnalytics from '@services/analyticsService'\n\nconst { REPORT_COMPLETED, REFRESH_REPORT, IMAGE_CHANGE, REPORT_IMAGE_COMMENT, RESIZE } = eventBus.type\nlet nextReport: ReportDetail = null\n\nexport default {\n name: 'TeleconsultationDetail',\n components: {\n ModalDrawer,\n AstToolbar,\n ToolbarButton,\n SaveReport,\n Tabs,\n CKEditor,\n },\n filters: {\n url(value) {\n if (value.substring(0, 4).toLowerCase() !== 'http') {\n value = 'http://' + value\n }\n return value\n },\n },\n props: {\n id: {\n type: String,\n required: true,\n },\n keywords: {\n type: Array,\n required: false,\n },\n },\n data() {\n return {\n report: null,\n isSaving: false,\n isActionsOpen: false,\n isChangingClaim: false,\n isPageLoading: false,\n completeRetryTimeout: undefined,\n pollingInterval: undefined,\n // multiple resident workflow\n isResidentReviewExpanded: true,\n isSavingResidentResponseReview: false,\n residentResponseReview: null,\n residentResponseReviewHasChanged: false,\n residentResponseReviewTextValue: '',\n selectedResidentResponse: null,\n useInlineResidentReview: false,\n reportTabs: null,\n wysiwygMaxHeight: '60vh',\n }\n },\n computed: {\n ...mapState({\n claims: (state: any) => state.auth.claims,\n permissions: (state: any) => state.static.permissions,\n groupMembers: (state: any) => state.consultant.groupMembers,\n }),\n consultantReportId() {\n return this.report?.consultantReportId\n },\n residentResponses() {\n return this.report?.residentResponses || []\n },\n hasResidentResponseReview() {\n return (\n this.residentResponseReviewTextValue ||\n (this.selectedResidentResponse.comment && this.selectedResidentResponse.comment.message)\n )\n },\n radiologistFeedback() {\n if (!this.claims.isConsultantResident) return null\n const residentResponse = this.report.residentResponses.find(r => r.consultantId === this.claims.userId)\n if (!residentResponse || !residentResponse.comment || !residentResponse.comment.message) return null\n const radiologist = this.groupMembers.find(c => c.id === residentResponse.comment.consultantId)\n return {\n ...residentResponse.comment,\n radiologistName: radiologist ? radiologist.name : 'radiologist',\n }\n },\n priorityInfo() {\n return this.report?.priorityInfo\n },\n isRespondingAsResident() {\n return this.claims.isConsultantResident && this.residentResponses.length && !this.report.isComplete\n },\n isResidentResponseSubmitted() {\n if (!this.isRespondingAsResident) return false\n const rr = this.residentResponses.find(r => r.consultantId === this.claims.userId)\n return rr.status > 0\n },\n isClaimable() {\n if (this.selectedResidentResponse) return false // resident responses do not require claiming/unclaiming\n if (this.isRespondingAsResident) return false\n if (!this.claims.isConsultantUser) return false // only consultants can claim\n if (this.report.isComplete) return false // only incomplete reports can be claimed/unclaimed\n if (this.report.isLocked) return false // only unclaimed reports can be claimed\n if (!this.report.groupConsultantId) return false // claiming/unclaiming only applies to reports sent to a group\n if (this.claims.isConsultantTranscriptionist) return false // transcriptionists cannot claim\n return true\n },\n isUnclaimable() {\n if (this.selectedResidentResponse) return false // resident responses do not require claiming/unclaiming\n if (this.isRespondingAsResident) return false\n if (!this.report.groupConsultantId) return false // claiming/unclaiming only applies to reports sent to a group\n if (this.report.isComplete) return false // only incomplete reports can be claimed/unclaimed\n // user must either be the assigned consultant group member OR have the UserAdministration permission\n const isGroupMemberAndOwner = this.claims.isConsultantUser && this.claims.isConsultantMember && this.isOwner\n if (!isGroupMemberAndOwner && !userData.permissions.userAdministration) return false\n return true\n },\n isCompletable() {\n if (this.selectedResidentResponse) return false\n if (this.isResidentResponseSubmitted) return false\n if (!this.report.isValid) return false\n if (this.isReadOnly) return false\n if (this.report.isComplete) return false\n if (!this.isOwner) return false\n if (this.claims.isConsultantTranscriptionist) return false\n return true\n },\n hasPermissionToFinalize() {\n if (!this.claims.isConsultantUser) return false\n const canOnlyDraft = this.claims.isConsultantIntern || this.claims.isConsultantResident\n return !canOnlyDraft\n },\n isOwner() {\n if (!this.report) return false\n if (!this.claims.isConsultantUser) return false\n if (!this.report.groupConsultantId) return true\n if (this.isRespondingAsResident) return true\n return this.claims.userId === this.report.lockedByUserId\n },\n isReadOnly() {\n return !this.claims.isConsultantUser || !this.isOwner || this.report.isComplete\n },\n deleteWarning() {\n if (this.report.canDelete) return null\n if (this.report.isComplete) return 'Completed reports may not be deleted.'\n if (\n this.report.lockedByUserId &&\n this.permissions.deleteStudy &&\n (this.claims.isConsultantUser || this.permissions.serverAdministration)\n )\n return 'This report must be unlocked before it can be deleted.'\n return null\n },\n actionsPanel() {\n return this.panels.find(panel => panel.name === 'actionsPanel')\n },\n statusClass() {\n if (this.report.isComplete || this.isResidentResponseSubmitted) return 'is-success'\n if (this.report.isLocked) return 'is-danger'\n if (this.report.groupConsultantId) return 'is-info'\n return 'is-warning'\n },\n statusIcon() {\n if (this.report.isComplete || this.isResidentResponseSubmitted) return 'check-circle'\n if (this.report.isLocked) return 'lock'\n return ''\n },\n statusHeading() {\n let report = this.report\n\n if (report.isComplete) {\n const completedDate = this.$options.filters.localizeDate(report.completedDateTime)\n if (report.consultant.type !== 'ImageOnly') return `Completed by ${report.completedBy} on ${completedDate}`\n if (report.consultant.type === 'ImageOnly') return `Submitted to ${report.completedBy} on ${completedDate}`\n }\n\n if (this.isResidentResponseSubmitted) return `Sent for Approval`\n\n if (report.isLocked) {\n const lockedDate = this.$options.filters.localizeDate(report.lockedDateTime)\n return `Locked by ${this.isOwner ? 'you' : report.lockedBy} on ${lockedDate}`\n }\n\n if (report.groupConsultantId && !this.isRespondingAsResident) return `Unclaimed`\n return `Incomplete`\n },\n template() {\n return this.report?.activeTemplate\n },\n completedResidentResponseCount() {\n if (!this.residentResponses.length) return 0\n return this.residentResponses.filter(r => r.status > 0).length\n },\n residentsButtonBadge() {\n if (!this.residentResponses.length || this.report.isComplete) return ''\n return `${this.completedResidentResponseCount} / ${this.residentResponses.length}`\n },\n canCreateScheduleItem() {\n return userData.canCreateScheduleItem\n },\n },\n watch: {\n id() {\n this.loadReport()\n },\n },\n async beforeRouteEnter(to, from, next) {\n try {\n nextReport = await getReportDetail(to.params.id)\n // Cancel navigation if images are not ready or error\n if (!nextReport) return next(from.name ? false : '/teleconsultations')\n next()\n } catch (err) {\n next(from.name ? false : '/teleconsultations')\n }\n },\n async beforeRouteUpdate(to, from, next) {\n const isLoadingAnotherReport = to.params.id !== from.params.id\n if (!isLoadingAnotherReport) return next()\n this.isPageLoading = true\n await this.saveReport()\n nextReport = await getReportDetail(to.params.id)\n this.isPageLoading = false\n // Cancel navigation if images are not ready or error\n if (!nextReport) return next(from.name ? false : '/teleconsultations')\n next()\n },\n async beforeRouteLeave(to, from, next) {\n if (this.forceNavigation || !this.claims.isConsultantUser) return next()\n await this.saveReport()\n next()\n },\n async created() {\n eventBus.on(REFRESH_REPORT, this.refreshReport)\n eventBus.on(IMAGE_CHANGE, this.refreshReport)\n eventBus.on(REPORT_IMAGE_COMMENT, this.onCommentUpdated)\n eventBus.on(RESIZE, this.resizeResidentReview)\n window.name = 'report-detail'\n\n const ONE_MINUTE = 60000\n this.pollingInterval = setInterval(this.refreshReport, ONE_MINUTE)\n this.dbounce = new Dbounce(3000, this.saveReport.bind(this))\n this.loadReport()\n },\n beforeDestroy() {\n eventBus.off(REFRESH_REPORT, this.refreshReport)\n eventBus.off(IMAGE_CHANGE, this.refreshReport)\n eventBus.off(REPORT_IMAGE_COMMENT, this.onCommentUpdated)\n eventBus.on(RESIZE, this.resizeResidentReview)\n clearInterval(this.pollingInterval)\n clearTimeout(this.completeRetryTimeout)\n this.dbounce.clear()\n },\n methods: {\n ...mapActions(['openStudy']),\n newExam() {\n openScheduleItemDlg(null, null, this.report.patient)\n },\n redirectToList() {\n // If Splitview:\n if (this.$router.currentRoute.name === 'teleconsultations') {\n this.loadReport()\n } else {\n this.forceNavigation = true\n this.$router.push({ name: 'teleconsultations' })\n }\n },\n resizeResidentReview() {\n if (!this.$refs.listScroll) return\n if (this.$refs.listScroll.clientWidth <= 800 || this.$refs.listScroll.clientHeight <= 250) {\n this.useInlineResidentReview = true\n this.wysiwygMaxHeight = '60vh'\n } else {\n this.useInlineResidentReview = false\n this.wysiwygMaxHeight = this.$refs.listScroll.clientHeight - 200 + 'px'\n }\n },\n // Listen for events from other windows spawned from the main Omni window.\n onCommentUpdated(reportId) {\n if (reportId !== this.report.reportId) return\n this.refreshReport()\n },\n async refreshReport() {\n await this.saveReport()\n const report = await getReportDetail(this.consultantReportId)\n if (!report) return this.redirectToList()\n this.report.refresh(report)\n },\n async loadReport(reportId: string = null) {\n if (!reportId) reportId = this.id\n if (this.report) await this.saveReport()\n if (this.$el) this.$el.querySelector('.list-scroll').scrollTo(0, 0)\n\n this.isPageLoading = true\n this.report = nextReport || (await getReportDetail(reportId))\n nextReport = null\n this.isPageLoading = false\n if (!this.report) return\n\n this.template.onChangeCB = this.dbounce.set.bind(this.dbounce)\n this.template.pendingChanges = false\n if (this.template.root.readOnly) {\n highlightKeywords(this.keywords, '#rootReportLayout')\n }\n this.refreshReportTabs()\n this.$nextTick(this.resizeResidentReview)\n },\n refreshReportTabs() {\n this.reportTabs = this.report.relatedReports\n .map(report => ({\n id: report.id,\n isOriginal: report.id === this.id,\n report,\n onSelect: () => this.loadReport(report.id),\n }))\n .sort((a, b) => b.isOriginal - a.isOriginal)\n },\n async claim() {\n this.isChangingClaim = true\n await lockService.lock(this.consultantReportId)\n this.isChangingClaim = false\n },\n async releaseClaim() {\n this.isChangingClaim = true\n await lockService.unlock(this.consultantReportId, false)\n this.isChangingClaim = false\n },\n async openResidents() {\n if (this.residentResponses.length) {\n const result = await openResidents(this.residentResponses, this.report.isComplete, this.isOwner)\n if (\n !result ||\n (result.responseToView &&\n this.selectedResidentResponse &&\n result.responseToView.id === this.selectedResidentResponse.id)\n )\n return\n if (result && (await this.closeResidentResponse())) {\n let report: ReportDetail = this.report\n if (result.responseToView) {\n this.selectedResidentResponse = result.responseToView\n this.isResidentReviewExpanded = true\n report.applyResidentResponse(result.responseToView)\n this.residentResponseReview = result.responseToView.comment && result.responseToView.comment.message\n report.setCanRespond()\n } else if (result.responseToApply) {\n report.mergeResidentResponse(result.responseToApply)\n }\n }\n }\n },\n toggleResidentResponse() {\n if (this.selectedResidentResponse) {\n this.closeResidentResponse()\n } else {\n const residentResponse = this.residentResponses.find(r => r.consultantId === this.claims.userId)\n if (!residentResponse) return\n this.selectedResidentResponse = residentResponse\n this.report.applyResidentResponse(residentResponse)\n }\n },\n updateTextValue(htmlValue, textValue) {\n if (textValue != null) {\n this.residentResponseReviewTextValue = textValue.trim()\n if (\n textValue.trim() ||\n (this.selectedResidentResponse.comment && this.selectedResidentResponse.comment.message)\n )\n this.residentResponseReviewHasChanged = true\n }\n },\n async reviewResidentResponse(complete) {\n if (this.isSavingResidentResponseReview) return\n try {\n this.isSavingResidentResponseReview = true\n await reportService.reviewResidentResponse(\n this.selectedResidentResponse.id,\n this.residentResponseReview,\n complete\n )\n this.residentResponseReviewHasChanged = false\n if (complete) {\n this.closeResidentResponse()\n this.$store.dispatch('addNotification', {\n message: 'Your feedback has been submitted.',\n notificationType: 'success',\n })\n }\n } finally {\n this.isSavingResidentResponseReview = false\n }\n },\n async closeResidentResponse() {\n if (!this.selectedResidentResponse) return true\n const isReviewPending =\n !this.isRespondingAsResident &&\n this.residentResponseReviewHasChanged &&\n this.selectedResidentResponse.status < 2\n if (isReviewPending) {\n if (!(await showConfirm('You have not submitted your feedback. Are you sure you want to leave?'))) return false\n }\n try {\n this.isPageLoading = true\n this.report = await getReportDetail(this.consultantReportId)\n this.selectedResidentResponse = null\n this.residentResponseReview = null\n this.residentResponseReviewHasChanged = false\n this.residentResponseReviewTextValue = ''\n this.template.onChangeCB = this.dbounce.set.bind(this.dbounce)\n return true\n } finally {\n this.isPageLoading = false\n }\n },\n async deleteReport() {\n this.isSaving = true\n try {\n const reason = await openPromptDlg({\n buttonLabel: 'Delete',\n title: 'Delete Report',\n prompt: 'Please enter a reason for deleting this report.',\n type: 'textarea',\n requireInput: true,\n })\n if (reason) {\n await consultations.deleteReport(this.consultantReportId, reason)\n this.$store.dispatch('addNotification', {\n notificationType: 'success',\n message: 'Report deleted!',\n })\n this.redirectToList()\n }\n } finally {\n this.isSaving = false\n }\n },\n async saveReport() {\n if (this.isReadOnly || !this.template.pendingChanges) return\n try {\n this.isSaving = true\n let data = this.report.getSaveResponseForm()\n await consultations.saveConsultantResponse(data)\n this.template.pendingChanges = false\n } finally {\n eventBus.post(eventBus.type.REPORT_SAVE)\n this.isSaving = false\n }\n },\n // Wait for any saving operation to complete, and then completeReport\n tryCompleteReport() {\n clearTimeout(this.completeRetryTimeout)\n this.isPageLoading = true\n if (!this.isCompletable) {\n this.isPageLoading = false\n return\n }\n // if currently saving a response/comment, retry in one second\n if (this.isSaving) {\n this.completeRetryTimeout = setTimeout(this.tryCompleteReport, 1000)\n return\n }\n this.completeReport()\n },\n async completeReport() {\n this.isSaving = true\n\n try {\n let data = this.report.getSaveResponseForm(true)\n await consultations.saveConsultantResponse(data)\n lockService.fetchInfo()\n\n this.$store.dispatch('addNotification', {\n notificationType: 'success',\n message: this.hasPermissionToFinalize ? 'Report completed!' : 'Response submitted for approval!',\n })\n eventBus.broadcast(REPORT_COMPLETED, this.report.reportId)\n this.redirectToList()\n } catch (err) {\n console.warn(err)\n } finally {\n // We always need to setPageLoading to false, because in splitview modes, completing the report won't navigate because it's already on that route.\n this.isPageLoading = false\n this.isSaving = false\n }\n },\n async openEmailReportDlg() {\n let report: ReportDetail = this.report\n let studies: IStudy[] = await api.viewer.getStudy({ ids: report.studyIds }, false).then(r => r.studies)\n\n let images: EmailItem[] = []\n studies.forEach(study => {\n study.imageData.series.forEach(s => {\n images.push(new EmailItem(s, s.images[0], !s.isFakeSeries))\n })\n })\n\n images = images.filter(i => report.images.some(x => x.id === i.imageId))\n openEmailStudyDlg(studies, images, [report.consultantReportId]).catch(e => { })\n },\n openViewer() {\n try {\n GoogleAnalytics.sendGAEvent('Teleconsultation', {\n event_category: 'Launch',\n event_label: 'Teleconsultation Viewer'\n })\n }\n catch (err) {\n console.log(err)\n }\n this.openStudy({\n clinicCode: this.claims.activeClinicCode,\n reportId: this.report.reportId,\n modality: this.report.study.modality,\n })\n },\n downloadReport(imageType) {\n this.$api.file.downloadReport({\n downloadType: imageType === 'download-jpeg' ? 0 : 1,\n clinicCode: this.claims.activeClinicCode,\n id: this.report.reportId,\n })\n },\n openReportPdf() {\n const { reportId, consultantReportId, isComplete } = this.report\n openReportPdf(\n reportId,\n consultantReportId,\n isComplete,\n this.report.appliedResidentResponseId,\n this.report.forceConsultantHeader\n )\n },\n viewPriorityEscalationDetail() {\n showInfo('Reason for escalation: ' + this.priorityInfo.priorityChangeComment)\n },\n async confirmPriorityChange() {\n const reason = await openPromptDlg({\n buttonLabel: 'OK',\n title: 'Change Report Priority',\n prompt:\n 'You are about to change the priority of this report from Standard to STAT. ' +\n 'This action cannot be undone. Changing the priority of the report may trigger the report ' +\n 'to be made available to all radiologists in the group as well as external teleconsultation ' +\n 'providers. Are you sure you want to do this? Please provide a reason for the priority change.',\n type: 'textarea',\n requireInput: true,\n })\n if (reason) {\n await consultations.escalatePriority(this.report.consultantReportId, reason)\n this.$store.dispatch('addNotification', {\n notificationType: 'success',\n message: 'Report priority changed to STAT',\n })\n this.isActionsOpen = false\n this.refreshReport()\n }\n },\n async confirmRecall(clinicCode) {\n var provider = this.formatClinicCode(clinicCode)\n const warning = `Would you like to recall the report from ${provider}? It will be claimed by you after the recall is complete.`\n if (await showConfirm(warning)) {\n if (clinicCode === 'PETRAYS') {\n let recall = await consultations.recallPetRaysReport(this.report.consultantReportId)\n this.isActionsOpen = false\n if (!recall.recalled) {\n showAlert(`Unable to recall the report from ${provider}. The error is: ${recall.errors}`)\n } else {\n store.dispatch('addNotification', {\n message: `Report recalled from ${provider} successfully.`,\n notificationType: 'success',\n })\n this.refreshReport()\n }\n }\n else {\n let consultation: IConsultationForRecall = { consultantReportId: this.report.consultantReportId, userId: this.claims.userId, clinicCode: this.claims.activeClinicCode }\n let recall = await consultations.recallReport(consultation)\n this.isActionsOpen = false\n if (!recall.Success) {\n showAlert(`Unable to recall the report from ${provider}. The error is: ${recall.ErrorMessage}`)\n } else {\n store.dispatch('addNotification', {\n message: `Report recalled from ${provider} successfully.`,\n notificationType: 'success',\n })\n this.refreshReport()\n }\n }\n }\n },\n formatClinicCode(clinicCode) {\n if (clinicCode === \"PETRAYS\") { return \"PetRays\" }\n else if (clinicCode === \"ANTECH\") { return \"Antech\" }\n else if (clinicCode && clinicCode.toUpperCase().includes(this.$VetsChoice_ClinicCode)) { return \"Vets Choice\" }\n }\n },\n}\nasync function getReportDetail(id) {\n if (!id) return\n try {\n const detail = await consultations.getConsultantReport(id)\n if (!detail.areImagesAvailable) {\n store.dispatch('addNotification', {\n notificationType: 'warn',\n message: 'Report images have not yet finished archiving. Please try again in a few minutes.',\n })\n return\n }\n return detail\n } catch (err) {\n showAlert(err.message)\n }\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!./TeleconsultationDetail.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!./TeleconsultationDetail.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TeleconsultationDetail.vue?vue&type=template&id=47c68d29\"\nimport script from \"./TeleconsultationDetail.vue?vue&type=script&lang=ts\"\nexport * from \"./TeleconsultationDetail.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TeleconsultationDetail.vue?vue&type=style&index=0&id=47c68d29&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":""}