@ampath/esm-dha-workflow-app 4.0.0-claim-workflows.428 → 4.0.0-claim-workflows.430
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.
- package/dist/{6034.js → 1392.js} +1 -1
- package/dist/{6034.js.map → 1392.js.map} +1 -1
- package/dist/4746.js +1 -0
- package/dist/4746.js.map +1 -0
- package/dist/52.js +1 -1
- package/dist/52.js.map +1 -1
- package/dist/6055.js.map +1 -1
- package/dist/7633.js +1 -1
- package/dist/esm-dha-workflow-app.js +1 -1
- package/dist/esm-dha-workflow-app.js.buildmanifest.json +58 -58
- package/dist/main.js +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/billing/dashboard/v2/patient-bill-details/attachments/death-notification.component.tsx +162 -0
- package/src/billing/dashboard/v2/patient-bill-details/attachments/death-notification.resource.ts +112 -0
- package/src/billing/dashboard/v2/patient-bill-details/attachments/death-notification.scss +88 -0
- package/src/billing/dashboard/v2/patient-bill-details/attachments/generate-attachments.component.tsx +171 -122
- package/src/billing/dashboard/v2/types/index.ts +1 -0
- package/src/billing/dashboard/v3/claim-visits/claim-intervention-details/claim-intervention-details.component.tsx +3 -1
- package/src/billing/dashboard/v3/claim-visits/claim-visit-details/claim-visit-details.component.tsx +1 -0
- package/src/billing/dashboard/v3/patient-bill-details/attachments/generate-attachments.component.tsx +57 -4
- package/src/billing/dashboard/v3/types/index.ts +1 -0
- package/dist/7376.js +0 -1
- package/dist/7376.js.map +0 -1
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"initial": false,
|
|
30
30
|
"entry": false,
|
|
31
31
|
"recorded": false,
|
|
32
|
-
"size":
|
|
32
|
+
"size": 1831066,
|
|
33
33
|
"sizes": {
|
|
34
|
-
"javascript":
|
|
34
|
+
"javascript": 1831066
|
|
35
35
|
},
|
|
36
36
|
"names": [],
|
|
37
37
|
"idHints": [],
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"auxiliaryFiles": [
|
|
46
46
|
"52.js.map"
|
|
47
47
|
],
|
|
48
|
-
"hash": "
|
|
48
|
+
"hash": "f15339c774796d99",
|
|
49
49
|
"childrenByOrder": {}
|
|
50
50
|
},
|
|
51
51
|
{
|
|
@@ -426,6 +426,31 @@
|
|
|
426
426
|
"hash": "861846ebdf15faad",
|
|
427
427
|
"childrenByOrder": {}
|
|
428
428
|
},
|
|
429
|
+
{
|
|
430
|
+
"rendered": true,
|
|
431
|
+
"initial": false,
|
|
432
|
+
"entry": false,
|
|
433
|
+
"recorded": false,
|
|
434
|
+
"reason": "split chunk (cache group: default)",
|
|
435
|
+
"size": 74089,
|
|
436
|
+
"sizes": {
|
|
437
|
+
"javascript": 74089
|
|
438
|
+
},
|
|
439
|
+
"names": [],
|
|
440
|
+
"idHints": [],
|
|
441
|
+
"runtime": [
|
|
442
|
+
"@ampath/esm-dha-workflow-app",
|
|
443
|
+
"main"
|
|
444
|
+
],
|
|
445
|
+
"files": [
|
|
446
|
+
"1392.js"
|
|
447
|
+
],
|
|
448
|
+
"auxiliaryFiles": [
|
|
449
|
+
"1392.js.map"
|
|
450
|
+
],
|
|
451
|
+
"hash": "dc449c2e7cc68716",
|
|
452
|
+
"childrenByOrder": {}
|
|
453
|
+
},
|
|
429
454
|
{
|
|
430
455
|
"rendered": true,
|
|
431
456
|
"initial": false,
|
|
@@ -1490,6 +1515,30 @@
|
|
|
1490
1515
|
"hash": "6fcbbb1a05672598",
|
|
1491
1516
|
"childrenByOrder": {}
|
|
1492
1517
|
},
|
|
1518
|
+
{
|
|
1519
|
+
"rendered": true,
|
|
1520
|
+
"initial": false,
|
|
1521
|
+
"entry": false,
|
|
1522
|
+
"recorded": false,
|
|
1523
|
+
"size": 355813,
|
|
1524
|
+
"sizes": {
|
|
1525
|
+
"javascript": 355813
|
|
1526
|
+
},
|
|
1527
|
+
"names": [],
|
|
1528
|
+
"idHints": [],
|
|
1529
|
+
"runtime": [
|
|
1530
|
+
"@ampath/esm-dha-workflow-app",
|
|
1531
|
+
"main"
|
|
1532
|
+
],
|
|
1533
|
+
"files": [
|
|
1534
|
+
"4746.js"
|
|
1535
|
+
],
|
|
1536
|
+
"auxiliaryFiles": [
|
|
1537
|
+
"4746.js.map"
|
|
1538
|
+
],
|
|
1539
|
+
"hash": "21cc9fb2db7af460",
|
|
1540
|
+
"childrenByOrder": {}
|
|
1541
|
+
},
|
|
1493
1542
|
{
|
|
1494
1543
|
"rendered": true,
|
|
1495
1544
|
"initial": false,
|
|
@@ -1804,31 +1853,6 @@
|
|
|
1804
1853
|
"hash": "2f1528a014b6b3aa",
|
|
1805
1854
|
"childrenByOrder": {}
|
|
1806
1855
|
},
|
|
1807
|
-
{
|
|
1808
|
-
"rendered": true,
|
|
1809
|
-
"initial": false,
|
|
1810
|
-
"entry": false,
|
|
1811
|
-
"recorded": false,
|
|
1812
|
-
"reason": "split chunk (cache group: default)",
|
|
1813
|
-
"size": 69722,
|
|
1814
|
-
"sizes": {
|
|
1815
|
-
"javascript": 69722
|
|
1816
|
-
},
|
|
1817
|
-
"names": [],
|
|
1818
|
-
"idHints": [],
|
|
1819
|
-
"runtime": [
|
|
1820
|
-
"@ampath/esm-dha-workflow-app",
|
|
1821
|
-
"main"
|
|
1822
|
-
],
|
|
1823
|
-
"files": [
|
|
1824
|
-
"6034.js"
|
|
1825
|
-
],
|
|
1826
|
-
"auxiliaryFiles": [
|
|
1827
|
-
"6034.js.map"
|
|
1828
|
-
],
|
|
1829
|
-
"hash": "4b5458c986dde6b1",
|
|
1830
|
-
"childrenByOrder": {}
|
|
1831
|
-
},
|
|
1832
1856
|
{
|
|
1833
1857
|
"rendered": true,
|
|
1834
1858
|
"initial": false,
|
|
@@ -1883,9 +1907,9 @@
|
|
|
1883
1907
|
"entry": false,
|
|
1884
1908
|
"recorded": false,
|
|
1885
1909
|
"reason": "split chunk (cache group: default)",
|
|
1886
|
-
"size":
|
|
1910
|
+
"size": 151503,
|
|
1887
1911
|
"sizes": {
|
|
1888
|
-
"javascript":
|
|
1912
|
+
"javascript": 151503
|
|
1889
1913
|
},
|
|
1890
1914
|
"names": [],
|
|
1891
1915
|
"idHints": [],
|
|
@@ -1899,7 +1923,7 @@
|
|
|
1899
1923
|
"auxiliaryFiles": [
|
|
1900
1924
|
"6055.js.map"
|
|
1901
1925
|
],
|
|
1902
|
-
"hash": "
|
|
1926
|
+
"hash": "573f40d8eee68f50",
|
|
1903
1927
|
"childrenByOrder": {}
|
|
1904
1928
|
},
|
|
1905
1929
|
{
|
|
@@ -2092,7 +2116,7 @@
|
|
|
2092
2116
|
"auxiliaryFiles": [
|
|
2093
2117
|
"esm-dha-workflow-app.js.map"
|
|
2094
2118
|
],
|
|
2095
|
-
"hash": "
|
|
2119
|
+
"hash": "5169d807e17e7d22",
|
|
2096
2120
|
"childrenByOrder": {}
|
|
2097
2121
|
},
|
|
2098
2122
|
{
|
|
@@ -2146,30 +2170,6 @@
|
|
|
2146
2170
|
"hash": "845b177601e5726b",
|
|
2147
2171
|
"childrenByOrder": {}
|
|
2148
2172
|
},
|
|
2149
|
-
{
|
|
2150
|
-
"rendered": true,
|
|
2151
|
-
"initial": false,
|
|
2152
|
-
"entry": false,
|
|
2153
|
-
"recorded": false,
|
|
2154
|
-
"size": 323702,
|
|
2155
|
-
"sizes": {
|
|
2156
|
-
"javascript": 323702
|
|
2157
|
-
},
|
|
2158
|
-
"names": [],
|
|
2159
|
-
"idHints": [],
|
|
2160
|
-
"runtime": [
|
|
2161
|
-
"@ampath/esm-dha-workflow-app",
|
|
2162
|
-
"main"
|
|
2163
|
-
],
|
|
2164
|
-
"files": [
|
|
2165
|
-
"7376.js"
|
|
2166
|
-
],
|
|
2167
|
-
"auxiliaryFiles": [
|
|
2168
|
-
"7376.js.map"
|
|
2169
|
-
],
|
|
2170
|
-
"hash": "c6261c43e4fea29d",
|
|
2171
|
-
"childrenByOrder": {}
|
|
2172
|
-
},
|
|
2173
2173
|
{
|
|
2174
2174
|
"rendered": false,
|
|
2175
2175
|
"initial": false,
|
|
@@ -2278,7 +2278,7 @@
|
|
|
2278
2278
|
"auxiliaryFiles": [
|
|
2279
2279
|
"7633.js.map"
|
|
2280
2280
|
],
|
|
2281
|
-
"hash": "
|
|
2281
|
+
"hash": "319a0b832762f0e8",
|
|
2282
2282
|
"childrenByOrder": {}
|
|
2283
2283
|
},
|
|
2284
2284
|
{
|
|
@@ -2544,7 +2544,7 @@
|
|
|
2544
2544
|
"auxiliaryFiles": [
|
|
2545
2545
|
"main.js.map"
|
|
2546
2546
|
],
|
|
2547
|
-
"hash": "
|
|
2547
|
+
"hash": "de9c11bef7e3365d",
|
|
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-claim-workflows.428"!==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},A={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())})}},E={runtime:r,instance:void 0,initOptions:void 0,bundlerRuntime:A,attachShareScopeMap:i,bundlerRuntimeOptions:{}};if(!t.federation.runtime||!t.federation.bundlerRuntime){var M=t.federation;for(var L in t.federation={},E)t.federation[L]=E[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}))}}},7633(e,n,t){"use strict";t.d(n,{moduleName:()=>g});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:"accounting",slot:"accounting-dashboard-slot",title:"Accounting",basePath:"".concat(window.spaBase,"/home")},h={path:"bookings",slot:"bookings-dashboard-slot",title:"Bookings",basePath:"".concat(window.spaBase,"/home")},f={path:"admissions-dashboard",slot:"admissions-dashboard-slot",title:"Admissions",basePath:"".concat(window.spaBase,"/home")},y={path:"emt",slot:"emt-queue-dashboard-slot",title:"EMT / Referral",basePath:"".concat(window.spaBase,"/home")},m={path:"telemedicine",slot:"telemedicine-dashboard-slot",title:"Telemedicine",basePath:"".concat(window.spaBase,"/home")},g="@ampath/esm-dha-workflow-app",b={featureName:"Consulation Workflow",moduleName:g};t(84767),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(3)]).then(t.bind(t,20003))},{featureName:"side-nav-workflow-link",moduleName:g}),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(411),t.e(3270),t.e(1673),t.e(9768),t.e(4457),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(2997),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(3270),t.e(7680),t.e(1843),t.e(2997),t.e(8250)]).then(t.bind(t,62997))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(2632)]).then(t.bind(t,39932))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(8308)]).then(t.bind(t,42110))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(5006)]).then(t.bind(t,69098))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(3558)]).then(t.bind(t,58520))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(3987),t.e(7593)]).then(t.bind(t,27593))},{featureName:"workflow-registry-link",moduleName:g}),(0,r.getSyncLifecycle)((0,o.b)(i),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(3270),t.e(7680),t.e(1843),t.e(2997),t.e(2439)]).then(t.bind(t,61812))},b),(0,r.getSyncLifecycle)((0,o.b)(s),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(411),t.e(1673),t.e(9768),t.e(4457),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))},b),(0,r.getSyncLifecycle)((0,o.b)(c),b),(0,r.getSyncLifecycle)((0,o.b)(l),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(7369)]).then(t.bind(t,66238))},b),(0,r.getSyncLifecycle)((0,o.b)(u),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(8947)]).then(t.bind(t,38568))},b),(0,r.getSyncLifecycle)((0,o.b)(d),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(411),t.e(1673),t.e(9768),t.e(4457),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))},b),(0,r.getSyncLifecycle)((0,o.b)(p),b),(0,r.getAsyncLifecycle)(function(){return t.e(4784).then(t.bind(t,74784))},b),(0,r.getSyncLifecycle)((0,o.b)(h),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(72)]).then(t.bind(t,30072))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(5500)]).then(t.bind(t,55500))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(9429)]).then(t.bind(t,89429))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(8137)]).then(t.bind(t,36554))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(2663)]).then(t.bind(t,56938))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(411),t.e(3654),t.e(7680),t.e(4569),t.e(6399)]).then(t.bind(t,34569))},b),(0,r.getSyncLifecycle)((0,o.b)({path:"service-queue-admin",slot:"service-queue-admin-dashboard-slot",title:"Service Queue Admin",basePath:"dha-workflow"}),b),(0,r.getSyncLifecycle)((0,o.b)(f),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3242),t.e(4399)]).then(t.bind(t,16700))},b),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"Admissions",slot:"patient-chart-admissions-summary-dashboard-slot",title:"Admissions",icon:"omrs-icon-hospital-bed"}),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(3016)]).then(t.bind(t,23016))},b),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"case-summary",slot:"patient-chart-case-summary-dashboard-slot",title:"Visit Case Summary",icon:"omrs-icon-document"}),b),(0,r.getSyncLifecycle)((0,o.b)(y),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(3270),t.e(4499),t.e(4535),t.e(3612)]).then(t.bind(t,53612))},b),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"elective-preauth",slot:"patient-chart-elective-preauth-dashboard-slot",title:"Elective Preauth",icon:"omrs-icon-list-checked"}),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return t.e(9062).then(t.bind(t,89062))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(1673),t.e(4499),t.e(1277),t.e(6041)]).then(t.bind(t,76041))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(411),t.e(3270),t.e(1673),t.e(9768),t.e(4457),t.e(1371),t.e(4499),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(7852),t.e(818),t.e(6055),t.e(1931),t.e(6034),t.e(52)]).then(t.bind(t,51336))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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(7773)]).then(t.bind(t,61766))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(7680),t.e(7694)]).then(t.bind(t,7694))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(2808)]).then(t.bind(t,32808))},b),(0,r.getAsyncLifecycle)(function(){return t.e(2802).then(t.bind(t,22802))},{featureName:"admissions-form-entry",moduleName:g}),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(3987),t.e(7698)]).then(t.bind(t,7698))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(411),t.e(1371),t.e(3987),t.e(5413),t.e(6034),t.e(7376)]).then(t.bind(t,97376))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(5413),t.e(6048)]).then(t.bind(t,86048))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(5413),t.e(1843),t.e(1931),t.e(6279)]).then(t.bind(t,20007))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(411),t.e(8103)]).then(t.bind(t,88103))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(5413),t.e(9134)]).then(t.bind(t,29134))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(3987),t.e(9879)]).then(t.bind(t,79879))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(3987),t.e(2535)]).then(t.bind(t,2535))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"shr-v2",slot:"patient-chart-shared-health-record-dashboard-slot",title:"SHR",icon:"omrs-icon-event-schedule"}),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(411),t.e(3270),t.e(1673),t.e(3949),t.e(3654),t.e(4535),t.e(7680),t.e(3987),t.e(5805),t.e(3196)]).then(t.bind(t,23196))},b),(0,r.getSyncLifecycle)((0,o.b)(m),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(411),t.e(3270),t.e(7680),t.e(3987),t.e(6802)]).then(t.bind(t,6802))},b),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"telemedicine",slot:"patient-chart-telemedicine-dashboard-slot",title:"Telemedicine",icon:"omrs-icon-view"}),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(411),t.e(3270),t.e(7680),t.e(3987),t.e(6802),t.e(5353)]).then(t.bind(t,47734))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(3270),t.e(3949),t.e(7680),t.e(3987),t.e(5805),t.e(9709)]).then(t.bind(t,95805))},b),(0,r.getSyncLifecycle)((0,o.b)({path:"claims-admin",slot:"claims-admin-dashboard-slot",title:"Claims Admin",basePath:"dha-workflow"}),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(9442)]).then(t.bind(t,90435))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(9974)]).then(t.bind(t,9974))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(3987),t.e(408)]).then(t.bind(t,40408))},b)},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(4482),c.e(2272),c.e(411),c.e(1673),c.e(9768),c.e(4457),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(4482),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(4482),c.e(2272),c.e(411),c.e(1673),c.e(9768),c.e(4457),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(4482),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(4482),c.e(2272),c.e(411),c.e(1673),c.e(9768),c.e(4457),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(4482),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={6031:0,6435:0,7419:0,7633: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(7633)})();
|
|
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-claim-workflows.430"!==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},A={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())})}},E={runtime:r,instance:void 0,initOptions:void 0,bundlerRuntime:A,attachShareScopeMap:i,bundlerRuntimeOptions:{}};if(!t.federation.runtime||!t.federation.bundlerRuntime){var M=t.federation;for(var L in t.federation={},E)t.federation[L]=E[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}))}}},7633(e,n,t){"use strict";t.d(n,{moduleName:()=>g});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:"accounting",slot:"accounting-dashboard-slot",title:"Accounting",basePath:"".concat(window.spaBase,"/home")},h={path:"bookings",slot:"bookings-dashboard-slot",title:"Bookings",basePath:"".concat(window.spaBase,"/home")},f={path:"admissions-dashboard",slot:"admissions-dashboard-slot",title:"Admissions",basePath:"".concat(window.spaBase,"/home")},y={path:"emt",slot:"emt-queue-dashboard-slot",title:"EMT / Referral",basePath:"".concat(window.spaBase,"/home")},m={path:"telemedicine",slot:"telemedicine-dashboard-slot",title:"Telemedicine",basePath:"".concat(window.spaBase,"/home")},g="@ampath/esm-dha-workflow-app",b={featureName:"Consulation Workflow",moduleName:g};t(84767),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(3)]).then(t.bind(t,20003))},{featureName:"side-nav-workflow-link",moduleName:g}),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(411),t.e(3270),t.e(1673),t.e(9768),t.e(4457),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(2997),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(3270),t.e(7680),t.e(1843),t.e(2997),t.e(8250)]).then(t.bind(t,62997))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(2632)]).then(t.bind(t,39932))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(8308)]).then(t.bind(t,42110))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(5006)]).then(t.bind(t,69098))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3987),t.e(1100),t.e(3558)]).then(t.bind(t,58520))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(3987),t.e(7593)]).then(t.bind(t,27593))},{featureName:"workflow-registry-link",moduleName:g}),(0,r.getSyncLifecycle)((0,o.b)(i),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(3270),t.e(7680),t.e(1843),t.e(2997),t.e(2439)]).then(t.bind(t,61812))},b),(0,r.getSyncLifecycle)((0,o.b)(s),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(411),t.e(1673),t.e(9768),t.e(4457),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))},b),(0,r.getSyncLifecycle)((0,o.b)(c),b),(0,r.getSyncLifecycle)((0,o.b)(l),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(7369)]).then(t.bind(t,66238))},b),(0,r.getSyncLifecycle)((0,o.b)(u),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(8947)]).then(t.bind(t,38568))},b),(0,r.getSyncLifecycle)((0,o.b)(d),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(411),t.e(1673),t.e(9768),t.e(4457),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))},b),(0,r.getSyncLifecycle)((0,o.b)(p),b),(0,r.getAsyncLifecycle)(function(){return t.e(4784).then(t.bind(t,74784))},b),(0,r.getSyncLifecycle)((0,o.b)(h),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(72)]).then(t.bind(t,30072))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(5500)]).then(t.bind(t,55500))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(9429)]).then(t.bind(t,89429))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(8137)]).then(t.bind(t,36554))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(2663)]).then(t.bind(t,56938))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(411),t.e(3654),t.e(7680),t.e(4569),t.e(6399)]).then(t.bind(t,34569))},b),(0,r.getSyncLifecycle)((0,o.b)({path:"service-queue-admin",slot:"service-queue-admin-dashboard-slot",title:"Service Queue Admin",basePath:"dha-workflow"}),b),(0,r.getSyncLifecycle)((0,o.b)(f),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3242),t.e(4399)]).then(t.bind(t,16700))},b),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"Admissions",slot:"patient-chart-admissions-summary-dashboard-slot",title:"Admissions",icon:"omrs-icon-hospital-bed"}),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(3016)]).then(t.bind(t,23016))},b),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"case-summary",slot:"patient-chart-case-summary-dashboard-slot",title:"Visit Case Summary",icon:"omrs-icon-document"}),b),(0,r.getSyncLifecycle)((0,o.b)(y),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(3270),t.e(4499),t.e(4535),t.e(3612)]).then(t.bind(t,53612))},b),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"elective-preauth",slot:"patient-chart-elective-preauth-dashboard-slot",title:"Elective Preauth",icon:"omrs-icon-list-checked"}),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return t.e(9062).then(t.bind(t,89062))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(1673),t.e(4499),t.e(1277),t.e(6041)]).then(t.bind(t,76041))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(411),t.e(3270),t.e(1673),t.e(9768),t.e(4457),t.e(1371),t.e(4499),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(7852),t.e(818),t.e(6055),t.e(1931),t.e(1392),t.e(52)]).then(t.bind(t,51336))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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(7773)]).then(t.bind(t,61766))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(7680),t.e(7694)]).then(t.bind(t,7694))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3987),t.e(5413),t.e(1843),t.e(2808)]).then(t.bind(t,32808))},b),(0,r.getAsyncLifecycle)(function(){return t.e(2802).then(t.bind(t,22802))},{featureName:"admissions-form-entry",moduleName:g}),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(3987),t.e(7698)]).then(t.bind(t,7698))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(411),t.e(1371),t.e(3987),t.e(5413),t.e(1392),t.e(4746)]).then(t.bind(t,24746))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(5413),t.e(6048)]).then(t.bind(t,86048))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(5413),t.e(1843),t.e(1931),t.e(6279)]).then(t.bind(t,20007))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(411),t.e(8103)]).then(t.bind(t,88103))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(5413),t.e(9134)]).then(t.bind(t,29134))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(3987),t.e(9879)]).then(t.bind(t,79879))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(3987),t.e(2535)]).then(t.bind(t,2535))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),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))},b),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"shr-v2",slot:"patient-chart-shared-health-record-dashboard-slot",title:"SHR",icon:"omrs-icon-event-schedule"}),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(411),t.e(3270),t.e(1673),t.e(3949),t.e(3654),t.e(4535),t.e(7680),t.e(3987),t.e(5805),t.e(3196)]).then(t.bind(t,23196))},b),(0,r.getSyncLifecycle)((0,o.b)(m),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(411),t.e(3270),t.e(7680),t.e(3987),t.e(6802)]).then(t.bind(t,6802))},b),(0,r.getSyncLifecycle)((0,a.createDashboardLink)({path:"telemedicine",slot:"patient-chart-telemedicine-dashboard-slot",title:"Telemedicine",icon:"omrs-icon-view"}),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(411),t.e(3270),t.e(7680),t.e(3987),t.e(6802),t.e(5353)]).then(t.bind(t,47734))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(3270),t.e(3949),t.e(7680),t.e(3987),t.e(5805),t.e(9709)]).then(t.bind(t,95805))},b),(0,r.getSyncLifecycle)((0,o.b)({path:"claims-admin",slot:"claims-admin-dashboard-slot",title:"Claims Admin",basePath:"dha-workflow"}),b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(7680),t.e(3242),t.e(3182),t.e(9442)]).then(t.bind(t,90435))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(9974)]).then(t.bind(t,9974))},b),(0,r.getAsyncLifecycle)(function(){return Promise.all([t.e(961),t.e(4482),t.e(2272),t.e(3987),t.e(408)]).then(t.bind(t,40408))},b)},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(4482),c.e(2272),c.e(411),c.e(1673),c.e(9768),c.e(4457),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(4482),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(4482),c.e(2272),c.e(411),c.e(1673),c.e(9768),c.e(4457),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(4482),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(4482),c.e(2272),c.e(411),c.e(1673),c.e(9768),c.e(4457),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(4482),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={6031:0,6435:0,7419:0,7633: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(7633)})();
|
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":"billingDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Accounting Dashboard"],"meta":{"name":"billing","slot":"ampath-billing-dashboard-slot","title":"Accounting"},"online":true,"offline":true},{"component":"billingRoot","name":"billing","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-claim-workflows.428"}
|
|
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":"billingDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Accounting Dashboard"],"meta":{"name":"billing","slot":"ampath-billing-dashboard-slot","title":"Accounting"},"online":true,"offline":true},{"component":"billingRoot","name":"billing","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-claim-workflows.430"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampath/esm-dha-workflow-app",
|
|
3
|
-
"version": "4.0.0-claim-workflows.
|
|
3
|
+
"version": "4.0.0-claim-workflows.430",
|
|
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",
|