(globalThis.webpackChunk_ampath_esm_radiology_app=globalThis.webpackChunk_ampath_esm_radiology_app||[]).push([[176],{4176(e,n,t){"use strict";t.r(n),t.d(n,{addRadiologyRequestResultsAction:()=>b,completedRequestsTable:()=>k,completedRequestsTile:()=>C,declinedRequestsTable:()=>U,declinedRequestsTile:()=>j,generateBillRequestAction:()=>R,importTranslation:()=>y,inProgressRequestsTile:()=>v,inprogressRequestsTable:()=>q,orderedRequestsTable:()=>T,orderedRequestsTile:()=>w,pickupRadiologyRequestAction:()=>h,pickupRadiologyRequestModal:()=>A,postRadiologyForm:()=>P,radiologyDashboardLink:()=>m,rejectRadiologyRequestAction:()=>_,rejectRadiologyRequestModal:()=>L,root:()=>g,startupApp:()=>f});var i=t(6920),o={radiologyOrderTypeUuid:{_type:i.Type.UUID,_default:"ff4485a4-f071-4423-aeb2-db6efce52b83",_description:""},radiologyServiceTypedUuid:{_type:i.Type.UUID,_default:"3jdeq9de-9145-4272-add4-a251005f781e",_description:"Radiology billable service type"},radiologyReportFreetextUuid:{_type:i.Type.UUID,_default:"312810e7-03b4-481d-bbdd-24919478dbb5",_description:"A freetext question to capture Radiology report"},enableOdooBilling:{_type:i.Type.Boolean,_default:!1,_description:"Enable Odoo billing"},blockedPaymentModes:{_type:i.Type.Array,_default:["MPESA","CASH"],_description:"Payment modes that require bill generation before picking an order"},serviceUuid:{_type:i.Type.UUID,_default:"2d4472e2-d7ab-4430-8e0e-a9ffcd809bf4",_description:"Service Uuid for filtering queues"}},r=t(6072),l=t.n(r),a=t(7114),c=t(2076);function s(e){var n=e.dashboardLinkConfig,t=(0,c.useTranslation)().t,o=n.name,s=n.title,d=(0,a.useLocation)(),u="".concat(window.spaBase,"/home"),y=(0,r.useMemo)(function(){return d.pathname.split("/").map(function(e){return decodeURIComponent(e)}).includes(o)},[d.pathname,o]);return l().createElement(i.ConfigurableLink,{to:"".concat(u,"/").concat(o),className:"cds--side-nav__link ".concat(y?"active-left-nav-link":"")},t(s))}var d="@ampath/esm-radiology-app",u={featureName:"radiology",moduleName:d},y=t(4767);function f(){(0,i.defineConfigSchema)(d,o)}var p,g=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(231),t.e(372)]).then(t.bind(t,372))},u),m=(0,i.getSyncLifecycle)((p={name:"radiology",title:"Radiology"},function(){return l().createElement(a.BrowserRouter,null,l().createElement(s,{dashboardLinkConfig:p}))}),u),b=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(46)]).then(t.bind(t,9046))},u),h=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(22)]).then(t.bind(t,7022))},u),_=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(517)]).then(t.bind(t,1517))},u),R=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(474)]).then(t.bind(t,3474))},u),A=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(324),t.e(231),t.e(638)]).then(t.bind(t,6638))},u),L=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(324),t.e(231),t.e(886)]).then(t.bind(t,9886))},u),P=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(324),t.e(199),t.e(231),t.e(684)]).then(t.bind(t,5684))},u),T=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(324),t.e(231),t.e(604),t.e(36)]).then(t.bind(t,5036))},u),q=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(324),t.e(231),t.e(604),t.e(880)]).then(t.bind(t,5880))},u),k=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(324),t.e(231),t.e(604),t.e(864)]).then(t.bind(t,5864))},u),U=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(324),t.e(231),t.e(604),t.e(748)]).then(t.bind(t,748))},u),v=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(324),t.e(231),t.e(18),t.e(990)]).then(t.bind(t,2990))},u),j=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(324),t.e(231),t.e(18),t.e(381)]).then(t.bind(t,3381))},u),C=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(324),t.e(231),t.e(18),t.e(542)]).then(t.bind(t,4542))},u),w=(0,i.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(439),t.e(324),t.e(231),t.e(18),t.e(650)]).then(t.bind(t,3650))},u)},4767(e,n,t){var i={"./am.json":[1197,197],"./en.json":[4300,300],"./es.json":[3099,99],"./fr.json":[4055,55],"./he.json":[4652,652],"./km.json":[6716,335]};function o(e){if(!t.o(i,e))return Promise.resolve().then(()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n});var n=i[e],o=n[0];return t.e(n[1]).then(()=>t(o))}o.keys=()=>Object.keys(i),o.id=4767,e.exports=o}}]);