@ampath/esm-dha-workflow-app 4.0.0-next.445 → 4.0.0-next.448

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- var _ampath_esm_dha_workflow_app;!function(){var e="undefined"!=typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw new Error("@ampath/esm-dha-workflow-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var r=e._FEDERATION_RUNTIME_CORE_FROM;r&&r.version&&"2.8"!==String(r.version).split(".").slice(0,2).join(".")&&console.warn("@ampath/esm-dha-workflow-app was built against Module Federation 2.8.x but the app shell provides "+r.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{"use strict";var e,r,t,n,o,a,i={14005(e,r,t){var n={};function o(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}t.r(n),t.d(n,{Module:()=>u.Module,ModuleFederation:()=>u.ModuleFederation,createInstance:()=>h,getInstance:()=>E,getRemoteEntry:()=>u.getRemoteEntry,getRemoteInfo:()=>u.getRemoteInfo,init:()=>m,loadRemote:()=>g,loadScript:()=>u.loadScript,loadScriptNode:()=>u.loadScriptNode,loadShare:()=>y,loadShareSync:()=>S,preloadRemote:()=>b,registerGlobalPlugins:()=>u.registerGlobalPlugins,registerPlugins:()=>w,registerRemotes:()=>v,registerShared:()=>M});const a=["script"];function i(e){const{webpackRequire:r,moduleToHandlerMapping:t}=e,{consumesLoadingData:n,initializeSharingData:o}=r,{sharedFallback:a,bundlerRuntime:i,libraryType:s}=r.federation;if(n&&!n._updated){const{moduleIdToConsumeDataMapping:o={},initialConsumes:l=[],chunkMapping:c={}}=n;if(Object.entries(o).forEach(([e,n])=>{t[e]||(t[e]={getter:a?i?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:r,libraryType:s}):n.fallback,treeShakingGetter:a?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:a?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){const{initialConsumes:r=[]}=e;l.forEach(e=>{r.includes(e)||r.push(e)})}if("chunkMapping"in e){const{chunkMapping:r={}}=e;Object.entries(c).forEach(([e,t])=>{r[e]||(r[e]=[]),t.forEach(t=>{r[e].includes(t)||r[e].push(t)})})}n._updated=1}if(o&&!o._updated){const{federation:e}=r;if(!e.instance||!o.scopeToSharingDataMapping)return;const t={};for(let[e,r]of Object.entries(o.scopeToSharingDataMapping))for(let n of r)if("object"==typeof n&&null!==n){const{name:r,version:o,factory:a,eager:i,singleton:s,requiredVersion:l,strictVersion:c}=n,u={requiredVersion:`^${o}`},p=function(e){return void 0!==e};p(s)&&(u.singleton=s),p(l)&&(u.requiredVersion=l),p(i)&&(u.eager=i),p(c)&&(u.strictVersion=c);const d={version:o,scope:[e],shareConfig:u,get:a};t[r]?t[r].push(d):t[r]=[d]}e.instance.registerShared(t),o._updated=1}}const s=globalThis._OPENMRS_FEDERATION_SDK;function l(e,r){const t=e.federation.usedExports;if(t)return t[r]}const c="RUNTIME-012",u=globalThis._FEDERATION_RUNTIME_CORE;function p(e,r){return u.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(t=>!("@ampath/esm-dha-workflow-app:4.0.0-next.445"!==t.options.id&&(t.options.name!==e||t.options.version||r)&&(t.options.name!==e||!r||t.options.version!==r)))}const d=globalThis._OPENMRS_FEDERATION_ERROR_CODES;function h(e){const r=new((0,u.getGlobalFederationConstructor)()||u.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,u.setGlobalFederationInstance)(r),r}let f=null;function m(e){const r=p(e.name,e.version),t={...e,id:e.id||""};return r?(r.initOptions(t),f||(f=r),r):(f=h(t),f)}function g(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.loadRemote.apply(f,e)}function y(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.loadShare.apply(f,e)}function S(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.loadShareSync.apply(f,e)}function b(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.preloadRemote.apply(f,e)}function v(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.registerRemotes.apply(f,e)}function w(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.registerPlugins.apply(f,e)}function E(e){return e?u.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:f}function M(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.registerShared.apply(f,e)}(0,u.setGlobalFederationConstructor)(u.ModuleFederation);const k={global:{...u.helpers.global,getGlobalFederationInstance:p},share:u.helpers.share,utils:u.helpers.utils},R={remotes:function(e){!function(e){const{webpackRequire:r,idToExternalAndNameMapping:t={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:a}=r,i=r.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!a||a._updated||!i)return;const{chunkMapping:s,moduleIdToRemoteDataMapping:l}=a;if(s&&l){for(let[e,r]of Object.entries(l))if(t[e]||(t[e]=[r.shareScope,r.name,r.externalModuleId]),!n[e]&&i[r.remoteName]){const t=i[r.remoteName];n[e]||=[],t.forEach(r=>{n[e].includes(r)||n[e].push(r)})}o&&Object.entries(s).forEach(([e,r])=>{o[e]||(o[e]=[]),r.forEach(r=>{o[e].includes(r)||o[e].push(r)})}),a._updated=1}}(e);const{chunkId:r,promises:t,webpackRequire:n,chunkMapping:i,idToExternalAndNameMapping:l,idToRemoteMap:c}=e;o(n),n.o(i,r)&&i[r].forEach(e=>{let r=n.R;r||(r=[]);const o=l[e],i=c[e]||[];if(r.indexOf(o)>=0)return;if(r.push(o),o.p)return t.push(o.p);const u=r=>{r||(r=new Error("Container missing")),"string"==typeof r.message&&(r.message+=`\nwhile loading "${o[1]}" from ${o[2]}`),n.m[e]=()=>{throw r},o.p=0},p=(e,r,n,a,i,s)=>{try{const l=e(r,n);if(!l||!l.then)return i(l,a,s);{const e=l.then(e=>i(e,a),u);if(!s)return e;t.push(o.p=e)}}catch(e){u(e)}};var d=(e,t,n)=>p(t.get,o[1],r,0,h,n),h=r=>{o.p=1,n.m[e]=e=>{e.exports=r()}};1===i.length&&a.includes(i[0].externalType)&&i[0].name?p(()=>{try{const e=(0,s.decodeName)(i[0].name,s.ENCODE_NAME_PREFIX)+o[1].slice(1),r=n.federation.instance,t=()=>n.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===r.options.shareStrategy){const e=Array.isArray(o[0])?o[0]:[o[0]];return Promise.all(e.map(e=>r.sharedHandler.initializeSharing(e))).then(()=>t())}return t()}catch(e){u(e)}},o[2],0,0,h,1):p(n,o[2],0,0,(e,r,t)=>e?p(n.I,o[0],0,e,d,t):u(),1)})},consumes:function(e){i(e);const{chunkId:r,promises:t,installedModules:n,webpackRequire:a,chunkMapping:s,moduleToHandlerMapping:u}=e;o(a),a.o(s,r)&&s[r].forEach(e=>{if(a.o(n,e))return t.push(n[e]);const r=r=>{n[e]=0,a.m[e]=t=>{delete a.c[e];const n=r(),{shareInfo:o}=u[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}t.exports=n}},o=r=>{delete n[e],a.m[e]=t=>{throw delete a.c[e],r}};try{const i=a.federation.instance;if(!i)throw new Error("Federation instance not found!");const{shareKey:s,getter:p,shareInfo:d,treeShakingGetter:h}=u[e],f=l(a,s),m={...d};Array.isArray(m.scope)&&Array.isArray(m.scope[0])&&(m.scope=m.scope[0]),f&&(m.treeShaking={usedExports:f,useIn:[i.options.name]});const g=i.loadShare(s,{customShareInfo:m}).then(e=>{if(!1===e){if("function"!=typeof p)throw new Error(((e,r,t)=>{const n=[`${[r[e]]} #${e}`];return t&&n.push(`args: ${JSON.stringify(t)}`),n.push((e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`)(e)),n.join("\n")})(c,{[c]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:s}));return h?.()||p()}return e});g.then?t.push(n[e]=g.then(r).catch(o)):r(g)}catch(e){o(e)}})},I:function({shareScopeName:e,webpackRequire:r,initPromises:t,initTokens:n,initScope:i}){const s=Array.isArray(e)?e:[e];var l=[];return s.forEach(s=>{l.push(function(s){i||(i=[]);const l=r.federation.instance;var c=n[s];if(c||(c=n[s]={from:l.name}),i.indexOf(c)>=0)return;i.push(c);const u=t[s];if(u)return u;var p=t=>{var n=e=>{return r="Initialization of sharing external failed: "+e,"undefined"!=typeof console&&console.warn&&console.warn(r);var r};try{var o=r(t);if(!o)return;var a=t=>t&&t.init&&t.init(r.S[s],i,{shareScopeMap:r.S||{},shareScopeKeys:e});if(o.then)return d.push(o.then(a,n));var l=a(o);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(n))}catch(e){n(e)}};const d=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:i,from:"build"});o(r);const h=r.federation.bundlerRuntimeOptions.remotes;return h&&Object.keys(h.idToRemoteMap).forEach(e=>{const r=h.idToRemoteMap[e],t=h.idToExternalAndNameMapping[e][2];if(r.length>1)p(t);else if(1===r.length){const e=r[0];a.includes(e.externalType)||p(t)}}),d.length?t[s]=Promise.all(d).then(()=>t[s]=!0):t[s]=!0}(s))}),Promise.all(l).then(()=>!0)},S:{},installInitialConsumes:function(e){i(e);const{moduleToHandlerMapping:r,webpackRequire:t,installedModules:n,initialConsumes:o,asyncLoad:a}=e,s=[];o.forEach(e=>{s.push([e,()=>function(e){const{moduleId:r,moduleToHandlerMapping:t,webpackRequire:n,asyncLoad:o}=e,a=n.federation.instance;if(!a)throw new Error("Federation instance not found!");const{shareKey:i,shareInfo:s}=t[r];try{const e=l(n,i),r={...s};return e&&(r.treeShaking={usedExports:e,useIn:[a.options.name]}),o?a.loadShare(i,{customShareInfo:r}):a.loadShareSync(i,{customShareInfo:r})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}({moduleId:e,moduleToHandlerMapping:r,webpackRequire:t,asyncLoad:a})])});const c=(e,o)=>{t.m[e]=a=>{n[e]=0,delete t.c[e];const i=o();if("function"!=typeof i)throw new Error(`Shared module is not available for eager consumption: ${e}`);const s=i(),{shareInfo:l}=r[e];if(l?.shareConfig?.layer&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=l.shareConfig.layer)}catch(e){}a.exports=s}};if(a)return Promise.all(s.map(async([e,r])=>{const t=await r();c(e,()=>t)}));s.forEach(([e,r])=>{c(e,r)})},initContainerEntry:function(e){const{webpackRequire:r,shareScope:t,initScope:n,shareScopeKey:o,remoteEntryInitOptions:a}=e;if(!r.S)return;if(!r.federation||!r.federation.instance||!r.federation.initOptions)return;const i=r.federation.instance;i.initOptions({name:r.federation.initOptions.name,remotes:[],...a});const s=a?.shareScopeKeys,l=a?.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void i.initShareScopeMap(e,t,{hostShareScopeMap:a?.shareScopeMap||{}});l[e]||(l[e]={});const r=l[e];i.initShareScopeMap(e,r,{hostShareScopeMap:a?.shareScopeMap||{}})});else{const e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});const r=l[e];i.initShareScopeMap(e,r,{hostShareScopeMap:a?.shareScopeMap||{}})}):i.initShareScopeMap(e,t,{hostShareScopeMap:a?.shareScopeMap||{}})}return r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),Array.isArray(o)?Boolean(r.federation.initOptions.shared)?r.I(o,n):Promise.all(o.map(e=>r.I(e,n))).then(()=>!0):r.I(o||"default",n)},init:function({webpackRequire:e}){const{initOptions:r,runtime:n,sharedFallback:o,bundlerRuntime:a,libraryType:i}=e.federation;if(!r)throw new Error("initOptions is required!");{const n=function(){return{name:"tree-shake-plugin",beforeInit(r){const{userOptions:n,origin:s,options:l}=r,c=n.version||l.version;if(!o)return r;const p=n.shared||{},d=[];Object.keys(p).forEach(r=>{(Array.isArray(p[r])?p[r]:[p[r]]).forEach(t=>{d.push([r,t]),"get"in t&&(t.treeShaking||={},t.treeShaking.get=t.get,t.get=a.getSharedFallbackGetter({shareKey:r,factory:t.get,webpackRequire:e,libraryType:i,version:t.version}))})});const h=k.global.getGlobalSnapshotInfoByModuleInfo({name:s.name,version:c});return h&&"shared"in h?(Object.keys(l.shared||{}).forEach(e=>{l.shared[e].forEach(r=>{d.push([e,r])})}),d.forEach(([e,r])=>{((e,r)=>{const n=h.shared.find(r=>r.sharedName===e);if(!n)return;const{treeShaking:o}=r;if(!o)return;const{secondarySharedTreeShakingName:a,secondarySharedTreeShakingEntry:l,treeShakingStatus:c}=n;o.status!==c&&(o.status=c,l&&i&&a&&(o.get=async()=>{const e=await(0,u.getRemoteEntry)({origin:s,remoteInfo:{name:a,entry:l,type:i,entryGlobalName:a,shareScope:"default"}});return await e.init(s,t.federation.bundlerRuntime),e.get()}))})(e,r)}),r):r}}};r.plugins||=[],r.plugins.push(n())}return n.init(r)},getSharedFallbackGetter:({shareKey:e,factory:r,version:t,webpackRequire:n,libraryType:o="global"})=>{const{runtime:a,instance:i,bundlerRuntime:s,sharedFallback:l}=n.federation;if(!l)return r;const c=l[e];if(!c)return r;const u=t?c.find(e=>e[1]===t):c[0];if(!u)throw new Error(`No fallback item found for shareKey: ${e} and version: ${t}`);return()=>a.getRemoteEntry({origin:n.federation.instance,remoteInfo:{name:u[2],entry:`${n.p}${u[0]}`,type:o,entryGlobalName:u[2],shareScope:"default"}}).then(r=>{if(!r)throw new Error(`Failed to load fallback entry for shareKey: ${e} and version: ${t}`);return r.init(n.federation.instance,s).then(()=>r.get())})}},_={runtime:n,instance:void 0,initOptions:void 0,bundlerRuntime:R,attachShareScopeMap:o,bundlerRuntimeOptions:{}};if(!t.federation.runtime||!t.federation.bundlerRuntime){var T=t.federation;for(var I in t.federation={},_)t.federation[I]=_[I];for(var I in T)t.federation[I]=T[I]}t.federation.instance||(t.federation.instance=t.federation.bundlerRuntime.init({webpackRequire:t}),t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),t.federation.installInitialConsumes&&t.federation.installInitialConsumes())},76244(e,r,t){var n={"./start":()=>Promise.all([t.e(6031),t.e(6435),t.e(7419),t.e(1435)]).then(()=>()=>t(41435))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),a=(e,r,n)=>t.federation.bundlerRuntime.initContainerEntry({webpackRequire:t,shareScope:e,initScope:r,remoteEntryInitOptions:n,shareScopeKey:"default"});t.d(r,{get:()=>o,init:()=>a})}},s={};function l(e){var r=s[e];if(void 0!==r)return r.exports;var t=s[e]={id:e,exports:{}},n={id:e,module:t,factory:i[e],require:l};return l.i.forEach(function(e){e(n)}),t=n.module,n.factory.call(t.exports,t,t.exports,n.require),t.exports}l.m=i,l.c=s,l.i=[],l.x=e=>{},l.federation||(l.federation={initOptions:{name:"@ampath/esm-dha-workflow-app",remotes:[],shareStrategy:"version-first"},chunkMatcher:function(e){return!/^(7(4(00|19|31)|680)|3987|6031|6435|8918)$/.test(e)},rootOutputDir:"",bundlerRuntimeOptions:{remotes:{remoteInfos:{},webpackRequire:l,idToRemoteMap:{},chunkMapping:{},idToExternalAndNameMapping:{}}}},l.consumesLoadingData={},l.remotesLoadingData={}),l.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return l.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);l.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(e=>a[e]=()=>t[e]);return a.default=()=>t,l.d(o,a),o},l.d=(e,r)=>{for(var t in r)l.o(r,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce((r,t)=>(l.f[t](e,r),r),[])),l.u=e=>e+".js",l.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@ampath/esm-dha-workflow-app:",l.l=(e,r,o,a)=>{if(t[e])t[e].push(r);else{var i,s;if(void 0!==o)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==n+o){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var d=(r,n)=>{i.onerror=i.onload=null,clearTimeout(h);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{l.S={};var e={},r={};l.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];l.o(l.S,t)||(l.S[t]={});var a=l.S[t],i="@ampath/esm-dha-workflow-app",s=(e,r,t,n)=>{var o=a[e]=a[e]||{},s=o[r];(!s||!s.loaded&&(!n!=!s.eager?n:i>s.from))&&(o[r]={get:t,from:i,eager:!!n})},c=[];return"default"===t&&(s("@openmrs/esm-framework","10.0.1-pre.5263",()=>Promise.all([l.e(961),l.e(7949),l.e(2272),l.e(411),l.e(1673),l.e(9768),l.e(7269),l.e(8961),l.e(7680),l.e(3987),l.e(6031),l.e(7431),l.e(7400),l.e(8918),l.e(6435)]).then(()=>()=>l(18961))),s("@openmrs/esm-patient-common-lib","12.3.5-pre.12144",()=>Promise.all([l.e(961),l.e(7949),l.e(2272),l.e(9768),l.e(2592),l.e(3987),l.e(6031),l.e(7431),l.e(6435),l.e(7419)]).then(()=>()=>l(92592))),s("dayjs","1.11.23",()=>l.e(4353).then(()=>()=>l(74353))),s("i18next","25.10.10",()=>l.e(2635).then(()=>()=>l(72635))),s("react-i18next","16.6.6",()=>Promise.all([l.e(3311),l.e(6031),l.e(7400)]).then(()=>()=>l(23311))),s("react-router-dom","6.30.6",()=>Promise.all([l.e(961),l.e(282),l.e(6031)]).then(()=>()=>l(20282))),s("react","18.3.1",()=>l.e(6540).then(()=>()=>l(96540))),s("rxjs","6.6.7",()=>l.e(3184).then(()=>()=>l(63184))),s("swr/_internal","2.5.1",()=>Promise.all([l.e(6031),l.e(4993)]).then(()=>()=>l(14993))),s("swr/immutable","2.5.1",()=>Promise.all([l.e(2272),l.e(6031),l.e(4225)]).then(()=>()=>l(54225))),s("swr/infinite","2.5.1",()=>Promise.all([l.e(2272),l.e(6031),l.e(3041)]).then(()=>()=>l(23041)))),e[t]=c.length?Promise.all(c).then(()=>e[t]=1):1}}})(),(()=>{l.federation.initOptions.shared={"@openmrs/esm-framework":[{version:"10.0.1-pre.5263",get:()=>Promise.all([l.e(961),l.e(7949),l.e(2272),l.e(411),l.e(1673),l.e(9768),l.e(7269),l.e(8961),l.e(7680),l.e(3987),l.e(6031),l.e(7431),l.e(7400),l.e(8918),l.e(6435)]).then(()=>()=>l(18961)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"10.x",strictVersion:!1,singleton:!0,layer:null}}],"@openmrs/esm-patient-common-lib":[{version:"12.3.5-pre.12144",get:()=>Promise.all([l.e(961),l.e(7949),l.e(2272),l.e(9768),l.e(2592),l.e(3987),l.e(6031),l.e(7431),l.e(6435),l.e(7419)]).then(()=>()=>l(92592)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"12.x",strictVersion:!1,singleton:!0,layer:null}}],dayjs:[{version:"1.11.23",get:()=>l.e(4353).then(()=>()=>l(74353)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"1.x",strictVersion:!1,singleton:!0,layer:null}}],i18next:[{version:"25.10.10",get:()=>l.e(2635).then(()=>()=>l(72635)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"25.x",strictVersion:!1,singleton:!0,layer:null}}],"react-i18next":[{version:"16.6.6",get:()=>Promise.all([l.e(3311),l.e(6031),l.e(7400)]).then(()=>()=>l(23311)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"16.x",strictVersion:!1,singleton:!0,layer:null}}],"react-router-dom":[{version:"6.30.6",get:()=>Promise.all([l.e(961),l.e(282),l.e(6031)]).then(()=>()=>l(20282)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"6.x",strictVersion:!1,singleton:!0,layer:null}}],react:[{version:"18.3.1",get:()=>l.e(6540).then(()=>()=>l(96540)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"18.x",strictVersion:!1,singleton:!0,layer:null}}],rxjs:[{version:"6.6.7",get:()=>l.e(3184).then(()=>()=>l(63184)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"6.x",strictVersion:!1,singleton:!0,layer:null}}],"swr/_internal":[{version:"2.5.1",get:()=>Promise.all([l.e(6031),l.e(4993)]).then(()=>()=>l(14993)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"2.x",strictVersion:!1,singleton:!0,layer:null}}],"swr/immutable":[{version:"2.5.1",get:()=>Promise.all([l.e(2272),l.e(6031),l.e(4225)]).then(()=>()=>l(54225)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"2.x",strictVersion:!1,singleton:!0,layer:null}}],"swr/infinite":[{version:"2.5.1",get:()=>Promise.all([l.e(2272),l.e(6031),l.e(3041)]).then(()=>()=>l(23041)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"2.x",strictVersion:!1,singleton:!0,layer:null}}]},l.S={};var e={},r={};l.I=(t,n)=>l.federation.bundlerRuntime.I({shareScopeName:t,webpackRequire:l,initPromises:e,initTokens:r,initScope:n})})(),(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var r=globalThis.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e})(),(()=>{var e={};l.consumesLoadingData.moduleIdToConsumeDataMapping={67680:{fallback:()=>l.e(4353).then(()=>()=>l(74353)),shareScope:["default"],singleton:!0,requiredVersion:"1.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"dayjs"},13987:{fallback:()=>Promise.all([l.e(3311),l.e(7400)]).then(()=>()=>l(23311)),shareScope:["default"],singleton:!0,requiredVersion:"16.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"react-i18next"},96031:{fallback:()=>l.e(6540).then(()=>()=>l(96540)),shareScope:["default"],singleton:!0,requiredVersion:"18.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"react"},87431:{fallback:()=>l.e(6606).then(()=>()=>l(54225)),shareScope:["default"],singleton:!0,requiredVersion:"2.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"swr/immutable"},57400:{fallback:()=>l.e(2635).then(()=>()=>l(72635)),shareScope:["default"],singleton:!0,requiredVersion:"25.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"i18next"},77756:{fallback:()=>l.e(3184).then(()=>()=>l(63184)),shareScope:["default"],singleton:!0,requiredVersion:"6.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"rxjs"},63923:{fallback:()=>()=>l(14993),shareScope:["default"],singleton:!0,requiredVersion:"2.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"swr/_internal"},25529:{fallback:()=>l.e(5422).then(()=>()=>l(23041)),shareScope:["default"],singleton:!0,requiredVersion:"2.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"swr/infinite"},86435:{fallback:()=>Promise.all([l.e(961),l.e(282)]).then(()=>()=>l(20282)),shareScope:["default"],singleton:!0,requiredVersion:"6.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"react-router-dom"},97419:{fallback:()=>Promise.all([l.e(961),l.e(7949),l.e(2272),l.e(411),l.e(1673),l.e(9768),l.e(7269),l.e(8961),l.e(7680),l.e(3987),l.e(7431),l.e(7400),l.e(8918)]).then(()=>()=>l(18961)),shareScope:["default"],singleton:!0,requiredVersion:"10.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"@openmrs/esm-framework"},46300:{fallback:()=>Promise.all([l.e(961),l.e(7949),l.e(2272),l.e(9768),l.e(2592),l.e(3987),l.e(7431)]).then(()=>()=>l(92592)),shareScope:["default"],singleton:!0,requiredVersion:"12.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"@openmrs/esm-patient-common-lib"}};var r={};l.consumesLoadingData.chunkMapping={1435:[46300],3987:[13987],6031:[96031],6435:[86435],7400:[57400],7419:[97419],7431:[87431],7680:[67680],8918:[77756,63923,25529]},l.f.consumes=(t,n)=>{l.federation.bundlerRuntime.consumes({chunkMapping:l.consumesLoadingData.chunkMapping,installedModules:e,chunkId:t,moduleToHandlerMapping:r,promises:n,webpackRequire:l})}})(),o=l.x,a=!1,l.x=()=>{if(a||(a=!0,l(14005)),"function"==typeof o)return o();console.warn("[Module Federation] prevStartup is not a function, skipping startup execution")},(()=>{var e={6896:0};l.f.j=(r,t)=>{var n=l.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(7(4(00|19|31)|680)|3987|6031|6435|8918)$/.test(r))e[r]=0;else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=l.p+l.u(r),i=new Error;l.l(a,t=>{if(l.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,s]=t,c=0;if(a.some(r=>0!==e[r])){for(n in i)l.o(i,n)&&(l.m[n]=i[n]);s&&s(l)}for(r&&r(t);c<a.length;c++)o=a[c],l.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_ampath_esm_dha_workflow_app=globalThis.webpackChunk_ampath_esm_dha_workflow_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),l.nc=void 0,l.x();var c=l(76244);_ampath_esm_dha_workflow_app=c})();
1
+ var _ampath_esm_dha_workflow_app;!function(){var e="undefined"!=typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw new Error("@ampath/esm-dha-workflow-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var r=e._FEDERATION_RUNTIME_CORE_FROM;r&&r.version&&"2.8"!==String(r.version).split(".").slice(0,2).join(".")&&console.warn("@ampath/esm-dha-workflow-app was built against Module Federation 2.8.x but the app shell provides "+r.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{"use strict";var e,r,t,n,o,a,i={14005(e,r,t){var n={};function o(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}t.r(n),t.d(n,{Module:()=>u.Module,ModuleFederation:()=>u.ModuleFederation,createInstance:()=>h,getInstance:()=>E,getRemoteEntry:()=>u.getRemoteEntry,getRemoteInfo:()=>u.getRemoteInfo,init:()=>m,loadRemote:()=>g,loadScript:()=>u.loadScript,loadScriptNode:()=>u.loadScriptNode,loadShare:()=>y,loadShareSync:()=>S,preloadRemote:()=>b,registerGlobalPlugins:()=>u.registerGlobalPlugins,registerPlugins:()=>w,registerRemotes:()=>v,registerShared:()=>M});const a=["script"];function i(e){const{webpackRequire:r,moduleToHandlerMapping:t}=e,{consumesLoadingData:n,initializeSharingData:o}=r,{sharedFallback:a,bundlerRuntime:i,libraryType:s}=r.federation;if(n&&!n._updated){const{moduleIdToConsumeDataMapping:o={},initialConsumes:l=[],chunkMapping:c={}}=n;if(Object.entries(o).forEach(([e,n])=>{t[e]||(t[e]={getter:a?i?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:r,libraryType:s}):n.fallback,treeShakingGetter:a?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:a?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){const{initialConsumes:r=[]}=e;l.forEach(e=>{r.includes(e)||r.push(e)})}if("chunkMapping"in e){const{chunkMapping:r={}}=e;Object.entries(c).forEach(([e,t])=>{r[e]||(r[e]=[]),t.forEach(t=>{r[e].includes(t)||r[e].push(t)})})}n._updated=1}if(o&&!o._updated){const{federation:e}=r;if(!e.instance||!o.scopeToSharingDataMapping)return;const t={};for(let[e,r]of Object.entries(o.scopeToSharingDataMapping))for(let n of r)if("object"==typeof n&&null!==n){const{name:r,version:o,factory:a,eager:i,singleton:s,requiredVersion:l,strictVersion:c}=n,u={requiredVersion:`^${o}`},p=function(e){return void 0!==e};p(s)&&(u.singleton=s),p(l)&&(u.requiredVersion=l),p(i)&&(u.eager=i),p(c)&&(u.strictVersion=c);const d={version:o,scope:[e],shareConfig:u,get:a};t[r]?t[r].push(d):t[r]=[d]}e.instance.registerShared(t),o._updated=1}}const s=globalThis._OPENMRS_FEDERATION_SDK;function l(e,r){const t=e.federation.usedExports;if(t)return t[r]}const c="RUNTIME-012",u=globalThis._FEDERATION_RUNTIME_CORE;function p(e,r){return u.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(t=>!("@ampath/esm-dha-workflow-app:4.0.0-next.448"!==t.options.id&&(t.options.name!==e||t.options.version||r)&&(t.options.name!==e||!r||t.options.version!==r)))}const d=globalThis._OPENMRS_FEDERATION_ERROR_CODES;function h(e){const r=new((0,u.getGlobalFederationConstructor)()||u.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,u.setGlobalFederationInstance)(r),r}let f=null;function m(e){const r=p(e.name,e.version),t={...e,id:e.id||""};return r?(r.initOptions(t),f||(f=r),r):(f=h(t),f)}function g(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.loadRemote.apply(f,e)}function y(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.loadShare.apply(f,e)}function S(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.loadShareSync.apply(f,e)}function b(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.preloadRemote.apply(f,e)}function v(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.registerRemotes.apply(f,e)}function w(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.registerPlugins.apply(f,e)}function E(e){return e?u.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:f}function M(...e){return(0,u.assert)(f,d.RUNTIME_009,d.runtimeDescMap),f.registerShared.apply(f,e)}(0,u.setGlobalFederationConstructor)(u.ModuleFederation);const k={global:{...u.helpers.global,getGlobalFederationInstance:p},share:u.helpers.share,utils:u.helpers.utils},R={remotes:function(e){!function(e){const{webpackRequire:r,idToExternalAndNameMapping:t={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:a}=r,i=r.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!a||a._updated||!i)return;const{chunkMapping:s,moduleIdToRemoteDataMapping:l}=a;if(s&&l){for(let[e,r]of Object.entries(l))if(t[e]||(t[e]=[r.shareScope,r.name,r.externalModuleId]),!n[e]&&i[r.remoteName]){const t=i[r.remoteName];n[e]||=[],t.forEach(r=>{n[e].includes(r)||n[e].push(r)})}o&&Object.entries(s).forEach(([e,r])=>{o[e]||(o[e]=[]),r.forEach(r=>{o[e].includes(r)||o[e].push(r)})}),a._updated=1}}(e);const{chunkId:r,promises:t,webpackRequire:n,chunkMapping:i,idToExternalAndNameMapping:l,idToRemoteMap:c}=e;o(n),n.o(i,r)&&i[r].forEach(e=>{let r=n.R;r||(r=[]);const o=l[e],i=c[e]||[];if(r.indexOf(o)>=0)return;if(r.push(o),o.p)return t.push(o.p);const u=r=>{r||(r=new Error("Container missing")),"string"==typeof r.message&&(r.message+=`\nwhile loading "${o[1]}" from ${o[2]}`),n.m[e]=()=>{throw r},o.p=0},p=(e,r,n,a,i,s)=>{try{const l=e(r,n);if(!l||!l.then)return i(l,a,s);{const e=l.then(e=>i(e,a),u);if(!s)return e;t.push(o.p=e)}}catch(e){u(e)}};var d=(e,t,n)=>p(t.get,o[1],r,0,h,n),h=r=>{o.p=1,n.m[e]=e=>{e.exports=r()}};1===i.length&&a.includes(i[0].externalType)&&i[0].name?p(()=>{try{const e=(0,s.decodeName)(i[0].name,s.ENCODE_NAME_PREFIX)+o[1].slice(1),r=n.federation.instance,t=()=>n.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===r.options.shareStrategy){const e=Array.isArray(o[0])?o[0]:[o[0]];return Promise.all(e.map(e=>r.sharedHandler.initializeSharing(e))).then(()=>t())}return t()}catch(e){u(e)}},o[2],0,0,h,1):p(n,o[2],0,0,(e,r,t)=>e?p(n.I,o[0],0,e,d,t):u(),1)})},consumes:function(e){i(e);const{chunkId:r,promises:t,installedModules:n,webpackRequire:a,chunkMapping:s,moduleToHandlerMapping:u}=e;o(a),a.o(s,r)&&s[r].forEach(e=>{if(a.o(n,e))return t.push(n[e]);const r=r=>{n[e]=0,a.m[e]=t=>{delete a.c[e];const n=r(),{shareInfo:o}=u[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}t.exports=n}},o=r=>{delete n[e],a.m[e]=t=>{throw delete a.c[e],r}};try{const i=a.federation.instance;if(!i)throw new Error("Federation instance not found!");const{shareKey:s,getter:p,shareInfo:d,treeShakingGetter:h}=u[e],f=l(a,s),m={...d};Array.isArray(m.scope)&&Array.isArray(m.scope[0])&&(m.scope=m.scope[0]),f&&(m.treeShaking={usedExports:f,useIn:[i.options.name]});const g=i.loadShare(s,{customShareInfo:m}).then(e=>{if(!1===e){if("function"!=typeof p)throw new Error(((e,r,t)=>{const n=[`${[r[e]]} #${e}`];return t&&n.push(`args: ${JSON.stringify(t)}`),n.push((e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`)(e)),n.join("\n")})(c,{[c]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:s}));return h?.()||p()}return e});g.then?t.push(n[e]=g.then(r).catch(o)):r(g)}catch(e){o(e)}})},I:function({shareScopeName:e,webpackRequire:r,initPromises:t,initTokens:n,initScope:i}){const s=Array.isArray(e)?e:[e];var l=[];return s.forEach(s=>{l.push(function(s){i||(i=[]);const l=r.federation.instance;var c=n[s];if(c||(c=n[s]={from:l.name}),i.indexOf(c)>=0)return;i.push(c);const u=t[s];if(u)return u;var p=t=>{var n=e=>{return r="Initialization of sharing external failed: "+e,"undefined"!=typeof console&&console.warn&&console.warn(r);var r};try{var o=r(t);if(!o)return;var a=t=>t&&t.init&&t.init(r.S[s],i,{shareScopeMap:r.S||{},shareScopeKeys:e});if(o.then)return d.push(o.then(a,n));var l=a(o);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(n))}catch(e){n(e)}};const d=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:i,from:"build"});o(r);const h=r.federation.bundlerRuntimeOptions.remotes;return h&&Object.keys(h.idToRemoteMap).forEach(e=>{const r=h.idToRemoteMap[e],t=h.idToExternalAndNameMapping[e][2];if(r.length>1)p(t);else if(1===r.length){const e=r[0];a.includes(e.externalType)||p(t)}}),d.length?t[s]=Promise.all(d).then(()=>t[s]=!0):t[s]=!0}(s))}),Promise.all(l).then(()=>!0)},S:{},installInitialConsumes:function(e){i(e);const{moduleToHandlerMapping:r,webpackRequire:t,installedModules:n,initialConsumes:o,asyncLoad:a}=e,s=[];o.forEach(e=>{s.push([e,()=>function(e){const{moduleId:r,moduleToHandlerMapping:t,webpackRequire:n,asyncLoad:o}=e,a=n.federation.instance;if(!a)throw new Error("Federation instance not found!");const{shareKey:i,shareInfo:s}=t[r];try{const e=l(n,i),r={...s};return e&&(r.treeShaking={usedExports:e,useIn:[a.options.name]}),o?a.loadShare(i,{customShareInfo:r}):a.loadShareSync(i,{customShareInfo:r})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}({moduleId:e,moduleToHandlerMapping:r,webpackRequire:t,asyncLoad:a})])});const c=(e,o)=>{t.m[e]=a=>{n[e]=0,delete t.c[e];const i=o();if("function"!=typeof i)throw new Error(`Shared module is not available for eager consumption: ${e}`);const s=i(),{shareInfo:l}=r[e];if(l?.shareConfig?.layer&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=l.shareConfig.layer)}catch(e){}a.exports=s}};if(a)return Promise.all(s.map(async([e,r])=>{const t=await r();c(e,()=>t)}));s.forEach(([e,r])=>{c(e,r)})},initContainerEntry:function(e){const{webpackRequire:r,shareScope:t,initScope:n,shareScopeKey:o,remoteEntryInitOptions:a}=e;if(!r.S)return;if(!r.federation||!r.federation.instance||!r.federation.initOptions)return;const i=r.federation.instance;i.initOptions({name:r.federation.initOptions.name,remotes:[],...a});const s=a?.shareScopeKeys,l=a?.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void i.initShareScopeMap(e,t,{hostShareScopeMap:a?.shareScopeMap||{}});l[e]||(l[e]={});const r=l[e];i.initShareScopeMap(e,r,{hostShareScopeMap:a?.shareScopeMap||{}})});else{const e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});const r=l[e];i.initShareScopeMap(e,r,{hostShareScopeMap:a?.shareScopeMap||{}})}):i.initShareScopeMap(e,t,{hostShareScopeMap:a?.shareScopeMap||{}})}return r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),Array.isArray(o)?Boolean(r.federation.initOptions.shared)?r.I(o,n):Promise.all(o.map(e=>r.I(e,n))).then(()=>!0):r.I(o||"default",n)},init:function({webpackRequire:e}){const{initOptions:r,runtime:n,sharedFallback:o,bundlerRuntime:a,libraryType:i}=e.federation;if(!r)throw new Error("initOptions is required!");{const n=function(){return{name:"tree-shake-plugin",beforeInit(r){const{userOptions:n,origin:s,options:l}=r,c=n.version||l.version;if(!o)return r;const p=n.shared||{},d=[];Object.keys(p).forEach(r=>{(Array.isArray(p[r])?p[r]:[p[r]]).forEach(t=>{d.push([r,t]),"get"in t&&(t.treeShaking||={},t.treeShaking.get=t.get,t.get=a.getSharedFallbackGetter({shareKey:r,factory:t.get,webpackRequire:e,libraryType:i,version:t.version}))})});const h=k.global.getGlobalSnapshotInfoByModuleInfo({name:s.name,version:c});return h&&"shared"in h?(Object.keys(l.shared||{}).forEach(e=>{l.shared[e].forEach(r=>{d.push([e,r])})}),d.forEach(([e,r])=>{((e,r)=>{const n=h.shared.find(r=>r.sharedName===e);if(!n)return;const{treeShaking:o}=r;if(!o)return;const{secondarySharedTreeShakingName:a,secondarySharedTreeShakingEntry:l,treeShakingStatus:c}=n;o.status!==c&&(o.status=c,l&&i&&a&&(o.get=async()=>{const e=await(0,u.getRemoteEntry)({origin:s,remoteInfo:{name:a,entry:l,type:i,entryGlobalName:a,shareScope:"default"}});return await e.init(s,t.federation.bundlerRuntime),e.get()}))})(e,r)}),r):r}}};r.plugins||=[],r.plugins.push(n())}return n.init(r)},getSharedFallbackGetter:({shareKey:e,factory:r,version:t,webpackRequire:n,libraryType:o="global"})=>{const{runtime:a,instance:i,bundlerRuntime:s,sharedFallback:l}=n.federation;if(!l)return r;const c=l[e];if(!c)return r;const u=t?c.find(e=>e[1]===t):c[0];if(!u)throw new Error(`No fallback item found for shareKey: ${e} and version: ${t}`);return()=>a.getRemoteEntry({origin:n.federation.instance,remoteInfo:{name:u[2],entry:`${n.p}${u[0]}`,type:o,entryGlobalName:u[2],shareScope:"default"}}).then(r=>{if(!r)throw new Error(`Failed to load fallback entry for shareKey: ${e} and version: ${t}`);return r.init(n.federation.instance,s).then(()=>r.get())})}},_={runtime:n,instance:void 0,initOptions:void 0,bundlerRuntime:R,attachShareScopeMap:o,bundlerRuntimeOptions:{}};if(!t.federation.runtime||!t.federation.bundlerRuntime){var T=t.federation;for(var I in t.federation={},_)t.federation[I]=_[I];for(var I in T)t.federation[I]=T[I]}t.federation.instance||(t.federation.instance=t.federation.bundlerRuntime.init({webpackRequire:t}),t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),t.federation.installInitialConsumes&&t.federation.installInitialConsumes())},76244(e,r,t){var n={"./start":()=>Promise.all([t.e(6031),t.e(6435),t.e(7419),t.e(1435)]).then(()=>()=>t(41435))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),a=(e,r,n)=>t.federation.bundlerRuntime.initContainerEntry({webpackRequire:t,shareScope:e,initScope:r,remoteEntryInitOptions:n,shareScopeKey:"default"});t.d(r,{get:()=>o,init:()=>a})}},s={};function l(e){var r=s[e];if(void 0!==r)return r.exports;var t=s[e]={id:e,exports:{}},n={id:e,module:t,factory:i[e],require:l};return l.i.forEach(function(e){e(n)}),t=n.module,n.factory.call(t.exports,t,t.exports,n.require),t.exports}l.m=i,l.c=s,l.i=[],l.x=e=>{},l.federation||(l.federation={initOptions:{name:"@ampath/esm-dha-workflow-app",remotes:[],shareStrategy:"version-first"},chunkMatcher:function(e){return!/^(7(4(00|19|31)|680)|3987|6031|6435|8918)$/.test(e)},rootOutputDir:"",bundlerRuntimeOptions:{remotes:{remoteInfos:{},webpackRequire:l,idToRemoteMap:{},chunkMapping:{},idToExternalAndNameMapping:{}}}},l.consumesLoadingData={},l.remotesLoadingData={}),l.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return l.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);l.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(e=>a[e]=()=>t[e]);return a.default=()=>t,l.d(o,a),o},l.d=(e,r)=>{for(var t in r)l.o(r,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce((r,t)=>(l.f[t](e,r),r),[])),l.u=e=>e+".js",l.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@ampath/esm-dha-workflow-app:",l.l=(e,r,o,a)=>{if(t[e])t[e].push(r);else{var i,s;if(void 0!==o)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==n+o){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var d=(r,n)=>{i.onerror=i.onload=null,clearTimeout(h);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{l.S={};var e={},r={};l.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];l.o(l.S,t)||(l.S[t]={});var a=l.S[t],i="@ampath/esm-dha-workflow-app",s=(e,r,t,n)=>{var o=a[e]=a[e]||{},s=o[r];(!s||!s.loaded&&(!n!=!s.eager?n:i>s.from))&&(o[r]={get:t,from:i,eager:!!n})},c=[];return"default"===t&&(s("@openmrs/esm-framework","10.0.1-pre.5263",()=>Promise.all([l.e(961),l.e(7949),l.e(2272),l.e(411),l.e(1673),l.e(9768),l.e(7269),l.e(8961),l.e(7680),l.e(3987),l.e(6031),l.e(7431),l.e(7400),l.e(8918),l.e(6435)]).then(()=>()=>l(18961))),s("@openmrs/esm-patient-common-lib","12.3.5-pre.12144",()=>Promise.all([l.e(961),l.e(7949),l.e(2272),l.e(9768),l.e(2592),l.e(3987),l.e(6031),l.e(7431),l.e(6435),l.e(7419)]).then(()=>()=>l(92592))),s("dayjs","1.11.23",()=>l.e(4353).then(()=>()=>l(74353))),s("i18next","25.10.10",()=>l.e(2635).then(()=>()=>l(72635))),s("react-i18next","16.6.6",()=>Promise.all([l.e(3311),l.e(6031),l.e(7400)]).then(()=>()=>l(23311))),s("react-router-dom","6.30.6",()=>Promise.all([l.e(961),l.e(282),l.e(6031)]).then(()=>()=>l(20282))),s("react","18.3.1",()=>l.e(6540).then(()=>()=>l(96540))),s("rxjs","6.6.7",()=>l.e(3184).then(()=>()=>l(63184))),s("swr/_internal","2.5.1",()=>Promise.all([l.e(6031),l.e(4993)]).then(()=>()=>l(14993))),s("swr/immutable","2.5.1",()=>Promise.all([l.e(2272),l.e(6031),l.e(4225)]).then(()=>()=>l(54225))),s("swr/infinite","2.5.1",()=>Promise.all([l.e(2272),l.e(6031),l.e(3041)]).then(()=>()=>l(23041)))),e[t]=c.length?Promise.all(c).then(()=>e[t]=1):1}}})(),(()=>{l.federation.initOptions.shared={"@openmrs/esm-framework":[{version:"10.0.1-pre.5263",get:()=>Promise.all([l.e(961),l.e(7949),l.e(2272),l.e(411),l.e(1673),l.e(9768),l.e(7269),l.e(8961),l.e(7680),l.e(3987),l.e(6031),l.e(7431),l.e(7400),l.e(8918),l.e(6435)]).then(()=>()=>l(18961)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"10.x",strictVersion:!1,singleton:!0,layer:null}}],"@openmrs/esm-patient-common-lib":[{version:"12.3.5-pre.12144",get:()=>Promise.all([l.e(961),l.e(7949),l.e(2272),l.e(9768),l.e(2592),l.e(3987),l.e(6031),l.e(7431),l.e(6435),l.e(7419)]).then(()=>()=>l(92592)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"12.x",strictVersion:!1,singleton:!0,layer:null}}],dayjs:[{version:"1.11.23",get:()=>l.e(4353).then(()=>()=>l(74353)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"1.x",strictVersion:!1,singleton:!0,layer:null}}],i18next:[{version:"25.10.10",get:()=>l.e(2635).then(()=>()=>l(72635)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"25.x",strictVersion:!1,singleton:!0,layer:null}}],"react-i18next":[{version:"16.6.6",get:()=>Promise.all([l.e(3311),l.e(6031),l.e(7400)]).then(()=>()=>l(23311)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"16.x",strictVersion:!1,singleton:!0,layer:null}}],"react-router-dom":[{version:"6.30.6",get:()=>Promise.all([l.e(961),l.e(282),l.e(6031)]).then(()=>()=>l(20282)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"6.x",strictVersion:!1,singleton:!0,layer:null}}],react:[{version:"18.3.1",get:()=>l.e(6540).then(()=>()=>l(96540)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"18.x",strictVersion:!1,singleton:!0,layer:null}}],rxjs:[{version:"6.6.7",get:()=>l.e(3184).then(()=>()=>l(63184)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"6.x",strictVersion:!1,singleton:!0,layer:null}}],"swr/_internal":[{version:"2.5.1",get:()=>Promise.all([l.e(6031),l.e(4993)]).then(()=>()=>l(14993)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"2.x",strictVersion:!1,singleton:!0,layer:null}}],"swr/immutable":[{version:"2.5.1",get:()=>Promise.all([l.e(2272),l.e(6031),l.e(4225)]).then(()=>()=>l(54225)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"2.x",strictVersion:!1,singleton:!0,layer:null}}],"swr/infinite":[{version:"2.5.1",get:()=>Promise.all([l.e(2272),l.e(6031),l.e(3041)]).then(()=>()=>l(23041)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"2.x",strictVersion:!1,singleton:!0,layer:null}}]},l.S={};var e={},r={};l.I=(t,n)=>l.federation.bundlerRuntime.I({shareScopeName:t,webpackRequire:l,initPromises:e,initTokens:r,initScope:n})})(),(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var r=globalThis.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e})(),(()=>{var e={};l.consumesLoadingData.moduleIdToConsumeDataMapping={67680:{fallback:()=>l.e(4353).then(()=>()=>l(74353)),shareScope:["default"],singleton:!0,requiredVersion:"1.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"dayjs"},13987:{fallback:()=>Promise.all([l.e(3311),l.e(7400)]).then(()=>()=>l(23311)),shareScope:["default"],singleton:!0,requiredVersion:"16.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"react-i18next"},96031:{fallback:()=>l.e(6540).then(()=>()=>l(96540)),shareScope:["default"],singleton:!0,requiredVersion:"18.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"react"},87431:{fallback:()=>l.e(6606).then(()=>()=>l(54225)),shareScope:["default"],singleton:!0,requiredVersion:"2.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"swr/immutable"},57400:{fallback:()=>l.e(2635).then(()=>()=>l(72635)),shareScope:["default"],singleton:!0,requiredVersion:"25.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"i18next"},77756:{fallback:()=>l.e(3184).then(()=>()=>l(63184)),shareScope:["default"],singleton:!0,requiredVersion:"6.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"rxjs"},63923:{fallback:()=>()=>l(14993),shareScope:["default"],singleton:!0,requiredVersion:"2.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"swr/_internal"},25529:{fallback:()=>l.e(5422).then(()=>()=>l(23041)),shareScope:["default"],singleton:!0,requiredVersion:"2.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"swr/infinite"},86435:{fallback:()=>Promise.all([l.e(961),l.e(282)]).then(()=>()=>l(20282)),shareScope:["default"],singleton:!0,requiredVersion:"6.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"react-router-dom"},97419:{fallback:()=>Promise.all([l.e(961),l.e(7949),l.e(2272),l.e(411),l.e(1673),l.e(9768),l.e(7269),l.e(8961),l.e(7680),l.e(3987),l.e(7431),l.e(7400),l.e(8918)]).then(()=>()=>l(18961)),shareScope:["default"],singleton:!0,requiredVersion:"10.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"@openmrs/esm-framework"},46300:{fallback:()=>Promise.all([l.e(961),l.e(7949),l.e(2272),l.e(9768),l.e(2592),l.e(3987),l.e(7431)]).then(()=>()=>l(92592)),shareScope:["default"],singleton:!0,requiredVersion:"12.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"@openmrs/esm-patient-common-lib"}};var r={};l.consumesLoadingData.chunkMapping={1435:[46300],3987:[13987],6031:[96031],6435:[86435],7400:[57400],7419:[97419],7431:[87431],7680:[67680],8918:[77756,63923,25529]},l.f.consumes=(t,n)=>{l.federation.bundlerRuntime.consumes({chunkMapping:l.consumesLoadingData.chunkMapping,installedModules:e,chunkId:t,moduleToHandlerMapping:r,promises:n,webpackRequire:l})}})(),o=l.x,a=!1,l.x=()=>{if(a||(a=!0,l(14005)),"function"==typeof o)return o();console.warn("[Module Federation] prevStartup is not a function, skipping startup execution")},(()=>{var e={6896:0};l.f.j=(r,t)=>{var n=l.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(7(4(00|19|31)|680)|3987|6031|6435|8918)$/.test(r))e[r]=0;else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=l.p+l.u(r),i=new Error;l.l(a,t=>{if(l.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,s]=t,c=0;if(a.some(r=>0!==e[r])){for(n in i)l.o(i,n)&&(l.m[n]=i[n]);s&&s(l)}for(r&&r(t);c<a.length;c++)o=a[c],l.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_ampath_esm_dha_workflow_app=globalThis.webpackChunk_ampath_esm_dha_workflow_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),l.nc=void 0,l.x();var c=l(76244);_ampath_esm_dha_workflow_app=c})();
@@ -2033,7 +2033,7 @@
2033
2033
  "auxiliaryFiles": [
2034
2034
  "esm-dha-workflow-app.js.map"
2035
2035
  ],
2036
- "hash": "b0ad626f2b6e5775",
2036
+ "hash": "7d0eb65156690a1a",
2037
2037
  "childrenByOrder": {}
2038
2038
  },
2039
2039
  {
@@ -2544,7 +2544,7 @@
2544
2544
  "auxiliaryFiles": [
2545
2545
  "main.js.map"
2546
2546
  ],
2547
- "hash": "a834475c07a4a8b6",
2547
+ "hash": "51a2675909fb0504",
2548
2548
  "childrenByOrder": {}
2549
2549
  },
2550
2550
  {
package/dist/main.js CHANGED
@@ -1 +1 @@
1
- !function(){var e="undefined"!=typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw new Error("@ampath/esm-dha-workflow-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var n=e._FEDERATION_RUNTIME_CORE_FROM;n&&n.version&&"2.8"!==String(n.version).split(".").slice(0,2).join(".")&&console.warn("@ampath/esm-dha-workflow-app was built against Module Federation 2.8.x but the app shell provides "+n.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,n,t,r,i,o,a={14005(e,n,t){"use strict";var r={};function i(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}t.r(r),t.d(r,{Module:()=>u.Module,ModuleFederation:()=>u.ModuleFederation,createInstance:()=>h,getInstance:()=>v,getRemoteEntry:()=>u.getRemoteEntry,getRemoteInfo:()=>u.getRemoteInfo,init:()=>y,loadRemote:()=>m,loadScript:()=>u.loadScript,loadScriptNode:()=>u.loadScriptNode,loadShare:()=>g,loadShareSync:()=>b,preloadRemote:()=>S,registerGlobalPlugins:()=>u.registerGlobalPlugins,registerPlugins:()=>T,registerRemotes:()=>w,registerShared:()=>k});const o=["script"];function a(e){const{webpackRequire:n,moduleToHandlerMapping:t}=e,{consumesLoadingData:r,initializeSharingData:i}=n,{sharedFallback:o,bundlerRuntime:a,libraryType:s}=n.federation;if(r&&!r._updated){const{moduleIdToConsumeDataMapping:i={},initialConsumes:c=[],chunkMapping:l={}}=r;if(Object.entries(i).forEach(([e,r])=>{t[e]||(t[e]={getter:o?a?.getSharedFallbackGetter({shareKey:r.shareKey,factory:r.fallback,webpackRequire:n,libraryType:s}):r.fallback,treeShakingGetter:o?r.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager,layer:r.layer},scope:Array.isArray(r.shareScope)?r.shareScope:[r.shareScope||"default"],treeShaking:o?{get:r.fallback,mode:r.treeShakingMode}:void 0},shareKey:r.shareKey})}),"initialConsumes"in e){const{initialConsumes:n=[]}=e;c.forEach(e=>{n.includes(e)||n.push(e)})}if("chunkMapping"in e){const{chunkMapping:n={}}=e;Object.entries(l).forEach(([e,t])=>{n[e]||(n[e]=[]),t.forEach(t=>{n[e].includes(t)||n[e].push(t)})})}r._updated=1}if(i&&!i._updated){const{federation:e}=n;if(!e.instance||!i.scopeToSharingDataMapping)return;const t={};for(let[e,n]of Object.entries(i.scopeToSharingDataMapping))for(let r of n)if("object"==typeof r&&null!==r){const{name:n,version:i,factory:o,eager:a,singleton:s,requiredVersion:c,strictVersion:l}=r,u={requiredVersion:`^${i}`},d=function(e){return void 0!==e};d(s)&&(u.singleton=s),d(c)&&(u.requiredVersion=c),d(a)&&(u.eager=a),d(l)&&(u.strictVersion=l);const p={version:i,scope:[e],shareConfig:u,get:o};t[n]?t[n].push(p):t[n]=[p]}e.instance.registerShared(t),i._updated=1}}const s=globalThis._OPENMRS_FEDERATION_SDK;function c(e,n){const t=e.federation.usedExports;if(t)return t[n]}const l="RUNTIME-012",u=globalThis._FEDERATION_RUNTIME_CORE;function d(e,n){return u.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(t=>!("@ampath/esm-dha-workflow-app:4.0.0-next.445"!==t.options.id&&(t.options.name!==e||t.options.version||n)&&(t.options.name!==e||!n||t.options.version!==n)))}const p=globalThis._OPENMRS_FEDERATION_ERROR_CODES;function h(e){const n=new((0,u.getGlobalFederationConstructor)()||u.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,u.setGlobalFederationInstance)(n),n}let f=null;function y(e){const n=d(e.name,e.version),t={...e,id:e.id||""};return n?(n.initOptions(t),f||(f=n),n):(f=h(t),f)}function m(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.loadRemote.apply(f,e)}function g(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.loadShare.apply(f,e)}function b(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.loadShareSync.apply(f,e)}function S(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.preloadRemote.apply(f,e)}function w(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.registerRemotes.apply(f,e)}function T(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.registerPlugins.apply(f,e)}function v(e){return e?u.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:f}function k(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.registerShared.apply(f,e)}(0,u.setGlobalFederationConstructor)(u.ModuleFederation);const P={global:{...u.helpers.global,getGlobalFederationInstance:d},share:u.helpers.share,utils:u.helpers.utils},E={remotes:function(e){!function(e){const{webpackRequire:n,idToExternalAndNameMapping:t={},idToRemoteMap:r={},chunkMapping:i={}}=e,{remotesLoadingData:o}=n,a=n.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!o||o._updated||!a)return;const{chunkMapping:s,moduleIdToRemoteDataMapping:c}=o;if(s&&c){for(let[e,n]of Object.entries(c))if(t[e]||(t[e]=[n.shareScope,n.name,n.externalModuleId]),!r[e]&&a[n.remoteName]){const t=a[n.remoteName];r[e]||=[],t.forEach(n=>{r[e].includes(n)||r[e].push(n)})}i&&Object.entries(s).forEach(([e,n])=>{i[e]||(i[e]=[]),n.forEach(n=>{i[e].includes(n)||i[e].push(n)})}),o._updated=1}}(e);const{chunkId:n,promises:t,webpackRequire:r,chunkMapping:a,idToExternalAndNameMapping:c,idToRemoteMap:l}=e;i(r),r.o(a,n)&&a[n].forEach(e=>{let n=r.R;n||(n=[]);const i=c[e],a=l[e]||[];if(n.indexOf(i)>=0)return;if(n.push(i),i.p)return t.push(i.p);const u=n=>{n||(n=new Error("Container missing")),"string"==typeof n.message&&(n.message+=`\nwhile loading "${i[1]}" from ${i[2]}`),r.m[e]=()=>{throw n},i.p=0},d=(e,n,r,o,a,s)=>{try{const c=e(n,r);if(!c||!c.then)return a(c,o,s);{const e=c.then(e=>a(e,o),u);if(!s)return e;t.push(i.p=e)}}catch(e){u(e)}};var p=(e,t,r)=>d(t.get,i[1],n,0,h,r),h=n=>{i.p=1,r.m[e]=e=>{e.exports=n()}};1===a.length&&o.includes(a[0].externalType)&&a[0].name?d(()=>{try{const e=(0,s.decodeName)(a[0].name,s.ENCODE_NAME_PREFIX)+i[1].slice(1),n=r.federation.instance,t=()=>r.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===n.options.shareStrategy){const e=Array.isArray(i[0])?i[0]:[i[0]];return Promise.all(e.map(e=>n.sharedHandler.initializeSharing(e))).then(()=>t())}return t()}catch(e){u(e)}},i[2],0,0,h,1):d(r,i[2],0,0,(e,n,t)=>e?d(r.I,i[0],0,e,p,t):u(),1)})},consumes:function(e){a(e);const{chunkId:n,promises:t,installedModules:r,webpackRequire:o,chunkMapping:s,moduleToHandlerMapping:u}=e;i(o),o.o(s,n)&&s[n].forEach(e=>{if(o.o(r,e))return t.push(r[e]);const n=n=>{r[e]=0,o.m[e]=t=>{delete o.c[e];const r=n(),{shareInfo:i}=u[e];if(i?.shareConfig?.layer&&r&&"object"==typeof r)try{r.hasOwnProperty("layer")&&void 0!==r.layer||(r.layer=i.shareConfig.layer)}catch(e){}t.exports=r}},i=n=>{delete r[e],o.m[e]=t=>{throw delete o.c[e],n}};try{const a=o.federation.instance;if(!a)throw new Error("Federation instance not found!");const{shareKey:s,getter:d,shareInfo:p,treeShakingGetter:h}=u[e],f=c(o,s),y={...p};Array.isArray(y.scope)&&Array.isArray(y.scope[0])&&(y.scope=y.scope[0]),f&&(y.treeShaking={usedExports:f,useIn:[a.options.name]});const m=a.loadShare(s,{customShareInfo:y}).then(e=>{if(!1===e){if("function"!=typeof d)throw new Error(((e,n,t)=>{const r=[`${[n[e]]} #${e}`];return t&&r.push(`args: ${JSON.stringify(t)}`),r.push((e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`)(e)),r.join("\n")})(l,{[l]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:s}));return h?.()||d()}return e});m.then?t.push(r[e]=m.then(n).catch(i)):n(m)}catch(e){i(e)}})},I:function({shareScopeName:e,webpackRequire:n,initPromises:t,initTokens:r,initScope:a}){const s=Array.isArray(e)?e:[e];var c=[];return s.forEach(s=>{c.push(function(s){a||(a=[]);const c=n.federation.instance;var l=r[s];if(l||(l=r[s]={from:c.name}),a.indexOf(l)>=0)return;a.push(l);const u=t[s];if(u)return u;var d=t=>{var r=e=>{return n="Initialization of sharing external failed: "+e,"undefined"!=typeof console&&console.warn&&console.warn(n);var n};try{var i=n(t);if(!i)return;var o=t=>t&&t.init&&t.init(n.S[s],a,{shareScopeMap:n.S||{},shareScopeKeys:e});if(i.then)return p.push(i.then(o,r));var c=o(i);if(c&&"boolean"!=typeof c&&c.then)return p.push(c.catch(r))}catch(e){r(e)}};const p=c.initializeSharing(s,{strategy:c.options.shareStrategy,initScope:a,from:"build"});i(n);const h=n.federation.bundlerRuntimeOptions.remotes;return h&&Object.keys(h.idToRemoteMap).forEach(e=>{const n=h.idToRemoteMap[e],t=h.idToExternalAndNameMapping[e][2];if(n.length>1)d(t);else if(1===n.length){const e=n[0];o.includes(e.externalType)||d(t)}}),p.length?t[s]=Promise.all(p).then(()=>t[s]=!0):t[s]=!0}(s))}),Promise.all(c).then(()=>!0)},S:{},installInitialConsumes:function(e){a(e);const{moduleToHandlerMapping:n,webpackRequire:t,installedModules:r,initialConsumes:i,asyncLoad:o}=e,s=[];i.forEach(e=>{s.push([e,()=>function(e){const{moduleId:n,moduleToHandlerMapping:t,webpackRequire:r,asyncLoad:i}=e,o=r.federation.instance;if(!o)throw new Error("Federation instance not found!");const{shareKey:a,shareInfo:s}=t[n];try{const e=c(r,a),n={...s};return e&&(n.treeShaking={usedExports:e,useIn:[o.options.name]}),i?o.loadShare(a,{customShareInfo:n}):o.loadShareSync(a,{customShareInfo:n})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}({moduleId:e,moduleToHandlerMapping:n,webpackRequire:t,asyncLoad:o})])});const l=(e,i)=>{t.m[e]=o=>{r[e]=0,delete t.c[e];const a=i();if("function"!=typeof a)throw new Error(`Shared module is not available for eager consumption: ${e}`);const s=a(),{shareInfo:c}=n[e];if(c?.shareConfig?.layer&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=c.shareConfig.layer)}catch(e){}o.exports=s}};if(o)return Promise.all(s.map(async([e,n])=>{const t=await n();l(e,()=>t)}));s.forEach(([e,n])=>{l(e,n)})},initContainerEntry:function(e){const{webpackRequire:n,shareScope:t,initScope:r,shareScopeKey:i,remoteEntryInitOptions:o}=e;if(!n.S)return;if(!n.federation||!n.federation.instance||!n.federation.initOptions)return;const a=n.federation.instance;a.initOptions({name:n.federation.initOptions.name,remotes:[],...o});const s=o?.shareScopeKeys,c=o?.shareScopeMap;if(i&&"string"!=typeof i)i.forEach(e=>{if(!s||!c)return void a.initShareScopeMap(e,t,{hostShareScopeMap:o?.shareScopeMap||{}});c[e]||(c[e]={});const n=c[e];a.initShareScopeMap(e,n,{hostShareScopeMap:o?.shareScopeMap||{}})});else{const e=i||"default";Array.isArray(s)?s.forEach(e=>{c[e]||(c[e]={});const n=c[e];a.initShareScopeMap(e,n,{hostShareScopeMap:o?.shareScopeMap||{}})}):a.initShareScopeMap(e,t,{hostShareScopeMap:o?.shareScopeMap||{}})}return n.federation.attachShareScopeMap&&n.federation.attachShareScopeMap(n),Array.isArray(i)?Boolean(n.federation.initOptions.shared)?n.I(i,r):Promise.all(i.map(e=>n.I(e,r))).then(()=>!0):n.I(i||"default",r)},init:function({webpackRequire:e}){const{initOptions:n,runtime:r,sharedFallback:i,bundlerRuntime:o,libraryType:a}=e.federation;if(!n)throw new Error("initOptions is required!");{const r=function(){return{name:"tree-shake-plugin",beforeInit(n){const{userOptions:r,origin:s,options:c}=n,l=r.version||c.version;if(!i)return n;const d=r.shared||{},p=[];Object.keys(d).forEach(n=>{(Array.isArray(d[n])?d[n]:[d[n]]).forEach(t=>{p.push([n,t]),"get"in t&&(t.treeShaking||={},t.treeShaking.get=t.get,t.get=o.getSharedFallbackGetter({shareKey:n,factory:t.get,webpackRequire:e,libraryType:a,version:t.version}))})});const h=P.global.getGlobalSnapshotInfoByModuleInfo({name:s.name,version:l});return h&&"shared"in h?(Object.keys(c.shared||{}).forEach(e=>{c.shared[e].forEach(n=>{p.push([e,n])})}),p.forEach(([e,n])=>{((e,n)=>{const r=h.shared.find(n=>n.sharedName===e);if(!r)return;const{treeShaking:i}=n;if(!i)return;const{secondarySharedTreeShakingName:o,secondarySharedTreeShakingEntry:c,treeShakingStatus:l}=r;i.status!==l&&(i.status=l,c&&a&&o&&(i.get=async()=>{const e=await(0,u.getRemoteEntry)({origin:s,remoteInfo:{name:o,entry:c,type:a,entryGlobalName:o,shareScope:"default"}});return await e.init(s,t.federation.bundlerRuntime),e.get()}))})(e,n)}),n):n}}};n.plugins||=[],n.plugins.push(r())}return r.init(n)},getSharedFallbackGetter:({shareKey:e,factory:n,version:t,webpackRequire:r,libraryType:i="global"})=>{const{runtime:o,instance:a,bundlerRuntime:s,sharedFallback:c}=r.federation;if(!c)return n;const l=c[e];if(!l)return n;const u=t?l.find(e=>e[1]===t):l[0];if(!u)throw new Error(`No fallback item found for shareKey: ${e} and version: ${t}`);return()=>o.getRemoteEntry({origin:r.federation.instance,remoteInfo:{name:u[2],entry:`${r.p}${u[0]}`,type:i,entryGlobalName:u[2],shareScope:"default"}}).then(n=>{if(!n)throw new Error(`Failed to load fallback entry for shareKey: ${e} and version: ${t}`);return n.init(r.federation.instance,s).then(()=>n.get())})}},A={runtime:r,instance:void 0,initOptions:void 0,bundlerRuntime:E,attachShareScopeMap:i,bundlerRuntimeOptions:{}};if(!t.federation.runtime||!t.federation.bundlerRuntime){var M=t.federation;for(var L in t.federation={},A)t.federation[L]=A[L];for(var L in M)t.federation[L]=M[L]}t.federation.instance||(t.federation.instance=t.federation.bundlerRuntime.init({webpackRequire:t}),t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),t.federation.installInitialConsumes&&t.federation.installInitialConsumes())},55850(e,n,t){"use strict";t.d(n,{b:()=>s});var r=t(96031),i=t.n(r),o=t(86435),a=t(97419),s=function(e){return function(){return i().createElement(o.BrowserRouter,null,i().createElement(a.DashboardExtension,{path:e.path,title:e.title,basePath:e.basePath,icon:e.icon}))}}},41435(e,n,t){"use strict";t.d(n,{moduleName:()=>m});var r=t(97419),i=(r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.Array,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.Array,r.Type.Array,r.Type.Array,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.Array,r.Type.ConceptUuid,r.Type.Array,r.Type.String,r.Type.Array,r.Type.Array,r.Type.String,r.Type.String,r.Type.String,r.Type.UUID,r.Type.UUID,r.Type.String,r.Type.String,r.Type.UUID,r.Type.UUID,r.Type.UUID,r.Type.UUID,r.Type.UUID,{path:"registration",slot:"client-registry-dashboard-slot",title:"Registration",basePath:"".concat(window.spaBase,"/home")}),o=t(55850),a=t(46300),s={path:"dashboard",slot:"queue-dashboard-slot",title:"Dashboard",basePath:"".concat(window.spaBase,"/home")},c={path:"dispensing",slot:"dispensing-dashboard-slot",title:"Pharmacy",basePath:"".concat(window.spaBase,"/home")},l={path:"triage",slot:"triage-queue-dashboard-slot",title:"Triage",basePath:"".concat(window.spaBase,"/home")},u={path:"consultation",slot:"consultation-dashboard-slot",title:"Consultation",basePath:"".concat(window.spaBase,"/home")},d={path:"dashboard",slot:"dha-workflow-dashboard-slot",title:"Dashboard",basePath:"".concat(window.spaBase,"/home")},p={path:"bookings",slot:"bookings-dashboard-slot",title:"Bookings",basePath:"".concat(window.spaBase,"/home")},h={path:"admissions-dashboard",slot:"admissions-dashboard-slot",title:"Admissions",basePath:"".concat(window.spaBase,"/home")},f={path:"emt",slot:"emt-queue-dashboard-slot",title:"EMT / Referral",basePath:"".concat(window.spaBase,"/home")},y={path:"telemedicine",slot:"telemedicine-dashboard-slot",title:"Telemedicine",basePath:"".concat(window.spaBase,"/home")},m="@ampath/esm-dha-workflow-app",g={featureName:"Consulation Workflow",moduleName:m};t(84767),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(3)]).then(t.bind(t,20003))},{featureName:"side-nav-workflow-link",moduleName:m}),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(3270),t.e(1673),t.e(9768),t.e(7269),t.e(3654),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(5754),t.e(3242),t.e(7431),t.e(7400),t.e(3182),t.e(1100),t.e(5119),t.e(8918),t.e(7024),t.e(7734),t.e(818),t.e(409),t.e(6055),t.e(4569),t.e(5179),t.e(968),t.e(902),t.e(9770)]).then(t.bind(t,69770))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(3270),t.e(7680),t.e(1843),t.e(7024),t.e(7734),t.e(8250)]).then(t.bind(t,17734))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(2632)]).then(t.bind(t,39932))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(8308)]).then(t.bind(t,42110))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(5006)]).then(t.bind(t,69098))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(3558)]).then(t.bind(t,58520))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(3987),t.e(7593)]).then(t.bind(t,27593))},{featureName:"workflow-registry-link",moduleName:m}),(0,r.getSyncLifecycle)((0,o.b)(i),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(3270),t.e(7680),t.e(1843),t.e(7024),t.e(7734),t.e(2439)]).then(t.bind(t,61812))},g),(0,r.getSyncLifecycle)((0,o.b)(s),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(1673),t.e(9768),t.e(7269),t.e(7680),t.e(3987),t.e(7431),t.e(7400),t.e(1100),t.e(8918),t.e(968),t.e(6682)]).then(t.bind(t,60968))},g),(0,r.getSyncLifecycle)((0,o.b)(c),g),(0,r.getSyncLifecycle)((0,o.b)(l),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(7369)]).then(t.bind(t,66238))},g),(0,r.getSyncLifecycle)((0,o.b)(u),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(8947)]).then(t.bind(t,38568))},g),(0,r.getSyncLifecycle)((0,o.b)(d),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(1673),t.e(9768),t.e(7269),t.e(7680),t.e(3987),t.e(7431),t.e(7400),t.e(1100),t.e(8918),t.e(968),t.e(6682)]).then(t.bind(t,60968))},g),(0,r.getSyncLifecycle)((0,o.b)(p),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(72)]).then(t.bind(t,30072))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(5500)]).then(t.bind(t,55500))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(9429)]).then(t.bind(t,89429))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(8137)]).then(t.bind(t,36554))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(2663)]).then(t.bind(t,56938))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(3654),t.e(7680),t.e(4569),t.e(6399)]).then(t.bind(t,34569))},g),(0,r.getSyncLifecycle)((0,o.b)({path:"service-queue-admin",slot:"service-queue-admin-dashboard-slot",title:"Service Queue Admin",basePath:"dha-workflow"}),g),(0,r.getSyncLifecycle)((0,o.b)(h),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(3270),t.e(1673),t.e(7680),t.e(3987),t.e(5119),t.e(818),t.e(5179),t.e(774)]).then(t.bind(t,55179))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3242),t.e(4399)]).then(t.bind(t,16700))},g),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"Admissions",slot:"patient-chart-admissions-summary-dashboard-slot",title:"Admissions",icon:"omrs-icon-hospital-bed"}),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(3016)]).then(t.bind(t,23016))},g),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"case-summary",slot:"patient-chart-case-summary-dashboard-slot",title:"Visit Case Summary",icon:"omrs-icon-document"}),g),(0,r.getSyncLifecycle)((0,o.b)(f),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(5754),t.e(409),t.e(902),t.e(8735)]).then(t.bind(t,10902))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(5413),t.e(1843),t.e(5754),t.e(409),t.e(3897)]).then(t.bind(t,90409))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(3270),t.e(7958),t.e(3816),t.e(3612)]).then(t.bind(t,53612))},g),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"elective-preauth",slot:"patient-chart-elective-preauth-dashboard-slot",title:"Elective Preauth",icon:"omrs-icon-list-checked"}),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(5413),t.e(1843),t.e(5754),t.e(7852),t.e(3288)]).then(t.bind(t,99364))},g),(0,r.getAsyncLifecycle)(function(){return t.e(9062).then(t.bind(t,89062))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(1673),t.e(3816),t.e(9249),t.e(2848)]).then(t.bind(t,72848))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(3270),t.e(1673),t.e(9768),t.e(7269),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(5754),t.e(7431),t.e(7400),t.e(5119),t.e(8918),t.e(7024),t.e(7852),t.e(818),t.e(6055),t.e(1931),t.e(5377)]).then(t.bind(t,9067))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(3270),t.e(1673),t.e(3949),t.e(7680),t.e(3987),t.e(5413),t.e(5119),t.e(8167)]).then(t.bind(t,53888))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(7680),t.e(7694)]).then(t.bind(t,7694))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(2808)]).then(t.bind(t,32808))},g),(0,r.getAsyncLifecycle)(function(){return t.e(2802).then(t.bind(t,22802))},{featureName:"admissions-form-entry",moduleName:m}),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(3987),t.e(7698)]).then(t.bind(t,7698))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(1371),t.e(3987),t.e(5413),t.e(2687)]).then(t.bind(t,2687))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(5413),t.e(6048)]).then(t.bind(t,86048))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(5413),t.e(1843),t.e(1931),t.e(6279)]).then(t.bind(t,20007))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(3270),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(474)]).then(t.bind(t,50474))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(1371),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(5754),t.e(3794)]).then(t.bind(t,93794))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(411),t.e(5244)]).then(t.bind(t,35244))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(5413),t.e(9134)]).then(t.bind(t,29134))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(411),t.e(3270),t.e(1673),t.e(7680),t.e(3987),t.e(5119),t.e(3636)]).then(t.bind(t,19655))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(3987),t.e(9879)]).then(t.bind(t,79879))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(3987),t.e(2535)]).then(t.bind(t,2535))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(5413),t.e(1843),t.e(5754),t.e(7852),t.e(5138)]).then(t.bind(t,72474))},g),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"shr-v2",slot:"patient-chart-shared-health-record-dashboard-slot",title:"SHR",icon:"omrs-icon-event-schedule"}),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(411),t.e(3270),t.e(1673),t.e(3949),t.e(3654),t.e(7958),t.e(9249),t.e(2383),t.e(7680),t.e(3987),t.e(5805),t.e(3196)]).then(t.bind(t,23196))},g),(0,r.getSyncLifecycle)((0,o.b)(y),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(411),t.e(3270),t.e(7680),t.e(3987),t.e(6802)]).then(t.bind(t,6802))},g),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"telemedicine",slot:"patient-chart-telemedicine-dashboard-slot",title:"Telemedicine",icon:"omrs-icon-view"}),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(411),t.e(3270),t.e(7680),t.e(3987),t.e(6802),t.e(5353)]).then(t.bind(t,47734))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(3270),t.e(3949),t.e(7680),t.e(3987),t.e(5805),t.e(9709)]).then(t.bind(t,95805))},g),(0,r.getSyncLifecycle)((0,o.b)({path:"claims-admin",slot:"claims-admin-dashboard-slot",title:"Claims Admin",basePath:"dha-workflow"}),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(9442)]).then(t.bind(t,90435))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(9974)]).then(t.bind(t,9974))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(3987),t.e(408)]).then(t.bind(t,40408))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(6206)]).then(t.bind(t,36206))},g)},84767(e,n,t){var r={"./am.json":[81197,[1197]],"./en.json":[34300,[4300]],"./es.json":[93099,[3099]],"./fr.json":[94055,[4055]],"./he.json":[84652,[4652]],"./km.json":[54335,[4335]]};function i(e){try{if(!t.o(r,e))return Promise.resolve().then(()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n})}catch(e){return Promise.reject(e)}var n=r[e],i=n[0];return t.e(n[1][0]).then(()=>t(i))}i.keys=()=>Object.keys(r),i.id=84767,e.exports=i}},s={};function c(e){var n=s[e];if(void 0!==n)return n.exports;var t=s[e]={id:e,exports:{}},r={id:e,module:t,factory:a[e],require:c};return c.i.forEach(function(e){e(r)}),t=r.module,r.factory.call(t.exports,t,t.exports,r.require),t.exports}c.m=a,c.c=s,c.i=[],c.x=e=>{},c.federation||(c.federation={initOptions:{name:"@ampath/esm-dha-workflow-app",remotes:[],shareStrategy:"version-first"},chunkMatcher:function(e){return!/^(7(4(00|19|31)|680)|3987|6031|6435|8918)$/.test(e)},rootOutputDir:"",bundlerRuntimeOptions:{remotes:{remoteInfos:{},webpackRequire:c,idToRemoteMap:{},chunkMapping:{},idToExternalAndNameMapping:{}}}},c.consumesLoadingData={},c.remotesLoadingData={}),c.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return c.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var i=Object.create(null);c.r(i);var o={};e=e||[null,n({}),n([]),n(n)];for(var a=2&r&&t;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach(e=>o[e]=()=>t[e]);return o.default=()=>t,c.d(i,o),i},c.d=(e,n)=>{for(var t in n)c.o(n,t)&&!c.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((n,t)=>(c.f[t](e,n),n),[])),c.u=e=>e+".js",c.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t={},r="@ampath/esm-dha-workflow-app:",c.l=(e,n,i,o)=>{if(t[e])t[e].push(n);else{var a,s;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+i){a=d;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",c.nc&&a.setAttribute("nonce",c.nc),a.setAttribute("data-webpack",r+i),a.src=e),t[e]=[n];var p=(n,r)=>{a.onerror=a.onload=null,clearTimeout(h);var i=t[e];if(delete t[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach(e=>e(r)),n)return n(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{c.S={};var e={},n={};c.I=(t,r)=>{r||(r=[]);var i=n[t];if(i||(i=n[t]={}),!(r.indexOf(i)>=0)){if(r.push(i),e[t])return e[t];c.o(c.S,t)||(c.S[t]={});var o=c.S[t],a="@ampath/esm-dha-workflow-app",s=(e,n,t,r)=>{var i=o[e]=o[e]||{},s=i[n];(!s||!s.loaded&&(!r!=!s.eager?r:a>s.from))&&(i[n]={get:t,from:a,eager:!!r})},l=[];return"default"===t&&(s("@openmrs/esm-framework","10.0.1-pre.5263",()=>Promise.all([c.e(961),c.e(7949),c.e(2272),c.e(411),c.e(1673),c.e(9768),c.e(7269),c.e(8961),c.e(7680),c.e(3987),c.e(6031),c.e(7431),c.e(7400),c.e(8918),c.e(6435)]).then(()=>()=>c(18961))),s("@openmrs/esm-patient-common-lib","12.3.5-pre.12144",()=>Promise.all([c.e(961),c.e(7949),c.e(2272),c.e(9768),c.e(2592),c.e(3987),c.e(6031),c.e(7431),c.e(6435),c.e(7419)]).then(()=>()=>c(92592))),s("dayjs","1.11.23",()=>c.e(4353).then(()=>()=>c(74353))),s("i18next","25.10.10",()=>c.e(2635).then(()=>()=>c(72635))),s("react-i18next","16.6.6",()=>Promise.all([c.e(3311),c.e(6031),c.e(7400)]).then(()=>()=>c(23311))),s("react-router-dom","6.30.6",()=>Promise.all([c.e(961),c.e(282),c.e(6031)]).then(()=>()=>c(20282))),s("react","18.3.1",()=>c.e(6540).then(()=>()=>c(96540))),s("rxjs","6.6.7",()=>c.e(3184).then(()=>()=>c(63184))),s("swr/_internal","2.5.1",()=>Promise.all([c.e(6031),c.e(4993)]).then(()=>()=>c(14993))),s("swr/immutable","2.5.1",()=>Promise.all([c.e(2272),c.e(6031),c.e(4225)]).then(()=>()=>c(54225))),s("swr/infinite","2.5.1",()=>Promise.all([c.e(2272),c.e(6031),c.e(3041)]).then(()=>()=>c(23041)))),e[t]=l.length?Promise.all(l).then(()=>e[t]=1):1}}})(),(()=>{c.federation.initOptions.shared={"@openmrs/esm-framework":[{version:"10.0.1-pre.5263",get:()=>Promise.all([c.e(961),c.e(7949),c.e(2272),c.e(411),c.e(1673),c.e(9768),c.e(7269),c.e(8961),c.e(7680),c.e(3987),c.e(6031),c.e(7431),c.e(7400),c.e(8918),c.e(6435)]).then(()=>()=>c(18961)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"10.x",strictVersion:!1,singleton:!0,layer:null}}],"@openmrs/esm-patient-common-lib":[{version:"12.3.5-pre.12144",get:()=>Promise.all([c.e(961),c.e(7949),c.e(2272),c.e(9768),c.e(2592),c.e(3987),c.e(6031),c.e(7431),c.e(6435),c.e(7419)]).then(()=>()=>c(92592)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"12.x",strictVersion:!1,singleton:!0,layer:null}}],dayjs:[{version:"1.11.23",get:()=>c.e(4353).then(()=>()=>c(74353)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"1.x",strictVersion:!1,singleton:!0,layer:null}}],i18next:[{version:"25.10.10",get:()=>c.e(2635).then(()=>()=>c(72635)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"25.x",strictVersion:!1,singleton:!0,layer:null}}],"react-i18next":[{version:"16.6.6",get:()=>Promise.all([c.e(3311),c.e(6031),c.e(7400)]).then(()=>()=>c(23311)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"16.x",strictVersion:!1,singleton:!0,layer:null}}],"react-router-dom":[{version:"6.30.6",get:()=>Promise.all([c.e(961),c.e(282),c.e(6031)]).then(()=>()=>c(20282)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"6.x",strictVersion:!1,singleton:!0,layer:null}}],react:[{version:"18.3.1",get:()=>c.e(6540).then(()=>()=>c(96540)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"18.x",strictVersion:!1,singleton:!0,layer:null}}],rxjs:[{version:"6.6.7",get:()=>c.e(3184).then(()=>()=>c(63184)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"6.x",strictVersion:!1,singleton:!0,layer:null}}],"swr/_internal":[{version:"2.5.1",get:()=>Promise.all([c.e(6031),c.e(4993)]).then(()=>()=>c(14993)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"2.x",strictVersion:!1,singleton:!0,layer:null}}],"swr/immutable":[{version:"2.5.1",get:()=>Promise.all([c.e(2272),c.e(6031),c.e(4225)]).then(()=>()=>c(54225)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"2.x",strictVersion:!1,singleton:!0,layer:null}}],"swr/infinite":[{version:"2.5.1",get:()=>Promise.all([c.e(2272),c.e(6031),c.e(3041)]).then(()=>()=>c(23041)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"2.x",strictVersion:!1,singleton:!0,layer:null}}]},c.S={};var e={},n={};c.I=(t,r)=>c.federation.bundlerRuntime.I({shareScopeName:t,webpackRequire:c,initPromises:e,initTokens:n,initScope:r})})(),(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var n=globalThis.document;if(!e&&n&&(n.currentScript&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(e=n.currentScript.src),!e)){var t=n.getElementsByTagName("script");if(t.length)for(var r=t.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=t[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),c.p=e})(),(()=>{var e={};c.consumesLoadingData.moduleIdToConsumeDataMapping={97419:{fallback:()=>Promise.all([c.e(961),c.e(7949),c.e(2272),c.e(411),c.e(1673),c.e(9768),c.e(7269),c.e(8961),c.e(7680),c.e(3987),c.e(7431),c.e(7400),c.e(8918)]).then(()=>()=>c(18961)),shareScope:["default"],singleton:!0,requiredVersion:"10.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"@openmrs/esm-framework"},46300:{fallback:()=>Promise.all([c.e(961),c.e(7949),c.e(2272),c.e(9768),c.e(2592),c.e(3987),c.e(7431)]).then(()=>()=>c(92592)),shareScope:["default"],singleton:!0,requiredVersion:"12.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"@openmrs/esm-patient-common-lib"},86435:{fallback:()=>Promise.all([c.e(961),c.e(282)]).then(()=>()=>c(20282)),shareScope:["default"],singleton:!0,requiredVersion:"6.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"react-router-dom"},96031:{fallback:()=>c.e(6540).then(()=>()=>c(96540)),shareScope:["default"],singleton:!0,requiredVersion:"18.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"react"},67680:{fallback:()=>c.e(4353).then(()=>()=>c(74353)),shareScope:["default"],singleton:!0,requiredVersion:"1.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"dayjs"},13987:{fallback:()=>Promise.all([c.e(3311),c.e(7400)]).then(()=>()=>c(23311)),shareScope:["default"],singleton:!0,requiredVersion:"16.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"react-i18next"},87431:{fallback:()=>c.e(6606).then(()=>()=>c(54225)),shareScope:["default"],singleton:!0,requiredVersion:"2.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"swr/immutable"},57400:{fallback:()=>c.e(2635).then(()=>()=>c(72635)),shareScope:["default"],singleton:!0,requiredVersion:"25.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"i18next"},77756:{fallback:()=>c.e(3184).then(()=>()=>c(63184)),shareScope:["default"],singleton:!0,requiredVersion:"6.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"rxjs"},63923:{fallback:()=>()=>c(14993),shareScope:["default"],singleton:!0,requiredVersion:"2.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"swr/_internal"},25529:{fallback:()=>c.e(5422).then(()=>()=>c(23041)),shareScope:["default"],singleton:!0,requiredVersion:"2.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"swr/infinite"}};var n={};c.consumesLoadingData.initialConsumes=[97419,46300,86435,96031],c.federation.installInitialConsumes=t=>c.federation.bundlerRuntime.installInitialConsumes({initialConsumes:c.consumesLoadingData.initialConsumes,installedModules:e,moduleToHandlerMapping:n,webpackRequire:c,asyncLoad:"object"==typeof t?t.asyncLoad:void 0}),c.consumesLoadingData.chunkMapping={3987:[13987],6031:[96031],6435:[86435],7400:[57400],7419:[97419],7431:[87431],7680:[67680],8792:[97419,46300,86435,96031],8918:[77756,63923,25529]},c.f.consumes=(t,r)=>{c.federation.bundlerRuntime.consumes({chunkMapping:c.consumesLoadingData.chunkMapping,installedModules:e,chunkId:t,moduleToHandlerMapping:n,promises:r,webpackRequire:c})}})(),i=c.x,o=!1,c.x=()=>{if(o||(o=!0,c(14005)),"function"==typeof i)return i();console.warn("[Module Federation] prevStartup is not a function, skipping startup execution")},(()=>{var e={1435:0,6031:0,6435:0,7419:0,8792:0};c.f.j=(n,t)=>{var r=c.o(e,n)?e[n]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(7(4(00|19|31)|680)|3987|6031|6435|8918)$/.test(n))e[n]=0;else{var i=new Promise((t,i)=>r=e[n]=[t,i]);t.push(r[2]=i);var o=c.p+c.u(n),a=new Error;c.l(o,t=>{if(c.o(e,n)&&(0!==(r=e[n])&&(e[n]=void 0),r)){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;a.message="Loading chunk "+n+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,r[1](a)}},"chunk-"+n,n)}};var n=(n,t)=>{var r,i,[o,a,s]=t,l=0;if(o.some(n=>0!==e[n])){for(r in a)c.o(a,r)&&(c.m[r]=a[r]);s&&s(c)}for(n&&n(t);l<o.length;l++)i=o[l],c.o(e,i)&&e[i]&&e[i][0](),e[i]=0},t=globalThis.webpackChunk_ampath_esm_dha_workflow_app=globalThis.webpackChunk_ampath_esm_dha_workflow_app||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})(),c.nc=void 0,c.x(),c(41435)})();
1
+ !function(){var e="undefined"!=typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw new Error("@ampath/esm-dha-workflow-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var n=e._FEDERATION_RUNTIME_CORE_FROM;n&&n.version&&"2.8"!==String(n.version).split(".").slice(0,2).join(".")&&console.warn("@ampath/esm-dha-workflow-app was built against Module Federation 2.8.x but the app shell provides "+n.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,n,t,r,i,o,a={14005(e,n,t){"use strict";var r={};function i(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}t.r(r),t.d(r,{Module:()=>u.Module,ModuleFederation:()=>u.ModuleFederation,createInstance:()=>h,getInstance:()=>v,getRemoteEntry:()=>u.getRemoteEntry,getRemoteInfo:()=>u.getRemoteInfo,init:()=>y,loadRemote:()=>m,loadScript:()=>u.loadScript,loadScriptNode:()=>u.loadScriptNode,loadShare:()=>g,loadShareSync:()=>b,preloadRemote:()=>S,registerGlobalPlugins:()=>u.registerGlobalPlugins,registerPlugins:()=>T,registerRemotes:()=>w,registerShared:()=>k});const o=["script"];function a(e){const{webpackRequire:n,moduleToHandlerMapping:t}=e,{consumesLoadingData:r,initializeSharingData:i}=n,{sharedFallback:o,bundlerRuntime:a,libraryType:s}=n.federation;if(r&&!r._updated){const{moduleIdToConsumeDataMapping:i={},initialConsumes:c=[],chunkMapping:l={}}=r;if(Object.entries(i).forEach(([e,r])=>{t[e]||(t[e]={getter:o?a?.getSharedFallbackGetter({shareKey:r.shareKey,factory:r.fallback,webpackRequire:n,libraryType:s}):r.fallback,treeShakingGetter:o?r.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager,layer:r.layer},scope:Array.isArray(r.shareScope)?r.shareScope:[r.shareScope||"default"],treeShaking:o?{get:r.fallback,mode:r.treeShakingMode}:void 0},shareKey:r.shareKey})}),"initialConsumes"in e){const{initialConsumes:n=[]}=e;c.forEach(e=>{n.includes(e)||n.push(e)})}if("chunkMapping"in e){const{chunkMapping:n={}}=e;Object.entries(l).forEach(([e,t])=>{n[e]||(n[e]=[]),t.forEach(t=>{n[e].includes(t)||n[e].push(t)})})}r._updated=1}if(i&&!i._updated){const{federation:e}=n;if(!e.instance||!i.scopeToSharingDataMapping)return;const t={};for(let[e,n]of Object.entries(i.scopeToSharingDataMapping))for(let r of n)if("object"==typeof r&&null!==r){const{name:n,version:i,factory:o,eager:a,singleton:s,requiredVersion:c,strictVersion:l}=r,u={requiredVersion:`^${i}`},d=function(e){return void 0!==e};d(s)&&(u.singleton=s),d(c)&&(u.requiredVersion=c),d(a)&&(u.eager=a),d(l)&&(u.strictVersion=l);const p={version:i,scope:[e],shareConfig:u,get:o};t[n]?t[n].push(p):t[n]=[p]}e.instance.registerShared(t),i._updated=1}}const s=globalThis._OPENMRS_FEDERATION_SDK;function c(e,n){const t=e.federation.usedExports;if(t)return t[n]}const l="RUNTIME-012",u=globalThis._FEDERATION_RUNTIME_CORE;function d(e,n){return u.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(t=>!("@ampath/esm-dha-workflow-app:4.0.0-next.448"!==t.options.id&&(t.options.name!==e||t.options.version||n)&&(t.options.name!==e||!n||t.options.version!==n)))}const p=globalThis._OPENMRS_FEDERATION_ERROR_CODES;function h(e){const n=new((0,u.getGlobalFederationConstructor)()||u.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,u.setGlobalFederationInstance)(n),n}let f=null;function y(e){const n=d(e.name,e.version),t={...e,id:e.id||""};return n?(n.initOptions(t),f||(f=n),n):(f=h(t),f)}function m(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.loadRemote.apply(f,e)}function g(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.loadShare.apply(f,e)}function b(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.loadShareSync.apply(f,e)}function S(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.preloadRemote.apply(f,e)}function w(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.registerRemotes.apply(f,e)}function T(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.registerPlugins.apply(f,e)}function v(e){return e?u.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:f}function k(...e){return(0,u.assert)(f,p.RUNTIME_009,p.runtimeDescMap),f.registerShared.apply(f,e)}(0,u.setGlobalFederationConstructor)(u.ModuleFederation);const P={global:{...u.helpers.global,getGlobalFederationInstance:d},share:u.helpers.share,utils:u.helpers.utils},E={remotes:function(e){!function(e){const{webpackRequire:n,idToExternalAndNameMapping:t={},idToRemoteMap:r={},chunkMapping:i={}}=e,{remotesLoadingData:o}=n,a=n.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!o||o._updated||!a)return;const{chunkMapping:s,moduleIdToRemoteDataMapping:c}=o;if(s&&c){for(let[e,n]of Object.entries(c))if(t[e]||(t[e]=[n.shareScope,n.name,n.externalModuleId]),!r[e]&&a[n.remoteName]){const t=a[n.remoteName];r[e]||=[],t.forEach(n=>{r[e].includes(n)||r[e].push(n)})}i&&Object.entries(s).forEach(([e,n])=>{i[e]||(i[e]=[]),n.forEach(n=>{i[e].includes(n)||i[e].push(n)})}),o._updated=1}}(e);const{chunkId:n,promises:t,webpackRequire:r,chunkMapping:a,idToExternalAndNameMapping:c,idToRemoteMap:l}=e;i(r),r.o(a,n)&&a[n].forEach(e=>{let n=r.R;n||(n=[]);const i=c[e],a=l[e]||[];if(n.indexOf(i)>=0)return;if(n.push(i),i.p)return t.push(i.p);const u=n=>{n||(n=new Error("Container missing")),"string"==typeof n.message&&(n.message+=`\nwhile loading "${i[1]}" from ${i[2]}`),r.m[e]=()=>{throw n},i.p=0},d=(e,n,r,o,a,s)=>{try{const c=e(n,r);if(!c||!c.then)return a(c,o,s);{const e=c.then(e=>a(e,o),u);if(!s)return e;t.push(i.p=e)}}catch(e){u(e)}};var p=(e,t,r)=>d(t.get,i[1],n,0,h,r),h=n=>{i.p=1,r.m[e]=e=>{e.exports=n()}};1===a.length&&o.includes(a[0].externalType)&&a[0].name?d(()=>{try{const e=(0,s.decodeName)(a[0].name,s.ENCODE_NAME_PREFIX)+i[1].slice(1),n=r.federation.instance,t=()=>r.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===n.options.shareStrategy){const e=Array.isArray(i[0])?i[0]:[i[0]];return Promise.all(e.map(e=>n.sharedHandler.initializeSharing(e))).then(()=>t())}return t()}catch(e){u(e)}},i[2],0,0,h,1):d(r,i[2],0,0,(e,n,t)=>e?d(r.I,i[0],0,e,p,t):u(),1)})},consumes:function(e){a(e);const{chunkId:n,promises:t,installedModules:r,webpackRequire:o,chunkMapping:s,moduleToHandlerMapping:u}=e;i(o),o.o(s,n)&&s[n].forEach(e=>{if(o.o(r,e))return t.push(r[e]);const n=n=>{r[e]=0,o.m[e]=t=>{delete o.c[e];const r=n(),{shareInfo:i}=u[e];if(i?.shareConfig?.layer&&r&&"object"==typeof r)try{r.hasOwnProperty("layer")&&void 0!==r.layer||(r.layer=i.shareConfig.layer)}catch(e){}t.exports=r}},i=n=>{delete r[e],o.m[e]=t=>{throw delete o.c[e],n}};try{const a=o.federation.instance;if(!a)throw new Error("Federation instance not found!");const{shareKey:s,getter:d,shareInfo:p,treeShakingGetter:h}=u[e],f=c(o,s),y={...p};Array.isArray(y.scope)&&Array.isArray(y.scope[0])&&(y.scope=y.scope[0]),f&&(y.treeShaking={usedExports:f,useIn:[a.options.name]});const m=a.loadShare(s,{customShareInfo:y}).then(e=>{if(!1===e){if("function"!=typeof d)throw new Error(((e,n,t)=>{const r=[`${[n[e]]} #${e}`];return t&&r.push(`args: ${JSON.stringify(t)}`),r.push((e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`)(e)),r.join("\n")})(l,{[l]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:s}));return h?.()||d()}return e});m.then?t.push(r[e]=m.then(n).catch(i)):n(m)}catch(e){i(e)}})},I:function({shareScopeName:e,webpackRequire:n,initPromises:t,initTokens:r,initScope:a}){const s=Array.isArray(e)?e:[e];var c=[];return s.forEach(s=>{c.push(function(s){a||(a=[]);const c=n.federation.instance;var l=r[s];if(l||(l=r[s]={from:c.name}),a.indexOf(l)>=0)return;a.push(l);const u=t[s];if(u)return u;var d=t=>{var r=e=>{return n="Initialization of sharing external failed: "+e,"undefined"!=typeof console&&console.warn&&console.warn(n);var n};try{var i=n(t);if(!i)return;var o=t=>t&&t.init&&t.init(n.S[s],a,{shareScopeMap:n.S||{},shareScopeKeys:e});if(i.then)return p.push(i.then(o,r));var c=o(i);if(c&&"boolean"!=typeof c&&c.then)return p.push(c.catch(r))}catch(e){r(e)}};const p=c.initializeSharing(s,{strategy:c.options.shareStrategy,initScope:a,from:"build"});i(n);const h=n.federation.bundlerRuntimeOptions.remotes;return h&&Object.keys(h.idToRemoteMap).forEach(e=>{const n=h.idToRemoteMap[e],t=h.idToExternalAndNameMapping[e][2];if(n.length>1)d(t);else if(1===n.length){const e=n[0];o.includes(e.externalType)||d(t)}}),p.length?t[s]=Promise.all(p).then(()=>t[s]=!0):t[s]=!0}(s))}),Promise.all(c).then(()=>!0)},S:{},installInitialConsumes:function(e){a(e);const{moduleToHandlerMapping:n,webpackRequire:t,installedModules:r,initialConsumes:i,asyncLoad:o}=e,s=[];i.forEach(e=>{s.push([e,()=>function(e){const{moduleId:n,moduleToHandlerMapping:t,webpackRequire:r,asyncLoad:i}=e,o=r.federation.instance;if(!o)throw new Error("Federation instance not found!");const{shareKey:a,shareInfo:s}=t[n];try{const e=c(r,a),n={...s};return e&&(n.treeShaking={usedExports:e,useIn:[o.options.name]}),i?o.loadShare(a,{customShareInfo:n}):o.loadShareSync(a,{customShareInfo:n})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}({moduleId:e,moduleToHandlerMapping:n,webpackRequire:t,asyncLoad:o})])});const l=(e,i)=>{t.m[e]=o=>{r[e]=0,delete t.c[e];const a=i();if("function"!=typeof a)throw new Error(`Shared module is not available for eager consumption: ${e}`);const s=a(),{shareInfo:c}=n[e];if(c?.shareConfig?.layer&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=c.shareConfig.layer)}catch(e){}o.exports=s}};if(o)return Promise.all(s.map(async([e,n])=>{const t=await n();l(e,()=>t)}));s.forEach(([e,n])=>{l(e,n)})},initContainerEntry:function(e){const{webpackRequire:n,shareScope:t,initScope:r,shareScopeKey:i,remoteEntryInitOptions:o}=e;if(!n.S)return;if(!n.federation||!n.federation.instance||!n.federation.initOptions)return;const a=n.federation.instance;a.initOptions({name:n.federation.initOptions.name,remotes:[],...o});const s=o?.shareScopeKeys,c=o?.shareScopeMap;if(i&&"string"!=typeof i)i.forEach(e=>{if(!s||!c)return void a.initShareScopeMap(e,t,{hostShareScopeMap:o?.shareScopeMap||{}});c[e]||(c[e]={});const n=c[e];a.initShareScopeMap(e,n,{hostShareScopeMap:o?.shareScopeMap||{}})});else{const e=i||"default";Array.isArray(s)?s.forEach(e=>{c[e]||(c[e]={});const n=c[e];a.initShareScopeMap(e,n,{hostShareScopeMap:o?.shareScopeMap||{}})}):a.initShareScopeMap(e,t,{hostShareScopeMap:o?.shareScopeMap||{}})}return n.federation.attachShareScopeMap&&n.federation.attachShareScopeMap(n),Array.isArray(i)?Boolean(n.federation.initOptions.shared)?n.I(i,r):Promise.all(i.map(e=>n.I(e,r))).then(()=>!0):n.I(i||"default",r)},init:function({webpackRequire:e}){const{initOptions:n,runtime:r,sharedFallback:i,bundlerRuntime:o,libraryType:a}=e.federation;if(!n)throw new Error("initOptions is required!");{const r=function(){return{name:"tree-shake-plugin",beforeInit(n){const{userOptions:r,origin:s,options:c}=n,l=r.version||c.version;if(!i)return n;const d=r.shared||{},p=[];Object.keys(d).forEach(n=>{(Array.isArray(d[n])?d[n]:[d[n]]).forEach(t=>{p.push([n,t]),"get"in t&&(t.treeShaking||={},t.treeShaking.get=t.get,t.get=o.getSharedFallbackGetter({shareKey:n,factory:t.get,webpackRequire:e,libraryType:a,version:t.version}))})});const h=P.global.getGlobalSnapshotInfoByModuleInfo({name:s.name,version:l});return h&&"shared"in h?(Object.keys(c.shared||{}).forEach(e=>{c.shared[e].forEach(n=>{p.push([e,n])})}),p.forEach(([e,n])=>{((e,n)=>{const r=h.shared.find(n=>n.sharedName===e);if(!r)return;const{treeShaking:i}=n;if(!i)return;const{secondarySharedTreeShakingName:o,secondarySharedTreeShakingEntry:c,treeShakingStatus:l}=r;i.status!==l&&(i.status=l,c&&a&&o&&(i.get=async()=>{const e=await(0,u.getRemoteEntry)({origin:s,remoteInfo:{name:o,entry:c,type:a,entryGlobalName:o,shareScope:"default"}});return await e.init(s,t.federation.bundlerRuntime),e.get()}))})(e,n)}),n):n}}};n.plugins||=[],n.plugins.push(r())}return r.init(n)},getSharedFallbackGetter:({shareKey:e,factory:n,version:t,webpackRequire:r,libraryType:i="global"})=>{const{runtime:o,instance:a,bundlerRuntime:s,sharedFallback:c}=r.federation;if(!c)return n;const l=c[e];if(!l)return n;const u=t?l.find(e=>e[1]===t):l[0];if(!u)throw new Error(`No fallback item found for shareKey: ${e} and version: ${t}`);return()=>o.getRemoteEntry({origin:r.federation.instance,remoteInfo:{name:u[2],entry:`${r.p}${u[0]}`,type:i,entryGlobalName:u[2],shareScope:"default"}}).then(n=>{if(!n)throw new Error(`Failed to load fallback entry for shareKey: ${e} and version: ${t}`);return n.init(r.federation.instance,s).then(()=>n.get())})}},A={runtime:r,instance:void 0,initOptions:void 0,bundlerRuntime:E,attachShareScopeMap:i,bundlerRuntimeOptions:{}};if(!t.federation.runtime||!t.federation.bundlerRuntime){var M=t.federation;for(var L in t.federation={},A)t.federation[L]=A[L];for(var L in M)t.federation[L]=M[L]}t.federation.instance||(t.federation.instance=t.federation.bundlerRuntime.init({webpackRequire:t}),t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),t.federation.installInitialConsumes&&t.federation.installInitialConsumes())},55850(e,n,t){"use strict";t.d(n,{b:()=>s});var r=t(96031),i=t.n(r),o=t(86435),a=t(97419),s=function(e){return function(){return i().createElement(o.BrowserRouter,null,i().createElement(a.DashboardExtension,{path:e.path,title:e.title,basePath:e.basePath,icon:e.icon}))}}},41435(e,n,t){"use strict";t.d(n,{moduleName:()=>m});var r=t(97419),i=(r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.Array,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.String,r.Type.Array,r.Type.Array,r.Type.Array,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.ConceptUuid,r.Type.Array,r.Type.ConceptUuid,r.Type.Array,r.Type.String,r.Type.Array,r.Type.Array,r.Type.String,r.Type.String,r.Type.String,r.Type.UUID,r.Type.UUID,r.Type.String,r.Type.String,r.Type.UUID,r.Type.UUID,r.Type.UUID,r.Type.UUID,r.Type.UUID,{path:"registration",slot:"client-registry-dashboard-slot",title:"Registration",basePath:"".concat(window.spaBase,"/home")}),o=t(55850),a=t(46300),s={path:"dashboard",slot:"queue-dashboard-slot",title:"Dashboard",basePath:"".concat(window.spaBase,"/home")},c={path:"dispensing",slot:"dispensing-dashboard-slot",title:"Pharmacy",basePath:"".concat(window.spaBase,"/home")},l={path:"triage",slot:"triage-queue-dashboard-slot",title:"Triage",basePath:"".concat(window.spaBase,"/home")},u={path:"consultation",slot:"consultation-dashboard-slot",title:"Consultation",basePath:"".concat(window.spaBase,"/home")},d={path:"dashboard",slot:"dha-workflow-dashboard-slot",title:"Dashboard",basePath:"".concat(window.spaBase,"/home")},p={path:"bookings",slot:"bookings-dashboard-slot",title:"Bookings",basePath:"".concat(window.spaBase,"/home")},h={path:"admissions-dashboard",slot:"admissions-dashboard-slot",title:"Admissions",basePath:"".concat(window.spaBase,"/home")},f={path:"emt",slot:"emt-queue-dashboard-slot",title:"EMT / Referral",basePath:"".concat(window.spaBase,"/home")},y={path:"telemedicine",slot:"telemedicine-dashboard-slot",title:"Telemedicine",basePath:"".concat(window.spaBase,"/home")},m="@ampath/esm-dha-workflow-app",g={featureName:"Consulation Workflow",moduleName:m};t(84767),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(3)]).then(t.bind(t,20003))},{featureName:"side-nav-workflow-link",moduleName:m}),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(3270),t.e(1673),t.e(9768),t.e(7269),t.e(3654),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(5754),t.e(3242),t.e(7431),t.e(7400),t.e(3182),t.e(1100),t.e(5119),t.e(8918),t.e(7024),t.e(7734),t.e(818),t.e(409),t.e(6055),t.e(4569),t.e(5179),t.e(968),t.e(902),t.e(9770)]).then(t.bind(t,69770))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(3270),t.e(7680),t.e(1843),t.e(7024),t.e(7734),t.e(8250)]).then(t.bind(t,17734))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(2632)]).then(t.bind(t,39932))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(8308)]).then(t.bind(t,42110))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(5006)]).then(t.bind(t,69098))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(3558)]).then(t.bind(t,58520))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(3987),t.e(7593)]).then(t.bind(t,27593))},{featureName:"workflow-registry-link",moduleName:m}),(0,r.getSyncLifecycle)((0,o.b)(i),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(3270),t.e(7680),t.e(1843),t.e(7024),t.e(7734),t.e(2439)]).then(t.bind(t,61812))},g),(0,r.getSyncLifecycle)((0,o.b)(s),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(1673),t.e(9768),t.e(7269),t.e(7680),t.e(3987),t.e(7431),t.e(7400),t.e(1100),t.e(8918),t.e(968),t.e(6682)]).then(t.bind(t,60968))},g),(0,r.getSyncLifecycle)((0,o.b)(c),g),(0,r.getSyncLifecycle)((0,o.b)(l),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(7369)]).then(t.bind(t,66238))},g),(0,r.getSyncLifecycle)((0,o.b)(u),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(8947)]).then(t.bind(t,38568))},g),(0,r.getSyncLifecycle)((0,o.b)(d),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(1673),t.e(9768),t.e(7269),t.e(7680),t.e(3987),t.e(7431),t.e(7400),t.e(1100),t.e(8918),t.e(968),t.e(6682)]).then(t.bind(t,60968))},g),(0,r.getSyncLifecycle)((0,o.b)(p),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(72)]).then(t.bind(t,30072))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(5500)]).then(t.bind(t,55500))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(9429)]).then(t.bind(t,89429))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(8137)]).then(t.bind(t,36554))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(2663)]).then(t.bind(t,56938))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(3654),t.e(7680),t.e(4569),t.e(6399)]).then(t.bind(t,34569))},g),(0,r.getSyncLifecycle)((0,o.b)({path:"service-queue-admin",slot:"service-queue-admin-dashboard-slot",title:"Service Queue Admin",basePath:"dha-workflow"}),g),(0,r.getSyncLifecycle)((0,o.b)(h),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(3270),t.e(1673),t.e(7680),t.e(3987),t.e(5119),t.e(818),t.e(5179),t.e(774)]).then(t.bind(t,55179))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3242),t.e(4399)]).then(t.bind(t,16700))},g),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"Admissions",slot:"patient-chart-admissions-summary-dashboard-slot",title:"Admissions",icon:"omrs-icon-hospital-bed"}),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(3016)]).then(t.bind(t,23016))},g),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"case-summary",slot:"patient-chart-case-summary-dashboard-slot",title:"Visit Case Summary",icon:"omrs-icon-document"}),g),(0,r.getSyncLifecycle)((0,o.b)(f),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(5754),t.e(409),t.e(902),t.e(8735)]).then(t.bind(t,10902))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(5413),t.e(1843),t.e(5754),t.e(409),t.e(3897)]).then(t.bind(t,90409))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(3270),t.e(7958),t.e(3816),t.e(3612)]).then(t.bind(t,53612))},g),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"elective-preauth",slot:"patient-chart-elective-preauth-dashboard-slot",title:"Elective Preauth",icon:"omrs-icon-list-checked"}),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(5413),t.e(1843),t.e(5754),t.e(7852),t.e(3288)]).then(t.bind(t,99364))},g),(0,r.getAsyncLifecycle)(function(){return t.e(9062).then(t.bind(t,89062))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(1673),t.e(3816),t.e(9249),t.e(2848)]).then(t.bind(t,72848))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(3270),t.e(1673),t.e(9768),t.e(7269),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(5754),t.e(7431),t.e(7400),t.e(5119),t.e(8918),t.e(7024),t.e(7852),t.e(818),t.e(6055),t.e(1931),t.e(5377)]).then(t.bind(t,9067))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(3270),t.e(1673),t.e(3949),t.e(7680),t.e(3987),t.e(5413),t.e(5119),t.e(8167)]).then(t.bind(t,53888))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(7680),t.e(7694)]).then(t.bind(t,7694))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(2808)]).then(t.bind(t,32808))},g),(0,r.getAsyncLifecycle)(function(){return t.e(2802).then(t.bind(t,22802))},{featureName:"admissions-form-entry",moduleName:m}),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(3987),t.e(7698)]).then(t.bind(t,7698))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(1371),t.e(3987),t.e(5413),t.e(2687)]).then(t.bind(t,2687))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(5413),t.e(6048)]).then(t.bind(t,86048))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(5413),t.e(1843),t.e(1931),t.e(6279)]).then(t.bind(t,20007))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(3270),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(474)]).then(t.bind(t,50474))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(411),t.e(1371),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(5754),t.e(3794)]).then(t.bind(t,93794))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(411),t.e(5244)]).then(t.bind(t,35244))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(5413),t.e(9134)]).then(t.bind(t,29134))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(411),t.e(3270),t.e(1673),t.e(7680),t.e(3987),t.e(5119),t.e(3636)]).then(t.bind(t,19655))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(3987),t.e(9879)]).then(t.bind(t,79879))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(3987),t.e(2535)]).then(t.bind(t,2535))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(5413),t.e(1843),t.e(5754),t.e(7852),t.e(5138)]).then(t.bind(t,72474))},g),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"shr-v2",slot:"patient-chart-shared-health-record-dashboard-slot",title:"SHR",icon:"omrs-icon-event-schedule"}),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(411),t.e(3270),t.e(1673),t.e(3949),t.e(3654),t.e(7958),t.e(9249),t.e(2383),t.e(7680),t.e(3987),t.e(5805),t.e(3196)]).then(t.bind(t,23196))},g),(0,r.getSyncLifecycle)((0,o.b)(y),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(411),t.e(3270),t.e(7680),t.e(3987),t.e(6802)]).then(t.bind(t,6802))},g),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"telemedicine",slot:"patient-chart-telemedicine-dashboard-slot",title:"Telemedicine",icon:"omrs-icon-view"}),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(411),t.e(3270),t.e(7680),t.e(3987),t.e(6802),t.e(5353)]).then(t.bind(t,47734))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(3270),t.e(3949),t.e(7680),t.e(3987),t.e(5805),t.e(9709)]).then(t.bind(t,95805))},g),(0,r.getSyncLifecycle)((0,o.b)({path:"claims-admin",slot:"claims-admin-dashboard-slot",title:"Claims Admin",basePath:"dha-workflow"}),g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(9442)]).then(t.bind(t,90435))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(9974)]).then(t.bind(t,9974))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(2272),t.e(3987),t.e(408)]).then(t.bind(t,40408))},g),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(7949),t.e(6206)]).then(t.bind(t,36206))},g)},84767(e,n,t){var r={"./am.json":[81197,[1197]],"./en.json":[34300,[4300]],"./es.json":[93099,[3099]],"./fr.json":[94055,[4055]],"./he.json":[84652,[4652]],"./km.json":[54335,[4335]]};function i(e){try{if(!t.o(r,e))return Promise.resolve().then(()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n})}catch(e){return Promise.reject(e)}var n=r[e],i=n[0];return t.e(n[1][0]).then(()=>t(i))}i.keys=()=>Object.keys(r),i.id=84767,e.exports=i}},s={};function c(e){var n=s[e];if(void 0!==n)return n.exports;var t=s[e]={id:e,exports:{}},r={id:e,module:t,factory:a[e],require:c};return c.i.forEach(function(e){e(r)}),t=r.module,r.factory.call(t.exports,t,t.exports,r.require),t.exports}c.m=a,c.c=s,c.i=[],c.x=e=>{},c.federation||(c.federation={initOptions:{name:"@ampath/esm-dha-workflow-app",remotes:[],shareStrategy:"version-first"},chunkMatcher:function(e){return!/^(7(4(00|19|31)|680)|3987|6031|6435|8918)$/.test(e)},rootOutputDir:"",bundlerRuntimeOptions:{remotes:{remoteInfos:{},webpackRequire:c,idToRemoteMap:{},chunkMapping:{},idToExternalAndNameMapping:{}}}},c.consumesLoadingData={},c.remotesLoadingData={}),c.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return c.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var i=Object.create(null);c.r(i);var o={};e=e||[null,n({}),n([]),n(n)];for(var a=2&r&&t;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach(e=>o[e]=()=>t[e]);return o.default=()=>t,c.d(i,o),i},c.d=(e,n)=>{for(var t in n)c.o(n,t)&&!c.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((n,t)=>(c.f[t](e,n),n),[])),c.u=e=>e+".js",c.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t={},r="@ampath/esm-dha-workflow-app:",c.l=(e,n,i,o)=>{if(t[e])t[e].push(n);else{var a,s;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+i){a=d;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",c.nc&&a.setAttribute("nonce",c.nc),a.setAttribute("data-webpack",r+i),a.src=e),t[e]=[n];var p=(n,r)=>{a.onerror=a.onload=null,clearTimeout(h);var i=t[e];if(delete t[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach(e=>e(r)),n)return n(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{c.S={};var e={},n={};c.I=(t,r)=>{r||(r=[]);var i=n[t];if(i||(i=n[t]={}),!(r.indexOf(i)>=0)){if(r.push(i),e[t])return e[t];c.o(c.S,t)||(c.S[t]={});var o=c.S[t],a="@ampath/esm-dha-workflow-app",s=(e,n,t,r)=>{var i=o[e]=o[e]||{},s=i[n];(!s||!s.loaded&&(!r!=!s.eager?r:a>s.from))&&(i[n]={get:t,from:a,eager:!!r})},l=[];return"default"===t&&(s("@openmrs/esm-framework","10.0.1-pre.5263",()=>Promise.all([c.e(961),c.e(7949),c.e(2272),c.e(411),c.e(1673),c.e(9768),c.e(7269),c.e(8961),c.e(7680),c.e(3987),c.e(6031),c.e(7431),c.e(7400),c.e(8918),c.e(6435)]).then(()=>()=>c(18961))),s("@openmrs/esm-patient-common-lib","12.3.5-pre.12144",()=>Promise.all([c.e(961),c.e(7949),c.e(2272),c.e(9768),c.e(2592),c.e(3987),c.e(6031),c.e(7431),c.e(6435),c.e(7419)]).then(()=>()=>c(92592))),s("dayjs","1.11.23",()=>c.e(4353).then(()=>()=>c(74353))),s("i18next","25.10.10",()=>c.e(2635).then(()=>()=>c(72635))),s("react-i18next","16.6.6",()=>Promise.all([c.e(3311),c.e(6031),c.e(7400)]).then(()=>()=>c(23311))),s("react-router-dom","6.30.6",()=>Promise.all([c.e(961),c.e(282),c.e(6031)]).then(()=>()=>c(20282))),s("react","18.3.1",()=>c.e(6540).then(()=>()=>c(96540))),s("rxjs","6.6.7",()=>c.e(3184).then(()=>()=>c(63184))),s("swr/_internal","2.5.1",()=>Promise.all([c.e(6031),c.e(4993)]).then(()=>()=>c(14993))),s("swr/immutable","2.5.1",()=>Promise.all([c.e(2272),c.e(6031),c.e(4225)]).then(()=>()=>c(54225))),s("swr/infinite","2.5.1",()=>Promise.all([c.e(2272),c.e(6031),c.e(3041)]).then(()=>()=>c(23041)))),e[t]=l.length?Promise.all(l).then(()=>e[t]=1):1}}})(),(()=>{c.federation.initOptions.shared={"@openmrs/esm-framework":[{version:"10.0.1-pre.5263",get:()=>Promise.all([c.e(961),c.e(7949),c.e(2272),c.e(411),c.e(1673),c.e(9768),c.e(7269),c.e(8961),c.e(7680),c.e(3987),c.e(6031),c.e(7431),c.e(7400),c.e(8918),c.e(6435)]).then(()=>()=>c(18961)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"10.x",strictVersion:!1,singleton:!0,layer:null}}],"@openmrs/esm-patient-common-lib":[{version:"12.3.5-pre.12144",get:()=>Promise.all([c.e(961),c.e(7949),c.e(2272),c.e(9768),c.e(2592),c.e(3987),c.e(6031),c.e(7431),c.e(6435),c.e(7419)]).then(()=>()=>c(92592)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"12.x",strictVersion:!1,singleton:!0,layer:null}}],dayjs:[{version:"1.11.23",get:()=>c.e(4353).then(()=>()=>c(74353)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"1.x",strictVersion:!1,singleton:!0,layer:null}}],i18next:[{version:"25.10.10",get:()=>c.e(2635).then(()=>()=>c(72635)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"25.x",strictVersion:!1,singleton:!0,layer:null}}],"react-i18next":[{version:"16.6.6",get:()=>Promise.all([c.e(3311),c.e(6031),c.e(7400)]).then(()=>()=>c(23311)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"16.x",strictVersion:!1,singleton:!0,layer:null}}],"react-router-dom":[{version:"6.30.6",get:()=>Promise.all([c.e(961),c.e(282),c.e(6031)]).then(()=>()=>c(20282)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"6.x",strictVersion:!1,singleton:!0,layer:null}}],react:[{version:"18.3.1",get:()=>c.e(6540).then(()=>()=>c(96540)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"18.x",strictVersion:!1,singleton:!0,layer:null}}],rxjs:[{version:"6.6.7",get:()=>c.e(3184).then(()=>()=>c(63184)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"6.x",strictVersion:!1,singleton:!0,layer:null}}],"swr/_internal":[{version:"2.5.1",get:()=>Promise.all([c.e(6031),c.e(4993)]).then(()=>()=>c(14993)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"2.x",strictVersion:!1,singleton:!0,layer:null}}],"swr/immutable":[{version:"2.5.1",get:()=>Promise.all([c.e(2272),c.e(6031),c.e(4225)]).then(()=>()=>c(54225)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"2.x",strictVersion:!1,singleton:!0,layer:null}}],"swr/infinite":[{version:"2.5.1",get:()=>Promise.all([c.e(2272),c.e(6031),c.e(3041)]).then(()=>()=>c(23041)),scope:["default"],shareConfig:{eager:!1,requiredVersion:"2.x",strictVersion:!1,singleton:!0,layer:null}}]},c.S={};var e={},n={};c.I=(t,r)=>c.federation.bundlerRuntime.I({shareScopeName:t,webpackRequire:c,initPromises:e,initTokens:n,initScope:r})})(),(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var n=globalThis.document;if(!e&&n&&(n.currentScript&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(e=n.currentScript.src),!e)){var t=n.getElementsByTagName("script");if(t.length)for(var r=t.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=t[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),c.p=e})(),(()=>{var e={};c.consumesLoadingData.moduleIdToConsumeDataMapping={97419:{fallback:()=>Promise.all([c.e(961),c.e(7949),c.e(2272),c.e(411),c.e(1673),c.e(9768),c.e(7269),c.e(8961),c.e(7680),c.e(3987),c.e(7431),c.e(7400),c.e(8918)]).then(()=>()=>c(18961)),shareScope:["default"],singleton:!0,requiredVersion:"10.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"@openmrs/esm-framework"},46300:{fallback:()=>Promise.all([c.e(961),c.e(7949),c.e(2272),c.e(9768),c.e(2592),c.e(3987),c.e(7431)]).then(()=>()=>c(92592)),shareScope:["default"],singleton:!0,requiredVersion:"12.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"@openmrs/esm-patient-common-lib"},86435:{fallback:()=>Promise.all([c.e(961),c.e(282)]).then(()=>()=>c(20282)),shareScope:["default"],singleton:!0,requiredVersion:"6.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"react-router-dom"},96031:{fallback:()=>c.e(6540).then(()=>()=>c(96540)),shareScope:["default"],singleton:!0,requiredVersion:"18.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"react"},67680:{fallback:()=>c.e(4353).then(()=>()=>c(74353)),shareScope:["default"],singleton:!0,requiredVersion:"1.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"dayjs"},13987:{fallback:()=>Promise.all([c.e(3311),c.e(7400)]).then(()=>()=>c(23311)),shareScope:["default"],singleton:!0,requiredVersion:"16.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"react-i18next"},87431:{fallback:()=>c.e(6606).then(()=>()=>c(54225)),shareScope:["default"],singleton:!0,requiredVersion:"2.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"swr/immutable"},57400:{fallback:()=>c.e(2635).then(()=>()=>c(72635)),shareScope:["default"],singleton:!0,requiredVersion:"25.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"i18next"},77756:{fallback:()=>c.e(3184).then(()=>()=>c(63184)),shareScope:["default"],singleton:!0,requiredVersion:"6.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"rxjs"},63923:{fallback:()=>()=>c(14993),shareScope:["default"],singleton:!0,requiredVersion:"2.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"swr/_internal"},25529:{fallback:()=>c.e(5422).then(()=>()=>c(23041)),shareScope:["default"],singleton:!0,requiredVersion:"2.x",strictVersion:!1,eager:!1,layer:void 0,shareKey:"swr/infinite"}};var n={};c.consumesLoadingData.initialConsumes=[97419,46300,86435,96031],c.federation.installInitialConsumes=t=>c.federation.bundlerRuntime.installInitialConsumes({initialConsumes:c.consumesLoadingData.initialConsumes,installedModules:e,moduleToHandlerMapping:n,webpackRequire:c,asyncLoad:"object"==typeof t?t.asyncLoad:void 0}),c.consumesLoadingData.chunkMapping={3987:[13987],6031:[96031],6435:[86435],7400:[57400],7419:[97419],7431:[87431],7680:[67680],8792:[97419,46300,86435,96031],8918:[77756,63923,25529]},c.f.consumes=(t,r)=>{c.federation.bundlerRuntime.consumes({chunkMapping:c.consumesLoadingData.chunkMapping,installedModules:e,chunkId:t,moduleToHandlerMapping:n,promises:r,webpackRequire:c})}})(),i=c.x,o=!1,c.x=()=>{if(o||(o=!0,c(14005)),"function"==typeof i)return i();console.warn("[Module Federation] prevStartup is not a function, skipping startup execution")},(()=>{var e={1435:0,6031:0,6435:0,7419:0,8792:0};c.f.j=(n,t)=>{var r=c.o(e,n)?e[n]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(7(4(00|19|31)|680)|3987|6031|6435|8918)$/.test(n))e[n]=0;else{var i=new Promise((t,i)=>r=e[n]=[t,i]);t.push(r[2]=i);var o=c.p+c.u(n),a=new Error;c.l(o,t=>{if(c.o(e,n)&&(0!==(r=e[n])&&(e[n]=void 0),r)){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;a.message="Loading chunk "+n+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,r[1](a)}},"chunk-"+n,n)}};var n=(n,t)=>{var r,i,[o,a,s]=t,l=0;if(o.some(n=>0!==e[n])){for(r in a)c.o(a,r)&&(c.m[r]=a[r]);s&&s(c)}for(n&&n(t);l<o.length;l++)i=o[l],c.o(e,i)&&e[i]&&e[i][0](),e[i]=0},t=globalThis.webpackChunk_ampath_esm_dha_workflow_app=globalThis.webpackChunk_ampath_esm_dha_workflow_app||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})(),c.nc=void 0,c.x(),c(41435)})();
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{},"pages":[{"component":"root","route":"dha-workflow","online":true,"offline":true}],"extensions":[{"component":"navLinks","name":"side-nav-workflow-links","slot":"dha-workflow-slot","online":true,"offline":true},{"name":"dha-workflow-dashboard-link","component":"dhaWorkflowDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Facility Dashboard"],"meta":{"name":"dashboard","slot":"dha-workflow-dashboard-slot","title":"Dashboard"},"online":true,"offline":true,"order":1},{"component":"dhaWorkflowDashboard","name":"dashboardExt","slot":"dha-workflow-dashboard-slot"},{"name":"registry-dashboard-link","component":"registryDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"registration","slot":"client-registry-dashboard-slot","title":"Registration"},"online":true,"offline":true,"order":0},{"component":"registryExtension","name":"registry","slot":"client-registry-dashboard-slot","privileges":["O3 View Client Registry Dashboard"]},{"name":"triage-dashboard-link","component":"triageDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Triage Dashboard"],"meta":{"name":"triage","slot":"triage-queue-dashboard-slot","title":"Triage"},"online":true,"offline":false},{"component":"triageQueueExtension","name":"triage","slot":"triage-queue-dashboard-slot","privileges":["O3 View Triage Dashboard"]},{"name":"consultation-dashboard-link","component":"consultationDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Consultation Dashboard"],"meta":{"name":"consultation","slot":"consultation-dashboard-slot","title":"Consultation"},"online":true,"offline":false},{"component":"consultationQueue","name":"consultation","slot":"consultation-dashboard-slot","privileges":["O3 View Consultation Dashboard"]},{"name":"mnch-dashboard-link","component":"mnchQueueDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View MNCH Dashboard"],"meta":{"name":"mnch","slot":"mnch-dashboard-slot","title":"MNCH"},"online":true,"offline":true},{"component":"MNCHRoot","name":"mnch","slot":"mnch-dashboard-slot","privileges":["O3 View MNCH Dashboard"]},{"name":"specialized-clinics-dashboard-link","component":"specializedClinicsDashboardLink","slot":"homepage-dashboard-slot","privileges":[],"meta":{"name":"specialized-clinics","slot":"specialized-clinics-dashboard-slot","title":"Specialized Clinics"},"online":true,"offline":true},{"component":"SpecializedClinicsRoot","name":"specialized-clinics","slot":"specialized-clinics-dashboard-slot","privileges":[]},{"name":"pharmacy-dashboard-link","component":"pharmacyDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Pharmacy Dashboard"],"meta":{"name":"dispensing","slot":"dispensing-dashboard-slot","title":"Pharmacy"},"online":true,"offline":true},{"name":"bookings-dashboard-link","component":"bookingsDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Bookings Dashboard"],"meta":{"name":"bookings","slot":"bookings-dashboard-slot","title":"Bookings"},"online":true,"offline":true},{"component":"bookings","name":"bookings","slot":"bookings-dashboard-slot","privileges":["O3 View Bookings Dashboard"]},{"name":"service-queue-admin-dashboard-link","component":"serviceQueuesAdminLink","privileges":["O3 View Service Queue Admin Panel"],"slot":"app-menu-slot","meta":{"name":"service-queue-admin","slot":"service-queue-admin-dashboard-slot","title":"Service Queue Admin"},"online":true,"offline":true},{"component":"serviceQueueAdmin","name":"service-queue-admin","slot":"service-queue-admin-dashboard-slot","privileges":["O3 View Service Queue Admin Panel"]},{"name":"admissions-dashboard-link","component":"admissionsDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Admissions Dashboard"],"meta":{"name":"admissions-dashboard","slot":"admissions-dashboard-slot","title":"Admissions Dashboard"},"online":true,"offline":true},{"component":"admissionsDashboard","name":"admissions-dashboard","slot":"admissions-dashboard-slot","privileges":["O3 View Admissions Dashboard"]},{"component":"serviceQueueBannerComponent","name":"service-queue-banne","slot":"patient-banner-tags-slot"},{"component":"deathReportingFormButton","name":"death-reporting-form-button","slot":"patient-banner-tags-slot"},{"name":"admissions-summary-dashboard","slot":"patient-chart-dashboard-slot","component":"patientChartAdmissionsLink","meta":{"slot":"patient-chart-admissions-summary-dashboard-slot","path":"Admissions","layoutMode":"anchored"},"online":true,"offline":true},{"name":"admission-details","slot":"patient-chart-admissions-summary-dashboard-slot","component":"patientAdmissionSummary","order":1,"meta":{"title":"Admissions","view":"admissions"},"online":true,"offline":true},{"name":"case-summary-dashboard","slot":"patient-chart-dashboard-slot","component":"caseSummaryLink","meta":{"slot":"patient-chart-case-summary-dashboard-slot","path":"case-summary","layoutMode":"anchored"},"online":true,"offline":true},{"name":"case-summary-details","slot":"patient-chart-case-summary-dashboard-slot","component":"caseSummary","order":1,"meta":{"title":"Visit Case Summary","view":"case-summary"},"online":true,"offline":true},{"name":"elective-preauth-dashboard","slot":"patient-chart-dashboard-slot","component":"electivePreauthLink","meta":{"slot":"patient-chart-elective-preauth-dashboard-slot","path":"elective-preauth","layoutMode":"anchored"},"online":true,"offline":true},{"name":"elective-preauth-details","slot":"patient-chart-elective-preauth-dashboard-slot","component":"electivePreauth","order":1,"meta":{"title":"Elective Preauth","view":"elective-preauth"},"online":true,"offline":true},{"name":"shr-dashboard","slot":"patient-chart-dashboard-slot","component":"shrDashboardLink","meta":{"slot":"patient-chart-shared-health-record-dashboard-slot","path":"shr-v2","layoutMode":"anchored"},"online":true,"offline":true},{"name":"shr-details","slot":"patient-chart-shared-health-record-dashboard-slot","component":"sharedHealthRecord","order":1,"meta":{"title":"SHR","view":"shr-v2"},"online":true,"offline":true},{"name":"telemedicine-dashboard-link","component":"telemedicineDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"telemedicine","slot":"telemedicine-dashboard-slot","title":"Telemedicine"},"online":true,"offline":true},{"component":"telemedicineDashboard","name":"telemedicine","slot":"telemedicine-dashboard-slot"},{"name":"telemedicine-patient-chart-dashboard","slot":"patient-chart-dashboard-slot","component":"telemedicinePatientChartLink","meta":{"slot":"patient-chart-telemedicine-dashboard-slot","path":"telemedicine","layoutMode":"anchored"},"online":true,"offline":true},{"name":"telemedicine-patient-chart-details","slot":"patient-chart-telemedicine-dashboard-slot","component":"telemedicinePatientChart","order":1,"meta":{"title":"Telemedicine","view":"telemedicine"},"online":true,"offline":true},{"name":"emt-dashboard-link","component":"emtDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"emt","slot":"emt-queue-dashboard-slot","title":"EMT / Referral"},"online":true,"offline":true},{"component":"emtQueue","name":"emt","slot":"emt-queue-dashboard-slot"},{"name":"ampath-billing-dashboard-link","component":"accountingDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Accounting Dashboard"],"meta":{"name":"accounting","slot":"ampath-billing-dashboard-slot","title":"Accounting"},"online":true,"offline":true},{"component":"billingRoot","name":"accounting","slot":"ampath-billing-dashboard-slot","privileges":["O3 View Accounting Dashboard"]},{"name":"ampath-billing-checkin-form","slot":"extra-visit-attribute-slot","component":"visitBillingForm"},{"name":"claims","slot":"billing-claims-slot","component":"claims"},{"name":"generate-order-bill-button-slot","slot":"generate-order-bill-button-slot","component":"generateOrderBillButton"},{"name":"claims-admin-dashboard-link","component":"claimsAdminLink","privileges":["O3 View Service Queue Admin Panel"],"slot":"app-menu-slot","meta":{"name":"claims-admin","slot":"claims-admin-dashboard-slot","title":"Claims Admin"},"online":true,"offline":true},{"name":"critical-care-unit-dashboard-link","component":"criticalCareUnitDashboardLink","slot":"homepage-dashboard-slot","privileges":[],"meta":{"name":"critical-care-unit","slot":"critical-care-unit-dashboard-slot","title":"Critical Care Unit"},"online":true,"offline":true},{"component":"CriticalCareUnitRoot","name":"critical-care-unit","slot":"critical-care-unit-dashboard-slot","privileges":[]}],"workspaces2":[{"name":"upload-intervention-attachments-workspace","component":"uploadInterventionAttachmentsWorkspace","window":"upload-intervention-attachments-window"},{"name":"generate-intervention-attachments-workspace","component":"generateInterventionAttachmentsWorkspace","window":"generate-intervention-attachments-window"},{"name":"bill-item-payment-workspace","component":"billItemPaymentWorkspace","window":"bill-item-payment-window"},{"name":"add-claim-line-workspace","component":"addClaimLineWorkspace","window":"add-claim-line-window"},{"name":"switch-intervention-workspace","component":"switchInterventionWorkspace","window":"switch-intervention-window"},{"name":"preauth-form-workspace","component":"preauthFormWorkspace","window":"preauth-form-window"},{"name":"pay-cash-workspace","component":"payCashWorkspace","window":"pay-cash-window"},{"name":"record-details-workspace","component":"recordDetailsWorkspace","window":"record-details-window"},{"name":"emt-handover-workspace","component":"emtHandoverWorkspace","window":"emt-handover-window"},{"name":"send-to-queue-workspace","component":"sendToQueueWorkspace","window":"send-to-queue-workspace-window"},{"name":"payer-preview-workspace","component":"payerPreviewWorkspace","window":"payer-preview-workspace-window"},{"name":"create-order-bill-form-workspace","component":"createOrderBillFormWorkspace","window":"create-order-bill-form-window"},{"name":"admissions-form-entry","component":"formEntryWorkspace","window":"admissions-form-window"},{"name":"elective-preauth-request-workspace","component":"electivePreauthRequestWorkspace","window":"elective-preauth-request-window"},{"name":"shr-consent-workspace","component":"shrConsentWorkspace","window":"shr-consent-window"}],"workspaceWindows2":[{"name":"upload-intervention-attachments-window","group":"upload-intervention-attachments-group","canMaximize":true,"width":"narrow"},{"name":"generate-intervention-attachments-window","group":"generate-intervention-attachments-group","canMaximize":true,"width":"narrow"},{"name":"bill-item-payment-window","group":"bill-item-payment-group","canMaximize":false,"width":"narrow"},{"name":"add-claim-line-window","group":"add-claim-line-group","canMaximize":false,"width":"narrow"},{"name":"switch-intervention-window","group":"switch-intervention-group","canMaximize":true,"width":"narrow"},{"name":"preauth-form-window","group":"preauth-form-group","canMaximize":true,"width":"wider"},{"name":"pay-cash-window","group":"pay-cash-group","canMaximize":true,"width":"narrow"},{"name":"record-details-window","group":"record-details-group","canMaximize":true,"width":"wider"},{"name":"emt-handover-window","group":"emt-handover-group","canMaximize":false,"width":"narrow"},{"name":"send-to-queue-workspace-window","group":"send-to-queue-workspace-group","canMaximize":true,"width":"wider"},{"name":"payer-preview-workspace-window","group":"payer-preview-workspace-group","canMaximize":true,"width":"wider"},{"name":"create-order-bill-form-window","group":"create-order-bill-form-group","canMaximize":false,"width":"narrow"},{"name":"admissions-form-window","group":"admissions-form-group","canMaximize":true,"width":"extra-wide"},{"name":"elective-preauth-request-window","group":"patient-chart","canMaximize":true,"width":"wider"},{"name":"shr-consent-window","group":"patient-chart","canMaximize":false,"width":"narrow"}],"workspaceGroups2":[{"name":"upload-intervention-attachments-group","persistence":"closable","overlay":false},{"name":"generate-intervention-attachments-group","persistence":"closable","overlay":false},{"name":"bill-item-payment-group","persistence":"closable","overlay":false},{"name":"add-claim-line-group","persistence":"closable","overlay":false},{"name":"switch-intervention-group","persistence":"closable","overlay":false},{"name":"preauth-form-group","persistence":"closable","overlay":false},{"name":"pay-cash-group","persistence":"closable","overlay":false},{"name":"record-details-group","persistence":"closable","overlay":false},{"name":"emt-handover-group","persistence":"closable","overlay":false},{"name":"send-to-queue-workspace-group","persistence":"closable","overlay":false},{"name":"payer-preview-workspace-group","persistence":"closable","overlay":false},{"name":"create-order-bill-form-group","persistence":"closable","overlay":false},{"name":"admissions-form-group","scopePattern":"/admissions-clinical-forms","persistence":"closable","overlay":false}],"modals":[{"name":"sign-off-queue-entry-modal","component":"signOffModal"}],"version":"4.0.0-next.445"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{},"pages":[{"component":"root","route":"dha-workflow","online":true,"offline":true}],"extensions":[{"component":"navLinks","name":"side-nav-workflow-links","slot":"dha-workflow-slot","online":true,"offline":true},{"name":"dha-workflow-dashboard-link","component":"dhaWorkflowDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Facility Dashboard"],"meta":{"name":"dashboard","slot":"dha-workflow-dashboard-slot","title":"Dashboard"},"online":true,"offline":true,"order":1},{"component":"dhaWorkflowDashboard","name":"dashboardExt","slot":"dha-workflow-dashboard-slot"},{"name":"registry-dashboard-link","component":"registryDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"registration","slot":"client-registry-dashboard-slot","title":"Registration"},"online":true,"offline":true,"order":0},{"component":"registryExtension","name":"registry","slot":"client-registry-dashboard-slot","privileges":["O3 View Client Registry Dashboard"]},{"name":"triage-dashboard-link","component":"triageDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Triage Dashboard"],"meta":{"name":"triage","slot":"triage-queue-dashboard-slot","title":"Triage"},"online":true,"offline":false},{"component":"triageQueueExtension","name":"triage","slot":"triage-queue-dashboard-slot","privileges":["O3 View Triage Dashboard"]},{"name":"consultation-dashboard-link","component":"consultationDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Consultation Dashboard"],"meta":{"name":"consultation","slot":"consultation-dashboard-slot","title":"Consultation"},"online":true,"offline":false},{"component":"consultationQueue","name":"consultation","slot":"consultation-dashboard-slot","privileges":["O3 View Consultation Dashboard"]},{"name":"mnch-dashboard-link","component":"mnchQueueDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View MNCH Dashboard"],"meta":{"name":"mnch","slot":"mnch-dashboard-slot","title":"MNCH"},"online":true,"offline":true},{"component":"MNCHRoot","name":"mnch","slot":"mnch-dashboard-slot","privileges":["O3 View MNCH Dashboard"]},{"name":"specialized-clinics-dashboard-link","component":"specializedClinicsDashboardLink","slot":"homepage-dashboard-slot","privileges":[],"meta":{"name":"specialized-clinics","slot":"specialized-clinics-dashboard-slot","title":"Specialized Clinics"},"online":true,"offline":true},{"component":"SpecializedClinicsRoot","name":"specialized-clinics","slot":"specialized-clinics-dashboard-slot","privileges":[]},{"name":"pharmacy-dashboard-link","component":"pharmacyDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Pharmacy Dashboard"],"meta":{"name":"dispensing","slot":"dispensing-dashboard-slot","title":"Pharmacy"},"online":true,"offline":true},{"name":"bookings-dashboard-link","component":"bookingsDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Bookings Dashboard"],"meta":{"name":"bookings","slot":"bookings-dashboard-slot","title":"Bookings"},"online":true,"offline":true},{"component":"bookings","name":"bookings","slot":"bookings-dashboard-slot","privileges":["O3 View Bookings Dashboard"]},{"name":"service-queue-admin-dashboard-link","component":"serviceQueuesAdminLink","privileges":["O3 View Service Queue Admin Panel"],"slot":"app-menu-slot","meta":{"name":"service-queue-admin","slot":"service-queue-admin-dashboard-slot","title":"Service Queue Admin"},"online":true,"offline":true},{"component":"serviceQueueAdmin","name":"service-queue-admin","slot":"service-queue-admin-dashboard-slot","privileges":["O3 View Service Queue Admin Panel"]},{"name":"admissions-dashboard-link","component":"admissionsDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Admissions Dashboard"],"meta":{"name":"admissions-dashboard","slot":"admissions-dashboard-slot","title":"Admissions Dashboard"},"online":true,"offline":true},{"component":"admissionsDashboard","name":"admissions-dashboard","slot":"admissions-dashboard-slot","privileges":["O3 View Admissions Dashboard"]},{"component":"serviceQueueBannerComponent","name":"service-queue-banne","slot":"patient-banner-tags-slot"},{"component":"deathReportingFormButton","name":"death-reporting-form-button","slot":"patient-banner-tags-slot"},{"name":"admissions-summary-dashboard","slot":"patient-chart-dashboard-slot","component":"patientChartAdmissionsLink","meta":{"slot":"patient-chart-admissions-summary-dashboard-slot","path":"Admissions","layoutMode":"anchored"},"online":true,"offline":true},{"name":"admission-details","slot":"patient-chart-admissions-summary-dashboard-slot","component":"patientAdmissionSummary","order":1,"meta":{"title":"Admissions","view":"admissions"},"online":true,"offline":true},{"name":"case-summary-dashboard","slot":"patient-chart-dashboard-slot","component":"caseSummaryLink","meta":{"slot":"patient-chart-case-summary-dashboard-slot","path":"case-summary","layoutMode":"anchored"},"online":true,"offline":true},{"name":"case-summary-details","slot":"patient-chart-case-summary-dashboard-slot","component":"caseSummary","order":1,"meta":{"title":"Visit Case Summary","view":"case-summary"},"online":true,"offline":true},{"name":"elective-preauth-dashboard","slot":"patient-chart-dashboard-slot","component":"electivePreauthLink","meta":{"slot":"patient-chart-elective-preauth-dashboard-slot","path":"elective-preauth","layoutMode":"anchored"},"online":true,"offline":true},{"name":"elective-preauth-details","slot":"patient-chart-elective-preauth-dashboard-slot","component":"electivePreauth","order":1,"meta":{"title":"Elective Preauth","view":"elective-preauth"},"online":true,"offline":true},{"name":"shr-dashboard","slot":"patient-chart-dashboard-slot","component":"shrDashboardLink","meta":{"slot":"patient-chart-shared-health-record-dashboard-slot","path":"shr-v2","layoutMode":"anchored"},"online":true,"offline":true},{"name":"shr-details","slot":"patient-chart-shared-health-record-dashboard-slot","component":"sharedHealthRecord","order":1,"meta":{"title":"SHR","view":"shr-v2"},"online":true,"offline":true},{"name":"telemedicine-dashboard-link","component":"telemedicineDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"telemedicine","slot":"telemedicine-dashboard-slot","title":"Telemedicine"},"online":true,"offline":true},{"component":"telemedicineDashboard","name":"telemedicine","slot":"telemedicine-dashboard-slot"},{"name":"telemedicine-patient-chart-dashboard","slot":"patient-chart-dashboard-slot","component":"telemedicinePatientChartLink","meta":{"slot":"patient-chart-telemedicine-dashboard-slot","path":"telemedicine","layoutMode":"anchored"},"online":true,"offline":true},{"name":"telemedicine-patient-chart-details","slot":"patient-chart-telemedicine-dashboard-slot","component":"telemedicinePatientChart","order":1,"meta":{"title":"Telemedicine","view":"telemedicine"},"online":true,"offline":true},{"name":"emt-dashboard-link","component":"emtDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"emt","slot":"emt-queue-dashboard-slot","title":"EMT / Referral"},"online":true,"offline":true},{"component":"emtQueue","name":"emt","slot":"emt-queue-dashboard-slot"},{"name":"ampath-billing-dashboard-link","component":"accountingDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Accounting Dashboard"],"meta":{"name":"accounting","slot":"ampath-billing-dashboard-slot","title":"Accounting"},"online":true,"offline":true},{"component":"billingRoot","name":"accounting","slot":"ampath-billing-dashboard-slot","privileges":["O3 View Accounting Dashboard"]},{"name":"ampath-billing-checkin-form","slot":"extra-visit-attribute-slot","component":"visitBillingForm"},{"name":"claims","slot":"billing-claims-slot","component":"claims"},{"name":"generate-order-bill-button-slot","slot":"generate-order-bill-button-slot","component":"generateOrderBillButton"},{"name":"claims-admin-dashboard-link","component":"claimsAdminLink","privileges":["O3 View Service Queue Admin Panel"],"slot":"app-menu-slot","meta":{"name":"claims-admin","slot":"claims-admin-dashboard-slot","title":"Claims Admin"},"online":true,"offline":true},{"name":"critical-care-unit-dashboard-link","component":"criticalCareUnitDashboardLink","slot":"homepage-dashboard-slot","privileges":[],"meta":{"name":"critical-care-unit","slot":"critical-care-unit-dashboard-slot","title":"Critical Care Unit"},"online":true,"offline":true},{"component":"CriticalCareUnitRoot","name":"critical-care-unit","slot":"critical-care-unit-dashboard-slot","privileges":[]}],"workspaces2":[{"name":"upload-intervention-attachments-workspace","component":"uploadInterventionAttachmentsWorkspace","window":"upload-intervention-attachments-window"},{"name":"generate-intervention-attachments-workspace","component":"generateInterventionAttachmentsWorkspace","window":"generate-intervention-attachments-window"},{"name":"bill-item-payment-workspace","component":"billItemPaymentWorkspace","window":"bill-item-payment-window"},{"name":"add-claim-line-workspace","component":"addClaimLineWorkspace","window":"add-claim-line-window"},{"name":"switch-intervention-workspace","component":"switchInterventionWorkspace","window":"switch-intervention-window"},{"name":"preauth-form-workspace","component":"preauthFormWorkspace","window":"preauth-form-window"},{"name":"pay-cash-workspace","component":"payCashWorkspace","window":"pay-cash-window"},{"name":"record-details-workspace","component":"recordDetailsWorkspace","window":"record-details-window"},{"name":"emt-handover-workspace","component":"emtHandoverWorkspace","window":"emt-handover-window"},{"name":"send-to-queue-workspace","component":"sendToQueueWorkspace","window":"send-to-queue-workspace-window"},{"name":"payer-preview-workspace","component":"payerPreviewWorkspace","window":"payer-preview-workspace-window"},{"name":"create-order-bill-form-workspace","component":"createOrderBillFormWorkspace","window":"create-order-bill-form-window"},{"name":"admissions-form-entry","component":"formEntryWorkspace","window":"admissions-form-window"},{"name":"elective-preauth-request-workspace","component":"electivePreauthRequestWorkspace","window":"elective-preauth-request-window"},{"name":"shr-consent-workspace","component":"shrConsentWorkspace","window":"shr-consent-window"}],"workspaceWindows2":[{"name":"upload-intervention-attachments-window","group":"upload-intervention-attachments-group","canMaximize":true,"width":"narrow"},{"name":"generate-intervention-attachments-window","group":"generate-intervention-attachments-group","canMaximize":true,"width":"narrow"},{"name":"bill-item-payment-window","group":"bill-item-payment-group","canMaximize":false,"width":"narrow"},{"name":"add-claim-line-window","group":"add-claim-line-group","canMaximize":false,"width":"narrow"},{"name":"switch-intervention-window","group":"switch-intervention-group","canMaximize":true,"width":"narrow"},{"name":"preauth-form-window","group":"preauth-form-group","canMaximize":true,"width":"wider"},{"name":"pay-cash-window","group":"pay-cash-group","canMaximize":true,"width":"narrow"},{"name":"record-details-window","group":"record-details-group","canMaximize":true,"width":"wider"},{"name":"emt-handover-window","group":"emt-handover-group","canMaximize":false,"width":"narrow"},{"name":"send-to-queue-workspace-window","group":"send-to-queue-workspace-group","canMaximize":true,"width":"wider"},{"name":"payer-preview-workspace-window","group":"payer-preview-workspace-group","canMaximize":true,"width":"wider"},{"name":"create-order-bill-form-window","group":"create-order-bill-form-group","canMaximize":false,"width":"narrow"},{"name":"admissions-form-window","group":"admissions-form-group","canMaximize":true,"width":"extra-wide"},{"name":"elective-preauth-request-window","group":"patient-chart","canMaximize":true,"width":"wider"},{"name":"shr-consent-window","group":"patient-chart","canMaximize":false,"width":"narrow"}],"workspaceGroups2":[{"name":"upload-intervention-attachments-group","persistence":"closable","overlay":false},{"name":"generate-intervention-attachments-group","persistence":"closable","overlay":false},{"name":"bill-item-payment-group","persistence":"closable","overlay":false},{"name":"add-claim-line-group","persistence":"closable","overlay":false},{"name":"switch-intervention-group","persistence":"closable","overlay":false},{"name":"preauth-form-group","persistence":"closable","overlay":false},{"name":"pay-cash-group","persistence":"closable","overlay":false},{"name":"record-details-group","persistence":"closable","overlay":false},{"name":"emt-handover-group","persistence":"closable","overlay":false},{"name":"send-to-queue-workspace-group","persistence":"closable","overlay":false},{"name":"payer-preview-workspace-group","persistence":"closable","overlay":false},{"name":"create-order-bill-form-group","persistence":"closable","overlay":false},{"name":"admissions-form-group","scopePattern":"/admissions-clinical-forms","persistence":"closable","overlay":false}],"modals":[{"name":"sign-off-queue-entry-modal","component":"signOffModal"}],"version":"4.0.0-next.448"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampath/esm-dha-workflow-app",
3
- "version": "4.0.0-next.445",
3
+ "version": "4.0.0-next.448",
4
4
  "license": "MPL-2.0",
5
5
  "description": "An OpenMRS seed application for building microfrontends",
6
6
  "browser": "dist/esm-dha-workflow-app.js",