@kenyaemr/esm-icu-app 5.4.7-pre.1621 → 5.4.7-pre.1625

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.
@@ -3,4 +3,4 @@
3
3
  │ 356.js (342.373 KiB)
4
4
  
5
5
 
6
- Rspack compiled with 1 warning in 48.91 s
6
+ Rspack compiled with 1 warning in 54.42 s
@@ -1,3 +1,3 @@
1
- var _kenyaemr_esm_icu_app;!function(){var e="u">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 Error("@kenyaemr/esm-icu-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 t=e._FEDERATION_RUNTIME_CORE_FROM;t&&t.version&&"2.8"!==String(t.version).split(".").slice(0,2).join(".")&&console.warn("@kenyaemr/esm-icu-app was built against Module Federation 2.8.x but the app shell provides "+t.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,t,r,n,o,i={97829(e,t,r){"use strict";var n=r(40523),o=r.n(n);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw n}}return i}}(e,t)||l(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function l(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}}var u=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),c={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){var p,d,f,h,m,g,y,b,S,v,O,E,M=function(e,t,r){e&&e[t]&&(e[t]=r)},_=function(e,t,r){var n,o=r();Array.isArray(o)?(null!=e[t]||(e[t]=[]),(n=e[t]).push.apply(n,function(e){if(Array.isArray(e))return i(e)}(o)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||l(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):(void 0===o?"undefined":s(o))==="object"&&null!==o&&(null!=e[t]||(e[t]={}),Object.assign(e[t],o))},R=function(e,t,r){null!=e[t]||(e[t]=r())},w=null!=(p=null==(g=r.remotesLoadingData)?void 0:g.chunkMapping)?p:{},T=null!=(d=null==(y=r.remotesLoadingData)?void 0:y.moduleIdToRemoteDataMapping)?d:{},k=null!=(f=null==(b=r.initializeSharingData)?void 0:b.scopeToSharingDataMapping)?f:{},I=null!=(h=null==(S=r.consumesLoadingData)?void 0:S.chunkMapping)?h:{},P=null!=(m=null==(v=r.consumesLoadingData)?void 0:v.moduleIdToConsumeDataMapping)?m:{},j={},x=[],N={},C=null==(O=r.initializeExposesData)?void 0:O.shareScope;for(var D in o())r.federation[D]=o()[D];R(r.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(P)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=a(o.value,2),l=s[0],u=s[1];e[l]={getter:u.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:u.requiredVersion,strictVersion:u.strictVersion,singleton:u.singleton,eager:u.eager},scope:[u.shareScope]},shareKey:u.shareKey}}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),R(r.federation,"initOptions",function(){return{}}),R(r.federation.initOptions,"name",function(){return"@kenyaemr/esm-icu-app"}),R(r.federation.initOptions,"shareStrategy",function(){return"version-first"}),R(r.federation.initOptions,"shared",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(k)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var l=a(o.value,2),u=l[0],c=l[1],p=!0,d=!1,f=void 0;try{for(var h,m=c[Symbol.iterator]();!(p=(h=m.next()).done);p=!0){var g=h.value;if((void 0===g?"undefined":s(g))==="object"&&null!==g){var y=g.name,b=g.version,S=g.factory,v=g.eager,O=g.singleton,E=g.requiredVersion,M=g.strictVersion,_={},R=function(e){return void 0!==e};R(O)&&(_.singleton=O),R(E)&&(_.requiredVersion=E),R(v)&&(_.eager=v),R(M)&&(_.strictVersion=M);var w={version:b,scope:[u],shareConfig:_,get:S};e[y]?e[y].push(w):e[y]=[w]}}}catch(e){d=!0,f=e}finally{try{p||null==m.return||m.return()}finally{if(d)throw f}}}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),_(r.federation.initOptions,"remotes",function(){return Object.values(c).flat().filter(function(e){return"script"===e.externalType})}),_(r.federation.initOptions,"plugins",function(){return u}),R(r.federation,"bundlerRuntimeOptions",function(){return{}}),R(r.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),R(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return w}),R(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return c}),R(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(T)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=a(o.value,2),l=s[0],u=s[1];e[l]=[u.shareScope,u.name,u.externalModuleId,u.remoteName]}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),R(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return r}),_(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(T)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=a(o.value,2),l=s[0],u=c[s[1].remoteName];u&&(e[l]=u)}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),M(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),M(r.f,"remotes",function(e,t){return r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:w,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})}),M(r.f,"consumes",function(e,t){return r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:I,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:j,webpackRequire:r})}),M(r,"I",function(e,t){return r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:x,initTokens:N,webpackRequire:r})}),M(r,"initContainer",function(e,t,n){return r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:C,webpackRequire:r})}),M(r,"getContainer",function(e,t){var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(E=r.consumesLoadingData)?void 0:E.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:j,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},19616(e,t,r){"use strict";r.d(t,{get:()=>r.getContainer,init:()=>r.initContainer})},53054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},31772(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},79837(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(31772);let n=r(27789),o=r(53054),i={...o.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},a=o.helpers.share,s=o.helpers.utils;t.default={global:i,share:a,utils:s},t.global=i,t.share=a,t.utils=s},83738(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(31772);let n=r(27789),o=r(53054),i=r(9170);function a(e){let t=new((0,o.getGlobalFederationConstructor)()||o.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.setGlobalFederationInstance)(t),t}let s=null;(0,o.setGlobalFederationConstructor)(o.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return o.Module}}),t.ModuleFederation=o.ModuleFederation,t.createInstance=a,t.getInstance=function(e){return e?o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return o.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return o.getRemoteInfo}}),t.init=function(e){let t=n.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),s||(s=t),t):s=a(r)},t.loadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),t.loadShare=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShare.apply(s,e)},t.loadShareSync=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShareSync.apply(s,e)},t.preloadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return o.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerPlugins.apply(s,e)},t.registerRemotes=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerRemotes.apply(s,e)},t.registerShared=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerShared.apply(s,e)}},27789(e,t,r){r(31772);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@kenyaemr/esm-icu-app:5.4.7-pre.1621";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},50223(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},33545(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},46917(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91864(e,t,r){let n=r(33545),o=r(91092),i=r(12677),a=r(10085),s=r(76781);t.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:l,webpackRequire:u,chunkMapping:c,moduleToHandlerMapping:p}=e;n.attachShareScopeMap(u),u.o(c,t)&&c[t].forEach(e=>{if(u.o(l,e))return r.push(l[e]);let t=t=>{l[e]=0,u.m[e]=r=>{delete u.c[e];let n=t(),{shareInfo:o}=p[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}r.exports=n}},n=t=>{delete l[e],u.m[e]=r=>{throw delete u.c[e],t}};try{let o=u.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:c,getter:d,shareInfo:f,treeShakingGetter:h}=p[e],m=i.getUsedExports(u,c),g={...f};Array.isArray(g.scope)&&Array.isArray(g.scope[0])&&(g.scope=g.scope[0]),m&&(g.treeShaking={usedExports:m,useIn:[o.options.name]});let y=o.loadShare(c,{customShareInfo:g}).then(e=>{if(!1===e){if("function"!=typeof d)throw Error(s.getShortErrorMsg(a.RUNTIME_012,{[a.RUNTIME_012]:'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:c}));return h?.()||d()}return e});y.then?r.push(l[e]=y.then(t).catch(n)):t(y)}catch(e){n(e)}})}},10085(e,t){t.RUNTIME_012="RUNTIME-012"},76781(e,t){t.getShortErrorMsg=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&o.push(`Original Error Message:
1
+ var _kenyaemr_esm_icu_app;!function(){var e="u">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 Error("@kenyaemr/esm-icu-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 t=e._FEDERATION_RUNTIME_CORE_FROM;t&&t.version&&"2.8"!==String(t.version).split(".").slice(0,2).join(".")&&console.warn("@kenyaemr/esm-icu-app was built against Module Federation 2.8.x but the app shell provides "+t.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,t,r,n,o,i={97829(e,t,r){"use strict";var n=r(40523),o=r.n(n);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw n}}return i}}(e,t)||l(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function l(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}}var u=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),c={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){var p,d,f,h,m,g,y,b,S,v,O,E,M=function(e,t,r){e&&e[t]&&(e[t]=r)},_=function(e,t,r){var n,o=r();Array.isArray(o)?(null!=e[t]||(e[t]=[]),(n=e[t]).push.apply(n,function(e){if(Array.isArray(e))return i(e)}(o)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||l(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):(void 0===o?"undefined":s(o))==="object"&&null!==o&&(null!=e[t]||(e[t]={}),Object.assign(e[t],o))},R=function(e,t,r){null!=e[t]||(e[t]=r())},w=null!=(p=null==(g=r.remotesLoadingData)?void 0:g.chunkMapping)?p:{},T=null!=(d=null==(y=r.remotesLoadingData)?void 0:y.moduleIdToRemoteDataMapping)?d:{},k=null!=(f=null==(b=r.initializeSharingData)?void 0:b.scopeToSharingDataMapping)?f:{},I=null!=(h=null==(S=r.consumesLoadingData)?void 0:S.chunkMapping)?h:{},P=null!=(m=null==(v=r.consumesLoadingData)?void 0:v.moduleIdToConsumeDataMapping)?m:{},j={},x=[],N={},C=null==(O=r.initializeExposesData)?void 0:O.shareScope;for(var D in o())r.federation[D]=o()[D];R(r.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(P)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=a(o.value,2),l=s[0],u=s[1];e[l]={getter:u.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:u.requiredVersion,strictVersion:u.strictVersion,singleton:u.singleton,eager:u.eager},scope:[u.shareScope]},shareKey:u.shareKey}}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),R(r.federation,"initOptions",function(){return{}}),R(r.federation.initOptions,"name",function(){return"@kenyaemr/esm-icu-app"}),R(r.federation.initOptions,"shareStrategy",function(){return"version-first"}),R(r.federation.initOptions,"shared",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(k)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var l=a(o.value,2),u=l[0],c=l[1],p=!0,d=!1,f=void 0;try{for(var h,m=c[Symbol.iterator]();!(p=(h=m.next()).done);p=!0){var g=h.value;if((void 0===g?"undefined":s(g))==="object"&&null!==g){var y=g.name,b=g.version,S=g.factory,v=g.eager,O=g.singleton,E=g.requiredVersion,M=g.strictVersion,_={},R=function(e){return void 0!==e};R(O)&&(_.singleton=O),R(E)&&(_.requiredVersion=E),R(v)&&(_.eager=v),R(M)&&(_.strictVersion=M);var w={version:b,scope:[u],shareConfig:_,get:S};e[y]?e[y].push(w):e[y]=[w]}}}catch(e){d=!0,f=e}finally{try{p||null==m.return||m.return()}finally{if(d)throw f}}}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),_(r.federation.initOptions,"remotes",function(){return Object.values(c).flat().filter(function(e){return"script"===e.externalType})}),_(r.federation.initOptions,"plugins",function(){return u}),R(r.federation,"bundlerRuntimeOptions",function(){return{}}),R(r.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),R(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return w}),R(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return c}),R(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(T)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=a(o.value,2),l=s[0],u=s[1];e[l]=[u.shareScope,u.name,u.externalModuleId,u.remoteName]}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),R(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return r}),_(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.entries(T)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=a(o.value,2),l=s[0],u=c[s[1].remoteName];u&&(e[l]=u)}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}),M(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),M(r.f,"remotes",function(e,t){return r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:w,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})}),M(r.f,"consumes",function(e,t){return r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:I,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:j,webpackRequire:r})}),M(r,"I",function(e,t){return r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:x,initTokens:N,webpackRequire:r})}),M(r,"initContainer",function(e,t,n){return r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:C,webpackRequire:r})}),M(r,"getContainer",function(e,t){var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(E=r.consumesLoadingData)?void 0:E.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:j,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},19616(e,t,r){"use strict";r.d(t,{get:()=>r.getContainer,init:()=>r.initContainer})},53054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},31772(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},79837(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(31772);let n=r(27789),o=r(53054),i={...o.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},a=o.helpers.share,s=o.helpers.utils;t.default={global:i,share:a,utils:s},t.global=i,t.share=a,t.utils=s},83738(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(31772);let n=r(27789),o=r(53054),i=r(9170);function a(e){let t=new((0,o.getGlobalFederationConstructor)()||o.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.setGlobalFederationInstance)(t),t}let s=null;(0,o.setGlobalFederationConstructor)(o.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return o.Module}}),t.ModuleFederation=o.ModuleFederation,t.createInstance=a,t.getInstance=function(e){return e?o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return o.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return o.getRemoteInfo}}),t.init=function(e){let t=n.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),s||(s=t),t):s=a(r)},t.loadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),t.loadShare=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShare.apply(s,e)},t.loadShareSync=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShareSync.apply(s,e)},t.preloadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return o.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerPlugins.apply(s,e)},t.registerRemotes=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerRemotes.apply(s,e)},t.registerShared=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerShared.apply(s,e)}},27789(e,t,r){r(31772);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@kenyaemr/esm-icu-app:5.4.7-pre.1625";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},50223(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},33545(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},46917(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91864(e,t,r){let n=r(33545),o=r(91092),i=r(12677),a=r(10085),s=r(76781);t.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:l,webpackRequire:u,chunkMapping:c,moduleToHandlerMapping:p}=e;n.attachShareScopeMap(u),u.o(c,t)&&c[t].forEach(e=>{if(u.o(l,e))return r.push(l[e]);let t=t=>{l[e]=0,u.m[e]=r=>{delete u.c[e];let n=t(),{shareInfo:o}=p[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}r.exports=n}},n=t=>{delete l[e],u.m[e]=r=>{throw delete u.c[e],t}};try{let o=u.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:c,getter:d,shareInfo:f,treeShakingGetter:h}=p[e],m=i.getUsedExports(u,c),g={...f};Array.isArray(g.scope)&&Array.isArray(g.scope[0])&&(g.scope=g.scope[0]),m&&(g.treeShaking={usedExports:m,useIn:[o.options.name]});let y=o.loadShare(c,{customShareInfo:g}).then(e=>{if(!1===e){if("function"!=typeof d)throw Error(s.getShortErrorMsg(a.RUNTIME_012,{[a.RUNTIME_012]:'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:c}));return h?.()||d()}return e});y.then?r.push(l[e]=y.then(t).catch(n)):t(y)}catch(e){n(e)}})}},10085(e,t){t.RUNTIME_012="RUNTIME-012"},76781(e,t){t.getShortErrorMsg=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&o.push(`Original Error Message:
2
2
  ${n}`),o.join("\n")}},41315(e,t){t.getSharedFallbackGetter=({shareKey:e,factory:t,version:r,webpackRequire:n,libraryType:o="global"})=>{let{runtime:i,instance:a,bundlerRuntime:s,sharedFallback:l}=n.federation;if(!l)return t;let u=l[e];if(!u)return t;let c=r?u.find(e=>e[1]===r):u[0];if(!c)throw Error(`No fallback item found for shareKey: ${e} and version: ${r}`);return()=>i.getRemoteEntry({origin:n.federation.instance,remoteInfo:{name:c[2],entry:`${n.p}${c[0]}`,type:o,entryGlobalName:c[2],shareScope:"default"}}).then(t=>{if(!t)throw Error(`Failed to load fallback entry for shareKey: ${e} and version: ${r}`);return t.init(n.federation.instance,s).then(()=>t.get())})}},12677(e,t){t.getUsedExports=function(e,t){let r=e.federation.usedExports;if(r)return r[t]}},40523(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let n=r(50223),o=r(33545),i=r(43586),a=r(91864),s=r(62221),l=r(34307),u=r(91180),c=r(10367),p=r(41315),d=r(83738);d=n.__toESM(d);let f={remotes:i.remotes,consumes:a.consumes,I:s.initializeSharing,S:{},installInitialConsumes:l.installInitialConsumes,initContainerEntry:u.initContainerEntry,init:c.init,getSharedFallbackGetter:p.getSharedFallbackGetter},h={runtime:d,instance:void 0,initOptions:void 0,bundlerRuntime:f,attachShareScopeMap:o.attachShareScopeMap,bundlerRuntimeOptions:{}},m=h.instance,g=h.initOptions,y=h.bundlerRuntimeOptions;t.attachShareScopeMap=o.attachShareScopeMap,t.bundlerRuntime=f,t.bundlerRuntimeOptions=y,t.default=h,t.initOptions=g,t.instance=m,Object.defineProperty(t,"runtime",{enumerable:!0,get:function(){return d}})},10367(e,t,r){let n=r(50223),o=r(83738),i=r(79837);i=n.__toESM(i),t.init=function({webpackRequire:e}){let{initOptions:t,runtime:n,sharedFallback:a,bundlerRuntime:s,libraryType:l}=e.federation;if(!t)throw Error("initOptions is required!");return t.plugins||=[],t.plugins.push({name:"tree-shake-plugin",beforeInit(t){let{userOptions:n,origin:u,options:c}=t,p=n.version||c.version;if(!a)return t;let d=n.shared||{},f=[];Object.keys(d).forEach(t=>{(Array.isArray(d[t])?d[t]:[d[t]]).forEach(r=>{f.push([t,r]),"get"in r&&(r.treeShaking||={},r.treeShaking.get=r.get,r.get=s.getSharedFallbackGetter({shareKey:t,factory:r.get,webpackRequire:e,libraryType:l,version:r.version}))})});let h=i.default.global.getGlobalSnapshotInfoByModuleInfo({name:u.name,version:p});return h&&"shared"in h&&(Object.keys(c.shared||{}).forEach(e=>{c.shared[e].forEach(t=>{f.push([e,t])})}),f.forEach(([e,t])=>{((e,t)=>{let n=h.shared.find(t=>t.sharedName===e);if(!n)return;let{treeShaking:i}=t;if(!i)return;let{secondarySharedTreeShakingName:a,secondarySharedTreeShakingEntry:s,treeShakingStatus:c}=n;i.status!==c&&(i.status=c,s&&l&&a&&(i.get=async()=>{let e=await (0,o.getRemoteEntry)({origin:u,remoteInfo:{name:a,entry:s,type:l,entryGlobalName:a,shareScope:"default"}});return await e.init(u,r.federation.bundlerRuntime),e.get()}))})(e,t)})),t}}),n.init(t)}},91180(e,t){t.initContainerEntry=function(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:o,remoteEntryInitOptions:i}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let a=t.federation.instance;a.initOptions({name:t.federation.initOptions.name,remotes:[],...i});let s=i?.shareScopeKeys,l=i?.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}});l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})});else{let e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})}):a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,n):Promise.all(o.map(e=>t.I(e,n))).then(()=>!0):t.I(o||"default",n)}},62221(e,t,r){let n=r(33545),o=r(46917);t.initializeSharing=function({shareScopeName:e,webpackRequire:t,initPromises:r,initTokens:i,initScope:a}){let s=Array.isArray(e)?e:[e];var l=[],u=function(s){a||(a=[]);let l=t.federation.instance;var u=i[s];if(u||(u=i[s]={from:l.name}),a.indexOf(u)>=0)return;a.push(u);let c=r[s];if(c)return c;var p=r=>{var n=e=>{let t;return t="Initialization of sharing external failed: "+e,"u">typeof console&&console.warn&&console.warn(t)};try{var o=t(r);if(!o)return;var i=r=>r&&r.init&&r.init(t.S[s],a,{shareScopeMap:t.S||{},shareScopeKeys:e});if(o.then)return d.push(o.then(i,n));var l=i(o);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(n))}catch(e){n(e)}};let d=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:a,from:"build"});n.attachShareScopeMap(t);let f=t.federation.bundlerRuntimeOptions.remotes;return(f&&Object.keys(f.idToRemoteMap).forEach(e=>{let t=f.idToRemoteMap[e],r=f.idToExternalAndNameMapping[e][2];if(t.length>1)p(r);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||p(r)}}),d.length)?r[s]=Promise.all(d).then(()=>r[s]=!0):r[s]=!0};return s.forEach(e=>{l.push(u(e))}),Promise.all(l).then(()=>!0)}},34307(e,t,r){let n=r(91092),o=r(12677);t.installInitialConsumes=function(e){n.updateConsumeOptions(e);let{moduleToHandlerMapping:t,webpackRequire:r,installedModules:i,initialConsumes:a,asyncLoad:s}=e,l=[];a.forEach(e=>{l.push([e,()=>(function(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n,asyncLoad:i}=e,a=n.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:s,shareInfo:l}=r[t];try{let e=o.getUsedExports(n,s),t={...l};if(e&&(t.treeShaking={usedExports:e,useIn:[a.options.name]}),i)return a.loadShare(s,{customShareInfo:t});return a.loadShareSync(s,{customShareInfo:t})}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:t,webpackRequire:r,asyncLoad:s})])});let u=(e,n)=>{r.m[e]=o=>{i[e]=0,delete r.c[e];let a=n();if("function"!=typeof a)throw Error(`Shared module is not available for eager consumption: ${e}`);let s=a(),{shareInfo:l}=t[e];if(l?.shareConfig?.layer&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=l.shareConfig.layer)}catch(e){}o.exports=s}};if(s)return Promise.all(l.map(async([e,t])=>{let r=await t();u(e,()=>r)}));l.forEach(([e,t])=>{u(e,t)})}},43586(e,t,r){r(50223);let n=r(33545),o=r(46917),i=r(91092),a=r(31853);t.remotes=function(e){i.updateRemoteOptions(e);let{chunkId:t,promises:r,webpackRequire:s,chunkMapping:l,idToExternalAndNameMapping:u,idToRemoteMap:c}=e;n.attachShareScopeMap(s),s.o(l,t)&&l[t].forEach(e=>{let t=s.R;t||(t=[]);let n=u[e],i=c[e]||[];if(t.indexOf(n)>=0)return;if(t.push(n),n.p)return r.push(n.p);let l=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
3
3
  while loading "${n[1]}" from ${n[2]}`),s.m[e]=()=>{throw t},n.p=0},p=(e,t,o,i,a,s)=>{try{let u=e(t,o);if(!u||!u.then)return a(u,i,s);{let e=u.then(e=>a(e,i),l);if(!s)return e;r.push(n.p=e)}}catch(e){l(e)}};var d=(e,r,o)=>p(r.get,n[1],t,0,f,o),f=t=>{n.p=1,s.m[e]=e=>{e.exports=t()}};1===i.length&&o.FEDERATION_SUPPORTED_TYPES.includes(i[0].externalType)&&i[0].name?p(()=>{try{let e=(0,a.decodeName)(i[0].name,a.ENCODE_NAME_PREFIX)+n[1].slice(1),t=s.federation.instance,r=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){let e=Array.isArray(n[0])?n[0]:[n[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>r())}return r()}catch(e){l(e)}},n[2],0,0,f,1):p(s,n[2],0,0,(e,t,r)=>e?p(s.I,n[0],0,e,d,r):l(),1)})}},91092(e,t){t.updateConsumeOptions=function(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:o}=t,{sharedFallback:i,bundlerRuntime:a,libraryType:s}=t.federation;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:o={},initialConsumes:l=[],chunkMapping:u={}}=n;if(Object.entries(o).forEach(([e,n])=>{r[e]||(r[e]={getter:i?a?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:t,libraryType:s}):n.fallback,treeShakingGetter:i?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:i?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;l.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(u).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}n._updated=1}if(o&&!o._updated){let{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){let{name:t,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:u}=n,c={requiredVersion:`^${o}`},p=function(e){return void 0!==e};p(s)&&(c.singleton=s),p(l)&&(c.requiredVersion=l),p(a)&&(c.eager=a),p(u)&&(c.strictVersion=u);let d={version:o,scope:[e],shareConfig:c,get:i};r[t]?r[t].push(d):r[t]=[d]}e.instance.registerShared(r),o._updated=1}},t.updateRemoteOptions=function(e){let{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:i}=t,a=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!i||i._updated||!a)return;let{chunkMapping:s,moduleIdToRemoteDataMapping:l}=i;if(s&&l){for(let[e,t]of Object.entries(l))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!n[e]&&a[t.remoteName]){let r=a[t.remoteName];n[e]||=[],r.forEach(t=>{n[e].includes(t)||n[e].push(t)})}o&&Object.entries(s).forEach(([e,t])=>{o[e]||(o[e]=[]),t.forEach(t=>{o[e].includes(t)||o[e].push(t)})}),i._updated=1}}}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={id:e,exports:{}};return i[e].call(r.exports,r,r.exports,s),r.exports}s.m=i,s.c=a,s.x=()=>s(19616),s.federation||(s.federation={chunkMatcher:function(e){return!/^(1786|257|5169)$/.test(e)},rootOutputDir:""}),s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},u=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);s.r(r);var n={};l=l||[null,u({}),u([]),u(u)];for(var o=2&t&&e;("object"==typeof o||"function"==typeof o)&&!~l.indexOf(o);o=u(o))Object.getOwnPropertyNames(o).forEach(t=>{n[t]=()=>e[t]});return n.default=()=>e,s.d(r,n),r},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>""+e+".js",s.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},s.l=function(e,t,r,n){if(c[e])return void c[e].push(t);if(void 0!==r)for(var o,i,a=document.getElementsByTagName("script"),l=0;l<a.length;l++){var u=a[l];if(u.getAttribute("src")==e||u.getAttribute("data-rspack")=="@kenyaemr/esm-icu-app:"+r){o=u;break}}o||(i=!0,(o=document.createElement("script")).timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-rspack","@kenyaemr/esm-icu-app:"+r),o.src=e),c[e]=[t];var p=function(t,r){o.onerror=o.onload=null,clearTimeout(d);var n=c[e];if(delete c[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach(function(e){return e(r)}),t)return t(r)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),i&&document.head.appendChild(o)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nc=void 0,s.rv=()=>"1.7.9",s.S={},s.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@carbon/react",version:"1.112.0",factory:()=>Promise.all([s.e("5361"),s.e("8924"),s.e("2115"),s.e("5279"),s.e("4014"),s.e("9274"),s.e("6479"),s.e("2971"),s.e("4818"),s.e("689"),s.e("1072"),s.e("2197"),s.e("9774"),s.e("3504"),s.e("4817"),s.e("8607"),s.e("3032"),s.e("9547"),s.e("5366"),s.e("7453"),s.e("6259"),s.e("5825"),s.e("3953"),s.e("8472"),s.e("7782"),s.e("624"),s.e("2795"),s.e("3569"),s.e("3285"),s.e("3723"),s.e("5941"),s.e("1844"),s.e("15"),s.e("2394"),s.e("9612"),s.e("6567"),s.e("5932"),s.e("2924"),s.e("2007"),s.e("257")]).then(()=>()=>s(58169)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@carbon/react",version:"1.92.1",factory:()=>Promise.all([s.e("5361"),s.e("8924"),s.e("2115"),s.e("5279"),s.e("4014"),s.e("9274"),s.e("6479"),s.e("2971"),s.e("4818"),s.e("689"),s.e("1072"),s.e("2197"),s.e("9774"),s.e("3504"),s.e("4817"),s.e("8607"),s.e("3032"),s.e("4637"),s.e("5731"),s.e("992"),s.e("1946"),s.e("3745"),s.e("500"),s.e("6104"),s.e("8196"),s.e("5598"),s.e("7478"),s.e("9425"),s.e("4487"),s.e("257")]).then(()=>()=>s(28280)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@openmrs/esm-framework",version:"10.0.1-pre.5263",factory:()=>Promise.all([s.e("3989"),s.e("4818"),s.e("689"),s.e("1072"),s.e("7209"),s.e("3032"),s.e("9011"),s.e("9168"),s.e("9087"),s.e("1831"),s.e("9885"),s.e("1278"),s.e("2537"),s.e("9060"),s.e("7022"),s.e("1148"),s.e("8028"),s.e("820"),s.e("356"),s.e("2916"),s.e("3335"),s.e("2648"),s.e("6634"),s.e("2202"),s.e("2556"),s.e("6337"),s.e("1620"),s.e("5792"),s.e("1854"),s.e("4588"),s.e("6478"),s.e("393"),s.e("8762"),s.e("6273"),s.e("8240"),s.e("5676"),s.e("4178"),s.e("9520"),s.e("6427"),s.e("2534"),s.e("5967"),s.e("7360"),s.e("7454"),s.e("257"),s.e("5169"),s.e("1786")]).then(()=>()=>s(45263)),eager:0,singleton:1,requiredVersion:"9.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([s.e("1789"),s.e("257")]).then(()=>()=>s(42348)),eager:0,singleton:1,requiredVersion:"11.x",strictVersion:0},{name:"react-router-dom",version:"6.30.4",factory:()=>Promise.all([s.e("689"),s.e("2842"),s.e("5086"),s.e("257")]).then(()=>()=>s(12689)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>s.e("466").then(()=>()=>s(14041)),eager:0,singleton:1,requiredVersion:"^18.1.0",strictVersion:0},{name:"swr/_internal",version:"2.4.2",factory:()=>Promise.all([s.e("3989"),s.e("257")]).then(()=>()=>s(42372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.4.2",factory:()=>Promise.all([s.e("3989"),s.e("7209"),s.e("257"),s.e("9061")]).then(()=>()=>s(29876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.4.2",factory:()=>Promise.all([s.e("3989"),s.e("7209"),s.e("257"),s.e("9771")]).then(()=>()=>s(52470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@kenyaemr/esm-icu-app"},s.I=s.I||function(){throw Error("should have __webpack_require__.I")},s.g.importScripts&&(p=s.g.location+"");var l,u,c,p,d=s.g.document;if(!p&&d&&(d.currentScript&&"SCRIPT"===d.currentScript.tagName.toUpperCase()&&(p=d.currentScript.src),!p)){var f=d.getElementsByTagName("script");if(f.length)for(var h=f.length-1;h>-1&&(!p||!/^http(s?):/.test(p));)p=f[h--].src}if(!p)throw Error("Automatic publicPath is not supported in this browser");s.p=p=p.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.consumesLoadingData={chunkMapping:{4619:["70438"],3378:["1487"],5169:["58088","75721"],257:["35400"],1786:["97744","36142","36510","31888"]},moduleIdToConsumeDataMapping:{31888:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("5361"),s.e("8924"),s.e("2115"),s.e("5279"),s.e("4014"),s.e("9274"),s.e("6479"),s.e("2971"),s.e("2197"),s.e("9774"),s.e("3504"),s.e("4817"),s.e("8607"),s.e("9547"),s.e("5366"),s.e("7453"),s.e("6259"),s.e("5825"),s.e("3953"),s.e("8472"),s.e("7782"),s.e("624"),s.e("2795"),s.e("3569"),s.e("3285"),s.e("3723"),s.e("5941"),s.e("1844"),s.e("15"),s.e("2394"),s.e("9612"),s.e("6567"),s.e("5932"),s.e("2924"),s.e("2007")]).then(()=>()=>s(58169))},75721:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("689"),s.e("2842"),s.e("5086")]).then(()=>()=>s(12689))},70438:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("9274"),s.e("6479"),s.e("2971"),s.e("689"),s.e("1072"),s.e("2197"),s.e("9774"),s.e("3504"),s.e("4817"),s.e("8607"),s.e("3032"),s.e("4637"),s.e("5731"),s.e("992"),s.e("1946"),s.e("3745"),s.e("500"),s.e("6104"),s.e("8196"),s.e("5598"),s.e("7478"),s.e("9425"),s.e("4487")]).then(()=>()=>s(28280))},35400:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"^18.1.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("466").then(()=>()=>s(14041))},97744:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("2152").then(()=>()=>s(52470))},36142:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("1442").then(()=>()=>s(29876))},58088:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"11.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("1789").then(()=>()=>s(42348))},36510:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>s(42372)},1487:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"9.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("3989"),s.e("4818"),s.e("689"),s.e("1072"),s.e("7209"),s.e("3032"),s.e("9011"),s.e("9168"),s.e("9087"),s.e("1831"),s.e("9885"),s.e("1278"),s.e("2537"),s.e("9060"),s.e("7022"),s.e("1148"),s.e("8028"),s.e("820"),s.e("356"),s.e("2916"),s.e("3335"),s.e("2648"),s.e("6634"),s.e("2202"),s.e("2556"),s.e("6337"),s.e("1620"),s.e("5792"),s.e("1854"),s.e("4588"),s.e("6478"),s.e("393"),s.e("8762"),s.e("6273"),s.e("8240"),s.e("5676"),s.e("4178"),s.e("9520"),s.e("6427"),s.e("2534"),s.e("5967"),s.e("7360"),s.e("7454"),s.e("257"),s.e("5169"),s.e("1786")]).then(()=>()=>s(45263))}},initialConsumes:[]},s.f.consumes=s.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},s.initializeExposesData={moduleMap:{"./start":()=>s.e("3378").then(()=>()=>s(47481))},shareScope:"default"},s.getContainer=s.getContainer||function(){throw Error("should have __webpack_require__.getContainer")},s.initContainer=s.initContainer||function(){throw Error("should have __webpack_require__.initContainer")},e={4474:0},s.f.j=function(t,r){var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1786|257|5169)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=s.p+s.u(t),a=Error();s.l(i,function(r){if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}},"chunk-"+t,t)}},t=(t,r)=>{var n,o,[i,a,l]=r,u=0;if(i.some(t=>0!==e[t])){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);l&&l(s)}for(t&&t(r);u<i.length;u++)o=i[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(r=globalThis.webpackChunk_kenyaemr_esm_icu_app=globalThis.webpackChunk_kenyaemr_esm_icu_app||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),s.ruid="bundler=rspack@1.7.9",n=s.x,o=!1,s.x=function(){if(o||(o=!0,s(97829)),"function"==typeof n)return n();console.warn("[MF] Invalid prevStartup")},_kenyaemr_esm_icu_app=s.x()})();
@@ -444,7 +444,7 @@
444
444
  "auxiliaryFiles": [
445
445
  "main.js.map"
446
446
  ],
447
- "hash": "8009fc56bf4bdc4a",
447
+ "hash": "691f3aaad67063ad",
448
448
  "childrenByOrder": {}
449
449
  },
450
450
  {
@@ -1794,7 +1794,7 @@
1794
1794
  "auxiliaryFiles": [
1795
1795
  "kenyaemr-esm-icu-app.js.map"
1796
1796
  ],
1797
- "hash": "73771eba30ee3ed4",
1797
+ "hash": "029ae80fb8e7d58e",
1798
1798
  "childrenByOrder": {}
1799
1799
  },
1800
1800
  {
package/dist/main.js CHANGED
@@ -1,3 +1,3 @@
1
- !function(){var A="u">typeof globalThis?globalThis:self;if(void 0===A._FEDERATION_RUNTIME_CORE||void 0===A._OPENMRS_FEDERATION_SDK||void 0===A._OPENMRS_FEDERATION_ERROR_CODES)throw Error("@kenyaemr/esm-icu-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 e=A._FEDERATION_RUNTIME_CORE_FROM;e&&e.version&&"2.8"!==String(e.version).split(".").slice(0,2).join(".")&&console.warn("@kenyaemr/esm-icu-app was built against Module Federation 2.8.x but the app shell provides "+e.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var A,e,t,a,r,i={84767(A,e,t){var a={"./en.json":["34300","5117"],"./sw.json":["89913","997"],"./am.json":["81197","9806"],"./fr.json":["94055","6508"]};function r(A){if(!t.o(a,A))return Promise.resolve().then(function(){var e=Error("Cannot find module '"+A+"'");throw e.code="MODULE_NOT_FOUND",e});var e=a[A],r=e[0];return t.e(e[1]).then(function(){return t(r)})}r.keys=()=>Object.keys(a),r.id=84767,A.exports=r},49022(A,e,t){"use strict";t.d(e,{Nn:()=>a,Wk:()=>r,e7:()=>o,xp:()=>n,zJ:()=>i});var a={encounterTypeUuid:"17c63ed8-8514-11f1-8b21-50284a3ca3bb",formUuid:"dbc4ff03-3eee-49f0-86a8-7cfd33dc2460",diagnosisConceptSourceUuid:"39ADDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD",diagnosisRank:2},r="rfe-forms",i=[{id:"complaintsToday",label:"Chief complaints",conceptUuid:"160531AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!0},{id:"ClinICNotes",label:"History of presenting illness",conceptUuid:"160430AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!1},{id:"PastMedicalHistory",label:"Past medical history",conceptUuid:"160221AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!0},{id:"SurgicalHistory",label:"Surgical history",conceptUuid:"0257d3b6-d0c1-4691-be17-2ddc3378c1be",section:"history",required:!0},{id:"FamilyHistory",label:"Family history",conceptUuid:"160618AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!0},{id:"SocialHistory",label:"Social history",conceptUuid:"162143AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!0},{id:"SexualReproductiveHistory",label:"Sexual and reproductive history",conceptUuid:"162153AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!0,hiddenFor:function(A){var e=A.ageYears;return void 0!==e&&e<15}},{id:"ObstetricHistory",label:"Obstetric history",conceptUuid:"166633AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!0,hiddenFor:function(A){var e=A.ageYears,t=A.sex;return void 0!==t&&"F"!==t||void 0!==e&&e<8}},{id:"PediatricHistory",label:"Paediatric history",conceptUuid:"27ce7dd0-b153-47f3-8c14-dc3cb11e7054",section:"history",required:!0,hiddenFor:function(A){var e=A.ageYears;return void 0!==e&&e>15}},{id:"ReviewOfSystems",label:"Review of systems (ROS)",conceptUuid:"08f1c658-8a58-4a10-a6c3-7b8bd0887281",section:"history",required:!0},{id:"generalExamNotes",label:"General examination",conceptUuid:"160430AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"examination",required:!1},{id:"SystemExamination",label:"System examination",conceptUuid:"d1ef9c04-d3f2-44d6-9aa6-4c3d9bd9b498",section:"examination",required:!1},{id:"ManagementPlan",label:"Management plan",conceptUuid:"163104AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"examination",required:!0}],n="finalDiagnosisId",o=function(A){return"".concat(r,"-").concat(A)}},76298(A,e,t){"use strict";t.d(e,{E1:()=>n,G4:()=>l,Jx:()=>u,KO:()=>d,MO:()=>a,MS:()=>s,NZ:()=>r,dX:()=>i,e:()=>f,lF:()=>o,o$:()=>b,zD:()=>c});var a=["Oral","Enteral","Parenteral","Combination"],r="Others",i={Oral:["Oral",r],Enteral:["NG tube","OG tube","NJ tube","PEG / gastrostomy","Jejunostomy",r],Parenteral:["Peripheral IV","Central line (CVC)","PICC",r],Combination:["Oral","NG tube","OG tube","NJ tube","PEG / gastrostomy","Peripheral IV","Central line (CVC)","PICC",r]},n=["Continuous","Hourly","2-hourly","3-hourly","4-hourly","6-hourly","8-hourly","12-hourly","Intermittent","Bolus","Cyclic (overnight)","On demand (PRN)","With meals (oral)",r],o=["No risk identified","Low","Medium","High"],c=["OK","Re-sited","Not confirmed","Not applicable"],d=["Nausea","Vomited","Diarrhoea","Abdominal distension"],l={good:90,fair:75},s=function(A){return"Enteral"===A||"Combination"===A},u={encounterTypeUuid:"aafabd35-69b3-4ef8-b7a5-5d819e690f5e",encounterTypeName:"ICU/HDU Nutrition Prescription",encounterTypeDescription:"Adult ICU / HDU nutrition prescription; one encounter per saved prescription."},b={diagnosis:"",refeedRisk:"cc2f8e6b-6f34-4cd1-9faf-7f4828f484f7",allergy:"",method:"",route:"",routeOther:"",dietOrder:"163719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",frequency:"160855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",frequencyOther:"",energyKcalPerDay:"3411cfd3-d710-410d-b678-d2b45332381d",proteinGPerDay:"711eb9c4-bd3d-4e57-9e1c-bb9ba56712cd",fluidMlPerDay:"162746AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",prescribedVolumeMl24h:"bdb4ada7-b4cb-4734-bb43-411deb65f1f9",rateMlPerHr:"162523AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",additives:"bd0ac0ab-797d-4e67-8dfa-ac959b203516",restrictions:"805c750a-3a53-4789-b59a-b594cc681739",specialInstructions:"08fd8438-ca3e-4e6a-a962-9fdff03a5936",reviewDate:"f6eb193c-058d-443c-8352-e36682644cf2",dietitianName:"0da3f47f-c3d9-42f0-a92a-77e52874b728",signedAt:"160715AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},f={refeedRisk:{"No risk identified":"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Low:"166675AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Medium:"cba5069d-4a2a-49f6-a830-d31c36941571",High:"166674AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},method:{Oral:"160240AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Enteral:"165950AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Parenteral:"165951AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Combination:"b5c356e8-6552-4145-912f-a133f7171630"},route:{Oral:"160240AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","NG tube":"162798AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","OG tube":"ec23c853-7410-4909-b1ab-b590a0e998f0","NJ tube":"36297c99-795d-4e3b-b1d5-09b4646c41ff","PEG / gastrostomy":"161754AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Jejunostomy:"4f081e60-17bf-47e8-9d22-f0b1bcf861b6","Peripheral IV":"166004AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Central line (CVC)":"162625AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",PICC:"166132AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},frequency:{Continuous:"1079AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Hourly:"9f5c69f8-c8df-47db-aaff-e992d9fb58dd","2-hourly":"b3148200-0069-4f88-87de-44cd33dfba56","3-hourly":"37ecaf49-2e04-473e-9362-e9412734e9ad","4-hourly":"0235feab-454d-4d9e-8d89-5933ab4c65e9","6-hourly":"7c96e629-8e57-4ed3-b928-f77b04b84727","8-hourly":"d6f2826d-dd19-4fcd-a3b8-7065b92b77a1","12-hourly":"37078527-9741-43d7-ad49-e9174f203ffd",Intermittent:"e0903517-f631-43dc-8ba1-1cd81b206b0b",Bolus:"162352AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","On demand (PRN)":"160857AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}}},4688(A,e,t){"use strict";function a(A,e,t){return e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}t.d(e,{G2:()=>l,Ku:()=>s,MQ:()=>b,Pb:()=>i,Pw:()=>p,Xl:()=>c,eK:()=>f,ln:()=>d,mp:()=>n,on:()=>u,zf:()=>o});var r,i={encounterTypeUuid:"f92cb273-5cdc-4d36-9d16-ef18ee6190eb",encounterTypeName:"ICU Blood Transfusion",encounterTypeDescription:"Blood transfusion observation chart for ICU patients."},n={observationGroup:"1114AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",temperature:"5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",pulse:"5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",respiratoryRate:"5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",systolic:"5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",diastolic:"5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",remarks:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",transfusionDate:"163268AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bloodType:"161927AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bloodUnitNumber:"162086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",counterCheckedBy:"166691AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",rate:"162745AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",timeEnded:"163509AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",amountMl:"164241AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",submittedBy:"166690AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",timeStarted:"2f4a215c-f58f-455b-9d21-ce1364764343",diagnosis:"161602AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",reaction:"159935AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},o="none",c=(a(r={},o,"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"fever","140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"chillsRigors","871AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"pain","114403AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"flushing","140039AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"nauseaVomiting","133473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"urticaria","123468AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"otherSkinRash","512AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"anxiety","121543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"chestPain","120749AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"dyspnoea","122496AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"hypotension","116214AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"tachycardia","125063AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"haemoglobinuria","138936AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"oliguria","132418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"anuria","148566AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"unexplainedBleeding","162628AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"otherReaction","5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),r),d={wholeBlood:"161939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",packedRedCells:"161925AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",freshFrozenPlasma:"161926AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",platelets:"161900AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",others:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},l=[{id:"wholeBlood",label:"Whole Blood"},{id:"packedRedCells",label:"Packed Red Cells"},{id:"freshFrozenPlasma",label:"Fresh Frozen Plasma (FFP)"},{id:"platelets",label:"Platelets"},{id:"others",label:"Others"}],s=[{id:"mlPerMin",label:"mL/minute"},{id:"dropsPerMin",label:"drops/minute"}],u=[{id:"before",label:"Before transfusion",anchor:"before"},{id:"m0",label:"00 Mins",offsetMinutes:0,anchor:"start"},{id:"m15",label:"15 Mins",offsetMinutes:15,anchor:"start"},{id:"m45",label:"45 Mins",offsetMinutes:45,anchor:"start"},{id:"m75",label:"1 hr 15 mins",offsetMinutes:75,anchor:"start"},{id:"m105",label:"1 hr 45 mins",offsetMinutes:105,anchor:"start"},{id:"m135",label:"2 hr 15 mins",offsetMinutes:135,anchor:"start"},{id:"m165",label:"2 hr 45 mins",offsetMinutes:165,anchor:"start"},{id:"m195",label:"3 hrs 15 mins",offsetMinutes:195,anchor:"start"},{id:"m225",label:"3 hrs 45 mins",offsetMinutes:225,anchor:"start"},{id:"m255",label:"4 hrs 15 mins",offsetMinutes:255,anchor:"start"},{id:"after",label:"4 hrs After Blood Transfusion",offsetMinutes:240,anchor:"end"}],b=[{id:"general",label:"General",options:[{id:"fever",label:"Fever"},{id:"chillsRigors",label:"Chills/Rigors"},{id:"pain",label:"Pain"},{id:"flushing",label:"Flushing"},{id:"nauseaVomiting",label:"Nausea/Vomiting"},{id:"anxiety",label:"Anxiety"}]},{id:"dermatological",label:"Dermatological",options:[{id:"urticaria",label:"Urticaria"},{id:"otherSkinRash",label:"Skin rash"}]},{id:"cardiacRespiratory",label:"Cardiac/Respiratory",options:[{id:"chestPain",label:"Chest Pain"},{id:"dyspnoea",label:"Dyspnoea"},{id:"hypotension",label:"Hypotension"},{id:"tachycardia",label:"Tachycardia"}]},{id:"others",label:"Others",options:[{id:"haemoglobinuria",label:"Haemoglobinuria"},{id:"oliguria",label:"Oliguria"},{id:"anuria",label:"Anuria"},{id:"unexplainedBleeding",label:"Unexplained bleeding"},{id:"otherReaction",label:"Others"}]}],f={feverC:38,temperatureRiseC:1,pulseRiseBpm:20},p={temperature:{min:30,max:43},pulse:{min:20,max:230},respiratoryRate:{min:0,max:80},systolic:{min:30,max:250},diastolic:{min:10,max:150},rate:{min:0,max:1e3},amountMl:{min:0,max:5e3}}},15312(A,e,t){"use strict";t.d(e,{Cs:()=>r,No:()=>o,Tx:()=>c,_z:()=>i,a1:()=>d,i6:()=>a,mv:()=>l,xz:()=>n});var a={icu:"770f6a93-8e59-48ad-ba7d-98d5652db240",hdu:"25439b2d-6495-4f5d-9ec6-4fe64686cf46",nicu:"17558b82-7275-409c-9f77-0d934ae881cf",picu:"d9aaa6fa-8594-416c-b5da-e50fd3a180b2"},r={icu:"ICU Ward",hdu:"HDU Ward",nicu:"NICU Ward",picu:"PICU Ward"},i=["icu","hdu","nicu","picu"],n={icu:"ICU",hdu:"HDU",nicu:"NICU",picu:"PICU"},o=28,c=29,d=13,l=13},97984(A,e,t){"use strict";t.d(e,{$g:()=>T,AJ:()=>o,Ak:()=>i,BF:()=>s,CS:()=>B,CY:()=>N,Fg:()=>K,Fv:()=>w,H7:()=>x,Je:()=>D,KD:()=>r,L3:()=>u,Mb:()=>g,O3:()=>C,OC:()=>k,OT:()=>I,PZ:()=>p,TO:()=>n,Vb:()=>R,WF:()=>W,Ws:()=>V,XE:()=>z,Ye:()=>c,Z8:()=>S,Zf:()=>G,_E:()=>b,_b:()=>d,_m:()=>H,bU:()=>y,c7:()=>M,cU:()=>J,dy:()=>v,fk:()=>U,oq:()=>E,pB:()=>f,pY:()=>h,qF:()=>P,r8:()=>a.r,ri:()=>m,uf:()=>_,wE:()=>O,wS:()=>q,xN:()=>l,yS:()=>L,yb:()=>j,zf:()=>$});var a=t(83186),r=[{key:"icuMonitoringStart",uuid:"2f2e2c44-f115-4c09-aa7a-d33d1715b1e9",name:"ICU Monitoring Start",description:"Start ICU monitoring / charting instance (not physical admission)."},{key:"icuMonitoringStop",uuid:"08a1acec-5b3c-40e1-953a-1488df400cd0",name:"ICU Monitoring Stop",description:"Stop ICU monitoring / charting instance."},{key:"respiratory",uuid:"d996d73e-e7f9-42a6-99a2-a0d1af4b87af",name:"ICU Respiratory",description:"Hourly ICU respiratory flowsheet encounters."},{key:"abg",uuid:"e21e4878-c72f-4554-ac50-25f2abb19c43",name:"ICU ABG",description:"Arterial blood gas encounters for ICU patients."},{key:"clinicalChart",uuid:"c4e50519-941d-477e-b10d-2aa5de1d838c",name:"Vital Signs",description:"ICU clinical chart (CVS CNS neuro)."},{key:"linesAndTubes",uuid:"1593b32e-4f75-4c94-92f9-8dfcaaf049f1",name:"ICU Lines and Tubes",description:"Lines and tubes chart encounters for ICU patients."},{key:"personalCare",uuid:"4cb9f207-8014-45f5-bb6b-6de637096a1f",name:"ICU Personal Care",description:"Personal care checklist encounters for ICU patients."},{key:"fluidBalance",uuid:"657bdb00-0eab-48a6-8da4-bb1644d5fd48",name:"ICU Fluid Balance",description:"Fluid intake and output encounters for ICU patients."},{key:"intravenousInfusion",uuid:"e7f2a3b4-5c6d-4e8f-9a0b-1c2d3e4f5a6b",name:"ICU Intravenous Infusion",description:"IV infusion fluid orders for ICU patients."},{key:"bilevelCpap",uuid:"0caee7c7-8b60-4ace-9b3c-7dcc2c309189",name:"ICU Bi-level CPAP",description:"Bi-level and CPAP chart encounters for ICU patients."},{key:"pediatricIvInfusion",uuid:"744fce69-66a4-48a5-9e4d-264c947c7184",name:"NICU/PICU IV Infusion",description:"24-hour IV infusion and vascular access monitoring for NICU and PICU patients."},{key:"pediatricObservations",uuid:"6e4885cd-cb61-429f-ae32-25ad97c5529d",name:"NICU/PICU Observations",description:"24-hour NICU and PICU monitoring, clinical care and nutrition chart encounters."},{key:"safetyHandover",uuid:"36935f6e-7fb8-40fb-9a3a-08b8272d4669",name:"ICU Safety Checklist & Handover",description:"Per-shift ICU safety checklist with nurse-to-nurse handover sign-off."}],i=Object.fromEntries(r.map(function(A){return[A.key,A.uuid]})),n={treatmentStartDate:"163526AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",treatmentEndDate:"164384AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",stopReason:"1695AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",stopReasonNotes:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",transferDestination:""},o={discharged:"1692AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",death:"9c348c8c-e033-4fc0-ab2a-7e6702b68739",transferred:"1693AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",leftAgainstAdvice:"1694AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},c={lamaReason:"c7a91713-2574-4717-8b03-87735b3ca79e",risksExplained:"67906a10-898d-4a9b-ae08-269d75026acb",signedBy:"",signedByRelationship:"164352AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",witness:"646c7bfe-933d-4ccc-b11e-51b50dd9150d"},d={risksExplained:{Yes:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",No:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},signedByRelationship:{Parent:"1527AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Spouse:"d743bbf7-b377-48e2-aefa-732d35f503b5",Relative:"fdf26d2c-3acf-4c52-b797-bc1f80df8b51",Others:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},l={mechanicalVentilation:"",ventilatoryMode:"165932AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fio2:"165927AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",setTidalVolume:"60800c98-3b70-4606-a689-34815d2e0b1d",setFrequency:"2c8f5873-ff5d-44be-8453-d029ad79db4f",peepCpap:"bc3834dc-150f-467e-96f9-17081374371a",pressureSupport:"e475d95e-c29a-4011-a434-acd409e28c85",ieRatio:"c819e7e5-b0b3-4ed5-9411-8e869c74020e",triggerFlow:"061f50eb-e7c9-4586-bc25-deae83e2d498",tidalVolumeMeasured:"dc03b1b1-b04c-4676-87a4-e9dfd62bfff3",minuteVolume:"1d109b10-7b30-4bfa-8a7c-6ecb73357fc2",rate:"5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",spontaneousRate:"",peepMeasured:"2bb3350e-6e5e-46ef-bdcc-6a8cc5ff33f3",peakAirwayPressure:"fd370732-6756-42b5-bbae-96eb8a4744ee",etco2:"c6f370bd-d25d-4c1b-87d4-973eaaa73569",spo2:"5092AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",weaningStatus:"af782aab-dde0-4fa0-971d-2a7b7438461e",humidifierTemp:"9320ccef-5720-41ce-8a54-a9efdaa0674a",suctionEtOral:"98f1336e-cbad-405c-9085-62cad91d5b09",sputumQuantity:"22ba9839-dc48-4359-8079-94451db2da94",sputumType:"a47726a8-ed9c-4a26-8631-30f3f108d994",cuffPressure:"6322fbbe-384b-4a83-82d1-7e8a274ced03"},s={yes:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",no:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},u={1:"1407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",2:"1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",3:"143385AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},b={M:"2529cc17-5ccc-431f-84e9-c6e5270d1f90",P:"1076AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",B:"4d2043ca-33ef-4d34-9508-dfb428bac6ed"},f={notStarted:"164463AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",inProgress:"163723AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",complete:"1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},p=["ventilatoryMode","fio2","setTidalVolume","setFrequency","peepCpap","pressureSupport","ieRatio","triggerFlow","tidalVolumeMeasured","minuteVolume","rate","peepMeasured","peakAirwayPressure","etco2","spo2","humidifierTemp","suctionEtOral","sputumQuantity","sputumType","weaningStatus","cuffPressure"],m={ph:"165984AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",pao2:"163598AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",paco2:"163595AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hco3:"163596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",baseExcess:"163599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",sodium:"1132AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",potassium:"1133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",calcium:"159497AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",chloride:"1134AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",glucose:"887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",lactate:"1012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hemoglobin:"21",temperature:"5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",heartRate:"5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",heartRhythm:"039e38e8-4dbd-4815-99ea-b173a3b7c013"},y={NSR:"163141AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",SB:"126428AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AF:"148203AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AFL:"148202AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",SVT:"125246AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",VT:"123239AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",VF:"123247AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Others:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},h=["ph","pao2","paco2","hco3","baseExcess","sodium","potassium","calcium","chloride","glucose","lactate","hemoglobin","temperature","heartRate","heartRhythm"],g={temperature:"5088",heartRate:"5087",systolicBp:"5085",diastolicBp:"5086",map:"163187",cvp:"200100",bloodSugar:"887"},v={heartRhythm:"",ectopic:""},S={sedationScore:"161031AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",painScore:"166082AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",camIcu:"ebd46020-484a-46c4-ba57-b1282d47a4e9",gcsEvm:"",gcsEye:"776c50f2-2914-4511-a86d-96ea4696e4c0",gcsVerbal:"58beb902-d49e-4d52-8c0f-c0ca6123f645",gcsMotor:"e2b6de97-7105-4a56-a156-80ce918f9595",gcsTotal:"160347AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",leftPupilSize:"476ec3dc-8063-4279-b6c8-e728a59b4326",leftPupilReaction:"2cf0eb0f-a330-4283-b43d-b1d28f439f35",rightPupilSize:"a6884483-618c-4466-9700-e93008177645",rightPupilReaction:"d7e1ae41-cce7-4cc3-8b22-bbff2eb421c3"},O={seizures:"206AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",motorPower:"160396AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",icp:"127920AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},T={urineAppearance:"f0a05386-c094-4971-a434-53bc8dbbeee7",creatinine:"164364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",potassium:"1133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",onDialysis:"165931AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fluidRestrictionMl:"162652AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},U={nutritionRoute:"c23d3224-2218-4007-8f22-e1f3d5a8e58a",feedRateMlHr:"162523AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",gastricResidualMl:"4ebe7c1c-93cb-4d21-898b-59d71876c661",nutritionNote:"163189AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},C={skinRiskScore:"",pressureInjuryStage:"d1026f00-96fb-465c-8a26-7b8d82243723",skinSites:"166696AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",dressingIntact:"63ace222-6715-4c09-bf2b-a102766a8077"},P=["temperature","heartRate","systolicBp","diastolicBp","map","cvp","bloodSugar"],R=[],w=["sedationScore","painScore","camIcu","gcsEye","gcsVerbal","gcsMotor","gcsTotal","leftPupilSize","leftPupilReaction","rightPupilSize","rightPupilReaction"],k=["seizures","motorPower","icp"],x=["urineAppearance","creatinine","potassium","onDialysis","fluidRestrictionMl"],D=["nutritionRoute","feedRateMlHr","gastricResidualMl","nutritionNote"],N=["skinRiskScore","pressureInjuryStage","skinSites","dressingIntact"],I={dateInserted:"160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",dressingChanged:"33c14c79-782f-483c-8625-b8973b6c295f",dateChanged:"160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",comment:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",laterality:"7b32b1c7-5d13-40b0-9028-8e9da6af0f4d",lateralityLeft:"5139AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",lateralityRight:"5141AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",lateralityMidline:"3ba71da2-f8eb-416b-87c3-59285bf1bcbb",lateralityNotApplicable:"1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ettTracheostomy:"c929bb1e-9fad-4af1-ac4e-b00e579562a9",anchorfast:"7a93bb90-53aa-4d70-93bf-5576e6f1cf41",cvc:"fd1d6b84-eaec-49f0-9da9-1e0741cb0f53",cvpLine:"37d58128-4978-428a-9748-f961fef9dc27",arterialLine:"fa7cbb4a-bfb1-4ce3-a52d-73cd7b5aab6e",ngNjPeg:"1766AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",urinaryCatheter:"9779c0f1-21e5-4b2a-b4ba-b9b4a5ac89a2",urinaryCatheterBag:"a9c73171-16b6-4f04-8d06-8f8fb0b70c66",vascularCatheter:"07c4ddd1-7969-41b6-a9ec-f2a746041550",cannula:"5f30e568-6f57-40db-aaa8-e7b82f9f4d54",ventilatorTubing:"98d1cd2c-a254-44d7-a736-fa8d5f4941c6",hmeFilter:"4a9bc8c6-efd3-4a89-a3c0-9bacb6d6dd1c",inlineSuction:"4e0795ee-4728-4d9b-8a44-7e94c490df0e",suctionTubingCanister:"f36a37b8-a4d0-4ab7-8065-1d1c90eb64da",others:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},M=["dateInserted","dateChanged","comment"],E={observationDatetime:"17cc4e56-38ff-4b52-8f79-00b66f9f8ff4",nursingShift:"f51a171c-6b8d-474a-a026-ce3d5e45a483",fluidType:"161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",specify:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",methodOfIntake:"162394AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",administrationSite:"011d9b21-eb75-4f74-9738-665e3b7e24a8",addition:"0b6a7c3b-2743-43a5-b5a1-6768bf12e246",intakeVolume:"bdb4ada7-b4cb-4734-bb43-411deb65f1f9",outputType:"1d5a3c4e-6fa6-4aaa-8ca9-0ca7154def12",urine:"163261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",vomit:"162661AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",drain:"f2411fd4-5da9-42eb-bacb-821be9e339d7",ngSuction:"3e49a43e-58ff-435b-b4c3-9a9fbaf3415a",stool:"3c5e0703-15fb-477f-a849-233f2c5cd226",haemofiltration:"6e189c29-bce1-4455-853d-acf629af147b",morningInputTotal:"17c6c761-d3b8-422f-9968-d80539a07c34",afternoonInputTotal:"8b94093e-5e36-43f4-a481-b797ee26f5f4",nightInputTotal:"dbf3e50a-b6ea-40cd-afc3-d1a52fd7f358",morningOutputTotal:"f6b738d8-5153-432b-91fd-2a8379391f46",afternoonOutputTotal:"527ace32-0827-4bf6-aa0d-14a928a22e6b",nightOutputTotal:"1db7fdcf-63f3-493d-8217-47cdcdde9adc",balance:"b8734463-8a64-4e43-abc9-c8617c6f0b42",shiftNote:"1111fedc-77e3-4220-994f-3267b0651446",shiftIntakeTotal:"67365207-66fd-43d6-a089-547c11607146",shiftOutputTotal:"3a45b7c0-1524-4830-a692-957226cd5ea2",dayIntakeTotal:"55d3893b-4312-44db-af56-5920edae9676",dayOutputTotal:"e3ebb855-9e78-485b-a04f-ccee0f3825d2",dayBalanceDatetime:"9c4c7722-ba3e-4bdf-ab97-c04170100037",dayBalance:"0abf4100-f7e2-4a6b-b4da-8d5c65277e3c",previousChartDate:"160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",previousIntakeTotal:"163036AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",previousOutputTotal:"162659AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",plan:"163104AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",target:"162746AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},j={bloodProductType:"c07354c9-ae00-4d28-865f-07e43efc886f",feedType:"163719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},F=function(A){return String(A).padEnd(36,"A")},B={morning:{uuid:"53faf249-3d2c-4de6-94aa-f22138a6e12a",label:"Morning",fromHour:8,toHour:15},afternoon:{uuid:F(161016),label:"Afternoon",fromHour:16,toHour:23},night:{uuid:F(161017),label:"Night / Evening",fromHour:0,toHour:7}},V=F(5622),_={normalSaline:{uuid:F(80804),code:"NS",label:"0.9% Saline (normal saline)"},dextrose5:{uuid:F(161250),code:"D5W",label:"5% Dextrose"},dextrose10:{uuid:F(161922),code:"D10W",label:"10% Dextrose"},dextroseSaline:{uuid:F(104745),code:"DS",label:"Dextrose saline"},plasmalyte148:{uuid:"620bdab0-452d-4d6f-b9d0-174febbb7d2b",code:"P148",label:"Plasmalyte 148"},hartmanns:{uuid:"6ca714c6-2c54-4b57-83a3-ac69b491ab8d",code:"Hart",label:"Hartmann's solution"},totalParenteralNutrition:{uuid:"3e2597bd-dbe2-499e-a520-f4e22b53cd4f",code:"TPN",label:"Total parenteral nutrition"},albumin:{uuid:"fb7152f5-8982-4678-93f3-022ce89c8a76",code:"Alb",label:"Albumin"},breastMilk:{uuid:"14ec7306-996d-41d4-bc5e-75259470e5d4",code:"BM",label:"Breast milk"},ringersLactate:{uuid:F(78617),code:"RL",label:"Ringer's lactate"},dextrose5Saline:{uuid:F(162857),code:"D5NS",label:"Dextrose 5% in normal saline"},dextran:{uuid:F(74653),code:"Dextran",label:"Dextran"},kcl20Saline:{uuid:F(162855),code:"KCl20/NS",label:"Potassium chloride 20 mmol/L in normal saline"},kcl40Saline:{uuid:F(162856),code:"KCl40/NS",label:"Potassium chloride 40 mmol / sodium chloride 0.9%"},glucoseSaline:{uuid:F(162859),code:"D5\xbdNS",label:"Glucose 50 mg/ml / sodium chloride 0.0769 mEq/ml"},phosphate:{uuid:F(162860),code:"PO₄",label:"Monopotassium phosphate 0.259% / sodium phosphate 2.9%"},bicarbonate:{uuid:F(162861),code:"NaHCO₃",label:"Sodium bicarbonate 1.26%"},other:{uuid:V,code:"oth",label:"Other (specify)"}};F(162650),F(160240),F(163261),F(162661);var q={wholeBlood:{uuid:F(161939),code:"WB",label:"Whole blood"},packedRedCells:{uuid:F(161925),code:"RBC",label:"Red blood cells"},freshFrozenPlasma:{uuid:F(161926),code:"FFP",label:"Fresh frozen plasma"},platelets:{uuid:F(729),code:"Plt",label:"Platelets"},cryoprecipitate:{uuid:"71ec5b7b-ad25-4dc7-a765-d28ea6b9ebd5",code:"Cryo",label:"Cryoprecipitate"},other:{uuid:V,code:"oth",label:"Other (specify)"}},G={"ac1fc824-52b0-4284-a2ee-b1780263a48d":"platelets"},H=Object.keys(E).filter(function(A){return"methodOfIntake"!==A&&"outputType"!==A}),W={procedure:"162651AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fluidType:"161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",infusionSite:"c5589cd8-936a-4771-8b5c-895c23a1894c",siteCentralLeftJugular:"868fe80c-c083-4113-b228-9d3344c06f9e",sitePeripheralLeftHand:"166004AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",amount:"166650AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",addition:"160221AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",duration:"1732AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fromDatetime:"163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",toDatetime:"163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",rate:"165987AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",totalAmount:"8631339b-826c-4d7c-93f7-093669c756ac",notes:"160029AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},L=["procedure","fluidType","infusionSite","amount","addition","duration","fromDatetime","toDatetime","rate","totalAmount","notes"],z={reportingFrequency:"163331AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",repositionCode:"159633AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",head:"96e24db4-8fc1-4b15-9e33-cc16c77f82c4",cornersOfMouth:"d5b0e308-3edb-40a3-a80b-bde94eacc553",bridgeOfNose:"166326AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",leftRightNostril:"6ac30811-ef70-437a-ae19-421d1c8db734",leftRightEar:"166230AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",leftRightElbow:"b7dea7ba-9a45-4dc6-a6f9-d504b705d77d",leftRightButtock:"c53d4a24-e7a7-40cd-91ee-731fd5ae56a9",sacrum:"3ca79a3c-d188-4803-92ea-bd323dae8a52",leftRightHeel:"26837eda-7bd8-42bf-a8b3-b20f42b2babb",satsProbe2Hrly:"1937ab85-d4ab-416e-9966-cbff105ac220",eyeCare:"20351ecb-51eb-498e-b19a-e869bffebdd4",etTubeReposition4Hrly:"41a74cf5-b3d3-4230-9d41-8b384d6e47ee",teethBrushingTwiceDaily:"160d5b22-9b8f-41c7-9cca-5eb732829862",nebuliser:"07edadb1-71b2-496b-8607-e673ce7c76bc",removeResecureNgTubeDressing:"5eb0e594-ce18-49e8-8814-8d72c71c10ad",innerTubeCare:"a62f8d67-e68e-4b7c-bb77-ef988923b327",tapeChange:"d1ff9818-3435-492f-b931-bcb62ba760fa",washPersonalCare:"13e56cd0-64fd-49d6-b7aa-8a4d293e12c8",maskNasalProngsRelease2Hrly:"2c988f72-fee8-47f9-a5a8-6da1ca1dac16",angleOfBedElevation:"5a775b16-5173-441f-8bb3-8a07773aa03b",woundCheck:"132024AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},$=["reportingFrequency","repositionCode","head","cornersOfMouth","bridgeOfNose","leftRightNostril","leftRightEar","leftRightElbow","leftRightButtock","sacrum","leftRightHeel","satsProbe2Hrly","eyeCare","etTubeReposition4Hrly","teethBrushingTwiceDaily","nebuliser","removeResecureNgTubeDressing","innerTubeCare","tapeChange","washPersonalCare","maskNasalProngsRelease2Hrly","angleOfBedElevation","woundCheck"],K={observationTime:"b4e3c93b-63f4-42b4-bbcc-2e1fbdeb1b25",checklistStaffChartedPeepSpo2:"f1521073-500c-4978-86fa-fcf8f1976cac",checklistSafetyValve15cm:"0b828fbc-fc1b-4514-807a-a553eca2d30f",checklistOxygenAnalyserCalibrated:"48147766-16d8-4415-bd65-149189fe6898",checklistBaselineObsBloodGas:"fd857517-0948-4d31-8e9a-82186e9288cc",fio2AnalyserPercent:"165927AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",airFilterNotObstructed:"6833c93f-41c5-4f51-9d8d-84c00136710f",peepValveOnMaskCmH2o:"f37a3e4c-f64e-4e8d-bb38-0085ace9cdf8",circuitLeakFree:"0f15b726-e656-4954-a990-dc1b310b3e40",maskBlueValveWhiteCap:"875891e1-e5e7-4bc2-acbe-981b583f7846",breathFeltAtMaskPeep:"8573fb40-3495-4218-9644-9903230e4e34",waterInBagAndChamber:"527df2e6-213b-486b-955a-b0b36f5872c7",temperatureProbesInserted:"3ae0b27f-4763-406a-a8dd-d6012743ebe6",correctTemperatureSetting:"d85b5168-0338-4520-a129-9cfdbd2cbe9d",ipapPs:"e475d95e-c29a-4011-a434-acd409e28c85",epapPeep:"bc3834dc-150f-467e-96f9-17081374371a",bpmSetting:"2c8f5873-ff5d-44be-8453-d029ad79db4f",tiSetting:"2bf0889f-2af2-4e25-a6d3-c1512b36743f",oxygenLpm:"165986AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",airLeaksLpm:"507b7bfa-1df8-410c-9286-2fcbf04e5ff4",co2AntiAsphyxiaPatent:"fba1ed89-f865-421f-8d56-fe3b51d8105b",gasSource:"77eedd62-28a7-4ead-a24e-7cbdd6391784",ph:"165984AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",pco2:"163595AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",po2:"163598AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bicarbonate:"1135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},J={A:"67d9182c-7688-4eee-826f-4a17d6206437",C:"165889AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",V:"158d434a-c375-4227-9e9c-f3b7680de7c9"}},83186(A,e,t){"use strict";t.d(e,{G:()=>r,r:()=>a});var a={emergencyDepartment:"160473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",theatre:"164834AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hdu:"167396AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ward:"162680AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},r=[{value:"emergencyDepartment",label:"Emergency department"},{value:"theatre",label:"Theatre"},{value:"hdu",label:"HDU"},{value:"ward",label:"Ward"},{value:"other",label:"Other (local configuration)"}]},78682(A,e,t){"use strict";t.d(e,{$:()=>f,p:()=>r});var a=t(81882),r={encounterTypeUuid:"3efe6966-a011-4d24-aa43-d3051bfbb8e3",formUuid:"3efe6966-a011-4d24-aa43-d3051bfbb8e3"},i=function(A){return(0,a.TO)(A)},n=function(A,e){return{conceptUuid:i(A),label:e}},o=i("1107"),c=i("165644"),d=i("1651"),l=i("1063"),s=i("123154"),u=i("5622"),b=function(A){return function(e){var t;return(null!=(t=e.multi.pastHis)?t:[]).includes(A)}},f={i18nPrefix:"initialNursingCardex",sections:[{key:"admission",label:"Admission information",items:[{field:{id:"dateAndTimeAdmission",label:"Date and time of admission",conceptUuid:i("162869"),type:"date",datetime:!0,withTime:!0,date:{noFuture:!0}}},{field:{id:"diagnosisOnAdmission",label:"Diagnosis on admission",conceptUuid:"d44492fd-1b0f-4ec1-9ac8-0e1eb2ebe10b",type:"textarea"}},{field:{id:"PresentingComplaints",label:"Presenting complaints",conceptUuid:i("160531"),type:"textarea"}}]},{key:"history",label:"Medical history",items:[{field:{id:"druG",label:"Medication given",conceptUuid:i("162725"),type:"textarea"}},{field:{id:"pastHis",label:"Past medical history",conceptUuid:i("159520"),type:"multi",exclusiveAnswer:o,answers:[n("1107","None"),n("165644","Admission history"),n("1651","Surgical history"),n("1063","Blood transfusion"),n("123154","Trauma/Accidents"),n("5622","Other")]}},{field:{id:"admiReason",label:"Reason for admission",conceptUuid:i("162879"),type:"textarea",visibleWhen:b(c)}},{field:{id:"typeofSurgery",label:"Surgery performed",conceptUuid:i("166635"),type:"textarea",visibleWhen:b(d)}},{field:{id:"bloodTransfusionNotes",label:"Blood transfusion notes",conceptUuid:"f27ee6b6-eaf6-4e3f-9d1b-8a61b6c17e0c",type:"textarea",visibleWhen:b(l)}},{field:{id:"traumaNotes",label:"Accident/Trauma notes",conceptUuid:i("160686"),type:"textarea",visibleWhen:b(s)}},{field:{id:"otherHis",label:"Specify other",conceptUuid:i("160948"),type:"textarea",visibleWhen:b(u)}},{field:{id:"MedicationandAllergyHistory",label:"Allergy history",conceptUuid:i("160221"),type:"textarea"}},{field:{id:"socialHistory",label:"Social/Economic history",conceptUuid:i("162143"),type:"textarea",visibleWhen:function(A,e){return void 0===e.ageYears||e.ageYears>=12}}},{field:{id:"familyHistory",label:"Family history",conceptUuid:i("160618"),type:"textarea"}}]},{key:"nursingAssessment",label:"Nursing assessment",items:[{field:{id:"PhysicalExamination",label:"Physical examination",conceptUuid:i("160629"),type:"textarea",required:!0}},{field:{id:"NursingDiagnosis",label:"Nursing diagnosis",conceptUuid:i("164398"),type:"textarea",required:!0}},{field:{id:"NursingNotes",label:"Nursing notes",conceptUuid:i("160303"),type:"textarea",required:!0}}]}]}},47354(A,e,t){"use strict";t.d(e,{BJ:()=>o,Rk:()=>y,vS:()=>p});var a=t(81882);function r(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}function i(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(A){return Object.getOwnPropertyDescriptor(t,A).enumerable}))),a.forEach(function(e){var a;a=t[e],e in A?Object.defineProperty(A,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):A[e]=a})}return A}function n(A,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(e)):(function(A){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(A);e.push.apply(e,t)}return e})(Object(e)).forEach(function(t){Object.defineProperty(A,t,Object.getOwnPropertyDescriptor(e,t))}),A}var o={encounterTypeUuid:"c6d09e05-1f25-4164-8860-9f32c5a02df0",formUuid:"af273344-a5f9-11e8-98d0-529269fb1459"},c=function(A){return(0,a.TO)(A)},d=function(A,e){return{conceptUuid:c(A),label:e}},l=[d("1065","Yes"),d("1066","No")],s=d("1175","N/A"),u=d("1537","Another health facility"),b=d("163488","Community unit"),f=function(A,e){return"M"!==e.sex},p={i18nPrefix:"dischargeForm",sections:[{key:"discharge",label:"Discharge",items:[{field:{id:"counselledOnInfantFeeding",label:"Counselled on infant feeding?",conceptUuid:c("161651"),type:"select",answers:l,visibleWhen:f}},{field:{id:"vitaminAdispensed",label:"Vitamin A for mother dispensed?",conceptUuid:c("161534"),type:"select",answers:((function(A){if(Array.isArray(A))return r(A)})(l)||function(A){if("u">typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(l)||function(A){if(A){if("string"==typeof A)return r(A,void 0);var e=Object.prototype.toString.call(A).slice(8,-1);if("Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(A,void 0)}}(l)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([s]),visibleWhen:f}},{field:{id:"deliveryOutcome",label:"Delivery outcome",conceptUuid:c("159949"),type:"select",answers:[d("159913","Single"),d("159914","Twins"),d("159915","Triplets")],visibleWhen:f}},{group:{id:"babyDetails",label:"Baby(s) details",conceptUuid:c("162588"),rowLabel:"Baby",addLabel:"Add baby",visibleWhen:f,members:[{id:"babyStatus",label:"Status of the baby",conceptUuid:c("159926"),type:"select",answers:[d("163016","Alive"),d("160432","Dead")]},{id:"birthNotificationNumber",label:"Birth notification number",conceptUuid:c("162051"),type:"text"}]}},{field:{id:"dischargeDate",label:"Discharge date",conceptUuid:c("1641"),type:"date",datetime:!0,date:{noFuture:!0,notBeforeVisit:!0}}},{field:{id:"maternalCondition",label:"Maternal condition",conceptUuid:c("162093"),type:"textarea",visibleWhen:f}}]},{key:"referral",label:"Referral",items:[{field:{id:"referredFrom",label:"Referred from?",conceptUuid:c("160481"),type:"select",answers:[u,b,s]}},{field:{id:"referredTo",label:"Referred to?",conceptUuid:c("163145"),type:"select",answers:[b,u,s]}}]},{key:"clinicalNotes",label:"Clinical notes",items:[{field:{id:"clinicalNotes",label:"Clinical notes",conceptUuid:c("159395"),type:"textarea"}}]}]},m=function(A){return p.sections.flatMap(function(A){return A.items}).flatMap(function(e){return"field"in e&&e.field.id===A?[e.field]:[]})[0]},y={i18nPrefix:"dischargeForm",sections:[{key:"stopDischarge",label:"Discharge form",items:[{field:n(i({},m("dischargeDate")),{required:!0})},{field:n(i({},m("clinicalNotes")),{label:"Discharge summary (clinical notes)",required:!0})},{field:m("referredTo")}]}]}},34960(A,e,t){"use strict";t.d(e,{Bn:()=>R,Cz:()=>w,NO:()=>d,Ol:()=>P,WI:()=>M,Zh:()=>N,Zs:()=>l,_Y:()=>c,cT:()=>x,ci:()=>D,qD:()=>k,rI:()=>u,tQ:()=>i,wd:()=>I,zC:()=>E});var a=t(81882);function r(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}var i={encounterTypeUuid:"14b36860-5033-4765-b91b-ace856ab64c2",formUuid:"87379b0a-738b-4799-9736-cdac614cee2a",diagnosisRank:2},n=function(A){return(0,a.TO)(A)},o=function(A,e){return{conceptUuid:n(A),label:e}},c=n("1065"),d=n("1066"),l=n("5622"),s=n("1107"),u=n("159"),b=n("143264"),f=n("136443"),p=n("143050"),m=n("142630"),y=n("460"),h=n("5245"),g=n("130166"),v=n("1116"),S=[o("1065","Yes"),o("1066","No")],O=[o("1362","+"),o("1363","++"),o("1364","+++")],T=function(A,e,t){var a;return!!(null==(a=A.multi[e])?void 0:a.includes(t))},U=function(A){return function(e){return T(e,"genExamFindings",A)}},C=function(A){return function(e){return e.values.syStemsRevieW===v&&T(e,"allsystemReview",A)}},P=[o("151","Abdominal pain"),o("141631","Abnormal uterine bleeding"),o("121543","Anxiety"),o("148035","Back pain"),o("840","Bloody urine"),o("117671","Blood in stool"),o("131021","Breast pain"),o("120749","Chest pain"),o("871","Cold and chills"),o("120345","Confusion"),o("143264","Cough"),o("113054","Convulsions"),o("106","Coryza"),o("143129","Crying infant"),o("142412","Diarrhoea"),o("122496","Difficulty in breathing"),o("118789","Difficulty in swallowing"),o("142247","Discharge from penis"),o("141830","Dizziness"),o("141585","Ear pain"),o("141128","Epigastric pain"),o("131040","Eye pain"),o("140941","Excessive sweating"),o("114399","Facial pain"),o("162626","Fatigue / weakness"),o("140070","Flank pain"),o("140238","Fever"),o("135462","Genital ulcer"),o("139084","Headache"),o("117698","Hearing loss"),o("879","Itchiness / pruritus"),o("116558","Joint pain"),o("114395","Leg pain"),o("116334","Lethargy"),o("135595","Loss of appetite"),o("121657","Memory loss"),o("111721","Mouth ulceration"),o("131015","Mouth pain"),o("133028","Muscle cramps"),o("133632","Muscle pain"),o("121","Myalgia"),o("5978","Nausea"),o("133469","Neck pain"),o("133027","Night sweats"),o("132653","Numbness"),o("162628","Unexplained bleeding"),o("125225","Pain when swallowing"),o("131034","Pelvic pain"),o("5953","Poor vision"),o("512","Rash"),o("127777","Red eye"),o("6017","Refusal to feed"),o("113224","Running / blocked nose"),o("131032","Scrotal pain"),o("206","Seizure"),o("126535","Shoulder pain"),o("158843","Sore throat"),o("141597","Sleep disturbance"),o("125198","Swollen legs"),o("112200","Tremors"),o("160208","Urinary symptoms"),o("157498","Weakness of limbs"),o("832","Weight loss"),o("123396","Vaginal discharge"),o("122983","Vomiting"),o("111525","Vertigo"),o("5622","Other")],R=[o("1499","Gradual"),o("162707","Sudden")],w={id:"ComplaintLodgeByClient",conceptUuid:n("160531")},k=[{key:"complaint",id:"cOmplaIntField",conceptUuid:n("5219"),kind:"coded"},{key:"other",id:"OtherSpecificComplaints",conceptUuid:"20395601-257c-490c-86c2-acffb627f91f",kind:"text"},{key:"contactTB",id:"contactTB",conceptUuid:n("124068"),kind:"coded"},{key:"durationDays",id:"complaint-duration",conceptUuid:n("159368"),kind:"number"},{key:"onsetDate",id:"OnSETdate",conceptUuid:n("159948"),kind:"date"},{key:"onsetStatus",id:"onsetStatus",conceptUuid:"d7a3441d-6aeb-49be-b7d6-b2a3bb39e78d",kind:"coded"}],x={complaint:"",other:"",contactTB:"",durationDays:"",onsetDate:"",onsetStatus:""},D=function(A,e){return"other"===A?e.complaint===l:"contactTB"!==A||e.complaint===b},N=function(A){return A.values.complaintsToday===c},I=[{id:"complaintsToday",label:"Patient having new complaint(s) today?",conceptUuid:n("5219"),type:"radio",section:"subjective",required:!0,answers:S},{id:"ClinICNotes",label:"History of presenting illness notes",conceptUuid:n("160430"),type:"textarea",section:"subjective",visibleWhen:N},{id:"genExamFindings",label:"General examination findings",conceptUuid:n("162737"),type:"multi",section:"objective",required:!0,answers:[o("1107","Normal"),o("143050","Cyanosis"),o("142630","Dehydration"),o("136443","Jaundice"),o("460","Oedema"),o("5245","Pallor")],exclusiveAnswer:s},{id:"jaundiceGrading",label:"Jaundice grading",conceptUuid:n("164448"),type:"radio",section:"objective",required:!0,answers:O,visibleWhen:U(f)},{id:"cyanosisType",label:"Cyanosis type",conceptUuid:n("164448"),type:"radio",section:"objective",required:!0,answers:[o("145962","Central cyanosis"),o("167236","Peripheral cyanosis")],visibleWhen:U(p)},{id:"dehydrationType",label:"Dehydration type",conceptUuid:n("164448"),type:"radio",section:"objective",required:!0,answers:[o("164840","Mucous membranes dry"),o("a0ea1397-2bf3-4796-b005-387676f96499","Reduced skin turgor"),o("165891","Capillary refill > 2 sec")],visibleWhen:U(m)},{id:"oedemaLocation",label:"Oedema site",conceptUuid:n("166852"),type:"radio",section:"objective",required:!0,answers:[o("1843","Face"),o("164387","Foot"),o("141465","Generalised"),o("164385","Hands"),o("166168","Knee"),o("14e0ebf6-a05e-4fe1-9535-50eea5cb5c72","Periorbital")],visibleWhen:U(y)},{id:"oedemaType",label:"Oedema type",conceptUuid:n("164448"),type:"radio",section:"objective",required:!0,answers:[o("165598","Non-pitting"),o("130166","Pitting")],visibleWhen:U(y)},{id:"oedemaGrading",label:"Oedema grading",conceptUuid:n("164494"),type:"radio",section:"objective",required:!0,answers:[o("1107","None")].concat(function(A){if(Array.isArray(A))return r(A)}(O)||function(A){if("u">typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(O)||function(A){if(A){if("string"==typeof A)return r(A,void 0);var e=Object.prototype.toString.call(A).slice(8,-1);if("Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(A,void 0)}}(O)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),visibleWhen:function(A){return U(y)(A)&&A.values.oedemaType===g}},{id:"pallorLocation",label:"Pallor location",conceptUuid:n("5245"),type:"radio",section:"objective",required:!0,answers:[o("516","Conjunctiva"),o("139729","Tongue"),o("150825","Palmar creases"),o("157876","Nail beds"),o("112938","Skin (general)")],visibleWhen:U(h)},{id:"pallorGrading",label:"Pallor grading",conceptUuid:n("5245"),type:"radio",section:"objective",required:!0,answers:O,visibleWhen:U(h)},{id:"generalExamNotes",label:"General examination notes",conceptUuid:n("160430"),type:"textarea",section:"objective"},{id:"syStemsRevieW",label:"Findings on systemic examination",conceptUuid:n("159615"),type:"radio",section:"objective",required:!0,answers:[o("1115","All systems normal"),o("1116","Abnormal")]},{id:"allsystemReview",label:"System examination",conceptUuid:n("1069"),type:"multi",section:"objective",answers:[o("160947","Abdominal"),o("112101","CNS"),o("163046","CVS"),o("166442","ENT"),o("119235","Endocrine"),o("850a960b-e8b5-4775-ba74-aaddb2abbf51","Eye"),o("166363","Genitourinary / pelvic"),o("133613","Musculoskeletal"),o("160689","Respiratory"),o("160981","Skin")],visibleWhen:function(A){return A.values.syStemsRevieW===v}},{id:"abdoMenFindNoteS",label:"Abdomen findings notes",conceptUuid:n("160948"),type:"textarea",section:"objective",visibleWhen:C(n("160947"))},{id:"CnSNotES",label:"CNS findings notes",conceptUuid:n("160994"),type:"textarea",section:"objective",visibleWhen:C(n("112101"))},{id:"cVsNoTes",label:"CVS findings notes",conceptUuid:n("163046"),type:"textarea",section:"objective",visibleWhen:C(n("163046"))},{id:"EntfinDingsNotes",label:"ENT findings notes",conceptUuid:"462bfb69-b97e-425c-b387-ddd3a5c8653c",type:"textarea",section:"objective",visibleWhen:C(n("166442"))},{id:"endocrinefindingsNotes",label:"Endocrine findings notes",conceptUuid:n("162169"),type:"textarea",section:"objective",visibleWhen:C(n("119235"))},{id:"EyeFinDingNotes",label:"Eye findings notes",conceptUuid:"850a960b-e8b5-4775-ba74-aaddb2abbf51",type:"textarea",section:"objective",visibleWhen:C("850a960b-e8b5-4775-ba74-aaddb2abbf51")},{id:"GenItouriNaryFinoTeS",label:"Genitourinary / pelvic findings notes",conceptUuid:n("163047"),type:"textarea",section:"objective",visibleWhen:C(n("166363"))},{id:"musculoskeletalFindingNotes",label:"Musculoskeletal findings notes",conceptUuid:n("163048"),type:"textarea",section:"objective",visibleWhen:C(n("133613"))},{id:"ChestfiNdinGsNotes",label:"Respiratory findings notes",conceptUuid:n("163042"),type:"textarea",section:"objective",visibleWhen:C(n("160689"))},{id:"SkInNotes",label:"Skin findings notes",conceptUuid:n("160981"),type:"textarea",section:"objective",visibleWhen:C(n("160981"))},{id:"reviewOfInvestigations",label:"Review of investigations",conceptUuid:"d1ef9c04-d3f2-44d6-9aa6-4c3d9bd9b498",type:"textarea",section:"objective"},{id:"clinicalInterpretation",label:"Clinical interpretation",conceptUuid:n("165399"),type:"textarea",section:"assessment",required:!0},{id:"ManagementPlan",label:"Treatment plan",conceptUuid:n("162749"),type:"textarea",section:"plan",required:!0},{id:"feedOrders",label:"Feeding orders",conceptUuid:n("985"),type:"multi",section:"plan",answers:[o("1107","None"),o("162798","Nasogastric tube feeding"),o("165951","Parenteral feeding"),o("165952","NPO (nil per oral)"),o("162758","Clear liquids"),o("5622","Others")],exclusiveAnswer:s},{id:"specifyTherapy",label:"Other feeding order (specify)",conceptUuid:n("160632"),type:"text",section:"plan",visibleWhen:function(A){return T(A,"feedOrders",l)}},{id:"referStO",label:"Destination",conceptUuid:n("1695"),type:"radio",section:"plan",answers:[o("1692","Discharge home"),o("1693","Transferring to another ward"),o("164165","Referring to another facility"),o("159","Deceased")]},{id:"tCAppoinTment",label:"Next review date",conceptUuid:n("167132"),type:"date",datetime:!0,section:"plan"}],M="finalDiagnosisId",E=function(A){return I.find(function(e){return e.id===A})}},84907(A,e,t){"use strict";t.d(e,{e:()=>r,u:()=>n});var a=t(81882),r={encounterTypeUuid:"b6569074-3b8c-43ba-bd4a-98c445405035",formUuid:"1f81d5e2-3569-40cf-bbb9-361a53ba409b"},i=function(A){return(0,a.TO)(A)},n={i18nPrefix:"nursingCardex",sections:[{key:"careTeam",label:"Care team",items:[{field:{id:"DoctorName",label:"Doctor's name",conceptUuid:i("1473"),type:"text",required:!0}},{field:{id:"PrimaryNurse",label:"Primary nurse",conceptUuid:i("166692"),type:"text",required:!0}}]},{key:"notes",label:"Nursing detailed notes",items:[{field:{id:"nursingNotes",label:"Notes",conceptUuid:i("164231"),type:"textarea",rows:8,required:!0}}]}]}},35045(A,e,t){"use strict";t.d(e,{S:()=>r,m:()=>n});var a=t(81882),r={encounterTypeUuid:"b6569074-3b8c-43ba-bd4a-98c445405035",formUuid:"56b3ca43-2687-49d4-a03e-1b4329fe0f63"},i=function(A){return(0,a.TO)(A)},n={i18nPrefix:"nursingCarePlan",sections:[{key:"carePlan",label:"Care plan",items:[{field:{id:"assessmentDate",label:"Assessment date",conceptUuid:i("160753"),type:"date",required:!0}},{field:{id:"nursingDiagnosis",label:"Nursing diagnosis",conceptUuid:i("161602"),type:"text",required:!0}},{field:{id:"goalExpectedOutcome",label:"Goal / expected outcome",conceptUuid:i("160632"),type:"textarea",rows:5,required:!0}},{field:{id:"interventionPlanOfAction",label:"Intervention / plan of action",conceptUuid:i("164378"),type:"textarea",rows:5,required:!0}},{field:{id:"rationale",label:"Rationale",conceptUuid:i("163104"),type:"textarea",rows:5}},{field:{id:"implementation",label:"Implementation",conceptUuid:i("160531"),type:"textarea",rows:5,required:!0}},{field:{id:"evaluation",label:"Evaluation",conceptUuid:i("163756"),type:"textarea",rows:5,required:!0}}]}]}},19902(A,e,t){"use strict";t.d(e,{$x:()=>n,ID:()=>k,R8:()=>K,oC:()=>x});var a=t(81882);function r(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}function i(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(A){return Object.getOwnPropertyDescriptor(t,A).enumerable}))),a.forEach(function(e){var a;a=t[e],e in A?Object.defineProperty(A,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):A[e]=a})}return A}var n={encounterTypeUuid:"6f82e9c7-35e0-4391-8ca7-1742e9a2f35f",encounterTypeName:"NICU Admission Notes",encounterTypeDescription:"NICU admission clerking; one encounter per admission note.",formUuid:""},o=function(A){return(0,a.TO)(A)},c=function(A,e,t){return i({conceptUuid:A.includes("-")?A:o(A),label:e},void 0!==t?{score:t}:{})},d=[c("1065","Yes"),c("1066","No"),c("1067","Unknown")],l=function(A,e,t,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return{field:i({id:A,label:e,conceptUuid:t,type:"select",answers:a},r)}},s=function(A,e,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{field:i({id:A,label:e,conceptUuid:t,type:"number",min:0},a)}},u=function(A,e,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{field:i({id:A,label:e,conceptUuid:t,type:"text"},a)}},b=function(A,e,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{field:i({id:A,label:e,conceptUuid:t,type:"textarea",rows:3},a)}},f=[c("703","Positive"),c("664","Negative"),c("1067","Unknown")],p=[c("164835","Labour ward"),c("164834","Theatre"),c("477a7484-0f99-4026-b37c-261be587a70b","External referral"),c("5622","Other")],m=[c("159913","Singleton"),c("21b01e5d-f8ef-4587-b04d-82eef085a20d","Twin"),c("159915","Triplet")],y=[c("1537","Facility"),c("1536","Home"),c("80004061-426b-4d7c-bff0-1e6ce68478fd","Born Before Arrival")],h=[c("01eddbbc-6761-464a-a3bd-6507c15d2856","Blue or pale = 0",0),c("149966","Acrocyanosis = 1",1),c("dd99d911-e4f0-4afb-8d37-1d1603a8b154","Completely pink = 2",2)],g=[c("150518","Absent = 0",0),c("34dc2808-dc57-4fc3-94ec-63e9fbcca464","<100 bpm = 1",1),c("431d44a2-7c18-4691-bb02-93e7171fab4f","≥100 bpm = 2",2)],v=[c("164455","No response = 0",0),c("684ac0c3-eb99-431b-b7ab-d2032e0a545c","Grimace = 1",1),c("6c3fe27d-30d8-47fe-8738-ad385d8247df","Cry / active withdrawal = 2",2)],S=[c("501","Limp = 0",0),c("83891b7c-1332-4ba2-9ba5-0ba10fb6dc89","Some flexion = 1",1),c("928060bb-5113-49f9-97ea-d4de39b27495","Active motion = 2",2)],O=[c("150518","Absent = 0",0),c("d03fe290-c0ce-46e7-85ce-8b5ca334fc1d","Weak cry, irregular, hypoventilation = 1",1),c("5c4a660e-21ba-49e2-9474-972fa8ca91de","Good cry = 2",2)],T=[1,5,10,15,20],U=["Appearance","Pulse","Grimace","Activity","Respiration"],C=function(A,e){return"apgar".concat(A).concat(e)},P=function(A){return"apgar".concat(A,"Min")},R={Appearance:{label:"Appearance",conceptUuid:"86e1c5ce-ea6c-4bbc-a54c-76fe2611f3f6",answers:h},Pulse:{label:"Pulse (heart rate)",conceptUuid:"3475e4e4-c27b-4779-b088-170c973a8a36",answers:g},Grimace:{label:"Grimace (reflex irritability)",conceptUuid:"405d3925-75e1-4193-adc7-71df49942efb",answers:v},Activity:{label:"Activity (muscle tone)",conceptUuid:"d7cd3861-5498-4393-8372-56aefc2c4abb",answers:S},Respiration:{label:"Respiration",conceptUuid:"642b4bf8-eba1-4172-9ec2-7d32a81d2087",answers:O}},w={1:o("159603"),5:o("159604"),10:o("159605"),15:"5a2ac746-78df-4e70-a1b0-6ed0d5568d35",20:"affae2a2-0c06-41a2-8db2-ee9b1060025c"};function k(A){var e=i({},A),t=!0,r=!1,n=void 0;try{for(var o,c=T[Symbol.iterator]();!(t=(o=c.next()).done);t=!0){var d=o.value;e[P(d)]=function(A,e){var t=0,r=!1,i=!0,n=!1,o=void 0;try{for(var c,d=U[Symbol.iterator]();!(i=(c=d.next()).done);i=!0){var l=c.value,s=C(e,l),u=function(A,e){if(!(null==e?void 0:e.trim())||!(null==A?void 0:A.length))return null;var t=A.find(function(A){return A.conceptUuid===e||(0,a.TO)(A.conceptUuid)===(0,a.TO)(e)});if(!t)return null;if("number"==typeof t.score)return t.score;var r=/=\s*(\d+)\s*$/.exec(t.label);return r?Number(r[1]):null}(R[l].answers,A[s]);null!=u&&(r=!0,t+=u)}}catch(A){n=!0,o=A}finally{try{i||null==d.return||d.return()}finally{if(n)throw o}}return r?String(t):""}(e,d)}}catch(A){r=!0,n=A}finally{try{t||null==c.return||c.return()}finally{if(r)throw n}}return e}function x(A){return T.some(function(e){return U.some(function(t){return A===C(e,t)})})}var D=[c("1170","Spontaneous vaginal"),c("118159","Assisted vaginal"),c("1171","Caesarean section"),c("5622","Other")],N=[c("159484","Clear"),c("134488","Meconium-stained"),c("1077","Blood-stained"),c("5622","Other"),c("1067","Unknown")],I=[c("1107","None"),c("167384","Stimulation"),c("167383","Bag-mask ventilation"),c("f94ee1a2-5347-4d64-9132-504283e5399a","Intubation"),c("caadbe4d-655b-45e6-aede-3a658b949fca","Chest compressions"),c("5622","Other")],M=[c("159438","Well"),c("123807","Ill"),c("164830","Critical")],E=[c("ca5b9ce6-ae28-433d-87f0-bd9e4e073ef9","Pink"),c("5245","Pale"),c("136443","Jaundiced"),c("96a12f0c-ba52-455b-bbb4-db12f7e9ee5e","Central cyanosis"),c("167236","Peripheral cyanosis"),c("90e26e52-b0bd-49e2-99cd-134146b3c60c","Mottled")],j=[c("4e2a7f8c-225b-4681-aa03-8c8c42b98bd4","Soft / flat"),c("1836","Bulging"),c("162507","Sunken"),c("5622","Other")],F=[c("1115","Normal"),c("113950","Hypotonia"),c("117202","Hypertonia"),c("140075","Flaccid")],B=[c("1115","Normal"),c("125061","Tachypnoea"),c("cc2c9fbc-629e-4ee6-90d0-663d2e70a389","Retractions"),c("8b607b1a-b5d8-462a-b862-1d577222ba51","Grunting"),c("148517","Apnoea"),c("5622","Other")],V=[c("d9e67739-a18b-4636-ad1c-723c52107038","Equal"),c("de326d7e-5a31-4486-9c23-33d1f5dcfb85","Reduced right"),c("e4d01246-7cc5-44ac-bf32-70eaa20ea4a9","Reduced left"),c("4c84319f-e94f-44b9-a3d6-04bb640a7d1b","Reduced bilateral"),c("5622","Other")],_=[c("1115","Normal"),c("139063","Murmur"),c("1116","Abnormal"),c("160737","Not assessed")],q=[c("54d3b938-5f92-4b05-8a08-0c7b0d8348ef","Soft"),c("9c31d5b6-9983-469a-badc-963376f1b3a5","Distended"),c("d0085fc7-fab6-4f99-b899-52d13e7a1d71","Tense"),c("5105","Tender"),c("5622","Other")],G=[c("1115","Normal"),c("c65ea184-9f42-4ba6-a7fe-e750c823fda1","Redness"),c("123843","Discharge"),c("123844","Bleeding"),c("5622","Other")],H=[c("163456","LGA = Large for Gestational Age"),c("163455","AGA = Appropriate for Gestational Age"),c("163454","SGA = Small for Gestational Age")],W=[c("639","A"),c("641","B"),c("640","AB"),c("642","O"),c("1067","Unknown"),c("5622","Other")],L=[c("703","Positive"),c("664","Negative"),c("1067","Unknown")],z=o("1107"),$=function(A){var e,t=null!=(e=A.multi.resuscitationProvided)?e:[];return!!t.length&&!t.some(function(A){return(0,a.TO)(A)===z})},K={i18nPrefix:"pediatricAdmissionNotes",hideVisitDate:!0,sections:[{key:"doctorAssessment",label:"Doctor admission assessment",items:[l("admissionSource","Admission source","580deb67-9b2f-4cf1-94aa-56c806ca72ee",p),{field:{id:"nicuAdmissionDatetime",label:"NICU admission date/time",conceptUuid:o("1640"),type:"date",datetime:!0,withTime:!0,date:{noFuture:!0}}},s("gestationalAgeWeeks","Gestational age at birth (weeks)",o("1409")),s("ballardScore","Ballard score","8bf5cc10-0f13-42ff-a011-bcc2b68905b9"),s("birthWeightKg","Birth weight (kg)",o("5916"),{}),s("headCircumferenceCm","Head circumference (cm)",o("163555")),s("lengthCm","Length (cm)",o("1503")),l("sizeForGestationalAge","Size for Gestational Age",o("163453"),H),l("deliveryOutcome","Delivery outcome","a31c260a-ac44-402b-8062-71103fe9c17b",m),l("placeOfBirth","Place of birth",o("1572"),y)]},{key:"apgarScores",label:"APGAR Score assessments",items:T.flatMap(function(A){var e;return((function(A){if(Array.isArray(A))return r(A)})(e=U.map(function(e){var t=R[e];return l(C(A,e),"".concat(A," min — ").concat(t.label),t.conceptUuid,t.answers)}))||function(A){if("u">typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(e)||function(A){if(A){if("string"==typeof A)return r(A,void 0);var e=Object.prototype.toString.call(A).slice(8,-1);if("Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(A,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([{field:{id:P(A),label:"Total APGAR Score (".concat(A," min)"),conceptUuid:w[A],type:"number",min:0,max:10,readOnly:!0}}])})},{key:"maternalHistory",label:"Maternal and antenatal history",items:[s("maternalAgeYears","Maternal age (years)",o("164168")),u("gravidityParity","Gravidity / parity",o("160632"),{}),l("antenatalAttendance","Antenatal attendance",o("1592"),d),l("maternalBloodType","Maternal blood type",o("300"),W),l("maternalHivStatus","Maternal HIV status",o("1396"),f),l("maternalVdrlStatus","Maternal VDRL test status",o("299"),L),l("maternalHbsagStatus","Maternal HBsAg test status",o("159430"),L),l("maternalInfectionFever","Maternal infection / fever","aa428b4e-8011-4bc9-a625-66878fe8bab2",d),u("gestationalComplications","Gestational complications","5712fc0e-b24c-4cc7-bd77-d63e8f0baef1"),u("maternalMedications","Maternal medications",o("160632")),b("antenatalInvestigations","Relevant antenatal investigations and conditions","63c9e42c-d8ea-4fb3-a664-864629c9d787")]},{key:"labourDelivery",label:"Labour, delivery and neonatal resuscitation",items:[l("modeOfDelivery","Mode of delivery",o("5630"),D),l("liquor","Liquor","",N),l("membranesArtificiallyRuptured","Membranes artificial ruptured",o("163445"),d),s("durationRomHours","Duration of ROM (hours)",o("167149")),l("criedBreathedAtBirth","Cried / breathed at birth",o("1894"),d),function(A,e,t,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return{field:i({id:A,label:e,conceptUuid:t,type:"multi",answers:a},r)}}("resuscitationProvided","Resuscitation provided","",I,{exclusiveAnswer:z}),b("resuscitationComplications","Resuscitation complications","7bbfd36f-a441-4406-b0b4-f263c6d01953",{visibleWhen:function(A){return $(A)}})]},{key:"vitalSigns",label:"Vital signs",items:[s("admissionTemperatureC","Temperature (\xb0C)",o("5088")),s("admissionHeartRate","Heart rate (bpm)",o("5087")),s("admissionRespiratoryRate","Respiratory rate (breaths/min)",o("5242")),s("admissionSpo2","SpO₂ (%)",o("5092")),s("admissionSystolicBp","Systolic BP (mmHg)",o("5085")),s("admissionDiastolicBp","Diastolic BP (mmHg)",o("5086"))]},{key:"examination",label:"Present illness and initial examination",items:[b("presentingHistory","Presenting history and prior treatment","e93e7e29-ba89-4b8b-a856-7cdae5dd52de"),l("generalCondition","General condition","683dfbf3-4978-40b2-a09f-a8f358a70ecc",M),l("colour","Colour","99880bb5-4266-4a84-838c-411b1ccfb0b9",E),l("fontanelle","Fontanelle","99c5c913-d0db-4685-ab67-4d1882787e31",j),l("tone","Tone","1dedbd22-ef8e-4efe-ab9e-6df0538b6e36",F),l("respiratoryEffort","Respiratory effort","",B),l("airEntry","Air entry","13bc2fd5-60d4-4306-8964-4f02553a7149",V),l("heartSounds","Heart sounds","f9ce7180-82d2-4606-b2d9-9d4ee52686b7",_),l("abdomen","Abdomen","ed15c6c9-f215-459b-bd9d-a8e31996f4b5",q),l("umbilicalCord","Umbilical cord","c33b1efc-cf71-4816-b8d0-e79bf5b9dd20",G),b("spinalAnalExam","Spinal and anal examination findings",o("160632")),b("genitourinaryExam","Genitourinary examination",o("160632")),b("extremitiesExam","Extremities examination",o("160632")),b("otherExaminationFindings","Other examination findings","a2dfca15-1e76-488c-8dae-a9719918bd66")]},{key:"impressionPlan",label:"Clinical impression and initial plan",items:[b("workingImpression","Working impression / provisional diagnosis","9046efb1-0a0f-4d2a-831e-ce8e4859d9c3"),b("stabilization","Stabilization undertaken / required","11b8d803-f2dd-41e9-bd97-1dfc14171672"),b("initialManagementPlan","Initial management plan","44228dc6-cf4d-4b2b-9177-da1552ddefec")]}]}},34069(A,e,t){"use strict";t.d(e,{ae:()=>f,es:()=>n,zo:()=>m});var a=t(81882);function r(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(A){return Object.getOwnPropertyDescriptor(t,A).enumerable}))),a.forEach(function(e){var a;a=t[e],e in A?Object.defineProperty(A,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):A[e]=a})}return A}function i(A,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(e)):(function(A){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(A);e.push.apply(e,t)}return e})(Object(e)).forEach(function(t){Object.defineProperty(A,t,Object.getOwnPropertyDescriptor(e,t))}),A}var n={encounterTypeUuid:"584ecd55-35da-48bf-806e-dc790a4c45d4",encounterTypeName:"NICU/PICU Discharge",encounterTypeDescription:"NICU / PICU discharge summary; one encounter per discharge form.",formUuid:""},o=function(A){return(0,a.TO)(A)},c=function(A,e){return{conceptUuid:A.includes("-")?A:o(A),label:e}},d=c("ea5a4820-b1a0-413b-b6f0-9c2fc041e9d5","Discharge home"),l=c("a7d482aa-06b9-4ee3-9923-c2c3770e8f8b","Transfer to another unit (same facility)"),s=c("164165","Referral to another facility"),u=[d,l,s,c("159","Deceased"),c("1694","Discharge against medical advice / caregiver request"),c("5622","Other")],b=function(A){return function(e){return(0,a.TO)(e.values.outcomeDestination)===(0,a.TO)(A)}},f={i18nPrefix:"pediatricDischargeForm",hideVisitDate:!0,sections:[{key:"demographics",label:"Stay and growth",items:[{field:{id:"admissionDate",label:"Date of admission",conceptUuid:o("1640"),type:"date",datetime:!0,date:{noFuture:!0}}},{field:{id:"dischargeDate",label:"Date of discharge",conceptUuid:o("1641"),type:"date",datetime:!0,required:!0,date:{noFuture:!0,notBeforeVisit:!0}}},{field:{id:"ageAtAdmission",label:"Age at admission",conceptUuid:"33412420-b4dd-4117-a629-827a92aca01d",type:"number",min:0}},{field:{id:"ageAtDischarge",label:"Age at discharge",conceptUuid:"786f4c34-ff07-4609-8381-ebcfc9bf2268",type:"number",min:0}},{field:{id:"gestationalAge",label:"GA (gestational age at birth, weeks)",conceptUuid:o("1409"),type:"number",min:0}},{field:{id:"correctedGa",label:"Corrected GA at discharge",conceptUuid:"808b3046-eadc-4a29-b287-e6fc05274f40",type:"number",min:0}},{field:{id:"birthWeightKg",label:"Weight at birth (kg)",conceptUuid:o("5916"),type:"number",min:0}},{field:{id:"currentWeightG",label:"Current weight (g)",conceptUuid:"c18ae663-0d44-47d8-8750-9b50defba24f",type:"number",min:0}},{field:{id:"headCircumferenceBirth",label:"Head circumference at birth (cm)",conceptUuid:o("163555"),type:"number",min:0}},{field:{id:"currentHc",label:"Current HC (cm)",conceptUuid:"71b44cd5-8f35-49fa-aece-9c7eae8950aa",type:"number",min:0}},{field:{id:"lengthAtBirth",label:"Length at birth (cm)",conceptUuid:o("1503"),type:"number",min:0}},{field:{id:"currentLength",label:"Current length (cm)",conceptUuid:"221911ff-a9d6-4bb8-9e39-68c8587ae293",type:"number",min:0}}]},{key:"clinical",label:"Clinical summary",items:[{field:{id:"maternalIssues",label:"Main maternal issues",conceptUuid:"02ae5bda-8431-484c-ab35-c03714bf1ca7",type:"textarea",rows:3}},{field:{id:"investigations",label:"Investigations done and results",conceptUuid:"",type:"textarea",rows:3}},{field:{id:"treatments",label:"Treatments given in the hospital",conceptUuid:"",type:"textarea",rows:3}},{field:{id:"physicalExam",label:"Physical examination findings at discharge",conceptUuid:"b063b0c3-f0c3-4000-93eb-52e1abdd55e2",type:"textarea",rows:3}},{field:{id:"advicesGiven",label:"Advices given",conceptUuid:"3bbbae94-07df-4162-8cdc-2c3474528b93",type:"textarea",rows:3,required:!0}},{field:{id:"feedingOnDischarge",label:"Type of feeding on discharge",conceptUuid:"825ea7eb-bab9-4471-b348-20dfd68f1f07",type:"text"}},{field:{id:"outcomeDestination",label:"Outcome / destination",conceptUuid:o("1695"),type:"select",required:!0,answers:u}},{field:{id:"transferWard",label:"Transfer to ward",conceptUuid:o("160632"),type:"text",control:"wardSelect",required:!0,visibleWhen:function(A){return b(l.conceptUuid)(A)}}},{field:{id:"referralFacility",label:"Referral facility",conceptUuid:o("160632"),type:"text",control:"facilitySelect",required:!0,visibleWhen:function(A){return b(s.conceptUuid)(A)}}},{field:{id:"referralReason",label:"Reason for transfer / referral",conceptUuid:o("160632"),type:"textarea",rows:3,required:!0,visibleWhen:function(A){return b(s.conceptUuid)(A)}}},{field:{id:"appointmentDate",label:"Appointment date",conceptUuid:"",type:"date",control:"appointmentLauncher",date:{noFuture:!1}}}]}]},p=function(A){return f.sections.flatMap(function(A){return A.items}).flatMap(function(e){return"field"in e&&e.field.id===A?[e.field]:[]})[0]},m={i18nPrefix:"pediatricDischargeForm",hideVisitDate:!0,sections:[{key:"stopDischarge",label:"Discharge form",items:[{field:i(r({},p("dischargeDate")),{required:!0})},{field:i(r({},p("advicesGiven")),{required:!0})},{field:p("outcomeDestination")},{field:p("transferWard")},{field:p("referralFacility")},{field:p("referralReason")},{field:p("appointmentDate")}]}]}},5004(A,e,t){"use strict";t.d(e,{CR:()=>i,N2:()=>c,fg:()=>r,pG:()=>d,s:()=>o});var a=t(81882),r=4,i="Other",n=function(A){return(0,a.TO)(A)},o={time:n("162869"),infusionFluid:n("161911"),infusionFluidOther:n("160632"),lineAccessType:"2cf3fb66-57da-4bcc-acaa-389a96a5763e",site:"c5589cd8-936a-4771-8b5c-895c23a1894c",rate:n("165987"),volumeGiven:n("166650"),pressure:"008bf719-6c0d-4a61-b5eb-d8bb7da058f9",siteCheck:"24fac972-423e-46a2-8d91-535cd5c912fc",lineChange:"02d45669-f534-4e7b-9642-4cf5e3ef95d4",status:"c6843ebf-15a9-4b32-aaae-4b0f422a3391",actionTaken:n("164378"),initials:n("166691"),prescribedMlPerKgDay:n("162659"),weightKg:n("5089"),comments:n("160632")},c={infusionFluid:[{value:"10% Dextrose",uuid:n("161922")},{value:"5% Dextrose",uuid:n("161250")},{value:"10% Dextrose + electrolytes",uuid:"549d9b3d-32a1-46db-8a7e-ed7ec4eb02fa"},{value:"0.9% Sodium chloride",uuid:n("80804")},{value:"0.45% Sodium chloride + 5% Dextrose",uuid:"ca77ade7-0a53-40e1-8105-6457ffe6d018"},{value:"Ringer's lactate",uuid:n("78617")},{value:"Blood / blood products",uuid:"209f5fbc-63bd-4757-a438-c830bf7ba5d3"},{value:i,uuid:n("5622")}],lineAccessType:[{value:"Peripheral IV cannula",uuid:n("166004")},{value:"Umbilical venous catheter (UVC)",uuid:"9d9d98eb-525b-4345-bb6d-03d09a904b78",wards:["nicu"]},{value:"Umbilical arterial catheter (UAC)",uuid:"ad2c9434-b546-418b-8590-4bc99ba9e3f0",wards:["nicu"]},{value:"PICC line",uuid:n("166132")},{value:"Central venous catheter",uuid:n("162625")},{value:"Arterial line",uuid:"fa7cbb4a-bfb1-4ce3-a52d-73cd7b5aab6e"},{value:"Intraosseous",uuid:n("162624")}],site:[{value:"Left hand",uuid:"1440a839-b8a9-403c-8e68-74e046329c8f"},{value:"Right hand",uuid:"b7ff7a6b-6dd0-411e-a160-68ece7ddd895"},{value:"Left forearm",uuid:"93eff7ae-62a8-4a9f-97e2-bbff2b3f59f3"},{value:"Right forearm",uuid:"7184b325-6ff1-4155-879f-fec4a95730f2"},{value:"Left foot",uuid:"408fb546-a429-4406-b50e-5a2bdc0ed823"},{value:"Right foot",uuid:"25315d05-92ef-418f-825c-260ac8b50510"},{value:"Scalp",uuid:n("166309"),wards:["nicu"]},{value:"Umbilicus",uuid:"3f196992-7e2d-484b-a365-182439eb5a0b",wards:["nicu"]},{value:"Femoral",uuid:"3a39d324-c5ce-4bb3-a917-bf8b9fc38bd3"},{value:"Jugular",uuid:"a66f515f-ac7e-423a-b1fd-73717b72b624"}],siteCheck:[{value:"Site clean, no redness",uuid:n("161917")},{value:"Redness",uuid:"c65ea184-9f42-4ba6-a7fe-e750c823fda1"},{value:"Swelling",uuid:n("163894")},{value:"Infiltration",uuid:"55886356-10e2-4f5f-95da-67fb9cd72c0a"},{value:"Extravasation",uuid:"073b86e6-6581-437c-8aee-aa7b49d0ab99"},{value:"Phlebitis",uuid:n("114176")},{value:"Blocked",uuid:"cb792d99-cff3-4060-a57d-084de842c045"}],lineChange:[{value:"No change",uuid:n("162679")},{value:"Line changed",uuid:"02d45669-f534-4e7b-9642-4cf5e3ef95d4"},{value:"Re-sited",uuid:"51d0640c-02d4-4bb2-88f2-8c387421456a"},{value:"Removed",uuid:"249de1fe-bed9-4250-8f16-0a027b5e4a21"}],status:[{value:"Running",uuid:"9902b9f5-417e-40bc-b79e-1a2211af7bf7"},{value:"Paused",uuid:"593b69e0-16b8-4315-ab3b-97a17789b686"},{value:"Completed",uuid:n("1267")},{value:"Stopped",uuid:"737fa73a-509f-40d8-9e84-91dc71db7f4c"}]};function d(A,e){return c[A].filter(function(A){return!A.wards||A.wards.includes(e)}).map(function(A){return A.value})}},86388(A,e,t){"use strict";t.d(e,{RS:()=>d,Vy:()=>o,eR:()=>l,xG:()=>c,y1:()=>s});var a=t(76298),r=t(3632);function i(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(A){return Object.getOwnPropertyDescriptor(t,A).enumerable}))),a.forEach(function(e){var a;a=t[e],e in A?Object.defineProperty(A,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):A[e]=a})}return A}function n(A,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(e)):(function(A){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(A);e.push.apply(e,t)}return e})(Object(e)).forEach(function(t){Object.defineProperty(A,t,Object.getOwnPropertyDescriptor(e,t))}),A}var o={encounterTypeUuid:"13cef834-7572-4d66-92ad-087917f39a35",encounterTypeName:"NICU/PICU Feeding Prescription",encounterTypeDescription:"NICU / PICU feeding prescription; one encounter per saved prescription (weight, feed type, targets, route)."},c=["EBM","Donor breast milk","Fortified EBM","Term formula","Preterm formula","Breastfeed","Normal / soft diet","Nil by mouth","Other"],d={Oral:["Breast","Cup","Bottle","Oral",a.NZ],Enteral:["NG tube","OG tube","NJ tube","PEG / gastrostomy","Jejunostomy",a.NZ],Parenteral:["Peripheral IV","Central line (CVC)","PICC",a.NZ],Combination:["Breast","Cup","Bottle","Oral","NG tube","OG tube","NJ tube","PEG / gastrostomy","Jejunostomy","Peripheral IV","Central line (CVC)","PICC",a.NZ]},l=n(i({},a.o$),{weightKg:"5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",feedType:"898fc542-afb2-40b0-8be1-e80d0a4fdd65",feedTypeOther:"ec94f088-9db0-4267-b9a7-f242ccff3adb",waterFlush:"488634d8-080c-4fb5-85dc-4a8c0ce9b702"}),s=n(i({},a.e),{feedType:i({},r.x.nutritionFeedType),route:n(i({},a.e.route),{Breast:"166201AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Cup:"57758e62-5111-4844-8724-0f195fa7cb25",Bottle:"164477AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"})})},3632(A,e,t){"use strict";t.d(e,{j:()=>a,x:()=>r});var a={temperature:"5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",temperatureRoute:"167231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",heartRate:"5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",respiratoryRate:"5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",spo2:"5092AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",spo2ProbeChanged:"",systolic:"5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",diastolic:"5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",meanArterialPressure:"163187AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",nipsFacialExpression:"166932AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",nipsCry:"3a2e3f73-6b1d-41c3-9135-f121d9e5ee56",nipsBreathingPattern:"e475dca6-89f8-48e1-b00f-72e8807f444b",nipsArms:"b8e6412c-6fdd-4577-a908-49bfa40923b8",nipsLegs:"73dac69a-1653-4523-9d12-f1884a6f268c",nipsStateOfArousal:"",painNips:"0674241e-35be-4b3a-a625-f6de1d4b5a86",painFlacc:"166588AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bloodGlucose:"887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",respiratorySupportType:"5b0ce2ef-ef5d-47c9-ab05-21e441327f4b",supportStartDatetime:"162601AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",supportStopDatetime:"8341fd85-86d7-4a3f-99fb-6e2bfebe2455",sampleType:"77eedd62-28a7-4ead-a24e-7cbdd6391784",ph:"165984AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",pco2:"163595AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",po2:"163598AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hco3:"163596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",baseExcess:"163599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",lactate:"1012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ventilatorMode:"165932AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",cpapInterface:"56bac0b6-f601-44cc-9343-a2a4262ee297",o2Flow:"165986AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fio2:"165927AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",volumeGuarantee:"dccc11b8-9555-497f-989d-01fb561489d0",tidalVolume:"60800c98-3b70-4606-a689-34815d2e0b1d",minuteVolume:"1d109b10-7b30-4bfa-8a7c-6ecb73357fc2",pip:"fd370732-6756-42b5-bbae-96eb8a4744ee",peep:"bc3834dc-150f-467e-96f9-17081374371a",setRate:"2c8f5873-ff5d-44be-8453-d029ad79db4f",triggerBreaths:"f7814467-6d0d-4935-a4e9-fe56f43f346d",inspiratoryTime:"2602cea4-1703-485d-be39-fc162ee1de72",expiratoryTime:"0db0bc62-d1ac-4f49-92f5-454a9d037e79",ieRatio:"c819e7e5-b0b3-4ed5-9411-8e869c74020e",deltaPressure:"b30f5309-fb15-4598-a0d6-385a5be243b2",meanAirwayPressure:"5c786303-277d-4d5a-b75a-c9efa42c2ece",hfovH2o:"d5b53c05-7aaa-40db-8ee1-70dc40389859",expiredTidalVolume:"47a8f05a-934f-43cf-82d4-aa50f26d8e81",expiredMinuteVolume:"406ed977-7105-454e-b0cb-d65cadc75540",leakPercent:"aa655410-f9f5-42a0-bac1-060b0ab98d15",humidifierTemperature:"9320ccef-5720-41ce-8a54-a9efdaa0674a",suctionPerformed:"98f1336e-cbad-405c-9085-62cad91d5b09",secretions:"fecc7635-2662-40f0-b0b8-051a19cb647e",recession:"642b4bf8-eba1-4172-9ec2-7d32a81d2087",airEntry:"13bc2fd5-60d4-4306-8964-4f02553a7149",nasalSkin:"",downesScore:"e83bce71-36e0-47aa-a461-bf62dfca66ec",respiratoryDistressScore:"e83bce71-36e0-47aa-a461-bf62dfca66ec",apnoea:"",capillaryRefill:"e5e30c42-b5de-4b1f-966f-08ce56a63d91",peripheralPulses:"3475e4e4-c27b-4779-b088-170c973a8a36",peripheralPerfusion:"d8021de4-83d7-4e8d-9ab7-27b613224316",inotropeAgent:"",inotropeDose:"",gcs:"160347AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",incubatorTemperature:"89d287ed-f86f-4092-9097-429f5e8a1ce7",incubatorHumidity:"ebd15eb4-6cda-4368-94c7-eb5c77a2c360",generalState:"f7676b07-20ad-47c7-89c9-b745bca49263",posture:"dc94a788-de10-417d-aac8-0aed5ba3b806",fontanelle:"162505AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",eyesExam:"163309AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",mouthExam:"163308AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",mouthExamOther:"15078057-2bff-45c9-ad79-dba629cc4945",umbilicalCord:"c33b1efc-cf71-4816-b8d0-e79bf5b9dd20",perineum:"160084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",breathSounds:"b3b5cab7-448f-45d0-b70f-dbb01c95dd9e",cardiovascularPerfusion:"",capillaryRefillTime:"162513AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",skin:"1120AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",abdomen:"160949AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bowelSounds:"38cd4e32-8cfc-4ab4-a0c1-962b8949a1ab",abnormalFindings:"161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",muscleTone:"bafa2000-3fbc-4b44-93ca-c15b05270b71",seizureActivity:"88d81546-346a-43a0-84fc-23b077b70f12",seizureType:"161249AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",motorReflexes:"edc3a4ad-eda4-451e-b0d7-ba5c6a54b639",phototherapyType:"",methodOfCaring:"fb221199-7929-43b7-9428-23c6519f7c32",sucking:"0bb3e5c2-e7b5-4845-85b1-8362d0b11d77",clinicalNotes:"358b95b5-f323-4718-8045-10ff5af108e4",assessmentDatetime:"5797c12e-02e1-421c-813d-0eeebfe5bda6",shift:"f51a171c-6b8d-474a-a026-ce3d5e45a483",clinicalEscalationAt:"c2958f13-414b-4f14-8754-e4c983d2b65a",prescribedVolume:"6fa0eb9b-a1dd-4520-9d77-571cdb0bf03e",prescribedRate:"162523AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",nutritionFeedType:"898fc542-afb2-40b0-8be1-e80d0a4fdd65",nutritionFeedTypeOther:"ec94f088-9db0-4267-b9a7-f242ccff3adb",nutritionFeedRoute:"",nutritionFeedRouteOther:"41bca2a7-56bb-4ade-ab3d-9b7d655c091c",amountOffered:"14c02de9-542a-4e89-9432-ae76b9575f9d",feedGiven:"bdb4ada7-b4cb-4734-bb43-411deb65f1f9",breastfeedDuration:"fff30afa-9d30-4e58-bdf7-0e69d10e09fa",gastricAspirate:"",gastricAspirateType:"",gastricAspirateTypeOther:"977e5b62-45aa-48b7-a111-e9c9c931a60d",vomitingEpisodes:"5455e3a6-c864-4624-addb-86f391234714",vomitingType:"95bb823d-10ae-4a4c-bfab-0d7b54641b33",vomitingTypeOther:"d9a7a42d-daf4-4d22-9b3b-9f49affb48af",tubePosition:"c10b2789-52f6-4100-bd42-b037699751e3",abdominalCondition:"1125AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",abdominalConditionOther:"160947AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",abdominalGirth:"b3a2b9af-7c00-4c21-a0f3-8f36d332397a",stoolPassed:"ccf044f4-0751-4c3e-8be8-613089a69240",stoolPassedOther:"3ffeb013-0dc2-4ce3-95bb-bf87887c4c45",urinePassed:"161929AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",feedRemarks:"163189AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",totalFeedVolume24h:"74e52e41-88cd-4ba2-83e8-ba584aafe024",weightKg:"5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",feedingPlan:"9264a545-5952-42e4-bf1b-c2086aace596",nutritionConcern:"eabeb62d-bbe0-4cf2-a7e9-8a635856dab8",actionPlan:"44228dc6-cf4d-4b2b-9177-da1552ddefec",growthComment:""},r={temperatureRoute:{Axillary:"b46aa003-ab6a-4465-b911-9e92e4a5a54f","Skin probe":"408c7c0f-2906-447f-8128-fd27b9ca038c",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},nipsFacialExpression:{0:"3c41369b-56be-4e96-bb76-5c36fb0feb9c",1:"684ac0c3-eb99-431b-b7ab-d2032e0a545c","Relaxed = 0":"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Grimace = 1":"684ac0c3-eb99-431b-b7ab-d2032e0a545c",Relaxed:"3c41369b-56be-4e96-bb76-5c36fb0feb9c",Grimace:"684ac0c3-eb99-431b-b7ab-d2032e0a545c"},nipsCry:{0:"8a34b63b-b9be-4560-856f-28c6cebe0bbc",1:"d172379d-7a79-4f0e-bc17-b361b0f1fd77",2:"1ec9c42c-7e22-488e-84a7-4fb3253b0b58","No cry = 0":"8a34b63b-b9be-4560-856f-28c6cebe0bbc","Whimper = 1":"d172379d-7a79-4f0e-bc17-b361b0f1fd77","Vigorous cry = 2":"1ec9c42c-7e22-488e-84a7-4fb3253b0b58","No Cry":"8a34b63b-b9be-4560-856f-28c6cebe0bbc",Whimper:"d172379d-7a79-4f0e-bc17-b361b0f1fd77","Vigorous Cry":"1ec9c42c-7e22-488e-84a7-4fb3253b0b58"},nipsBreathingPattern:{0:"3c41369b-56be-4e96-bb76-5c36fb0feb9c",1:"fe6e1671-1de0-4970-ad3d-7f595cbfa617","Relaxed = 0":"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Change in breathing = 1":"fe6e1671-1de0-4970-ad3d-7f595cbfa617",Relaxed:"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Change in Breathing":"fe6e1671-1de0-4970-ad3d-7f595cbfa617"},nipsArms:{0:"3c41369b-56be-4e96-bb76-5c36fb0feb9c",1:"6621a456-2da9-410a-b422-e6d26fe98b33","Relaxed = 0":"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Flexed/extended = 1":"6621a456-2da9-410a-b422-e6d26fe98b33","Relaxed/Restrained":"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Flexed/Extended":"6621a456-2da9-410a-b422-e6d26fe98b33"},nipsLegs:{0:"3c41369b-56be-4e96-bb76-5c36fb0feb9c",1:"6621a456-2da9-410a-b422-e6d26fe98b33","Relaxed = 0":"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Flexed/extended = 1":"6621a456-2da9-410a-b422-e6d26fe98b33","Relaxed/Restrained":"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Flexed/Extended":"6621a456-2da9-410a-b422-e6d26fe98b33"},nipsStateOfArousal:{0:"3c41369b-56be-4e96-bb76-5c36fb0feb9c",1:"2e6541c6-27b1-404b-884d-a60b034fe7b0","Sleeping/Calm":"3c41369b-56be-4e96-bb76-5c36fb0feb9c",Fussy:"2e6541c6-27b1-404b-884d-a60b034fe7b0"},respiratorySupportType:{"No respiratory support":"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Oxygen therapy":"9e52ee7a-4f0b-450f-9d8c-b37aa49c6b49","Non-invasive positive-pressure support":"165936AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Invasive mechanical ventilation":"073121aa-fe3f-4b21-923a-3ffdb7c17035"},sampleType:{A:"67d9182c-7688-4eee-826f-4a17d6206437",C:"165889AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",V:"158d434a-c375-4227-9e9c-f3b7680de7c9",Arterial:"67d9182c-7688-4eee-826f-4a17d6206437",Capillary:"165889AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Venous:"158d434a-c375-4227-9e9c-f3b7680de7c9"},ventilatorMode:{"Room air":"162735AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Low-flow oxygen":"162738AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","SIPPV / AC":"a5d4bb14-4732-40b5-85c7-cfdb23abe63a","NIPPV / BiPAP":"165988AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",SIMV:"165942AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",CPAP:"165944AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",HFOV:"d5b53c05-7aaa-40db-8ee1-70dc40389859",PTV:"2b53a91d-e0dd-4cbc-baf8-90188876dfaa",CMV:"5a1cd030-d371-4b3a-a2f3-1e6b04072f69","PC/AC":"0cb45433-8cb1-42c6-9ac6-5c9e97e27476",PCV:"165943AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",VCV:"165939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Pressure support":"165943AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",PS:"165943AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",PAP:"155894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","High-flow nasal cannula":"167152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},cpapInterface:{"Nasal prongs":"10e19fa2-6fce-4924-b768-3c855a99d2b9","Nasal mask":"2c988f72-fee8-47f9-a5a8-6da1ca1dac16","Face mask":"480e533d-6c20-41f2-9531-5da9c60c1835","Head box":"970f4f8d-be16-4adb-ac69-f2dae4249c30","High-flow nasal cannula":"167152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Incubator oxygen":"e032f89e-bbb1-45ac-8e57-5dfc2bb70828","Nasopharyngeal tube":"3f43dd79-1998-4abb-bcbd-adfd1a178665","Endotracheal tube":"165935AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Tracheostomy:"872a3600-df1f-4a09-869c-f7cf77bd59a0"},suctionPerformed:{Yes:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",No:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},secretions:{None:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Clear:"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",White:"1075AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Yellow:"160910AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Green:"160909AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Blood-stained":"1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Scanty:"159985AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Moderate:"1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},recession:{Normal:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Substernal retractions (SS)":"fb018983-f02b-4d6b-bc7d-266c00e0b4e4","Subcostal retractions (SC)":"42812557-4564-47dd-bb42-6e4849988342","Intercostal retractions (IC)":"136768AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Tracheal tug (TT)":"1ae65a95-890d-4eb1-8161-36bc2a2b7a1d","Nasal flare (NF)":"94928fdc-4e8a-436c-97fa-9135deeb010a","Grunting (G)":"8b607b1a-b5d8-462a-b862-1d577222ba51",Apnoea:"148517AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Recession:"125898AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Subcostal recession":"162733AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Intercostal recession":"136768AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Nasal flaring":"a7821157-f400-442a-903f-91304a0777e0",Grunting:"156534AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},airEntry:{"Equal bilaterally":"eef4e958-2904-41ff-96a3-5077f68a45df","Reduced left":"162648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Reduced right":"de326d7e-5a31-4486-9c23-33d1f5dcfb85","Reduced bilaterally":"4c84319f-e94f-44b9-a3d6-04bb640a7d1b"},nasalSkin:{Intact:"164839AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Redness:"c65ea184-9f42-4ba6-a7fe-e750c823fda1",Blanching:"b23fc843-347b-477f-b7c9-2d81e6f67ed6","Pressure mark":"ecf087be-4ed3-4651-8782-780336bdfaa4","Skin breakdown":"723ddb60-4d9a-44ab-87cc-511e765c3e59"},capillaryRefill:{"≤ 3 seconds":"8e654f5a-2f42-4831-a0e5-38cebae5f6e6","> 3 seconds":"5919faaa-cb2a-4307-93b2-98cd9fb173dd","≤3":"8e654f5a-2f42-4831-a0e5-38cebae5f6e6",">3":"5919faaa-cb2a-4307-93b2-98cd9fb173dd"},peripheralPulses:{Normal:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Weak:"124823AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Bounding:"147044AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Absent:"150518AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},peripheralPerfusion:{"Pink and warm":"fb6b60c2-5a94-46f3-9e93-2e047d92694b",Pale:"5245AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Mottled:"90e26e52-b0bd-49e2-99cd-134146b3c60c",Cyanosed:"143050AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Cool peripheries":"dfc2e50b-4e84-4e45-b6e5-ebfb91c71002"},nutritionFeedType:{EBM:"1173AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Donor breast milk":"ac2c9101-e30c-46d3-af19-06a105889601","Fortified EBM":"e9a556d7-1335-4b3c-a2a2-398f649ef874","Term formula":"39895796-9828-45b0-bbc3-998daf61fbbb","Preterm formula":"572d27a2-305a-4e7d-8085-df842bf70783",Breastfeed:"14ec7306-996d-41d4-bc5e-75259470e5d4","Normal / soft diet":"effe506c-8305-47fb-84da-b7281511e2db","Nil by mouth":"c24e104e-ae2f-4abf-94e2-e7948e081e39",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},nutritionFeedRoute:{Breast:"166201AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Cup:"57758e62-5111-4844-8724-0f195fa7cb25",Bottle:"164477AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Oral:"160240AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","NG tube":"162798AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","OG tube":"709e6c40-d093-4ac4-88f2-519c0f6a7ceb",Gastrostomy:"156470AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},gastricAspirateType:{Clear:"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Milky / undigested":"15b961c3-9a2b-4c45-8756-90d0957f4888","Partially digested":"6b5967a2-0d2f-440f-b53f-be06e0212ee1","Bile-stained":"8ba1e74b-d173-4ae0-a386-6acb41babc32","Blood-stained":"1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},vomitingType:{"Milky vomit":"2c174e4f-0f29-4e63-bc19-b8cdead82ad3",Projectile:"128423AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Bile-stained":"8ba1e74b-d173-4ae0-a386-6acb41babc32","Blood-stained":"1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},tubePosition:{"Re-sited":"51d0640c-02d4-4bb2-88f2-8c387421456a",Removed:"249de1fe-bed9-4250-8f16-0a027b5e4a21","Not applicable":"1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},abdominalCondition:{"Soft / normal":"159486AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Distended:"2930b791-0b48-4246-b733-ba68a7b80ba6",Tense:"427e3100-22b1-4019-bf1e-b9f728ef5f2d",Tender:"07e32bfd-7790-4446-ae83-2e1207895cb3",Discoloured:"6246dad8-7be6-44a2-8b21-612769e5ca3a","Visible bowel loops":"e7f17373-43f0-48ad-bbbb-62d4ea4c4873",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},stoolPassed:{None:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Meconium:"495974ff-05d4-4c73-b722-9f9ab57114db",Transitional:"1b6ea884-d90e-41fb-9ffa-12b5f78654a6","Yellow / seedy":"42885725-0289-4fa1-a92a-097e1348e3a8","Normal formed":"aa0dd029-db2f-4fda-a668-f7eae957ce90","Loose / watery":"135603AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Blood-stained":"8ba1e74b-d173-4ae0-a386-6acb41babc32",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},generalState:{Stable:"1855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Unstable:"cb37e356-9a8d-4e1b-aa72-afc3f6fede91","Quiet alert":"2e2c5cec-08f0-45d1-8e14-c2726c71ef5f",Fussy:"2e6541c6-27b1-404b-884d-a60b034fe7b0",Crying:"1c0c6f26-3eaf-4741-9a26-7e68af970dec",Lethargic:"1ef19d2f-5f31-4d9d-9d04-bb63aee8035c",Unresponsive:"03ad71e7-4ee9-435b-841a-c56bf2f48ae6",Jittery:"6820bdc5-4f89-409c-a023-7786ce36d0ec",Irritable:"118296AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},posture:{Flexed:"6621a456-2da9-410a-b422-e6d26fe98b33",Extended:"e02d7e41-aeaf-498e-8297-5498a09a083b",Asymmetric:"c88c3c97-735e-4e2e-b549-e3cba04f4c7e",Opisthotonic:"6253e6ba-62c0-44f8-809c-fd4700dd8f31",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},fontanelle:{"Soft / flat":"4e2a7f8c-225b-4681-aa03-8c8c42b98bd4",Tense:"163347AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Bulging:"1836AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Sunken:"162507AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},eyesExam:{Clear:"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Red:"127777AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Swollen:"159012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Purulent discharge":"96426683-1275-4931-8795-a6aeabddbcd5",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},mouthExam:{Healthy:"1855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Thrush:"a7596b01-8878-4cc0-b742-0e8ec2f30ed7",Dry:"156095AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Lesion:"152779AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},umbilicalCord:{"Clean / dry":"162122AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Red:"127778AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Discharge:"123843AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Bleeding:"123844AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Cord off":"3da296ab-a4eb-44f9-a909-b97587b9897b",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},perineum:{Healthy:"1855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Rash:"d10711ee-1ed5-40b8-a56a-df3359914453",Excoriated:"140931AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Broken skin":"d8f911a7-662a-4e2e-8e69-56e634e31782",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},breathSounds:{"Clear / equal":"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Reduced:"142907AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Crackles:"127640AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Wheeze:"5209AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Rhonchi:"5181AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Stridor:"125782AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},cardiovascularPerfusion:{"Warm / pink":"04e3df0b-73a3-45c4-9a36-7c01f1dc9db9",Cold:"dfc2e50b-4e84-4e45-b6e5-ebfb91c71002",Pale:"147096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Mottled:"90e26e52-b0bd-49e2-99cd-134146b3c60c",Jaundiced:"136443AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Central Cyanosis":"96a12f0c-ba52-455b-bbb4-db12f7e9ee5e","Peripheral Cyanosis":"167236AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Oedema:"e22a347d-38c6-47bc-886b-6fb1ca172983"},skin:{Intact:"537aeef2-7f7a-4db3-b9f4-9962418b5ce6",Peeling:"126390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Rash:"d10711ee-1ed5-40b8-a56a-df3359914453","Pressure injury":"d1026f00-96fb-465c-8a26-7b8d82243723",Bruised:"ede16415-e253-474d-bffb-e43a2ce7615e",Lesion:"112938AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},abdomen:{Soft:"159486AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Distended:"2930b791-0b48-4246-b733-ba68a7b80ba6",Tense:"140468AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Scaphoid:"127153AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Visible bowel loops":"e7f17373-43f0-48ad-bbbb-62d4ea4c4873",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},bowelSounds:{Present:"e77613fd-0747-4c43-b3c3-0be1d8175f05",Reduced:"142908AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Absent:"147038AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},muscleTone:{Normal:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Hypotonia:"115372AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Hypertonia:"117202AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Opisthotonic:"6253e6ba-62c0-44f8-809c-fd4700dd8f31",Flaccid:"140075AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},seizureType:{Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},motorReflexes:{Normal:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Reduced:"162648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Absent:"150516AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Exaggerated:"fa81f867-a355-47dd-95b4-02e031e68fcd"},phototherapyType:{Single:"162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Double:"b6c583ad-c42d-4470-a4ae-7f119450169c","Photo-blanket":"3797e5a7-ba6a-4023-8201-5f5235418270"},methodOfCaring:{"Kangaroo mother care":"164173AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Skin-to-skin":"e4fcb8f6-d6b8-4e30-89f1-27821e42b82a",None:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},sucking:{Latching:"936f6682-7040-4be5-9f47-a34f1c9873e4","Not Applicable":"1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Strong:"4b90b73a-ad11-4650-91b0-baea131974e0",Weak:"584bfeee-02f9-4cc7-a487-f9194fc9354b","No effort":"3122e193-6eed-4c59-9095-61d85626ba79","Non-Nutritive Sucking":"b91b7ed1-64b2-4431-819a-352f141a3ad0"},shift:{Day:"53faf249-3d2c-4de6-94aa-f22138a6e12a",Night:"e46816d4-bf4d-4ce1-bcb4-e2644e6074e6",Afternoon:"161016AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}}},31117(A,e,t){"use strict";t.d(e,{m:()=>a});var a={orderEncounterTypeUuid:"7df67b83-1b84-4fe2-b1b7-794b4e9bfcc3",careSettingUuid:"c365e560-c3ec-11e3-9c1a-0800200c9a66",drugOrderTypeUuid:"131168f4-15f5-102d-96e4-000c29c2a5d7"}},47481(A,e,t){"use strict";var a=t(1487),r=t(49022),i=t(76298),n=t(86388),o=t(4688),c=t(31117),d=t(78682),l=t(47354),s=t(19902),u=t(34069),b=t(35045),f=t(84907),p=t(34960),m=t(15312),y=t(97984),h=t(5004),g=t(3632);function v(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}function S(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(A){return Object.getOwnPropertyDescriptor(t,A).enumerable}))),a.forEach(function(e){var a;a=t[e],e in A?Object.defineProperty(A,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):A[e]=a})}return A}function O(A,e){return Object.fromEntries(Object.entries(A).map(function(A){var t=function(A){if(Array.isArray(A))return A}(A)||function(A){var e,t,a=null==A?null:"u">typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=a){var r=[],i=!0,n=!1;try{for(a=a.call(A);!(i=(e=a.next()).done)&&(r.push(e.value),2!==r.length);i=!0);}catch(A){n=!0,t=A}finally{try{i||null==a.return||a.return()}finally{if(n)throw t}}return r}}(A)||function(A){if(A){if("string"==typeof A)return v(A,2);var e=Object.prototype.toString.call(A).slice(8,-1);if("Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return v(A,2)}}(A)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],i=t[1];return[r,{_type:a.Type.ConceptUuid,_default:i,_description:"".concat(e," concept: ").concat(r)}]}))}m.i6.icu,a.Type.Number,a.Type.String,a.Type.Boolean,a.Type.Number,a.Type.String,a.Type.String,a.Type.String,a.Type.String,a.Type.String,m.Cs.icu,a.Type.Object,S({},m.i6),a.Type.String,m.i6.icu,a.Type.String,m.i6.hdu,a.Type.String,m.i6.nicu,a.Type.String,m.i6.picu,a.Type.Object,S({},m.Cs),a.Type.String,m.Cs.icu,a.Type.String,m.Cs.hdu,a.Type.String,m.Cs.nicu,a.Type.String,m.Cs.picu,a.Type.String,y.Ak.icuMonitoringStart,a.Type.String,y.Ak.icuMonitoringStop,a.Type.String,y.Ak.respiratory,a.Type.String,y.Ak.abg,a.Type.String,y.Ak.clinicalChart,a.Type.String,y.Ak.linesAndTubes,a.Type.String,y.Ak.personalCare,a.Type.String,y.Ak.fluidBalance,a.Type.String,y.Ak.intravenousInfusion,a.Type.String,y.Ak.bilevelCpap,a.Type.String,y.Ak.pediatricIvInfusion,a.Type.String,y.Ak.pediatricObservations,a.Type.String,y.Ak.safetyHandover,O(y.xN,"Respiratory"),O(y.ri,"ABG"),O(y.Mb,"Cardiovascular"),O(y.dy,"CVS"),O(y.Z8,"CNS"),O(y.wE,"Neuro"),O(y.$g,"Renal"),O(y.fk,"Nutrition"),O(y.O3,"Skin"),O(y.OT,"Lines and tubes"),O(y.oq,"Fluid balance"),O(y.WF,"Intravenous infusion"),O(y.XE,"Personal care"),O(y.Fg,"Bi-level & CPAP"),O(h.s,"NICU/PICU IV infusion"),O(g.j,"NICU/PICU Observations"),a.Type.ConceptUuid,y.TO.treatmentStartDate,a.Type.ConceptUuid,y.TO.treatmentEndDate,a.Type.ConceptUuid,y.TO.stopReason,a.Type.ConceptUuid,y.TO.stopReasonNotes,a.Type.ConceptUuid,y.TO.transferDestination,a.Type.ConceptUuid,y.AJ.discharged,a.Type.ConceptUuid,y.AJ.death,a.Type.ConceptUuid,y.AJ.transferred,a.Type.ConceptUuid,y.AJ.leftAgainstAdvice,a.Type.ConceptUuid,y.AJ.other,O(y.Ye,"Stop / LAMA detail"),a.Type.ConceptUuid,y.r8.emergencyDepartment,a.Type.ConceptUuid,y.r8.theatre,a.Type.ConceptUuid,y.r8.hdu,a.Type.ConceptUuid,y.r8.ward,a.Type.ConceptUuid,y.r8.other,a.Type.String,a.Type.String,a.Type.String,a.Type.String,a.Type.Object,a.Type.Boolean,a.Type.Number,a.Type.Number,a.Type.Number,a.Type.Number,a.Type.Number,a.Type.Object,a.Type.Boolean,a.Type.Number,a.Type.String,a.Type.Object,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.Object,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.Array,a.Type.UUID,a.Type.Number,a.Type.String,a.Type.String,a.Type.Object,r.Nn.encounterTypeUuid,r.Nn.formUuid,a.Type.UUID,r.Nn.encounterTypeUuid,a.Type.UUID,r.Nn.formUuid,a.Type.Object,p.tQ.encounterTypeUuid,p.tQ.formUuid,a.Type.UUID,p.tQ.encounterTypeUuid,a.Type.UUID,p.tQ.formUuid,a.Type.Object,l.BJ.encounterTypeUuid,l.BJ.formUuid,a.Type.UUID,l.BJ.encounterTypeUuid,a.Type.UUID,l.BJ.formUuid,a.Type.Object,s.$x.encounterTypeUuid,s.$x.formUuid,a.Type.UUID,s.$x.encounterTypeUuid,a.Type.String,s.$x.formUuid,a.Type.Object,u.es.encounterTypeUuid,u.es.formUuid,a.Type.UUID,u.es.encounterTypeUuid,a.Type.String,u.es.formUuid,a.Type.Object,d.p.encounterTypeUuid,d.p.formUuid,a.Type.UUID,d.p.encounterTypeUuid,a.Type.UUID,d.p.formUuid,a.Type.Object,b.S.encounterTypeUuid,b.S.formUuid,a.Type.UUID,b.S.encounterTypeUuid,a.Type.UUID,b.S.formUuid,a.Type.Object,f.e.encounterTypeUuid,f.e.formUuid,a.Type.UUID,f.e.encounterTypeUuid,a.Type.UUID,f.e.formUuid,a.Type.Object,o.Pb.encounterTypeUuid,a.Type.UUID,o.Pb.encounterTypeUuid,a.Type.Object,i.Jx.encounterTypeUuid,a.Type.UUID,i.Jx.encounterTypeUuid,a.Type.Object,n.Vy.encounterTypeUuid,a.Type.UUID,n.Vy.encounterTypeUuid,a.Type.Object,c.m.orderEncounterTypeUuid,c.m.careSettingUuid,a.Type.UUID,c.m.orderEncounterTypeUuid,a.Type.UUID,c.m.careSettingUuid;var T={featureName:"esm-icu-app",moduleName:"@kenyaemr/esm-icu-app"};t(84767),(0,a.getAsyncLifecycle)(function(){return Promise.all([t.e("3989"),t.e("5361"),t.e("8924"),t.e("2115"),t.e("5279"),t.e("4014"),t.e("9274"),t.e("6479"),t.e("2971"),t.e("4818"),t.e("1072"),t.e("7209"),t.e("7887"),t.e("9011"),t.e("542"),t.e("7618"),t.e("4145"),t.e("257"),t.e("5169"),t.e("4619"),t.e("1448"),t.e("8876"),t.e("4852"),t.e("350"),t.e("367"),t.e("4922"),t.e("6786"),t.e("473"),t.e("6025"),t.e("7584"),t.e("6550"),t.e("4499"),t.e("9759"),t.e("2838"),t.e("1301"),t.e("7250"),t.e("518"),t.e("6059"),t.e("8960"),t.e("1954"),t.e("6122"),t.e("3632"),t.e("6941"),t.e("1005"),t.e("3197"),t.e("7986"),t.e("7629"),t.e("6881"),t.e("1684"),t.e("3142"),t.e("4266"),t.e("2639"),t.e("9442"),t.e("7064"),t.e("4475"),t.e("1993"),t.e("4245"),t.e("6744"),t.e("2677"),t.e("2008"),t.e("7375"),t.e("6223"),t.e("3523"),t.e("5773"),t.e("8348"),t.e("7434"),t.e("1085"),t.e("3885"),t.e("505"),t.e("6699"),t.e("2425"),t.e("3649")]).then(t.bind(t,3672))},T),(0,a.getAsyncLifecycle)(function(){return Promise.all([t.e("3989"),t.e("5361"),t.e("8924"),t.e("2115"),t.e("5279"),t.e("4014"),t.e("9274"),t.e("6479"),t.e("2971"),t.e("4818"),t.e("1072"),t.e("7209"),t.e("7887"),t.e("9011"),t.e("542"),t.e("7618"),t.e("4145"),t.e("257"),t.e("5169"),t.e("4619"),t.e("1448"),t.e("8876"),t.e("4852"),t.e("350"),t.e("367"),t.e("4922"),t.e("6786"),t.e("473"),t.e("6025"),t.e("7584"),t.e("6550"),t.e("4499"),t.e("9759"),t.e("2838"),t.e("1301"),t.e("7250"),t.e("518"),t.e("6059"),t.e("8960"),t.e("1954"),t.e("6122"),t.e("3632"),t.e("6941"),t.e("1005"),t.e("3197"),t.e("7986"),t.e("7629"),t.e("6881"),t.e("1684"),t.e("3142"),t.e("4266"),t.e("2639"),t.e("9442"),t.e("7064"),t.e("4475"),t.e("1993"),t.e("4245"),t.e("6744"),t.e("2677"),t.e("2008"),t.e("7375"),t.e("6223"),t.e("3523"),t.e("5773"),t.e("8348"),t.e("7434"),t.e("1085"),t.e("3885"),t.e("505"),t.e("6699"),t.e("233")]).then(t.bind(t,54848))},T),(0,a.getAsyncLifecycle)(function(){return Promise.all([t.e("3989"),t.e("5361"),t.e("8924"),t.e("2115"),t.e("5279"),t.e("4014"),t.e("4818"),t.e("7209"),t.e("7887"),t.e("257"),t.e("5169"),t.e("4619"),t.e("1448"),t.e("8876"),t.e("4852"),t.e("350"),t.e("2425"),t.e("5365")]).then(t.bind(t,18740))},T)},81882(A,e,t){"use strict";function a(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}function r(A){var e,t=null!=(e=null==A?void 0:A.trim())?e:"";if(!t)return"";if(t.includes("-"))return t;if(/^\d+$/.test(t))return"".concat(t).concat("A".repeat(Math.max(0,36-t.length)));var r=t.match(/^(\d+)(A+)$/i);if(r){var i=(function(A){if(Array.isArray(A))return A}(r)||function(A){var e,t,a=null==A?null:"u">typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=a){var r=[],i=!0,n=!1;try{for(a=a.call(A);!(i=(e=a.next()).done)&&(r.push(e.value),2!==r.length);i=!0);}catch(A){n=!0,t=A}finally{try{i||null==a.return||a.return()}finally{if(n)throw t}}return r}}(r)||function(A){if(A){if("string"==typeof A)return a(A,2);var e=Object.prototype.toString.call(A).slice(8,-1);if("Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return a(A,2)}}(r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];return"".concat(i).concat("A".repeat(Math.max(0,36-i.length)))}return t}function i(A,e){var t=r(A),a=r(e);return!!(t&&a&&t===a)}function n(A){if("string"==typeof A){var e=A.trim();if(/^\d{5,}$/.test(e))return r(e)}return A}t.d(e,{TO:()=>r,d1:()=>n,m0:()=>i})},97829(A,e,t){"use strict";var a=t(40523),r=t.n(a);function i(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}function n(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t,a,r=null==A?null:"u">typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=r){var i=[],n=!0,o=!1;try{for(r=r.call(A);!(n=(t=r.next()).done)&&(i.push(t.value),!e||i.length!==e);n=!0);}catch(A){o=!0,a=A}finally{try{n||null==r.return||r.return()}finally{if(o)throw a}}return i}}(A,e)||c(A,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(A){return A&&"u">typeof Symbol&&A.constructor===Symbol?"symbol":typeof A}function c(A,e){if(A){if("string"==typeof A)return i(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(A,e)}}var d=[].filter(function(A){return A.plugin}).map(function(A){return(0,A.plugin)(A.params)}),l={};if((t.initializeSharingData||t.initializeExposesData)&&t.federation){var s,u,b,f,p,m,y,h,g,v,S,O,T=function(A,e,t){A&&A[e]&&(A[e]=t)},U=function(A,e,t){var a,r=t();Array.isArray(r)?(null!=A[e]||(A[e]=[]),(a=A[e]).push.apply(a,function(A){if(Array.isArray(A))return i(A)}(r)||function(A){if("u">typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(r)||c(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):(void 0===r?"undefined":o(r))==="object"&&null!==r&&(null!=A[e]||(A[e]={}),Object.assign(A[e],r))},C=function(A,e,t){null!=A[e]||(A[e]=t())},P=null!=(s=null==(m=t.remotesLoadingData)?void 0:m.chunkMapping)?s:{},R=null!=(u=null==(y=t.remotesLoadingData)?void 0:y.moduleIdToRemoteDataMapping)?u:{},w=null!=(b=null==(h=t.initializeSharingData)?void 0:h.scopeToSharingDataMapping)?b:{},k=null!=(f=null==(g=t.consumesLoadingData)?void 0:g.chunkMapping)?f:{},x=null!=(p=null==(v=t.consumesLoadingData)?void 0:v.moduleIdToConsumeDataMapping)?p:{},D={},N=[],I={},M=null==(S=t.initializeExposesData)?void 0:S.shareScope;for(var E in r())t.federation[E]=r()[E];C(t.federation,"consumesLoadingModuleToHandlerMapping",function(){var A={},e=!0,t=!1,a=void 0;try{for(var r,i=Object.entries(x)[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=n(r.value,2),c=o[0],d=o[1];A[c]={getter:d.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:d.requiredVersion,strictVersion:d.strictVersion,singleton:d.singleton,eager:d.eager},scope:[d.shareScope]},shareKey:d.shareKey}}}catch(A){t=!0,a=A}finally{try{e||null==i.return||i.return()}finally{if(t)throw a}}return A}),C(t.federation,"initOptions",function(){return{}}),C(t.federation.initOptions,"name",function(){return"@kenyaemr/esm-icu-app"}),C(t.federation.initOptions,"shareStrategy",function(){return"version-first"}),C(t.federation.initOptions,"shared",function(){var A={},e=!0,t=!1,a=void 0;try{for(var r,i=Object.entries(w)[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var c=n(r.value,2),d=c[0],l=c[1],s=!0,u=!1,b=void 0;try{for(var f,p=l[Symbol.iterator]();!(s=(f=p.next()).done);s=!0){var m=f.value;if((void 0===m?"undefined":o(m))==="object"&&null!==m){var y=m.name,h=m.version,g=m.factory,v=m.eager,S=m.singleton,O=m.requiredVersion,T=m.strictVersion,U={},C=function(A){return void 0!==A};C(S)&&(U.singleton=S),C(O)&&(U.requiredVersion=O),C(v)&&(U.eager=v),C(T)&&(U.strictVersion=T);var P={version:h,scope:[d],shareConfig:U,get:g};A[y]?A[y].push(P):A[y]=[P]}}}catch(A){u=!0,b=A}finally{try{s||null==p.return||p.return()}finally{if(u)throw b}}}}catch(A){t=!0,a=A}finally{try{e||null==i.return||i.return()}finally{if(t)throw a}}return A}),U(t.federation.initOptions,"remotes",function(){return Object.values(l).flat().filter(function(A){return"script"===A.externalType})}),U(t.federation.initOptions,"plugins",function(){return d}),C(t.federation,"bundlerRuntimeOptions",function(){return{}}),C(t.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),C(t.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return P}),C(t.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return l}),C(t.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var A={},e=!0,t=!1,a=void 0;try{for(var r,i=Object.entries(R)[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=n(r.value,2),c=o[0],d=o[1];A[c]=[d.shareScope,d.name,d.externalModuleId,d.remoteName]}}catch(A){t=!0,a=A}finally{try{e||null==i.return||i.return()}finally{if(t)throw a}}return A}),C(t.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return t}),U(t.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var A={},e=!0,t=!1,a=void 0;try{for(var r,i=Object.entries(R)[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=n(r.value,2),c=o[0],d=l[o[1].remoteName];d&&(A[c]=d)}}catch(A){t=!0,a=A}finally{try{e||null==i.return||i.return()}finally{if(t)throw a}}return A}),T(t,"S",t.federation.bundlerRuntime.S),t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),T(t.f,"remotes",function(A,e){return t.federation.bundlerRuntime.remotes({chunkId:A,promises:e,chunkMapping:P,idToExternalAndNameMapping:t.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:t.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:t})}),T(t.f,"consumes",function(A,e){return t.federation.bundlerRuntime.consumes({chunkId:A,promises:e,chunkMapping:k,moduleToHandlerMapping:t.federation.consumesLoadingModuleToHandlerMapping,installedModules:D,webpackRequire:t})}),T(t,"I",function(A,e){return t.federation.bundlerRuntime.I({shareScopeName:A,initScope:e,initPromises:N,initTokens:I,webpackRequire:t})}),T(t,"initContainer",function(A,e,a){return t.federation.bundlerRuntime.initContainerEntry({shareScope:A,initScope:e,remoteEntryInitOptions:a,shareScopeKey:M,webpackRequire:t})}),T(t,"getContainer",function(A,e){var a=t.initializeExposesData.moduleMap;return t.R=e,e=Object.prototype.hasOwnProperty.call(a,A)?a[A]():Promise.resolve().then(function(){throw Error('Module "'+A+'" does not exist in container.')}),t.R=void 0,e}),t.federation.instance=t.federation.runtime.init(t.federation.initOptions),(null==(O=t.consumesLoadingData)?void 0:O.initialConsumes)&&t.federation.bundlerRuntime.installInitialConsumes({webpackRequire:t,installedModules:D,initialConsumes:t.consumesLoadingData.initialConsumes,moduleToHandlerMapping:t.federation.consumesLoadingModuleToHandlerMapping})}},53054(A){"use strict";A.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(A){"use strict";A.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(A){"use strict";A.exports=globalThis._OPENMRS_FEDERATION_SDK},31772(A,e){var t=Object.create,a=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty;e.__toESM=(A,e,c)=>(c=null!=A?t(n(A)):{},((A,e,t,n)=>{if(e&&"object"==typeof e||"function"==typeof e)for(var c,d=i(e),l=0,s=d.length;l<s;l++)c=d[l],o.call(A,c)||c===t||a(A,c,{get:(A=>e[A]).bind(null,c),enumerable:!(n=r(e,c))||n.enumerable});return A})(!e&&A&&A.__esModule?c:a(c,"default",{value:A,enumerable:!0}),A))},79837(A,e,t){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),t(31772);let a=t(27789),r=t(53054),i={...r.helpers.global,getGlobalFederationInstance:a.getGlobalFederationInstance},n=r.helpers.share,o=r.helpers.utils;e.default={global:i,share:n,utils:o},e.global=i,e.share=n,e.utils=o},83738(A,e,t){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),t(31772);let a=t(27789),r=t(53054),i=t(9170);function n(A){let e=new((0,r.getGlobalFederationConstructor)()||r.ModuleFederation)({id:`${A.name}@${A.version||Date.now()}`,...A});return(0,r.setGlobalFederationInstance)(e),e}let o=null;(0,r.setGlobalFederationConstructor)(r.ModuleFederation),Object.defineProperty(e,"Module",{enumerable:!0,get:function(){return r.Module}}),e.ModuleFederation=r.ModuleFederation,e.createInstance=n,e.getInstance=function(A){return A?r.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(A)||null:o},Object.defineProperty(e,"getRemoteEntry",{enumerable:!0,get:function(){return r.getRemoteEntry}}),Object.defineProperty(e,"getRemoteInfo",{enumerable:!0,get:function(){return r.getRemoteInfo}}),e.init=function(A){let e=a.getGlobalFederationInstance(A.name,A.version),t={...A,id:A.id||""};return e?(e.initOptions(t),o||(o=e),e):o=n(t)},e.loadRemote=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.loadRemote.apply(o,A)},Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return r.loadScript}}),Object.defineProperty(e,"loadScriptNode",{enumerable:!0,get:function(){return r.loadScriptNode}}),e.loadShare=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.loadShare.apply(o,A)},e.loadShareSync=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.loadShareSync.apply(o,A)},e.preloadRemote=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.preloadRemote.apply(o,A)},Object.defineProperty(e,"registerGlobalPlugins",{enumerable:!0,get:function(){return r.registerGlobalPlugins}}),e.registerPlugins=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.registerPlugins.apply(o,A)},e.registerRemotes=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.registerRemotes.apply(o,A)},e.registerShared=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.registerShared.apply(o,A)}},27789(A,e,t){t(31772);let a=t(53054);e.getGlobalFederationInstance=function(A,e){let t="@kenyaemr/esm-icu-app:5.4.7-pre.1621";return a.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(a=>!!t&&a.options.id===t||a.options.name===A&&!a.options.version&&!e||a.options.name===A&&!!e&&a.options.version===e)}},50223(A,e){var t=Object.create,a=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty;e.__toESM=(A,e,c)=>(c=null!=A?t(n(A)):{},((A,e,t,n)=>{if(e&&"object"==typeof e||"function"==typeof e)for(var c,d=i(e),l=0,s=d.length;l<s;l++)c=d[l],o.call(A,c)||c===t||a(A,c,{get:(A=>e[A]).bind(null,c),enumerable:!(n=r(e,c))||n.enumerable});return A})(!e&&A&&A.__esModule?c:a(c,"default",{value:A,enumerable:!0}),A))},33545(A,e){e.attachShareScopeMap=function(A){A.S&&!A.federation.hasAttachShareScopeMap&&A.federation.instance&&A.federation.instance.shareScopeMap&&(A.S=A.federation.instance.shareScopeMap,A.federation.hasAttachShareScopeMap=!0)}},46917(A,e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.FEDERATION_SUPPORTED_TYPES=["script"]},91864(A,e,t){let a=t(33545),r=t(91092),i=t(12677),n=t(10085),o=t(76781);e.consumes=function(A){r.updateConsumeOptions(A);let{chunkId:e,promises:t,installedModules:c,webpackRequire:d,chunkMapping:l,moduleToHandlerMapping:s}=A;a.attachShareScopeMap(d),d.o(l,e)&&l[e].forEach(A=>{if(d.o(c,A))return t.push(c[A]);let e=e=>{c[A]=0,d.m[A]=t=>{delete d.c[A];let a=e(),{shareInfo:r}=s[A];if(r?.shareConfig?.layer&&a&&"object"==typeof a)try{a.hasOwnProperty("layer")&&void 0!==a.layer||(a.layer=r.shareConfig.layer)}catch(A){}t.exports=a}},a=e=>{delete c[A],d.m[A]=t=>{throw delete d.c[A],e}};try{let r=d.federation.instance;if(!r)throw Error("Federation instance not found!");let{shareKey:l,getter:u,shareInfo:b,treeShakingGetter:f}=s[A],p=i.getUsedExports(d,l),m={...b};Array.isArray(m.scope)&&Array.isArray(m.scope[0])&&(m.scope=m.scope[0]),p&&(m.treeShaking={usedExports:p,useIn:[r.options.name]});let y=r.loadShare(l,{customShareInfo:m}).then(A=>{if(!1===A){if("function"!=typeof u)throw Error(o.getShortErrorMsg(n.RUNTIME_012,{[n.RUNTIME_012]:'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:l}));return f?.()||u()}return A});y.then?t.push(c[A]=y.then(e).catch(a)):e(y)}catch(A){a(A)}})}},10085(A,e){e.RUNTIME_012="RUNTIME-012"},76781(A,e){e.getShortErrorMsg=(A,e,t,a)=>{let r=[`${[e[A]]} #${A}`];return t&&r.push(`args: ${JSON.stringify(t)}`),r.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${A.split("-")[0].toLowerCase()}#${A.toLowerCase()}`),a&&r.push(`Original Error Message:
1
+ !function(){var A="u">typeof globalThis?globalThis:self;if(void 0===A._FEDERATION_RUNTIME_CORE||void 0===A._OPENMRS_FEDERATION_SDK||void 0===A._OPENMRS_FEDERATION_ERROR_CODES)throw Error("@kenyaemr/esm-icu-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 e=A._FEDERATION_RUNTIME_CORE_FROM;e&&e.version&&"2.8"!==String(e.version).split(".").slice(0,2).join(".")&&console.warn("@kenyaemr/esm-icu-app was built against Module Federation 2.8.x but the app shell provides "+e.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var A,e,t,a,r,i={84767(A,e,t){var a={"./en.json":["34300","5117"],"./sw.json":["89913","997"],"./am.json":["81197","9806"],"./fr.json":["94055","6508"]};function r(A){if(!t.o(a,A))return Promise.resolve().then(function(){var e=Error("Cannot find module '"+A+"'");throw e.code="MODULE_NOT_FOUND",e});var e=a[A],r=e[0];return t.e(e[1]).then(function(){return t(r)})}r.keys=()=>Object.keys(a),r.id=84767,A.exports=r},49022(A,e,t){"use strict";t.d(e,{Nn:()=>a,Wk:()=>r,e7:()=>o,xp:()=>n,zJ:()=>i});var a={encounterTypeUuid:"17c63ed8-8514-11f1-8b21-50284a3ca3bb",formUuid:"dbc4ff03-3eee-49f0-86a8-7cfd33dc2460",diagnosisConceptSourceUuid:"39ADDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD",diagnosisRank:2},r="rfe-forms",i=[{id:"complaintsToday",label:"Chief complaints",conceptUuid:"160531AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!0},{id:"ClinICNotes",label:"History of presenting illness",conceptUuid:"160430AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!1},{id:"PastMedicalHistory",label:"Past medical history",conceptUuid:"160221AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!0},{id:"SurgicalHistory",label:"Surgical history",conceptUuid:"0257d3b6-d0c1-4691-be17-2ddc3378c1be",section:"history",required:!0},{id:"FamilyHistory",label:"Family history",conceptUuid:"160618AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!0},{id:"SocialHistory",label:"Social history",conceptUuid:"162143AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!0},{id:"SexualReproductiveHistory",label:"Sexual and reproductive history",conceptUuid:"162153AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!0,hiddenFor:function(A){var e=A.ageYears;return void 0!==e&&e<15}},{id:"ObstetricHistory",label:"Obstetric history",conceptUuid:"166633AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"history",required:!0,hiddenFor:function(A){var e=A.ageYears,t=A.sex;return void 0!==t&&"F"!==t||void 0!==e&&e<8}},{id:"PediatricHistory",label:"Paediatric history",conceptUuid:"27ce7dd0-b153-47f3-8c14-dc3cb11e7054",section:"history",required:!0,hiddenFor:function(A){var e=A.ageYears;return void 0!==e&&e>15}},{id:"ReviewOfSystems",label:"Review of systems (ROS)",conceptUuid:"08f1c658-8a58-4a10-a6c3-7b8bd0887281",section:"history",required:!0},{id:"generalExamNotes",label:"General examination",conceptUuid:"160430AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"examination",required:!1},{id:"SystemExamination",label:"System examination",conceptUuid:"d1ef9c04-d3f2-44d6-9aa6-4c3d9bd9b498",section:"examination",required:!1},{id:"ManagementPlan",label:"Management plan",conceptUuid:"163104AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",section:"examination",required:!0}],n="finalDiagnosisId",o=function(A){return"".concat(r,"-").concat(A)}},76298(A,e,t){"use strict";t.d(e,{E1:()=>n,G4:()=>l,Jx:()=>u,KO:()=>d,MO:()=>a,MS:()=>s,NZ:()=>r,dX:()=>i,e:()=>f,lF:()=>o,o$:()=>b,zD:()=>c});var a=["Oral","Enteral","Parenteral","Combination"],r="Others",i={Oral:["Oral",r],Enteral:["NG tube","OG tube","NJ tube","PEG / gastrostomy","Jejunostomy",r],Parenteral:["Peripheral IV","Central line (CVC)","PICC",r],Combination:["Oral","NG tube","OG tube","NJ tube","PEG / gastrostomy","Peripheral IV","Central line (CVC)","PICC",r]},n=["Continuous","Hourly","2-hourly","3-hourly","4-hourly","6-hourly","8-hourly","12-hourly","Intermittent","Bolus","Cyclic (overnight)","On demand (PRN)","With meals (oral)",r],o=["No risk identified","Low","Medium","High"],c=["OK","Re-sited","Not confirmed","Not applicable"],d=["Nausea","Vomited","Diarrhoea","Abdominal distension"],l={good:90,fair:75},s=function(A){return"Enteral"===A||"Combination"===A},u={encounterTypeUuid:"aafabd35-69b3-4ef8-b7a5-5d819e690f5e",encounterTypeName:"ICU/HDU Nutrition Prescription",encounterTypeDescription:"Adult ICU / HDU nutrition prescription; one encounter per saved prescription."},b={diagnosis:"",refeedRisk:"cc2f8e6b-6f34-4cd1-9faf-7f4828f484f7",allergy:"",method:"",route:"",routeOther:"",dietOrder:"163719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",frequency:"160855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",frequencyOther:"",energyKcalPerDay:"3411cfd3-d710-410d-b678-d2b45332381d",proteinGPerDay:"711eb9c4-bd3d-4e57-9e1c-bb9ba56712cd",fluidMlPerDay:"162746AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",prescribedVolumeMl24h:"bdb4ada7-b4cb-4734-bb43-411deb65f1f9",rateMlPerHr:"162523AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",additives:"bd0ac0ab-797d-4e67-8dfa-ac959b203516",restrictions:"805c750a-3a53-4789-b59a-b594cc681739",specialInstructions:"08fd8438-ca3e-4e6a-a962-9fdff03a5936",reviewDate:"f6eb193c-058d-443c-8352-e36682644cf2",dietitianName:"0da3f47f-c3d9-42f0-a92a-77e52874b728",signedAt:"160715AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},f={refeedRisk:{"No risk identified":"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Low:"166675AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Medium:"cba5069d-4a2a-49f6-a830-d31c36941571",High:"166674AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},method:{Oral:"160240AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Enteral:"165950AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Parenteral:"165951AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Combination:"b5c356e8-6552-4145-912f-a133f7171630"},route:{Oral:"160240AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","NG tube":"162798AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","OG tube":"ec23c853-7410-4909-b1ab-b590a0e998f0","NJ tube":"36297c99-795d-4e3b-b1d5-09b4646c41ff","PEG / gastrostomy":"161754AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Jejunostomy:"4f081e60-17bf-47e8-9d22-f0b1bcf861b6","Peripheral IV":"166004AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Central line (CVC)":"162625AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",PICC:"166132AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},frequency:{Continuous:"1079AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Hourly:"9f5c69f8-c8df-47db-aaff-e992d9fb58dd","2-hourly":"b3148200-0069-4f88-87de-44cd33dfba56","3-hourly":"37ecaf49-2e04-473e-9362-e9412734e9ad","4-hourly":"0235feab-454d-4d9e-8d89-5933ab4c65e9","6-hourly":"7c96e629-8e57-4ed3-b928-f77b04b84727","8-hourly":"d6f2826d-dd19-4fcd-a3b8-7065b92b77a1","12-hourly":"37078527-9741-43d7-ad49-e9174f203ffd",Intermittent:"e0903517-f631-43dc-8ba1-1cd81b206b0b",Bolus:"162352AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","On demand (PRN)":"160857AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}}},4688(A,e,t){"use strict";function a(A,e,t){return e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}t.d(e,{G2:()=>l,Ku:()=>s,MQ:()=>b,Pb:()=>i,Pw:()=>p,Xl:()=>c,eK:()=>f,ln:()=>d,mp:()=>n,on:()=>u,zf:()=>o});var r,i={encounterTypeUuid:"f92cb273-5cdc-4d36-9d16-ef18ee6190eb",encounterTypeName:"ICU Blood Transfusion",encounterTypeDescription:"Blood transfusion observation chart for ICU patients."},n={observationGroup:"1114AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",temperature:"5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",pulse:"5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",respiratoryRate:"5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",systolic:"5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",diastolic:"5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",remarks:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",transfusionDate:"163268AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bloodType:"161927AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bloodUnitNumber:"162086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",counterCheckedBy:"166691AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",rate:"162745AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",timeEnded:"163509AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",amountMl:"164241AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",submittedBy:"166690AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",timeStarted:"2f4a215c-f58f-455b-9d21-ce1364764343",diagnosis:"161602AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",reaction:"159935AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},o="none",c=(a(r={},o,"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"fever","140238AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"chillsRigors","871AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"pain","114403AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"flushing","140039AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"nauseaVomiting","133473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"urticaria","123468AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"otherSkinRash","512AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"anxiety","121543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"chestPain","120749AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"dyspnoea","122496AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"hypotension","116214AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"tachycardia","125063AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"haemoglobinuria","138936AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"oliguria","132418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"anuria","148566AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"unexplainedBleeding","162628AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),a(r,"otherReaction","5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),r),d={wholeBlood:"161939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",packedRedCells:"161925AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",freshFrozenPlasma:"161926AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",platelets:"161900AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",others:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},l=[{id:"wholeBlood",label:"Whole Blood"},{id:"packedRedCells",label:"Packed Red Cells"},{id:"freshFrozenPlasma",label:"Fresh Frozen Plasma (FFP)"},{id:"platelets",label:"Platelets"},{id:"others",label:"Others"}],s=[{id:"mlPerMin",label:"mL/minute"},{id:"dropsPerMin",label:"drops/minute"}],u=[{id:"before",label:"Before transfusion",anchor:"before"},{id:"m0",label:"00 Mins",offsetMinutes:0,anchor:"start"},{id:"m15",label:"15 Mins",offsetMinutes:15,anchor:"start"},{id:"m45",label:"45 Mins",offsetMinutes:45,anchor:"start"},{id:"m75",label:"1 hr 15 mins",offsetMinutes:75,anchor:"start"},{id:"m105",label:"1 hr 45 mins",offsetMinutes:105,anchor:"start"},{id:"m135",label:"2 hr 15 mins",offsetMinutes:135,anchor:"start"},{id:"m165",label:"2 hr 45 mins",offsetMinutes:165,anchor:"start"},{id:"m195",label:"3 hrs 15 mins",offsetMinutes:195,anchor:"start"},{id:"m225",label:"3 hrs 45 mins",offsetMinutes:225,anchor:"start"},{id:"m255",label:"4 hrs 15 mins",offsetMinutes:255,anchor:"start"},{id:"after",label:"4 hrs After Blood Transfusion",offsetMinutes:240,anchor:"end"}],b=[{id:"general",label:"General",options:[{id:"fever",label:"Fever"},{id:"chillsRigors",label:"Chills/Rigors"},{id:"pain",label:"Pain"},{id:"flushing",label:"Flushing"},{id:"nauseaVomiting",label:"Nausea/Vomiting"},{id:"anxiety",label:"Anxiety"}]},{id:"dermatological",label:"Dermatological",options:[{id:"urticaria",label:"Urticaria"},{id:"otherSkinRash",label:"Skin rash"}]},{id:"cardiacRespiratory",label:"Cardiac/Respiratory",options:[{id:"chestPain",label:"Chest Pain"},{id:"dyspnoea",label:"Dyspnoea"},{id:"hypotension",label:"Hypotension"},{id:"tachycardia",label:"Tachycardia"}]},{id:"others",label:"Others",options:[{id:"haemoglobinuria",label:"Haemoglobinuria"},{id:"oliguria",label:"Oliguria"},{id:"anuria",label:"Anuria"},{id:"unexplainedBleeding",label:"Unexplained bleeding"},{id:"otherReaction",label:"Others"}]}],f={feverC:38,temperatureRiseC:1,pulseRiseBpm:20},p={temperature:{min:30,max:43},pulse:{min:20,max:230},respiratoryRate:{min:0,max:80},systolic:{min:30,max:250},diastolic:{min:10,max:150},rate:{min:0,max:1e3},amountMl:{min:0,max:5e3}}},15312(A,e,t){"use strict";t.d(e,{Cs:()=>r,No:()=>o,Tx:()=>c,_z:()=>i,a1:()=>d,i6:()=>a,mv:()=>l,xz:()=>n});var a={icu:"770f6a93-8e59-48ad-ba7d-98d5652db240",hdu:"25439b2d-6495-4f5d-9ec6-4fe64686cf46",nicu:"17558b82-7275-409c-9f77-0d934ae881cf",picu:"d9aaa6fa-8594-416c-b5da-e50fd3a180b2"},r={icu:"ICU Ward",hdu:"HDU Ward",nicu:"NICU Ward",picu:"PICU Ward"},i=["icu","hdu","nicu","picu"],n={icu:"ICU",hdu:"HDU",nicu:"NICU",picu:"PICU"},o=28,c=29,d=13,l=13},97984(A,e,t){"use strict";t.d(e,{$g:()=>T,AJ:()=>o,Ak:()=>i,BF:()=>s,CS:()=>B,CY:()=>N,Fg:()=>K,Fv:()=>w,H7:()=>x,Je:()=>D,KD:()=>r,L3:()=>u,Mb:()=>g,O3:()=>C,OC:()=>k,OT:()=>I,PZ:()=>p,TO:()=>n,Vb:()=>R,WF:()=>W,Ws:()=>V,XE:()=>z,Ye:()=>c,Z8:()=>S,Zf:()=>G,_E:()=>b,_b:()=>d,_m:()=>H,bU:()=>y,c7:()=>M,cU:()=>J,dy:()=>v,fk:()=>U,oq:()=>E,pB:()=>f,pY:()=>h,qF:()=>P,r8:()=>a.r,ri:()=>m,uf:()=>_,wE:()=>O,wS:()=>q,xN:()=>l,yS:()=>L,yb:()=>j,zf:()=>$});var a=t(83186),r=[{key:"icuMonitoringStart",uuid:"2f2e2c44-f115-4c09-aa7a-d33d1715b1e9",name:"ICU Monitoring Start",description:"Start ICU monitoring / charting instance (not physical admission)."},{key:"icuMonitoringStop",uuid:"08a1acec-5b3c-40e1-953a-1488df400cd0",name:"ICU Monitoring Stop",description:"Stop ICU monitoring / charting instance."},{key:"respiratory",uuid:"d996d73e-e7f9-42a6-99a2-a0d1af4b87af",name:"ICU Respiratory",description:"Hourly ICU respiratory flowsheet encounters."},{key:"abg",uuid:"e21e4878-c72f-4554-ac50-25f2abb19c43",name:"ICU ABG",description:"Arterial blood gas encounters for ICU patients."},{key:"clinicalChart",uuid:"c4e50519-941d-477e-b10d-2aa5de1d838c",name:"Vital Signs",description:"ICU clinical chart (CVS CNS neuro)."},{key:"linesAndTubes",uuid:"1593b32e-4f75-4c94-92f9-8dfcaaf049f1",name:"ICU Lines and Tubes",description:"Lines and tubes chart encounters for ICU patients."},{key:"personalCare",uuid:"4cb9f207-8014-45f5-bb6b-6de637096a1f",name:"ICU Personal Care",description:"Personal care checklist encounters for ICU patients."},{key:"fluidBalance",uuid:"657bdb00-0eab-48a6-8da4-bb1644d5fd48",name:"ICU Fluid Balance",description:"Fluid intake and output encounters for ICU patients."},{key:"intravenousInfusion",uuid:"e7f2a3b4-5c6d-4e8f-9a0b-1c2d3e4f5a6b",name:"ICU Intravenous Infusion",description:"IV infusion fluid orders for ICU patients."},{key:"bilevelCpap",uuid:"0caee7c7-8b60-4ace-9b3c-7dcc2c309189",name:"ICU Bi-level CPAP",description:"Bi-level and CPAP chart encounters for ICU patients."},{key:"pediatricIvInfusion",uuid:"744fce69-66a4-48a5-9e4d-264c947c7184",name:"NICU/PICU IV Infusion",description:"24-hour IV infusion and vascular access monitoring for NICU and PICU patients."},{key:"pediatricObservations",uuid:"6e4885cd-cb61-429f-ae32-25ad97c5529d",name:"NICU/PICU Observations",description:"24-hour NICU and PICU monitoring, clinical care and nutrition chart encounters."},{key:"safetyHandover",uuid:"36935f6e-7fb8-40fb-9a3a-08b8272d4669",name:"ICU Safety Checklist & Handover",description:"Per-shift ICU safety checklist with nurse-to-nurse handover sign-off."}],i=Object.fromEntries(r.map(function(A){return[A.key,A.uuid]})),n={treatmentStartDate:"163526AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",treatmentEndDate:"164384AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",stopReason:"1695AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",stopReasonNotes:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",transferDestination:""},o={discharged:"1692AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",death:"9c348c8c-e033-4fc0-ab2a-7e6702b68739",transferred:"1693AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",leftAgainstAdvice:"1694AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},c={lamaReason:"c7a91713-2574-4717-8b03-87735b3ca79e",risksExplained:"67906a10-898d-4a9b-ae08-269d75026acb",signedBy:"",signedByRelationship:"164352AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",witness:"646c7bfe-933d-4ccc-b11e-51b50dd9150d"},d={risksExplained:{Yes:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",No:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},signedByRelationship:{Parent:"1527AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Spouse:"d743bbf7-b377-48e2-aefa-732d35f503b5",Relative:"fdf26d2c-3acf-4c52-b797-bc1f80df8b51",Others:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},l={mechanicalVentilation:"",ventilatoryMode:"165932AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fio2:"165927AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",setTidalVolume:"60800c98-3b70-4606-a689-34815d2e0b1d",setFrequency:"2c8f5873-ff5d-44be-8453-d029ad79db4f",peepCpap:"bc3834dc-150f-467e-96f9-17081374371a",pressureSupport:"e475d95e-c29a-4011-a434-acd409e28c85",ieRatio:"c819e7e5-b0b3-4ed5-9411-8e869c74020e",triggerFlow:"061f50eb-e7c9-4586-bc25-deae83e2d498",tidalVolumeMeasured:"dc03b1b1-b04c-4676-87a4-e9dfd62bfff3",minuteVolume:"1d109b10-7b30-4bfa-8a7c-6ecb73357fc2",rate:"5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",spontaneousRate:"",peepMeasured:"2bb3350e-6e5e-46ef-bdcc-6a8cc5ff33f3",peakAirwayPressure:"fd370732-6756-42b5-bbae-96eb8a4744ee",etco2:"c6f370bd-d25d-4c1b-87d4-973eaaa73569",spo2:"5092AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",weaningStatus:"af782aab-dde0-4fa0-971d-2a7b7438461e",humidifierTemp:"9320ccef-5720-41ce-8a54-a9efdaa0674a",suctionEtOral:"98f1336e-cbad-405c-9085-62cad91d5b09",sputumQuantity:"22ba9839-dc48-4359-8079-94451db2da94",sputumType:"a47726a8-ed9c-4a26-8631-30f3f108d994",cuffPressure:"6322fbbe-384b-4a83-82d1-7e8a274ced03"},s={yes:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",no:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},u={1:"1407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",2:"1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",3:"143385AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},b={M:"2529cc17-5ccc-431f-84e9-c6e5270d1f90",P:"1076AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",B:"4d2043ca-33ef-4d34-9508-dfb428bac6ed"},f={notStarted:"164463AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",inProgress:"163723AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",complete:"1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},p=["ventilatoryMode","fio2","setTidalVolume","setFrequency","peepCpap","pressureSupport","ieRatio","triggerFlow","tidalVolumeMeasured","minuteVolume","rate","peepMeasured","peakAirwayPressure","etco2","spo2","humidifierTemp","suctionEtOral","sputumQuantity","sputumType","weaningStatus","cuffPressure"],m={ph:"165984AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",pao2:"163598AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",paco2:"163595AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hco3:"163596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",baseExcess:"163599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",sodium:"1132AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",potassium:"1133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",calcium:"159497AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",chloride:"1134AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",glucose:"887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",lactate:"1012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hemoglobin:"21",temperature:"5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",heartRate:"5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",heartRhythm:"039e38e8-4dbd-4815-99ea-b173a3b7c013"},y={NSR:"163141AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",SB:"126428AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AF:"148203AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",AFL:"148202AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",SVT:"125246AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",VT:"123239AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",VF:"123247AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Others:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},h=["ph","pao2","paco2","hco3","baseExcess","sodium","potassium","calcium","chloride","glucose","lactate","hemoglobin","temperature","heartRate","heartRhythm"],g={temperature:"5088",heartRate:"5087",systolicBp:"5085",diastolicBp:"5086",map:"163187",cvp:"200100",bloodSugar:"887"},v={heartRhythm:"",ectopic:""},S={sedationScore:"161031AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",painScore:"166082AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",camIcu:"ebd46020-484a-46c4-ba57-b1282d47a4e9",gcsEvm:"",gcsEye:"776c50f2-2914-4511-a86d-96ea4696e4c0",gcsVerbal:"58beb902-d49e-4d52-8c0f-c0ca6123f645",gcsMotor:"e2b6de97-7105-4a56-a156-80ce918f9595",gcsTotal:"160347AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",leftPupilSize:"476ec3dc-8063-4279-b6c8-e728a59b4326",leftPupilReaction:"2cf0eb0f-a330-4283-b43d-b1d28f439f35",rightPupilSize:"a6884483-618c-4466-9700-e93008177645",rightPupilReaction:"d7e1ae41-cce7-4cc3-8b22-bbff2eb421c3"},O={seizures:"206AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",motorPower:"160396AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",icp:"127920AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},T={urineAppearance:"f0a05386-c094-4971-a434-53bc8dbbeee7",creatinine:"164364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",potassium:"1133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",onDialysis:"165931AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fluidRestrictionMl:"162652AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},U={nutritionRoute:"c23d3224-2218-4007-8f22-e1f3d5a8e58a",feedRateMlHr:"162523AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",gastricResidualMl:"4ebe7c1c-93cb-4d21-898b-59d71876c661",nutritionNote:"163189AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},C={skinRiskScore:"",pressureInjuryStage:"d1026f00-96fb-465c-8a26-7b8d82243723",skinSites:"166696AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",dressingIntact:"63ace222-6715-4c09-bf2b-a102766a8077"},P=["temperature","heartRate","systolicBp","diastolicBp","map","cvp","bloodSugar"],R=[],w=["sedationScore","painScore","camIcu","gcsEye","gcsVerbal","gcsMotor","gcsTotal","leftPupilSize","leftPupilReaction","rightPupilSize","rightPupilReaction"],k=["seizures","motorPower","icp"],x=["urineAppearance","creatinine","potassium","onDialysis","fluidRestrictionMl"],D=["nutritionRoute","feedRateMlHr","gastricResidualMl","nutritionNote"],N=["skinRiskScore","pressureInjuryStage","skinSites","dressingIntact"],I={dateInserted:"160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",dressingChanged:"33c14c79-782f-483c-8625-b8973b6c295f",dateChanged:"160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",comment:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",laterality:"7b32b1c7-5d13-40b0-9028-8e9da6af0f4d",lateralityLeft:"5139AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",lateralityRight:"5141AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",lateralityMidline:"3ba71da2-f8eb-416b-87c3-59285bf1bcbb",lateralityNotApplicable:"1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ettTracheostomy:"c929bb1e-9fad-4af1-ac4e-b00e579562a9",anchorfast:"7a93bb90-53aa-4d70-93bf-5576e6f1cf41",cvc:"fd1d6b84-eaec-49f0-9da9-1e0741cb0f53",cvpLine:"37d58128-4978-428a-9748-f961fef9dc27",arterialLine:"fa7cbb4a-bfb1-4ce3-a52d-73cd7b5aab6e",ngNjPeg:"1766AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",urinaryCatheter:"9779c0f1-21e5-4b2a-b4ba-b9b4a5ac89a2",urinaryCatheterBag:"a9c73171-16b6-4f04-8d06-8f8fb0b70c66",vascularCatheter:"07c4ddd1-7969-41b6-a9ec-f2a746041550",cannula:"5f30e568-6f57-40db-aaa8-e7b82f9f4d54",ventilatorTubing:"98d1cd2c-a254-44d7-a736-fa8d5f4941c6",hmeFilter:"4a9bc8c6-efd3-4a89-a3c0-9bacb6d6dd1c",inlineSuction:"4e0795ee-4728-4d9b-8a44-7e94c490df0e",suctionTubingCanister:"f36a37b8-a4d0-4ab7-8065-1d1c90eb64da",others:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},M=["dateInserted","dateChanged","comment"],E={observationDatetime:"17cc4e56-38ff-4b52-8f79-00b66f9f8ff4",nursingShift:"f51a171c-6b8d-474a-a026-ce3d5e45a483",fluidType:"161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",specify:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",methodOfIntake:"162394AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",administrationSite:"011d9b21-eb75-4f74-9738-665e3b7e24a8",addition:"0b6a7c3b-2743-43a5-b5a1-6768bf12e246",intakeVolume:"bdb4ada7-b4cb-4734-bb43-411deb65f1f9",outputType:"1d5a3c4e-6fa6-4aaa-8ca9-0ca7154def12",urine:"163261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",vomit:"162661AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",drain:"f2411fd4-5da9-42eb-bacb-821be9e339d7",ngSuction:"3e49a43e-58ff-435b-b4c3-9a9fbaf3415a",stool:"3c5e0703-15fb-477f-a849-233f2c5cd226",haemofiltration:"6e189c29-bce1-4455-853d-acf629af147b",morningInputTotal:"17c6c761-d3b8-422f-9968-d80539a07c34",afternoonInputTotal:"8b94093e-5e36-43f4-a481-b797ee26f5f4",nightInputTotal:"dbf3e50a-b6ea-40cd-afc3-d1a52fd7f358",morningOutputTotal:"f6b738d8-5153-432b-91fd-2a8379391f46",afternoonOutputTotal:"527ace32-0827-4bf6-aa0d-14a928a22e6b",nightOutputTotal:"1db7fdcf-63f3-493d-8217-47cdcdde9adc",balance:"b8734463-8a64-4e43-abc9-c8617c6f0b42",shiftNote:"1111fedc-77e3-4220-994f-3267b0651446",shiftIntakeTotal:"67365207-66fd-43d6-a089-547c11607146",shiftOutputTotal:"3a45b7c0-1524-4830-a692-957226cd5ea2",dayIntakeTotal:"55d3893b-4312-44db-af56-5920edae9676",dayOutputTotal:"e3ebb855-9e78-485b-a04f-ccee0f3825d2",dayBalanceDatetime:"9c4c7722-ba3e-4bdf-ab97-c04170100037",dayBalance:"0abf4100-f7e2-4a6b-b4da-8d5c65277e3c",previousChartDate:"160753AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",previousIntakeTotal:"163036AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",previousOutputTotal:"162659AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",plan:"163104AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",target:"162746AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},j={bloodProductType:"c07354c9-ae00-4d28-865f-07e43efc886f",feedType:"163719AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},F=function(A){return String(A).padEnd(36,"A")},B={morning:{uuid:"53faf249-3d2c-4de6-94aa-f22138a6e12a",label:"Morning",fromHour:8,toHour:15},afternoon:{uuid:F(161016),label:"Afternoon",fromHour:16,toHour:23},night:{uuid:F(161017),label:"Night / Evening",fromHour:0,toHour:7}},V=F(5622),_={normalSaline:{uuid:F(80804),code:"NS",label:"0.9% Saline (normal saline)"},dextrose5:{uuid:F(161250),code:"D5W",label:"5% Dextrose"},dextrose10:{uuid:F(161922),code:"D10W",label:"10% Dextrose"},dextroseSaline:{uuid:F(104745),code:"DS",label:"Dextrose saline"},plasmalyte148:{uuid:"620bdab0-452d-4d6f-b9d0-174febbb7d2b",code:"P148",label:"Plasmalyte 148"},hartmanns:{uuid:"6ca714c6-2c54-4b57-83a3-ac69b491ab8d",code:"Hart",label:"Hartmann's solution"},totalParenteralNutrition:{uuid:"3e2597bd-dbe2-499e-a520-f4e22b53cd4f",code:"TPN",label:"Total parenteral nutrition"},albumin:{uuid:"fb7152f5-8982-4678-93f3-022ce89c8a76",code:"Alb",label:"Albumin"},breastMilk:{uuid:"14ec7306-996d-41d4-bc5e-75259470e5d4",code:"BM",label:"Breast milk"},ringersLactate:{uuid:F(78617),code:"RL",label:"Ringer's lactate"},dextrose5Saline:{uuid:F(162857),code:"D5NS",label:"Dextrose 5% in normal saline"},dextran:{uuid:F(74653),code:"Dextran",label:"Dextran"},kcl20Saline:{uuid:F(162855),code:"KCl20/NS",label:"Potassium chloride 20 mmol/L in normal saline"},kcl40Saline:{uuid:F(162856),code:"KCl40/NS",label:"Potassium chloride 40 mmol / sodium chloride 0.9%"},glucoseSaline:{uuid:F(162859),code:"D5\xbdNS",label:"Glucose 50 mg/ml / sodium chloride 0.0769 mEq/ml"},phosphate:{uuid:F(162860),code:"PO₄",label:"Monopotassium phosphate 0.259% / sodium phosphate 2.9%"},bicarbonate:{uuid:F(162861),code:"NaHCO₃",label:"Sodium bicarbonate 1.26%"},other:{uuid:V,code:"oth",label:"Other (specify)"}};F(162650),F(160240),F(163261),F(162661);var q={wholeBlood:{uuid:F(161939),code:"WB",label:"Whole blood"},packedRedCells:{uuid:F(161925),code:"RBC",label:"Red blood cells"},freshFrozenPlasma:{uuid:F(161926),code:"FFP",label:"Fresh frozen plasma"},platelets:{uuid:F(729),code:"Plt",label:"Platelets"},cryoprecipitate:{uuid:"71ec5b7b-ad25-4dc7-a765-d28ea6b9ebd5",code:"Cryo",label:"Cryoprecipitate"},other:{uuid:V,code:"oth",label:"Other (specify)"}},G={"ac1fc824-52b0-4284-a2ee-b1780263a48d":"platelets"},H=Object.keys(E).filter(function(A){return"methodOfIntake"!==A&&"outputType"!==A}),W={procedure:"162651AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fluidType:"161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",infusionSite:"c5589cd8-936a-4771-8b5c-895c23a1894c",siteCentralLeftJugular:"868fe80c-c083-4113-b228-9d3344c06f9e",sitePeripheralLeftHand:"166004AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",amount:"166650AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",addition:"160221AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",duration:"1732AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fromDatetime:"163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",toDatetime:"163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",rate:"165987AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",totalAmount:"8631339b-826c-4d7c-93f7-093669c756ac",notes:"160029AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},L=["procedure","fluidType","infusionSite","amount","addition","duration","fromDatetime","toDatetime","rate","totalAmount","notes"],z={reportingFrequency:"163331AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",repositionCode:"159633AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",head:"96e24db4-8fc1-4b15-9e33-cc16c77f82c4",cornersOfMouth:"d5b0e308-3edb-40a3-a80b-bde94eacc553",bridgeOfNose:"166326AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",leftRightNostril:"6ac30811-ef70-437a-ae19-421d1c8db734",leftRightEar:"166230AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",leftRightElbow:"b7dea7ba-9a45-4dc6-a6f9-d504b705d77d",leftRightButtock:"c53d4a24-e7a7-40cd-91ee-731fd5ae56a9",sacrum:"3ca79a3c-d188-4803-92ea-bd323dae8a52",leftRightHeel:"26837eda-7bd8-42bf-a8b3-b20f42b2babb",satsProbe2Hrly:"1937ab85-d4ab-416e-9966-cbff105ac220",eyeCare:"20351ecb-51eb-498e-b19a-e869bffebdd4",etTubeReposition4Hrly:"41a74cf5-b3d3-4230-9d41-8b384d6e47ee",teethBrushingTwiceDaily:"160d5b22-9b8f-41c7-9cca-5eb732829862",nebuliser:"07edadb1-71b2-496b-8607-e673ce7c76bc",removeResecureNgTubeDressing:"5eb0e594-ce18-49e8-8814-8d72c71c10ad",innerTubeCare:"a62f8d67-e68e-4b7c-bb77-ef988923b327",tapeChange:"d1ff9818-3435-492f-b931-bcb62ba760fa",washPersonalCare:"13e56cd0-64fd-49d6-b7aa-8a4d293e12c8",maskNasalProngsRelease2Hrly:"2c988f72-fee8-47f9-a5a8-6da1ca1dac16",angleOfBedElevation:"5a775b16-5173-441f-8bb3-8a07773aa03b",woundCheck:"132024AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},$=["reportingFrequency","repositionCode","head","cornersOfMouth","bridgeOfNose","leftRightNostril","leftRightEar","leftRightElbow","leftRightButtock","sacrum","leftRightHeel","satsProbe2Hrly","eyeCare","etTubeReposition4Hrly","teethBrushingTwiceDaily","nebuliser","removeResecureNgTubeDressing","innerTubeCare","tapeChange","washPersonalCare","maskNasalProngsRelease2Hrly","angleOfBedElevation","woundCheck"],K={observationTime:"b4e3c93b-63f4-42b4-bbcc-2e1fbdeb1b25",checklistStaffChartedPeepSpo2:"f1521073-500c-4978-86fa-fcf8f1976cac",checklistSafetyValve15cm:"0b828fbc-fc1b-4514-807a-a553eca2d30f",checklistOxygenAnalyserCalibrated:"48147766-16d8-4415-bd65-149189fe6898",checklistBaselineObsBloodGas:"fd857517-0948-4d31-8e9a-82186e9288cc",fio2AnalyserPercent:"165927AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",airFilterNotObstructed:"6833c93f-41c5-4f51-9d8d-84c00136710f",peepValveOnMaskCmH2o:"f37a3e4c-f64e-4e8d-bb38-0085ace9cdf8",circuitLeakFree:"0f15b726-e656-4954-a990-dc1b310b3e40",maskBlueValveWhiteCap:"875891e1-e5e7-4bc2-acbe-981b583f7846",breathFeltAtMaskPeep:"8573fb40-3495-4218-9644-9903230e4e34",waterInBagAndChamber:"527df2e6-213b-486b-955a-b0b36f5872c7",temperatureProbesInserted:"3ae0b27f-4763-406a-a8dd-d6012743ebe6",correctTemperatureSetting:"d85b5168-0338-4520-a129-9cfdbd2cbe9d",ipapPs:"e475d95e-c29a-4011-a434-acd409e28c85",epapPeep:"bc3834dc-150f-467e-96f9-17081374371a",bpmSetting:"2c8f5873-ff5d-44be-8453-d029ad79db4f",tiSetting:"2bf0889f-2af2-4e25-a6d3-c1512b36743f",oxygenLpm:"165986AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",airLeaksLpm:"507b7bfa-1df8-410c-9286-2fcbf04e5ff4",co2AntiAsphyxiaPatent:"fba1ed89-f865-421f-8d56-fe3b51d8105b",gasSource:"77eedd62-28a7-4ead-a24e-7cbdd6391784",ph:"165984AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",pco2:"163595AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",po2:"163598AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bicarbonate:"1135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},J={A:"67d9182c-7688-4eee-826f-4a17d6206437",C:"165889AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",V:"158d434a-c375-4227-9e9c-f3b7680de7c9"}},83186(A,e,t){"use strict";t.d(e,{G:()=>r,r:()=>a});var a={emergencyDepartment:"160473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",theatre:"164834AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hdu:"167396AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ward:"162680AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},r=[{value:"emergencyDepartment",label:"Emergency department"},{value:"theatre",label:"Theatre"},{value:"hdu",label:"HDU"},{value:"ward",label:"Ward"},{value:"other",label:"Other (local configuration)"}]},78682(A,e,t){"use strict";t.d(e,{$:()=>f,p:()=>r});var a=t(81882),r={encounterTypeUuid:"3efe6966-a011-4d24-aa43-d3051bfbb8e3",formUuid:"3efe6966-a011-4d24-aa43-d3051bfbb8e3"},i=function(A){return(0,a.TO)(A)},n=function(A,e){return{conceptUuid:i(A),label:e}},o=i("1107"),c=i("165644"),d=i("1651"),l=i("1063"),s=i("123154"),u=i("5622"),b=function(A){return function(e){var t;return(null!=(t=e.multi.pastHis)?t:[]).includes(A)}},f={i18nPrefix:"initialNursingCardex",sections:[{key:"admission",label:"Admission information",items:[{field:{id:"dateAndTimeAdmission",label:"Date and time of admission",conceptUuid:i("162869"),type:"date",datetime:!0,withTime:!0,date:{noFuture:!0}}},{field:{id:"diagnosisOnAdmission",label:"Diagnosis on admission",conceptUuid:"d44492fd-1b0f-4ec1-9ac8-0e1eb2ebe10b",type:"textarea"}},{field:{id:"PresentingComplaints",label:"Presenting complaints",conceptUuid:i("160531"),type:"textarea"}}]},{key:"history",label:"Medical history",items:[{field:{id:"druG",label:"Medication given",conceptUuid:i("162725"),type:"textarea"}},{field:{id:"pastHis",label:"Past medical history",conceptUuid:i("159520"),type:"multi",exclusiveAnswer:o,answers:[n("1107","None"),n("165644","Admission history"),n("1651","Surgical history"),n("1063","Blood transfusion"),n("123154","Trauma/Accidents"),n("5622","Other")]}},{field:{id:"admiReason",label:"Reason for admission",conceptUuid:i("162879"),type:"textarea",visibleWhen:b(c)}},{field:{id:"typeofSurgery",label:"Surgery performed",conceptUuid:i("166635"),type:"textarea",visibleWhen:b(d)}},{field:{id:"bloodTransfusionNotes",label:"Blood transfusion notes",conceptUuid:"f27ee6b6-eaf6-4e3f-9d1b-8a61b6c17e0c",type:"textarea",visibleWhen:b(l)}},{field:{id:"traumaNotes",label:"Accident/Trauma notes",conceptUuid:i("160686"),type:"textarea",visibleWhen:b(s)}},{field:{id:"otherHis",label:"Specify other",conceptUuid:i("160948"),type:"textarea",visibleWhen:b(u)}},{field:{id:"MedicationandAllergyHistory",label:"Allergy history",conceptUuid:i("160221"),type:"textarea"}},{field:{id:"socialHistory",label:"Social/Economic history",conceptUuid:i("162143"),type:"textarea",visibleWhen:function(A,e){return void 0===e.ageYears||e.ageYears>=12}}},{field:{id:"familyHistory",label:"Family history",conceptUuid:i("160618"),type:"textarea"}}]},{key:"nursingAssessment",label:"Nursing assessment",items:[{field:{id:"PhysicalExamination",label:"Physical examination",conceptUuid:i("160629"),type:"textarea",required:!0}},{field:{id:"NursingDiagnosis",label:"Nursing diagnosis",conceptUuid:i("164398"),type:"textarea",required:!0}},{field:{id:"NursingNotes",label:"Nursing notes",conceptUuid:i("160303"),type:"textarea",required:!0}}]}]}},47354(A,e,t){"use strict";t.d(e,{BJ:()=>o,Rk:()=>y,vS:()=>p});var a=t(81882);function r(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}function i(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(A){return Object.getOwnPropertyDescriptor(t,A).enumerable}))),a.forEach(function(e){var a;a=t[e],e in A?Object.defineProperty(A,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):A[e]=a})}return A}function n(A,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(e)):(function(A){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(A);e.push.apply(e,t)}return e})(Object(e)).forEach(function(t){Object.defineProperty(A,t,Object.getOwnPropertyDescriptor(e,t))}),A}var o={encounterTypeUuid:"c6d09e05-1f25-4164-8860-9f32c5a02df0",formUuid:"af273344-a5f9-11e8-98d0-529269fb1459"},c=function(A){return(0,a.TO)(A)},d=function(A,e){return{conceptUuid:c(A),label:e}},l=[d("1065","Yes"),d("1066","No")],s=d("1175","N/A"),u=d("1537","Another health facility"),b=d("163488","Community unit"),f=function(A,e){return"M"!==e.sex},p={i18nPrefix:"dischargeForm",sections:[{key:"discharge",label:"Discharge",items:[{field:{id:"counselledOnInfantFeeding",label:"Counselled on infant feeding?",conceptUuid:c("161651"),type:"select",answers:l,visibleWhen:f}},{field:{id:"vitaminAdispensed",label:"Vitamin A for mother dispensed?",conceptUuid:c("161534"),type:"select",answers:((function(A){if(Array.isArray(A))return r(A)})(l)||function(A){if("u">typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(l)||function(A){if(A){if("string"==typeof A)return r(A,void 0);var e=Object.prototype.toString.call(A).slice(8,-1);if("Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(A,void 0)}}(l)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([s]),visibleWhen:f}},{field:{id:"deliveryOutcome",label:"Delivery outcome",conceptUuid:c("159949"),type:"select",answers:[d("159913","Single"),d("159914","Twins"),d("159915","Triplets")],visibleWhen:f}},{group:{id:"babyDetails",label:"Baby(s) details",conceptUuid:c("162588"),rowLabel:"Baby",addLabel:"Add baby",visibleWhen:f,members:[{id:"babyStatus",label:"Status of the baby",conceptUuid:c("159926"),type:"select",answers:[d("163016","Alive"),d("160432","Dead")]},{id:"birthNotificationNumber",label:"Birth notification number",conceptUuid:c("162051"),type:"text"}]}},{field:{id:"dischargeDate",label:"Discharge date",conceptUuid:c("1641"),type:"date",datetime:!0,date:{noFuture:!0,notBeforeVisit:!0}}},{field:{id:"maternalCondition",label:"Maternal condition",conceptUuid:c("162093"),type:"textarea",visibleWhen:f}}]},{key:"referral",label:"Referral",items:[{field:{id:"referredFrom",label:"Referred from?",conceptUuid:c("160481"),type:"select",answers:[u,b,s]}},{field:{id:"referredTo",label:"Referred to?",conceptUuid:c("163145"),type:"select",answers:[b,u,s]}}]},{key:"clinicalNotes",label:"Clinical notes",items:[{field:{id:"clinicalNotes",label:"Clinical notes",conceptUuid:c("159395"),type:"textarea"}}]}]},m=function(A){return p.sections.flatMap(function(A){return A.items}).flatMap(function(e){return"field"in e&&e.field.id===A?[e.field]:[]})[0]},y={i18nPrefix:"dischargeForm",sections:[{key:"stopDischarge",label:"Discharge form",items:[{field:n(i({},m("dischargeDate")),{required:!0})},{field:n(i({},m("clinicalNotes")),{label:"Discharge summary (clinical notes)",required:!0})},{field:m("referredTo")}]}]}},34960(A,e,t){"use strict";t.d(e,{Bn:()=>R,Cz:()=>w,NO:()=>d,Ol:()=>P,WI:()=>M,Zh:()=>N,Zs:()=>l,_Y:()=>c,cT:()=>x,ci:()=>D,qD:()=>k,rI:()=>u,tQ:()=>i,wd:()=>I,zC:()=>E});var a=t(81882);function r(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}var i={encounterTypeUuid:"14b36860-5033-4765-b91b-ace856ab64c2",formUuid:"87379b0a-738b-4799-9736-cdac614cee2a",diagnosisRank:2},n=function(A){return(0,a.TO)(A)},o=function(A,e){return{conceptUuid:n(A),label:e}},c=n("1065"),d=n("1066"),l=n("5622"),s=n("1107"),u=n("159"),b=n("143264"),f=n("136443"),p=n("143050"),m=n("142630"),y=n("460"),h=n("5245"),g=n("130166"),v=n("1116"),S=[o("1065","Yes"),o("1066","No")],O=[o("1362","+"),o("1363","++"),o("1364","+++")],T=function(A,e,t){var a;return!!(null==(a=A.multi[e])?void 0:a.includes(t))},U=function(A){return function(e){return T(e,"genExamFindings",A)}},C=function(A){return function(e){return e.values.syStemsRevieW===v&&T(e,"allsystemReview",A)}},P=[o("151","Abdominal pain"),o("141631","Abnormal uterine bleeding"),o("121543","Anxiety"),o("148035","Back pain"),o("840","Bloody urine"),o("117671","Blood in stool"),o("131021","Breast pain"),o("120749","Chest pain"),o("871","Cold and chills"),o("120345","Confusion"),o("143264","Cough"),o("113054","Convulsions"),o("106","Coryza"),o("143129","Crying infant"),o("142412","Diarrhoea"),o("122496","Difficulty in breathing"),o("118789","Difficulty in swallowing"),o("142247","Discharge from penis"),o("141830","Dizziness"),o("141585","Ear pain"),o("141128","Epigastric pain"),o("131040","Eye pain"),o("140941","Excessive sweating"),o("114399","Facial pain"),o("162626","Fatigue / weakness"),o("140070","Flank pain"),o("140238","Fever"),o("135462","Genital ulcer"),o("139084","Headache"),o("117698","Hearing loss"),o("879","Itchiness / pruritus"),o("116558","Joint pain"),o("114395","Leg pain"),o("116334","Lethargy"),o("135595","Loss of appetite"),o("121657","Memory loss"),o("111721","Mouth ulceration"),o("131015","Mouth pain"),o("133028","Muscle cramps"),o("133632","Muscle pain"),o("121","Myalgia"),o("5978","Nausea"),o("133469","Neck pain"),o("133027","Night sweats"),o("132653","Numbness"),o("162628","Unexplained bleeding"),o("125225","Pain when swallowing"),o("131034","Pelvic pain"),o("5953","Poor vision"),o("512","Rash"),o("127777","Red eye"),o("6017","Refusal to feed"),o("113224","Running / blocked nose"),o("131032","Scrotal pain"),o("206","Seizure"),o("126535","Shoulder pain"),o("158843","Sore throat"),o("141597","Sleep disturbance"),o("125198","Swollen legs"),o("112200","Tremors"),o("160208","Urinary symptoms"),o("157498","Weakness of limbs"),o("832","Weight loss"),o("123396","Vaginal discharge"),o("122983","Vomiting"),o("111525","Vertigo"),o("5622","Other")],R=[o("1499","Gradual"),o("162707","Sudden")],w={id:"ComplaintLodgeByClient",conceptUuid:n("160531")},k=[{key:"complaint",id:"cOmplaIntField",conceptUuid:n("5219"),kind:"coded"},{key:"other",id:"OtherSpecificComplaints",conceptUuid:"20395601-257c-490c-86c2-acffb627f91f",kind:"text"},{key:"contactTB",id:"contactTB",conceptUuid:n("124068"),kind:"coded"},{key:"durationDays",id:"complaint-duration",conceptUuid:n("159368"),kind:"number"},{key:"onsetDate",id:"OnSETdate",conceptUuid:n("159948"),kind:"date"},{key:"onsetStatus",id:"onsetStatus",conceptUuid:"d7a3441d-6aeb-49be-b7d6-b2a3bb39e78d",kind:"coded"}],x={complaint:"",other:"",contactTB:"",durationDays:"",onsetDate:"",onsetStatus:""},D=function(A,e){return"other"===A?e.complaint===l:"contactTB"!==A||e.complaint===b},N=function(A){return A.values.complaintsToday===c},I=[{id:"complaintsToday",label:"Patient having new complaint(s) today?",conceptUuid:n("5219"),type:"radio",section:"subjective",required:!0,answers:S},{id:"ClinICNotes",label:"History of presenting illness notes",conceptUuid:n("160430"),type:"textarea",section:"subjective",visibleWhen:N},{id:"genExamFindings",label:"General examination findings",conceptUuid:n("162737"),type:"multi",section:"objective",required:!0,answers:[o("1107","Normal"),o("143050","Cyanosis"),o("142630","Dehydration"),o("136443","Jaundice"),o("460","Oedema"),o("5245","Pallor")],exclusiveAnswer:s},{id:"jaundiceGrading",label:"Jaundice grading",conceptUuid:n("164448"),type:"radio",section:"objective",required:!0,answers:O,visibleWhen:U(f)},{id:"cyanosisType",label:"Cyanosis type",conceptUuid:n("164448"),type:"radio",section:"objective",required:!0,answers:[o("145962","Central cyanosis"),o("167236","Peripheral cyanosis")],visibleWhen:U(p)},{id:"dehydrationType",label:"Dehydration type",conceptUuid:n("164448"),type:"radio",section:"objective",required:!0,answers:[o("164840","Mucous membranes dry"),o("a0ea1397-2bf3-4796-b005-387676f96499","Reduced skin turgor"),o("165891","Capillary refill > 2 sec")],visibleWhen:U(m)},{id:"oedemaLocation",label:"Oedema site",conceptUuid:n("166852"),type:"radio",section:"objective",required:!0,answers:[o("1843","Face"),o("164387","Foot"),o("141465","Generalised"),o("164385","Hands"),o("166168","Knee"),o("14e0ebf6-a05e-4fe1-9535-50eea5cb5c72","Periorbital")],visibleWhen:U(y)},{id:"oedemaType",label:"Oedema type",conceptUuid:n("164448"),type:"radio",section:"objective",required:!0,answers:[o("165598","Non-pitting"),o("130166","Pitting")],visibleWhen:U(y)},{id:"oedemaGrading",label:"Oedema grading",conceptUuid:n("164494"),type:"radio",section:"objective",required:!0,answers:[o("1107","None")].concat(function(A){if(Array.isArray(A))return r(A)}(O)||function(A){if("u">typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(O)||function(A){if(A){if("string"==typeof A)return r(A,void 0);var e=Object.prototype.toString.call(A).slice(8,-1);if("Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(A,void 0)}}(O)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),visibleWhen:function(A){return U(y)(A)&&A.values.oedemaType===g}},{id:"pallorLocation",label:"Pallor location",conceptUuid:n("5245"),type:"radio",section:"objective",required:!0,answers:[o("516","Conjunctiva"),o("139729","Tongue"),o("150825","Palmar creases"),o("157876","Nail beds"),o("112938","Skin (general)")],visibleWhen:U(h)},{id:"pallorGrading",label:"Pallor grading",conceptUuid:n("5245"),type:"radio",section:"objective",required:!0,answers:O,visibleWhen:U(h)},{id:"generalExamNotes",label:"General examination notes",conceptUuid:n("160430"),type:"textarea",section:"objective"},{id:"syStemsRevieW",label:"Findings on systemic examination",conceptUuid:n("159615"),type:"radio",section:"objective",required:!0,answers:[o("1115","All systems normal"),o("1116","Abnormal")]},{id:"allsystemReview",label:"System examination",conceptUuid:n("1069"),type:"multi",section:"objective",answers:[o("160947","Abdominal"),o("112101","CNS"),o("163046","CVS"),o("166442","ENT"),o("119235","Endocrine"),o("850a960b-e8b5-4775-ba74-aaddb2abbf51","Eye"),o("166363","Genitourinary / pelvic"),o("133613","Musculoskeletal"),o("160689","Respiratory"),o("160981","Skin")],visibleWhen:function(A){return A.values.syStemsRevieW===v}},{id:"abdoMenFindNoteS",label:"Abdomen findings notes",conceptUuid:n("160948"),type:"textarea",section:"objective",visibleWhen:C(n("160947"))},{id:"CnSNotES",label:"CNS findings notes",conceptUuid:n("160994"),type:"textarea",section:"objective",visibleWhen:C(n("112101"))},{id:"cVsNoTes",label:"CVS findings notes",conceptUuid:n("163046"),type:"textarea",section:"objective",visibleWhen:C(n("163046"))},{id:"EntfinDingsNotes",label:"ENT findings notes",conceptUuid:"462bfb69-b97e-425c-b387-ddd3a5c8653c",type:"textarea",section:"objective",visibleWhen:C(n("166442"))},{id:"endocrinefindingsNotes",label:"Endocrine findings notes",conceptUuid:n("162169"),type:"textarea",section:"objective",visibleWhen:C(n("119235"))},{id:"EyeFinDingNotes",label:"Eye findings notes",conceptUuid:"850a960b-e8b5-4775-ba74-aaddb2abbf51",type:"textarea",section:"objective",visibleWhen:C("850a960b-e8b5-4775-ba74-aaddb2abbf51")},{id:"GenItouriNaryFinoTeS",label:"Genitourinary / pelvic findings notes",conceptUuid:n("163047"),type:"textarea",section:"objective",visibleWhen:C(n("166363"))},{id:"musculoskeletalFindingNotes",label:"Musculoskeletal findings notes",conceptUuid:n("163048"),type:"textarea",section:"objective",visibleWhen:C(n("133613"))},{id:"ChestfiNdinGsNotes",label:"Respiratory findings notes",conceptUuid:n("163042"),type:"textarea",section:"objective",visibleWhen:C(n("160689"))},{id:"SkInNotes",label:"Skin findings notes",conceptUuid:n("160981"),type:"textarea",section:"objective",visibleWhen:C(n("160981"))},{id:"reviewOfInvestigations",label:"Review of investigations",conceptUuid:"d1ef9c04-d3f2-44d6-9aa6-4c3d9bd9b498",type:"textarea",section:"objective"},{id:"clinicalInterpretation",label:"Clinical interpretation",conceptUuid:n("165399"),type:"textarea",section:"assessment",required:!0},{id:"ManagementPlan",label:"Treatment plan",conceptUuid:n("162749"),type:"textarea",section:"plan",required:!0},{id:"feedOrders",label:"Feeding orders",conceptUuid:n("985"),type:"multi",section:"plan",answers:[o("1107","None"),o("162798","Nasogastric tube feeding"),o("165951","Parenteral feeding"),o("165952","NPO (nil per oral)"),o("162758","Clear liquids"),o("5622","Others")],exclusiveAnswer:s},{id:"specifyTherapy",label:"Other feeding order (specify)",conceptUuid:n("160632"),type:"text",section:"plan",visibleWhen:function(A){return T(A,"feedOrders",l)}},{id:"referStO",label:"Destination",conceptUuid:n("1695"),type:"radio",section:"plan",answers:[o("1692","Discharge home"),o("1693","Transferring to another ward"),o("164165","Referring to another facility"),o("159","Deceased")]},{id:"tCAppoinTment",label:"Next review date",conceptUuid:n("167132"),type:"date",datetime:!0,section:"plan"}],M="finalDiagnosisId",E=function(A){return I.find(function(e){return e.id===A})}},84907(A,e,t){"use strict";t.d(e,{e:()=>r,u:()=>n});var a=t(81882),r={encounterTypeUuid:"b6569074-3b8c-43ba-bd4a-98c445405035",formUuid:"1f81d5e2-3569-40cf-bbb9-361a53ba409b"},i=function(A){return(0,a.TO)(A)},n={i18nPrefix:"nursingCardex",sections:[{key:"careTeam",label:"Care team",items:[{field:{id:"DoctorName",label:"Doctor's name",conceptUuid:i("1473"),type:"text",required:!0}},{field:{id:"PrimaryNurse",label:"Primary nurse",conceptUuid:i("166692"),type:"text",required:!0}}]},{key:"notes",label:"Nursing detailed notes",items:[{field:{id:"nursingNotes",label:"Notes",conceptUuid:i("164231"),type:"textarea",rows:8,required:!0}}]}]}},35045(A,e,t){"use strict";t.d(e,{S:()=>r,m:()=>n});var a=t(81882),r={encounterTypeUuid:"b6569074-3b8c-43ba-bd4a-98c445405035",formUuid:"56b3ca43-2687-49d4-a03e-1b4329fe0f63"},i=function(A){return(0,a.TO)(A)},n={i18nPrefix:"nursingCarePlan",sections:[{key:"carePlan",label:"Care plan",items:[{field:{id:"assessmentDate",label:"Assessment date",conceptUuid:i("160753"),type:"date",required:!0}},{field:{id:"nursingDiagnosis",label:"Nursing diagnosis",conceptUuid:i("161602"),type:"text",required:!0}},{field:{id:"goalExpectedOutcome",label:"Goal / expected outcome",conceptUuid:i("160632"),type:"textarea",rows:5,required:!0}},{field:{id:"interventionPlanOfAction",label:"Intervention / plan of action",conceptUuid:i("164378"),type:"textarea",rows:5,required:!0}},{field:{id:"rationale",label:"Rationale",conceptUuid:i("163104"),type:"textarea",rows:5}},{field:{id:"implementation",label:"Implementation",conceptUuid:i("160531"),type:"textarea",rows:5,required:!0}},{field:{id:"evaluation",label:"Evaluation",conceptUuid:i("163756"),type:"textarea",rows:5,required:!0}}]}]}},19902(A,e,t){"use strict";t.d(e,{$x:()=>n,ID:()=>k,R8:()=>K,oC:()=>x});var a=t(81882);function r(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}function i(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(A){return Object.getOwnPropertyDescriptor(t,A).enumerable}))),a.forEach(function(e){var a;a=t[e],e in A?Object.defineProperty(A,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):A[e]=a})}return A}var n={encounterTypeUuid:"6f82e9c7-35e0-4391-8ca7-1742e9a2f35f",encounterTypeName:"NICU Admission Notes",encounterTypeDescription:"NICU admission clerking; one encounter per admission note.",formUuid:""},o=function(A){return(0,a.TO)(A)},c=function(A,e,t){return i({conceptUuid:A.includes("-")?A:o(A),label:e},void 0!==t?{score:t}:{})},d=[c("1065","Yes"),c("1066","No"),c("1067","Unknown")],l=function(A,e,t,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return{field:i({id:A,label:e,conceptUuid:t,type:"select",answers:a},r)}},s=function(A,e,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{field:i({id:A,label:e,conceptUuid:t,type:"number",min:0},a)}},u=function(A,e,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{field:i({id:A,label:e,conceptUuid:t,type:"text"},a)}},b=function(A,e,t){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{field:i({id:A,label:e,conceptUuid:t,type:"textarea",rows:3},a)}},f=[c("703","Positive"),c("664","Negative"),c("1067","Unknown")],p=[c("164835","Labour ward"),c("164834","Theatre"),c("477a7484-0f99-4026-b37c-261be587a70b","External referral"),c("5622","Other")],m=[c("159913","Singleton"),c("21b01e5d-f8ef-4587-b04d-82eef085a20d","Twin"),c("159915","Triplet")],y=[c("1537","Facility"),c("1536","Home"),c("80004061-426b-4d7c-bff0-1e6ce68478fd","Born Before Arrival")],h=[c("01eddbbc-6761-464a-a3bd-6507c15d2856","Blue or pale = 0",0),c("149966","Acrocyanosis = 1",1),c("dd99d911-e4f0-4afb-8d37-1d1603a8b154","Completely pink = 2",2)],g=[c("150518","Absent = 0",0),c("34dc2808-dc57-4fc3-94ec-63e9fbcca464","<100 bpm = 1",1),c("431d44a2-7c18-4691-bb02-93e7171fab4f","≥100 bpm = 2",2)],v=[c("164455","No response = 0",0),c("684ac0c3-eb99-431b-b7ab-d2032e0a545c","Grimace = 1",1),c("6c3fe27d-30d8-47fe-8738-ad385d8247df","Cry / active withdrawal = 2",2)],S=[c("501","Limp = 0",0),c("83891b7c-1332-4ba2-9ba5-0ba10fb6dc89","Some flexion = 1",1),c("928060bb-5113-49f9-97ea-d4de39b27495","Active motion = 2",2)],O=[c("150518","Absent = 0",0),c("d03fe290-c0ce-46e7-85ce-8b5ca334fc1d","Weak cry, irregular, hypoventilation = 1",1),c("5c4a660e-21ba-49e2-9474-972fa8ca91de","Good cry = 2",2)],T=[1,5,10,15,20],U=["Appearance","Pulse","Grimace","Activity","Respiration"],C=function(A,e){return"apgar".concat(A).concat(e)},P=function(A){return"apgar".concat(A,"Min")},R={Appearance:{label:"Appearance",conceptUuid:"86e1c5ce-ea6c-4bbc-a54c-76fe2611f3f6",answers:h},Pulse:{label:"Pulse (heart rate)",conceptUuid:"3475e4e4-c27b-4779-b088-170c973a8a36",answers:g},Grimace:{label:"Grimace (reflex irritability)",conceptUuid:"405d3925-75e1-4193-adc7-71df49942efb",answers:v},Activity:{label:"Activity (muscle tone)",conceptUuid:"d7cd3861-5498-4393-8372-56aefc2c4abb",answers:S},Respiration:{label:"Respiration",conceptUuid:"642b4bf8-eba1-4172-9ec2-7d32a81d2087",answers:O}},w={1:o("159603"),5:o("159604"),10:o("159605"),15:"5a2ac746-78df-4e70-a1b0-6ed0d5568d35",20:"affae2a2-0c06-41a2-8db2-ee9b1060025c"};function k(A){var e=i({},A),t=!0,r=!1,n=void 0;try{for(var o,c=T[Symbol.iterator]();!(t=(o=c.next()).done);t=!0){var d=o.value;e[P(d)]=function(A,e){var t=0,r=!1,i=!0,n=!1,o=void 0;try{for(var c,d=U[Symbol.iterator]();!(i=(c=d.next()).done);i=!0){var l=c.value,s=C(e,l),u=function(A,e){if(!(null==e?void 0:e.trim())||!(null==A?void 0:A.length))return null;var t=A.find(function(A){return A.conceptUuid===e||(0,a.TO)(A.conceptUuid)===(0,a.TO)(e)});if(!t)return null;if("number"==typeof t.score)return t.score;var r=/=\s*(\d+)\s*$/.exec(t.label);return r?Number(r[1]):null}(R[l].answers,A[s]);null!=u&&(r=!0,t+=u)}}catch(A){n=!0,o=A}finally{try{i||null==d.return||d.return()}finally{if(n)throw o}}return r?String(t):""}(e,d)}}catch(A){r=!0,n=A}finally{try{t||null==c.return||c.return()}finally{if(r)throw n}}return e}function x(A){return T.some(function(e){return U.some(function(t){return A===C(e,t)})})}var D=[c("1170","Spontaneous vaginal"),c("118159","Assisted vaginal"),c("1171","Caesarean section"),c("5622","Other")],N=[c("159484","Clear"),c("134488","Meconium-stained"),c("1077","Blood-stained"),c("5622","Other"),c("1067","Unknown")],I=[c("1107","None"),c("167384","Stimulation"),c("167383","Bag-mask ventilation"),c("f94ee1a2-5347-4d64-9132-504283e5399a","Intubation"),c("caadbe4d-655b-45e6-aede-3a658b949fca","Chest compressions"),c("5622","Other")],M=[c("159438","Well"),c("123807","Ill"),c("164830","Critical")],E=[c("ca5b9ce6-ae28-433d-87f0-bd9e4e073ef9","Pink"),c("5245","Pale"),c("136443","Jaundiced"),c("96a12f0c-ba52-455b-bbb4-db12f7e9ee5e","Central cyanosis"),c("167236","Peripheral cyanosis"),c("90e26e52-b0bd-49e2-99cd-134146b3c60c","Mottled")],j=[c("4e2a7f8c-225b-4681-aa03-8c8c42b98bd4","Soft / flat"),c("1836","Bulging"),c("162507","Sunken"),c("5622","Other")],F=[c("1115","Normal"),c("113950","Hypotonia"),c("117202","Hypertonia"),c("140075","Flaccid")],B=[c("1115","Normal"),c("125061","Tachypnoea"),c("cc2c9fbc-629e-4ee6-90d0-663d2e70a389","Retractions"),c("8b607b1a-b5d8-462a-b862-1d577222ba51","Grunting"),c("148517","Apnoea"),c("5622","Other")],V=[c("d9e67739-a18b-4636-ad1c-723c52107038","Equal"),c("de326d7e-5a31-4486-9c23-33d1f5dcfb85","Reduced right"),c("e4d01246-7cc5-44ac-bf32-70eaa20ea4a9","Reduced left"),c("4c84319f-e94f-44b9-a3d6-04bb640a7d1b","Reduced bilateral"),c("5622","Other")],_=[c("1115","Normal"),c("139063","Murmur"),c("1116","Abnormal"),c("160737","Not assessed")],q=[c("54d3b938-5f92-4b05-8a08-0c7b0d8348ef","Soft"),c("9c31d5b6-9983-469a-badc-963376f1b3a5","Distended"),c("d0085fc7-fab6-4f99-b899-52d13e7a1d71","Tense"),c("5105","Tender"),c("5622","Other")],G=[c("1115","Normal"),c("c65ea184-9f42-4ba6-a7fe-e750c823fda1","Redness"),c("123843","Discharge"),c("123844","Bleeding"),c("5622","Other")],H=[c("163456","LGA = Large for Gestational Age"),c("163455","AGA = Appropriate for Gestational Age"),c("163454","SGA = Small for Gestational Age")],W=[c("639","A"),c("641","B"),c("640","AB"),c("642","O"),c("1067","Unknown"),c("5622","Other")],L=[c("703","Positive"),c("664","Negative"),c("1067","Unknown")],z=o("1107"),$=function(A){var e,t=null!=(e=A.multi.resuscitationProvided)?e:[];return!!t.length&&!t.some(function(A){return(0,a.TO)(A)===z})},K={i18nPrefix:"pediatricAdmissionNotes",hideVisitDate:!0,sections:[{key:"doctorAssessment",label:"Doctor admission assessment",items:[l("admissionSource","Admission source","580deb67-9b2f-4cf1-94aa-56c806ca72ee",p),{field:{id:"nicuAdmissionDatetime",label:"NICU admission date/time",conceptUuid:o("1640"),type:"date",datetime:!0,withTime:!0,date:{noFuture:!0}}},s("gestationalAgeWeeks","Gestational age at birth (weeks)",o("1409")),s("ballardScore","Ballard score","8bf5cc10-0f13-42ff-a011-bcc2b68905b9"),s("birthWeightKg","Birth weight (kg)",o("5916"),{}),s("headCircumferenceCm","Head circumference (cm)",o("163555")),s("lengthCm","Length (cm)",o("1503")),l("sizeForGestationalAge","Size for Gestational Age",o("163453"),H),l("deliveryOutcome","Delivery outcome","a31c260a-ac44-402b-8062-71103fe9c17b",m),l("placeOfBirth","Place of birth",o("1572"),y)]},{key:"apgarScores",label:"APGAR Score assessments",items:T.flatMap(function(A){var e;return((function(A){if(Array.isArray(A))return r(A)})(e=U.map(function(e){var t=R[e];return l(C(A,e),"".concat(A," min — ").concat(t.label),t.conceptUuid,t.answers)}))||function(A){if("u">typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(e)||function(A){if(A){if("string"==typeof A)return r(A,void 0);var e=Object.prototype.toString.call(A).slice(8,-1);if("Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(A,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([{field:{id:P(A),label:"Total APGAR Score (".concat(A," min)"),conceptUuid:w[A],type:"number",min:0,max:10,readOnly:!0}}])})},{key:"maternalHistory",label:"Maternal and antenatal history",items:[s("maternalAgeYears","Maternal age (years)",o("164168")),u("gravidityParity","Gravidity / parity",o("160632"),{}),l("antenatalAttendance","Antenatal attendance",o("1592"),d),l("maternalBloodType","Maternal blood type",o("300"),W),l("maternalHivStatus","Maternal HIV status",o("1396"),f),l("maternalVdrlStatus","Maternal VDRL test status",o("299"),L),l("maternalHbsagStatus","Maternal HBsAg test status",o("159430"),L),l("maternalInfectionFever","Maternal infection / fever","aa428b4e-8011-4bc9-a625-66878fe8bab2",d),u("gestationalComplications","Gestational complications","5712fc0e-b24c-4cc7-bd77-d63e8f0baef1"),u("maternalMedications","Maternal medications",o("160632")),b("antenatalInvestigations","Relevant antenatal investigations and conditions","63c9e42c-d8ea-4fb3-a664-864629c9d787")]},{key:"labourDelivery",label:"Labour, delivery and neonatal resuscitation",items:[l("modeOfDelivery","Mode of delivery",o("5630"),D),l("liquor","Liquor","",N),l("membranesArtificiallyRuptured","Membranes artificial ruptured",o("163445"),d),s("durationRomHours","Duration of ROM (hours)",o("167149")),l("criedBreathedAtBirth","Cried / breathed at birth",o("1894"),d),function(A,e,t,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return{field:i({id:A,label:e,conceptUuid:t,type:"multi",answers:a},r)}}("resuscitationProvided","Resuscitation provided","",I,{exclusiveAnswer:z}),b("resuscitationComplications","Resuscitation complications","7bbfd36f-a441-4406-b0b4-f263c6d01953",{visibleWhen:function(A){return $(A)}})]},{key:"vitalSigns",label:"Vital signs",items:[s("admissionTemperatureC","Temperature (\xb0C)",o("5088")),s("admissionHeartRate","Heart rate (bpm)",o("5087")),s("admissionRespiratoryRate","Respiratory rate (breaths/min)",o("5242")),s("admissionSpo2","SpO₂ (%)",o("5092")),s("admissionSystolicBp","Systolic BP (mmHg)",o("5085")),s("admissionDiastolicBp","Diastolic BP (mmHg)",o("5086"))]},{key:"examination",label:"Present illness and initial examination",items:[b("presentingHistory","Presenting history and prior treatment","e93e7e29-ba89-4b8b-a856-7cdae5dd52de"),l("generalCondition","General condition","683dfbf3-4978-40b2-a09f-a8f358a70ecc",M),l("colour","Colour","99880bb5-4266-4a84-838c-411b1ccfb0b9",E),l("fontanelle","Fontanelle","99c5c913-d0db-4685-ab67-4d1882787e31",j),l("tone","Tone","1dedbd22-ef8e-4efe-ab9e-6df0538b6e36",F),l("respiratoryEffort","Respiratory effort","",B),l("airEntry","Air entry","13bc2fd5-60d4-4306-8964-4f02553a7149",V),l("heartSounds","Heart sounds","f9ce7180-82d2-4606-b2d9-9d4ee52686b7",_),l("abdomen","Abdomen","ed15c6c9-f215-459b-bd9d-a8e31996f4b5",q),l("umbilicalCord","Umbilical cord","c33b1efc-cf71-4816-b8d0-e79bf5b9dd20",G),b("spinalAnalExam","Spinal and anal examination findings",o("160632")),b("genitourinaryExam","Genitourinary examination",o("160632")),b("extremitiesExam","Extremities examination",o("160632")),b("otherExaminationFindings","Other examination findings","a2dfca15-1e76-488c-8dae-a9719918bd66")]},{key:"impressionPlan",label:"Clinical impression and initial plan",items:[b("workingImpression","Working impression / provisional diagnosis","9046efb1-0a0f-4d2a-831e-ce8e4859d9c3"),b("stabilization","Stabilization undertaken / required","11b8d803-f2dd-41e9-bd97-1dfc14171672"),b("initialManagementPlan","Initial management plan","44228dc6-cf4d-4b2b-9177-da1552ddefec")]}]}},34069(A,e,t){"use strict";t.d(e,{ae:()=>f,es:()=>n,zo:()=>m});var a=t(81882);function r(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(A){return Object.getOwnPropertyDescriptor(t,A).enumerable}))),a.forEach(function(e){var a;a=t[e],e in A?Object.defineProperty(A,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):A[e]=a})}return A}function i(A,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(e)):(function(A){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(A);e.push.apply(e,t)}return e})(Object(e)).forEach(function(t){Object.defineProperty(A,t,Object.getOwnPropertyDescriptor(e,t))}),A}var n={encounterTypeUuid:"584ecd55-35da-48bf-806e-dc790a4c45d4",encounterTypeName:"NICU/PICU Discharge",encounterTypeDescription:"NICU / PICU discharge summary; one encounter per discharge form.",formUuid:""},o=function(A){return(0,a.TO)(A)},c=function(A,e){return{conceptUuid:A.includes("-")?A:o(A),label:e}},d=c("ea5a4820-b1a0-413b-b6f0-9c2fc041e9d5","Discharge home"),l=c("a7d482aa-06b9-4ee3-9923-c2c3770e8f8b","Transfer to another unit (same facility)"),s=c("164165","Referral to another facility"),u=[d,l,s,c("159","Deceased"),c("1694","Discharge against medical advice / caregiver request"),c("5622","Other")],b=function(A){return function(e){return(0,a.TO)(e.values.outcomeDestination)===(0,a.TO)(A)}},f={i18nPrefix:"pediatricDischargeForm",hideVisitDate:!0,sections:[{key:"demographics",label:"Stay and growth",items:[{field:{id:"admissionDate",label:"Date of admission",conceptUuid:o("1640"),type:"date",datetime:!0,date:{noFuture:!0}}},{field:{id:"dischargeDate",label:"Date of discharge",conceptUuid:o("1641"),type:"date",datetime:!0,required:!0,date:{noFuture:!0,notBeforeVisit:!0}}},{field:{id:"ageAtAdmission",label:"Age at admission",conceptUuid:"33412420-b4dd-4117-a629-827a92aca01d",type:"number",min:0}},{field:{id:"ageAtDischarge",label:"Age at discharge",conceptUuid:"786f4c34-ff07-4609-8381-ebcfc9bf2268",type:"number",min:0}},{field:{id:"gestationalAge",label:"GA (gestational age at birth, weeks)",conceptUuid:o("1409"),type:"number",min:0}},{field:{id:"correctedGa",label:"Corrected GA at discharge",conceptUuid:"808b3046-eadc-4a29-b287-e6fc05274f40",type:"number",min:0}},{field:{id:"birthWeightKg",label:"Weight at birth (kg)",conceptUuid:o("5916"),type:"number",min:0}},{field:{id:"currentWeightG",label:"Current weight (g)",conceptUuid:"c18ae663-0d44-47d8-8750-9b50defba24f",type:"number",min:0}},{field:{id:"headCircumferenceBirth",label:"Head circumference at birth (cm)",conceptUuid:o("163555"),type:"number",min:0}},{field:{id:"currentHc",label:"Current HC (cm)",conceptUuid:"71b44cd5-8f35-49fa-aece-9c7eae8950aa",type:"number",min:0}},{field:{id:"lengthAtBirth",label:"Length at birth (cm)",conceptUuid:o("1503"),type:"number",min:0}},{field:{id:"currentLength",label:"Current length (cm)",conceptUuid:"221911ff-a9d6-4bb8-9e39-68c8587ae293",type:"number",min:0}}]},{key:"clinical",label:"Clinical summary",items:[{field:{id:"maternalIssues",label:"Main maternal issues",conceptUuid:"02ae5bda-8431-484c-ab35-c03714bf1ca7",type:"textarea",rows:3}},{field:{id:"investigations",label:"Investigations done and results",conceptUuid:"",type:"textarea",rows:3}},{field:{id:"treatments",label:"Treatments given in the hospital",conceptUuid:"",type:"textarea",rows:3}},{field:{id:"physicalExam",label:"Physical examination findings at discharge",conceptUuid:"b063b0c3-f0c3-4000-93eb-52e1abdd55e2",type:"textarea",rows:3}},{field:{id:"advicesGiven",label:"Advices given",conceptUuid:"3bbbae94-07df-4162-8cdc-2c3474528b93",type:"textarea",rows:3,required:!0}},{field:{id:"feedingOnDischarge",label:"Type of feeding on discharge",conceptUuid:"825ea7eb-bab9-4471-b348-20dfd68f1f07",type:"text"}},{field:{id:"outcomeDestination",label:"Outcome / destination",conceptUuid:o("1695"),type:"select",required:!0,answers:u}},{field:{id:"transferWard",label:"Transfer to ward",conceptUuid:o("160632"),type:"text",control:"wardSelect",required:!0,visibleWhen:function(A){return b(l.conceptUuid)(A)}}},{field:{id:"referralFacility",label:"Referral facility",conceptUuid:o("160632"),type:"text",control:"facilitySelect",required:!0,visibleWhen:function(A){return b(s.conceptUuid)(A)}}},{field:{id:"referralReason",label:"Reason for transfer / referral",conceptUuid:o("160632"),type:"textarea",rows:3,required:!0,visibleWhen:function(A){return b(s.conceptUuid)(A)}}},{field:{id:"appointmentDate",label:"Appointment date",conceptUuid:"",type:"date",control:"appointmentLauncher",date:{noFuture:!1}}}]}]},p=function(A){return f.sections.flatMap(function(A){return A.items}).flatMap(function(e){return"field"in e&&e.field.id===A?[e.field]:[]})[0]},m={i18nPrefix:"pediatricDischargeForm",hideVisitDate:!0,sections:[{key:"stopDischarge",label:"Discharge form",items:[{field:i(r({},p("dischargeDate")),{required:!0})},{field:i(r({},p("advicesGiven")),{required:!0})},{field:p("outcomeDestination")},{field:p("transferWard")},{field:p("referralFacility")},{field:p("referralReason")},{field:p("appointmentDate")}]}]}},5004(A,e,t){"use strict";t.d(e,{CR:()=>i,N2:()=>c,fg:()=>r,pG:()=>d,s:()=>o});var a=t(81882),r=4,i="Other",n=function(A){return(0,a.TO)(A)},o={time:n("162869"),infusionFluid:n("161911"),infusionFluidOther:n("160632"),lineAccessType:"2cf3fb66-57da-4bcc-acaa-389a96a5763e",site:"c5589cd8-936a-4771-8b5c-895c23a1894c",rate:n("165987"),volumeGiven:n("166650"),pressure:"008bf719-6c0d-4a61-b5eb-d8bb7da058f9",siteCheck:"24fac972-423e-46a2-8d91-535cd5c912fc",lineChange:"02d45669-f534-4e7b-9642-4cf5e3ef95d4",status:"c6843ebf-15a9-4b32-aaae-4b0f422a3391",actionTaken:n("164378"),initials:n("166691"),prescribedMlPerKgDay:n("162659"),weightKg:n("5089"),comments:n("160632")},c={infusionFluid:[{value:"10% Dextrose",uuid:n("161922")},{value:"5% Dextrose",uuid:n("161250")},{value:"10% Dextrose + electrolytes",uuid:"549d9b3d-32a1-46db-8a7e-ed7ec4eb02fa"},{value:"0.9% Sodium chloride",uuid:n("80804")},{value:"0.45% Sodium chloride + 5% Dextrose",uuid:"ca77ade7-0a53-40e1-8105-6457ffe6d018"},{value:"Ringer's lactate",uuid:n("78617")},{value:"Blood / blood products",uuid:"209f5fbc-63bd-4757-a438-c830bf7ba5d3"},{value:i,uuid:n("5622")}],lineAccessType:[{value:"Peripheral IV cannula",uuid:n("166004")},{value:"Umbilical venous catheter (UVC)",uuid:"9d9d98eb-525b-4345-bb6d-03d09a904b78",wards:["nicu"]},{value:"Umbilical arterial catheter (UAC)",uuid:"ad2c9434-b546-418b-8590-4bc99ba9e3f0",wards:["nicu"]},{value:"PICC line",uuid:n("166132")},{value:"Central venous catheter",uuid:n("162625")},{value:"Arterial line",uuid:"fa7cbb4a-bfb1-4ce3-a52d-73cd7b5aab6e"},{value:"Intraosseous",uuid:n("162624")}],site:[{value:"Left hand",uuid:"1440a839-b8a9-403c-8e68-74e046329c8f"},{value:"Right hand",uuid:"b7ff7a6b-6dd0-411e-a160-68ece7ddd895"},{value:"Left forearm",uuid:"93eff7ae-62a8-4a9f-97e2-bbff2b3f59f3"},{value:"Right forearm",uuid:"7184b325-6ff1-4155-879f-fec4a95730f2"},{value:"Left foot",uuid:"408fb546-a429-4406-b50e-5a2bdc0ed823"},{value:"Right foot",uuid:"25315d05-92ef-418f-825c-260ac8b50510"},{value:"Scalp",uuid:n("166309"),wards:["nicu"]},{value:"Umbilicus",uuid:"3f196992-7e2d-484b-a365-182439eb5a0b",wards:["nicu"]},{value:"Femoral",uuid:"3a39d324-c5ce-4bb3-a917-bf8b9fc38bd3"},{value:"Jugular",uuid:"a66f515f-ac7e-423a-b1fd-73717b72b624"}],siteCheck:[{value:"Site clean, no redness",uuid:n("161917")},{value:"Redness",uuid:"c65ea184-9f42-4ba6-a7fe-e750c823fda1"},{value:"Swelling",uuid:n("163894")},{value:"Infiltration",uuid:"55886356-10e2-4f5f-95da-67fb9cd72c0a"},{value:"Extravasation",uuid:"073b86e6-6581-437c-8aee-aa7b49d0ab99"},{value:"Phlebitis",uuid:n("114176")},{value:"Blocked",uuid:"cb792d99-cff3-4060-a57d-084de842c045"}],lineChange:[{value:"No change",uuid:n("162679")},{value:"Line changed",uuid:"02d45669-f534-4e7b-9642-4cf5e3ef95d4"},{value:"Re-sited",uuid:"51d0640c-02d4-4bb2-88f2-8c387421456a"},{value:"Removed",uuid:"249de1fe-bed9-4250-8f16-0a027b5e4a21"}],status:[{value:"Running",uuid:"9902b9f5-417e-40bc-b79e-1a2211af7bf7"},{value:"Paused",uuid:"593b69e0-16b8-4315-ab3b-97a17789b686"},{value:"Completed",uuid:n("1267")},{value:"Stopped",uuid:"737fa73a-509f-40d8-9e84-91dc71db7f4c"}]};function d(A,e){return c[A].filter(function(A){return!A.wards||A.wards.includes(e)}).map(function(A){return A.value})}},86388(A,e,t){"use strict";t.d(e,{RS:()=>d,Vy:()=>o,eR:()=>l,xG:()=>c,y1:()=>s});var a=t(76298),r=t(3632);function i(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(A){return Object.getOwnPropertyDescriptor(t,A).enumerable}))),a.forEach(function(e){var a;a=t[e],e in A?Object.defineProperty(A,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):A[e]=a})}return A}function n(A,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(e)):(function(A){var e=Object.keys(A);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(A);e.push.apply(e,t)}return e})(Object(e)).forEach(function(t){Object.defineProperty(A,t,Object.getOwnPropertyDescriptor(e,t))}),A}var o={encounterTypeUuid:"13cef834-7572-4d66-92ad-087917f39a35",encounterTypeName:"NICU/PICU Feeding Prescription",encounterTypeDescription:"NICU / PICU feeding prescription; one encounter per saved prescription (weight, feed type, targets, route)."},c=["EBM","Donor breast milk","Fortified EBM","Term formula","Preterm formula","Breastfeed","Normal / soft diet","Nil by mouth","Other"],d={Oral:["Breast","Cup","Bottle","Oral",a.NZ],Enteral:["NG tube","OG tube","NJ tube","PEG / gastrostomy","Jejunostomy",a.NZ],Parenteral:["Peripheral IV","Central line (CVC)","PICC",a.NZ],Combination:["Breast","Cup","Bottle","Oral","NG tube","OG tube","NJ tube","PEG / gastrostomy","Jejunostomy","Peripheral IV","Central line (CVC)","PICC",a.NZ]},l=n(i({},a.o$),{weightKg:"5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",feedType:"898fc542-afb2-40b0-8be1-e80d0a4fdd65",feedTypeOther:"ec94f088-9db0-4267-b9a7-f242ccff3adb",waterFlush:"488634d8-080c-4fb5-85dc-4a8c0ce9b702"}),s=n(i({},a.e),{feedType:i({},r.x.nutritionFeedType),route:n(i({},a.e.route),{Breast:"166201AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Cup:"57758e62-5111-4844-8724-0f195fa7cb25",Bottle:"164477AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"})})},3632(A,e,t){"use strict";t.d(e,{j:()=>a,x:()=>r});var a={temperature:"5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",temperatureRoute:"167231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",heartRate:"5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",respiratoryRate:"5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",spo2:"5092AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",spo2ProbeChanged:"",systolic:"5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",diastolic:"5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",meanArterialPressure:"163187AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",nipsFacialExpression:"166932AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",nipsCry:"3a2e3f73-6b1d-41c3-9135-f121d9e5ee56",nipsBreathingPattern:"e475dca6-89f8-48e1-b00f-72e8807f444b",nipsArms:"b8e6412c-6fdd-4577-a908-49bfa40923b8",nipsLegs:"73dac69a-1653-4523-9d12-f1884a6f268c",nipsStateOfArousal:"",painNips:"0674241e-35be-4b3a-a625-f6de1d4b5a86",painFlacc:"166588AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bloodGlucose:"887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",respiratorySupportType:"5b0ce2ef-ef5d-47c9-ab05-21e441327f4b",supportStartDatetime:"162601AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",supportStopDatetime:"8341fd85-86d7-4a3f-99fb-6e2bfebe2455",sampleType:"77eedd62-28a7-4ead-a24e-7cbdd6391784",ph:"165984AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",pco2:"163595AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",po2:"163598AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hco3:"163596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",baseExcess:"163599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",lactate:"1012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ventilatorMode:"165932AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",cpapInterface:"56bac0b6-f601-44cc-9343-a2a4262ee297",o2Flow:"165986AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fio2:"165927AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",volumeGuarantee:"dccc11b8-9555-497f-989d-01fb561489d0",tidalVolume:"60800c98-3b70-4606-a689-34815d2e0b1d",minuteVolume:"1d109b10-7b30-4bfa-8a7c-6ecb73357fc2",pip:"fd370732-6756-42b5-bbae-96eb8a4744ee",peep:"bc3834dc-150f-467e-96f9-17081374371a",setRate:"2c8f5873-ff5d-44be-8453-d029ad79db4f",triggerBreaths:"f7814467-6d0d-4935-a4e9-fe56f43f346d",inspiratoryTime:"2602cea4-1703-485d-be39-fc162ee1de72",expiratoryTime:"0db0bc62-d1ac-4f49-92f5-454a9d037e79",ieRatio:"c819e7e5-b0b3-4ed5-9411-8e869c74020e",deltaPressure:"b30f5309-fb15-4598-a0d6-385a5be243b2",meanAirwayPressure:"5c786303-277d-4d5a-b75a-c9efa42c2ece",hfovH2o:"d5b53c05-7aaa-40db-8ee1-70dc40389859",expiredTidalVolume:"47a8f05a-934f-43cf-82d4-aa50f26d8e81",expiredMinuteVolume:"406ed977-7105-454e-b0cb-d65cadc75540",leakPercent:"aa655410-f9f5-42a0-bac1-060b0ab98d15",humidifierTemperature:"9320ccef-5720-41ce-8a54-a9efdaa0674a",suctionPerformed:"98f1336e-cbad-405c-9085-62cad91d5b09",secretions:"fecc7635-2662-40f0-b0b8-051a19cb647e",recession:"642b4bf8-eba1-4172-9ec2-7d32a81d2087",airEntry:"13bc2fd5-60d4-4306-8964-4f02553a7149",nasalSkin:"",downesScore:"e83bce71-36e0-47aa-a461-bf62dfca66ec",respiratoryDistressScore:"e83bce71-36e0-47aa-a461-bf62dfca66ec",apnoea:"",capillaryRefill:"e5e30c42-b5de-4b1f-966f-08ce56a63d91",peripheralPulses:"3475e4e4-c27b-4779-b088-170c973a8a36",peripheralPerfusion:"d8021de4-83d7-4e8d-9ab7-27b613224316",inotropeAgent:"",inotropeDose:"",gcs:"160347AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",incubatorTemperature:"89d287ed-f86f-4092-9097-429f5e8a1ce7",incubatorHumidity:"ebd15eb4-6cda-4368-94c7-eb5c77a2c360",generalState:"f7676b07-20ad-47c7-89c9-b745bca49263",posture:"dc94a788-de10-417d-aac8-0aed5ba3b806",fontanelle:"162505AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",eyesExam:"163309AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",mouthExam:"163308AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",mouthExamOther:"15078057-2bff-45c9-ad79-dba629cc4945",umbilicalCord:"c33b1efc-cf71-4816-b8d0-e79bf5b9dd20",perineum:"160084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",breathSounds:"b3b5cab7-448f-45d0-b70f-dbb01c95dd9e",cardiovascularPerfusion:"",capillaryRefillTime:"162513AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",skin:"1120AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",abdomen:"160949AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bowelSounds:"38cd4e32-8cfc-4ab4-a0c1-962b8949a1ab",abnormalFindings:"161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",muscleTone:"bafa2000-3fbc-4b44-93ca-c15b05270b71",seizureActivity:"88d81546-346a-43a0-84fc-23b077b70f12",seizureType:"161249AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",motorReflexes:"edc3a4ad-eda4-451e-b0d7-ba5c6a54b639",phototherapyType:"",methodOfCaring:"fb221199-7929-43b7-9428-23c6519f7c32",sucking:"0bb3e5c2-e7b5-4845-85b1-8362d0b11d77",clinicalNotes:"358b95b5-f323-4718-8045-10ff5af108e4",assessmentDatetime:"5797c12e-02e1-421c-813d-0eeebfe5bda6",shift:"f51a171c-6b8d-474a-a026-ce3d5e45a483",clinicalEscalationAt:"c2958f13-414b-4f14-8754-e4c983d2b65a",prescribedVolume:"6fa0eb9b-a1dd-4520-9d77-571cdb0bf03e",prescribedRate:"162523AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",nutritionFeedType:"898fc542-afb2-40b0-8be1-e80d0a4fdd65",nutritionFeedTypeOther:"ec94f088-9db0-4267-b9a7-f242ccff3adb",nutritionFeedRoute:"",nutritionFeedRouteOther:"41bca2a7-56bb-4ade-ab3d-9b7d655c091c",amountOffered:"14c02de9-542a-4e89-9432-ae76b9575f9d",feedGiven:"bdb4ada7-b4cb-4734-bb43-411deb65f1f9",breastfeedDuration:"fff30afa-9d30-4e58-bdf7-0e69d10e09fa",gastricAspirate:"",gastricAspirateType:"",gastricAspirateTypeOther:"977e5b62-45aa-48b7-a111-e9c9c931a60d",vomitingEpisodes:"5455e3a6-c864-4624-addb-86f391234714",vomitingType:"95bb823d-10ae-4a4c-bfab-0d7b54641b33",vomitingTypeOther:"d9a7a42d-daf4-4d22-9b3b-9f49affb48af",tubePosition:"c10b2789-52f6-4100-bd42-b037699751e3",abdominalCondition:"1125AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",abdominalConditionOther:"160947AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",abdominalGirth:"b3a2b9af-7c00-4c21-a0f3-8f36d332397a",stoolPassed:"ccf044f4-0751-4c3e-8be8-613089a69240",stoolPassedOther:"3ffeb013-0dc2-4ce3-95bb-bf87887c4c45",urinePassed:"161929AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",feedRemarks:"163189AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",totalFeedVolume24h:"74e52e41-88cd-4ba2-83e8-ba584aafe024",weightKg:"5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",feedingPlan:"9264a545-5952-42e4-bf1b-c2086aace596",nutritionConcern:"eabeb62d-bbe0-4cf2-a7e9-8a635856dab8",actionPlan:"44228dc6-cf4d-4b2b-9177-da1552ddefec",growthComment:""},r={temperatureRoute:{Axillary:"b46aa003-ab6a-4465-b911-9e92e4a5a54f","Skin probe":"408c7c0f-2906-447f-8128-fd27b9ca038c",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},nipsFacialExpression:{0:"3c41369b-56be-4e96-bb76-5c36fb0feb9c",1:"684ac0c3-eb99-431b-b7ab-d2032e0a545c","Relaxed = 0":"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Grimace = 1":"684ac0c3-eb99-431b-b7ab-d2032e0a545c",Relaxed:"3c41369b-56be-4e96-bb76-5c36fb0feb9c",Grimace:"684ac0c3-eb99-431b-b7ab-d2032e0a545c"},nipsCry:{0:"8a34b63b-b9be-4560-856f-28c6cebe0bbc",1:"d172379d-7a79-4f0e-bc17-b361b0f1fd77",2:"1ec9c42c-7e22-488e-84a7-4fb3253b0b58","No cry = 0":"8a34b63b-b9be-4560-856f-28c6cebe0bbc","Whimper = 1":"d172379d-7a79-4f0e-bc17-b361b0f1fd77","Vigorous cry = 2":"1ec9c42c-7e22-488e-84a7-4fb3253b0b58","No Cry":"8a34b63b-b9be-4560-856f-28c6cebe0bbc",Whimper:"d172379d-7a79-4f0e-bc17-b361b0f1fd77","Vigorous Cry":"1ec9c42c-7e22-488e-84a7-4fb3253b0b58"},nipsBreathingPattern:{0:"3c41369b-56be-4e96-bb76-5c36fb0feb9c",1:"fe6e1671-1de0-4970-ad3d-7f595cbfa617","Relaxed = 0":"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Change in breathing = 1":"fe6e1671-1de0-4970-ad3d-7f595cbfa617",Relaxed:"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Change in Breathing":"fe6e1671-1de0-4970-ad3d-7f595cbfa617"},nipsArms:{0:"3c41369b-56be-4e96-bb76-5c36fb0feb9c",1:"6621a456-2da9-410a-b422-e6d26fe98b33","Relaxed = 0":"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Flexed/extended = 1":"6621a456-2da9-410a-b422-e6d26fe98b33","Relaxed/Restrained":"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Flexed/Extended":"6621a456-2da9-410a-b422-e6d26fe98b33"},nipsLegs:{0:"3c41369b-56be-4e96-bb76-5c36fb0feb9c",1:"6621a456-2da9-410a-b422-e6d26fe98b33","Relaxed = 0":"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Flexed/extended = 1":"6621a456-2da9-410a-b422-e6d26fe98b33","Relaxed/Restrained":"3c41369b-56be-4e96-bb76-5c36fb0feb9c","Flexed/Extended":"6621a456-2da9-410a-b422-e6d26fe98b33"},nipsStateOfArousal:{0:"3c41369b-56be-4e96-bb76-5c36fb0feb9c",1:"2e6541c6-27b1-404b-884d-a60b034fe7b0","Sleeping/Calm":"3c41369b-56be-4e96-bb76-5c36fb0feb9c",Fussy:"2e6541c6-27b1-404b-884d-a60b034fe7b0"},respiratorySupportType:{"No respiratory support":"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Oxygen therapy":"9e52ee7a-4f0b-450f-9d8c-b37aa49c6b49","Non-invasive positive-pressure support":"165936AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Invasive mechanical ventilation":"073121aa-fe3f-4b21-923a-3ffdb7c17035"},sampleType:{A:"67d9182c-7688-4eee-826f-4a17d6206437",C:"165889AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",V:"158d434a-c375-4227-9e9c-f3b7680de7c9",Arterial:"67d9182c-7688-4eee-826f-4a17d6206437",Capillary:"165889AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Venous:"158d434a-c375-4227-9e9c-f3b7680de7c9"},ventilatorMode:{"Room air":"162735AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Low-flow oxygen":"162738AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","SIPPV / AC":"a5d4bb14-4732-40b5-85c7-cfdb23abe63a","NIPPV / BiPAP":"165988AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",SIMV:"165942AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",CPAP:"165944AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",HFOV:"d5b53c05-7aaa-40db-8ee1-70dc40389859",PTV:"2b53a91d-e0dd-4cbc-baf8-90188876dfaa",CMV:"5a1cd030-d371-4b3a-a2f3-1e6b04072f69","PC/AC":"0cb45433-8cb1-42c6-9ac6-5c9e97e27476",PCV:"165943AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",VCV:"165939AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Pressure support":"165943AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",PS:"165943AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",PAP:"155894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","High-flow nasal cannula":"167152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},cpapInterface:{"Nasal prongs":"10e19fa2-6fce-4924-b768-3c855a99d2b9","Nasal mask":"2c988f72-fee8-47f9-a5a8-6da1ca1dac16","Face mask":"480e533d-6c20-41f2-9531-5da9c60c1835","Head box":"970f4f8d-be16-4adb-ac69-f2dae4249c30","High-flow nasal cannula":"167152AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Incubator oxygen":"e032f89e-bbb1-45ac-8e57-5dfc2bb70828","Nasopharyngeal tube":"3f43dd79-1998-4abb-bcbd-adfd1a178665","Endotracheal tube":"165935AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Tracheostomy:"872a3600-df1f-4a09-869c-f7cf77bd59a0"},suctionPerformed:{Yes:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",No:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},secretions:{None:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Clear:"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",White:"1075AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Yellow:"160910AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Green:"160909AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Blood-stained":"1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Scanty:"159985AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Moderate:"1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},recession:{Normal:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Substernal retractions (SS)":"fb018983-f02b-4d6b-bc7d-266c00e0b4e4","Subcostal retractions (SC)":"42812557-4564-47dd-bb42-6e4849988342","Intercostal retractions (IC)":"136768AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Tracheal tug (TT)":"1ae65a95-890d-4eb1-8161-36bc2a2b7a1d","Nasal flare (NF)":"94928fdc-4e8a-436c-97fa-9135deeb010a","Grunting (G)":"8b607b1a-b5d8-462a-b862-1d577222ba51",Apnoea:"148517AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Recession:"125898AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Subcostal recession":"162733AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Intercostal recession":"136768AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Nasal flaring":"a7821157-f400-442a-903f-91304a0777e0",Grunting:"156534AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},airEntry:{"Equal bilaterally":"eef4e958-2904-41ff-96a3-5077f68a45df","Reduced left":"162648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Reduced right":"de326d7e-5a31-4486-9c23-33d1f5dcfb85","Reduced bilaterally":"4c84319f-e94f-44b9-a3d6-04bb640a7d1b"},nasalSkin:{Intact:"164839AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Redness:"c65ea184-9f42-4ba6-a7fe-e750c823fda1",Blanching:"b23fc843-347b-477f-b7c9-2d81e6f67ed6","Pressure mark":"ecf087be-4ed3-4651-8782-780336bdfaa4","Skin breakdown":"723ddb60-4d9a-44ab-87cc-511e765c3e59"},capillaryRefill:{"≤ 3 seconds":"8e654f5a-2f42-4831-a0e5-38cebae5f6e6","> 3 seconds":"5919faaa-cb2a-4307-93b2-98cd9fb173dd","≤3":"8e654f5a-2f42-4831-a0e5-38cebae5f6e6",">3":"5919faaa-cb2a-4307-93b2-98cd9fb173dd"},peripheralPulses:{Normal:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Weak:"124823AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Bounding:"147044AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Absent:"150518AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},peripheralPerfusion:{"Pink and warm":"fb6b60c2-5a94-46f3-9e93-2e047d92694b",Pale:"5245AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Mottled:"90e26e52-b0bd-49e2-99cd-134146b3c60c",Cyanosed:"143050AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Cool peripheries":"dfc2e50b-4e84-4e45-b6e5-ebfb91c71002"},nutritionFeedType:{EBM:"1173AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Donor breast milk":"ac2c9101-e30c-46d3-af19-06a105889601","Fortified EBM":"e9a556d7-1335-4b3c-a2a2-398f649ef874","Term formula":"39895796-9828-45b0-bbc3-998daf61fbbb","Preterm formula":"572d27a2-305a-4e7d-8085-df842bf70783",Breastfeed:"14ec7306-996d-41d4-bc5e-75259470e5d4","Normal / soft diet":"effe506c-8305-47fb-84da-b7281511e2db","Nil by mouth":"c24e104e-ae2f-4abf-94e2-e7948e081e39",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},nutritionFeedRoute:{Breast:"166201AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Cup:"57758e62-5111-4844-8724-0f195fa7cb25",Bottle:"164477AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Oral:"160240AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","NG tube":"162798AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","OG tube":"709e6c40-d093-4ac4-88f2-519c0f6a7ceb",Gastrostomy:"156470AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},gastricAspirateType:{Clear:"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Milky / undigested":"15b961c3-9a2b-4c45-8756-90d0957f4888","Partially digested":"6b5967a2-0d2f-440f-b53f-be06e0212ee1","Bile-stained":"8ba1e74b-d173-4ae0-a386-6acb41babc32","Blood-stained":"1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},vomitingType:{"Milky vomit":"2c174e4f-0f29-4e63-bc19-b8cdead82ad3",Projectile:"128423AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Bile-stained":"8ba1e74b-d173-4ae0-a386-6acb41babc32","Blood-stained":"1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},tubePosition:{"Re-sited":"51d0640c-02d4-4bb2-88f2-8c387421456a",Removed:"249de1fe-bed9-4250-8f16-0a027b5e4a21","Not applicable":"1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},abdominalCondition:{"Soft / normal":"159486AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Distended:"2930b791-0b48-4246-b733-ba68a7b80ba6",Tense:"427e3100-22b1-4019-bf1e-b9f728ef5f2d",Tender:"07e32bfd-7790-4446-ae83-2e1207895cb3",Discoloured:"6246dad8-7be6-44a2-8b21-612769e5ca3a","Visible bowel loops":"e7f17373-43f0-48ad-bbbb-62d4ea4c4873",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},stoolPassed:{None:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Meconium:"495974ff-05d4-4c73-b722-9f9ab57114db",Transitional:"1b6ea884-d90e-41fb-9ffa-12b5f78654a6","Yellow / seedy":"42885725-0289-4fa1-a92a-097e1348e3a8","Normal formed":"aa0dd029-db2f-4fda-a668-f7eae957ce90","Loose / watery":"135603AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Blood-stained":"8ba1e74b-d173-4ae0-a386-6acb41babc32",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},generalState:{Stable:"1855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Unstable:"cb37e356-9a8d-4e1b-aa72-afc3f6fede91","Quiet alert":"2e2c5cec-08f0-45d1-8e14-c2726c71ef5f",Fussy:"2e6541c6-27b1-404b-884d-a60b034fe7b0",Crying:"1c0c6f26-3eaf-4741-9a26-7e68af970dec",Lethargic:"1ef19d2f-5f31-4d9d-9d04-bb63aee8035c",Unresponsive:"03ad71e7-4ee9-435b-841a-c56bf2f48ae6",Jittery:"6820bdc5-4f89-409c-a023-7786ce36d0ec",Irritable:"118296AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},posture:{Flexed:"6621a456-2da9-410a-b422-e6d26fe98b33",Extended:"e02d7e41-aeaf-498e-8297-5498a09a083b",Asymmetric:"c88c3c97-735e-4e2e-b549-e3cba04f4c7e",Opisthotonic:"6253e6ba-62c0-44f8-809c-fd4700dd8f31",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},fontanelle:{"Soft / flat":"4e2a7f8c-225b-4681-aa03-8c8c42b98bd4",Tense:"163347AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Bulging:"1836AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Sunken:"162507AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},eyesExam:{Clear:"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Red:"127777AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Swollen:"159012AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Purulent discharge":"96426683-1275-4931-8795-a6aeabddbcd5",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},mouthExam:{Healthy:"1855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Thrush:"a7596b01-8878-4cc0-b742-0e8ec2f30ed7",Dry:"156095AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Lesion:"152779AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},umbilicalCord:{"Clean / dry":"162122AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Red:"127778AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Discharge:"123843AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Bleeding:"123844AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Cord off":"3da296ab-a4eb-44f9-a909-b97587b9897b",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},perineum:{Healthy:"1855AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Rash:"d10711ee-1ed5-40b8-a56a-df3359914453",Excoriated:"140931AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Broken skin":"d8f911a7-662a-4e2e-8e69-56e634e31782",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},breathSounds:{"Clear / equal":"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Reduced:"142907AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Crackles:"127640AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Wheeze:"5209AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Rhonchi:"5181AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Stridor:"125782AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},cardiovascularPerfusion:{"Warm / pink":"04e3df0b-73a3-45c4-9a36-7c01f1dc9db9",Cold:"dfc2e50b-4e84-4e45-b6e5-ebfb91c71002",Pale:"147096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Mottled:"90e26e52-b0bd-49e2-99cd-134146b3c60c",Jaundiced:"136443AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Central Cyanosis":"96a12f0c-ba52-455b-bbb4-db12f7e9ee5e","Peripheral Cyanosis":"167236AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Oedema:"e22a347d-38c6-47bc-886b-6fb1ca172983"},skin:{Intact:"537aeef2-7f7a-4db3-b9f4-9962418b5ce6",Peeling:"126390AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Rash:"d10711ee-1ed5-40b8-a56a-df3359914453","Pressure injury":"d1026f00-96fb-465c-8a26-7b8d82243723",Bruised:"ede16415-e253-474d-bffb-e43a2ce7615e",Lesion:"112938AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},abdomen:{Soft:"159486AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Distended:"2930b791-0b48-4246-b733-ba68a7b80ba6",Tense:"140468AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Scaphoid:"127153AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Visible bowel loops":"e7f17373-43f0-48ad-bbbb-62d4ea4c4873",Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},bowelSounds:{Present:"e77613fd-0747-4c43-b3c3-0be1d8175f05",Reduced:"142908AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Absent:"147038AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},muscleTone:{Normal:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Hypotonia:"115372AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Hypertonia:"117202AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Opisthotonic:"6253e6ba-62c0-44f8-809c-fd4700dd8f31",Flaccid:"140075AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},seizureType:{Other:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},motorReflexes:{Normal:"1115AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Reduced:"162648AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Absent:"150516AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Exaggerated:"fa81f867-a355-47dd-95b4-02e031e68fcd"},phototherapyType:{Single:"162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Double:"b6c583ad-c42d-4470-a4ae-7f119450169c","Photo-blanket":"3797e5a7-ba6a-4023-8201-5f5235418270"},methodOfCaring:{"Kangaroo mother care":"164173AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Skin-to-skin":"e4fcb8f6-d6b8-4e30-89f1-27821e42b82a",None:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},sucking:{Latching:"936f6682-7040-4be5-9f47-a34f1c9873e4","Not Applicable":"1175AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Strong:"4b90b73a-ad11-4650-91b0-baea131974e0",Weak:"584bfeee-02f9-4cc7-a487-f9194fc9354b","No effort":"3122e193-6eed-4c59-9095-61d85626ba79","Non-Nutritive Sucking":"b91b7ed1-64b2-4431-819a-352f141a3ad0"},shift:{Day:"53faf249-3d2c-4de6-94aa-f22138a6e12a",Night:"e46816d4-bf4d-4ce1-bcb4-e2644e6074e6",Afternoon:"161016AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}}},31117(A,e,t){"use strict";t.d(e,{m:()=>a});var a={orderEncounterTypeUuid:"7df67b83-1b84-4fe2-b1b7-794b4e9bfcc3",careSettingUuid:"c365e560-c3ec-11e3-9c1a-0800200c9a66",drugOrderTypeUuid:"131168f4-15f5-102d-96e4-000c29c2a5d7"}},47481(A,e,t){"use strict";var a=t(1487),r=t(49022),i=t(76298),n=t(86388),o=t(4688),c=t(31117),d=t(78682),l=t(47354),s=t(19902),u=t(34069),b=t(35045),f=t(84907),p=t(34960),m=t(15312),y=t(97984),h=t(5004),g=t(3632);function v(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}function S(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(A){return Object.getOwnPropertyDescriptor(t,A).enumerable}))),a.forEach(function(e){var a;a=t[e],e in A?Object.defineProperty(A,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):A[e]=a})}return A}function O(A,e){return Object.fromEntries(Object.entries(A).map(function(A){var t=function(A){if(Array.isArray(A))return A}(A)||function(A){var e,t,a=null==A?null:"u">typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=a){var r=[],i=!0,n=!1;try{for(a=a.call(A);!(i=(e=a.next()).done)&&(r.push(e.value),2!==r.length);i=!0);}catch(A){n=!0,t=A}finally{try{i||null==a.return||a.return()}finally{if(n)throw t}}return r}}(A)||function(A){if(A){if("string"==typeof A)return v(A,2);var e=Object.prototype.toString.call(A).slice(8,-1);if("Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return v(A,2)}}(A)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],i=t[1];return[r,{_type:a.Type.ConceptUuid,_default:i,_description:"".concat(e," concept: ").concat(r)}]}))}m.i6.icu,a.Type.Number,a.Type.String,a.Type.Boolean,a.Type.Number,a.Type.String,a.Type.String,a.Type.String,a.Type.String,a.Type.String,m.Cs.icu,a.Type.Object,S({},m.i6),a.Type.String,m.i6.icu,a.Type.String,m.i6.hdu,a.Type.String,m.i6.nicu,a.Type.String,m.i6.picu,a.Type.Object,S({},m.Cs),a.Type.String,m.Cs.icu,a.Type.String,m.Cs.hdu,a.Type.String,m.Cs.nicu,a.Type.String,m.Cs.picu,a.Type.String,y.Ak.icuMonitoringStart,a.Type.String,y.Ak.icuMonitoringStop,a.Type.String,y.Ak.respiratory,a.Type.String,y.Ak.abg,a.Type.String,y.Ak.clinicalChart,a.Type.String,y.Ak.linesAndTubes,a.Type.String,y.Ak.personalCare,a.Type.String,y.Ak.fluidBalance,a.Type.String,y.Ak.intravenousInfusion,a.Type.String,y.Ak.bilevelCpap,a.Type.String,y.Ak.pediatricIvInfusion,a.Type.String,y.Ak.pediatricObservations,a.Type.String,y.Ak.safetyHandover,O(y.xN,"Respiratory"),O(y.ri,"ABG"),O(y.Mb,"Cardiovascular"),O(y.dy,"CVS"),O(y.Z8,"CNS"),O(y.wE,"Neuro"),O(y.$g,"Renal"),O(y.fk,"Nutrition"),O(y.O3,"Skin"),O(y.OT,"Lines and tubes"),O(y.oq,"Fluid balance"),O(y.WF,"Intravenous infusion"),O(y.XE,"Personal care"),O(y.Fg,"Bi-level & CPAP"),O(h.s,"NICU/PICU IV infusion"),O(g.j,"NICU/PICU Observations"),a.Type.ConceptUuid,y.TO.treatmentStartDate,a.Type.ConceptUuid,y.TO.treatmentEndDate,a.Type.ConceptUuid,y.TO.stopReason,a.Type.ConceptUuid,y.TO.stopReasonNotes,a.Type.ConceptUuid,y.TO.transferDestination,a.Type.ConceptUuid,y.AJ.discharged,a.Type.ConceptUuid,y.AJ.death,a.Type.ConceptUuid,y.AJ.transferred,a.Type.ConceptUuid,y.AJ.leftAgainstAdvice,a.Type.ConceptUuid,y.AJ.other,O(y.Ye,"Stop / LAMA detail"),a.Type.ConceptUuid,y.r8.emergencyDepartment,a.Type.ConceptUuid,y.r8.theatre,a.Type.ConceptUuid,y.r8.hdu,a.Type.ConceptUuid,y.r8.ward,a.Type.ConceptUuid,y.r8.other,a.Type.String,a.Type.String,a.Type.String,a.Type.String,a.Type.Object,a.Type.Boolean,a.Type.Number,a.Type.Number,a.Type.Number,a.Type.Number,a.Type.Number,a.Type.Object,a.Type.Boolean,a.Type.Number,a.Type.String,a.Type.Object,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.Object,a.Type.ConceptUuid,a.Type.ConceptUuid,a.Type.Array,a.Type.UUID,a.Type.Number,a.Type.String,a.Type.String,a.Type.Object,r.Nn.encounterTypeUuid,r.Nn.formUuid,a.Type.UUID,r.Nn.encounterTypeUuid,a.Type.UUID,r.Nn.formUuid,a.Type.Object,p.tQ.encounterTypeUuid,p.tQ.formUuid,a.Type.UUID,p.tQ.encounterTypeUuid,a.Type.UUID,p.tQ.formUuid,a.Type.Object,l.BJ.encounterTypeUuid,l.BJ.formUuid,a.Type.UUID,l.BJ.encounterTypeUuid,a.Type.UUID,l.BJ.formUuid,a.Type.Object,s.$x.encounterTypeUuid,s.$x.formUuid,a.Type.UUID,s.$x.encounterTypeUuid,a.Type.String,s.$x.formUuid,a.Type.Object,u.es.encounterTypeUuid,u.es.formUuid,a.Type.UUID,u.es.encounterTypeUuid,a.Type.String,u.es.formUuid,a.Type.Object,d.p.encounterTypeUuid,d.p.formUuid,a.Type.UUID,d.p.encounterTypeUuid,a.Type.UUID,d.p.formUuid,a.Type.Object,b.S.encounterTypeUuid,b.S.formUuid,a.Type.UUID,b.S.encounterTypeUuid,a.Type.UUID,b.S.formUuid,a.Type.Object,f.e.encounterTypeUuid,f.e.formUuid,a.Type.UUID,f.e.encounterTypeUuid,a.Type.UUID,f.e.formUuid,a.Type.Object,o.Pb.encounterTypeUuid,a.Type.UUID,o.Pb.encounterTypeUuid,a.Type.Object,i.Jx.encounterTypeUuid,a.Type.UUID,i.Jx.encounterTypeUuid,a.Type.Object,n.Vy.encounterTypeUuid,a.Type.UUID,n.Vy.encounterTypeUuid,a.Type.Object,c.m.orderEncounterTypeUuid,c.m.careSettingUuid,a.Type.UUID,c.m.orderEncounterTypeUuid,a.Type.UUID,c.m.careSettingUuid;var T={featureName:"esm-icu-app",moduleName:"@kenyaemr/esm-icu-app"};t(84767),(0,a.getAsyncLifecycle)(function(){return Promise.all([t.e("3989"),t.e("5361"),t.e("8924"),t.e("2115"),t.e("5279"),t.e("4014"),t.e("9274"),t.e("6479"),t.e("2971"),t.e("4818"),t.e("1072"),t.e("7209"),t.e("7887"),t.e("9011"),t.e("542"),t.e("7618"),t.e("4145"),t.e("257"),t.e("5169"),t.e("4619"),t.e("1448"),t.e("8876"),t.e("4852"),t.e("350"),t.e("367"),t.e("4922"),t.e("6786"),t.e("473"),t.e("6025"),t.e("7584"),t.e("6550"),t.e("4499"),t.e("9759"),t.e("2838"),t.e("1301"),t.e("7250"),t.e("518"),t.e("6059"),t.e("8960"),t.e("1954"),t.e("6122"),t.e("3632"),t.e("6941"),t.e("1005"),t.e("3197"),t.e("7986"),t.e("7629"),t.e("6881"),t.e("1684"),t.e("3142"),t.e("4266"),t.e("2639"),t.e("9442"),t.e("7064"),t.e("4475"),t.e("1993"),t.e("4245"),t.e("6744"),t.e("2677"),t.e("2008"),t.e("7375"),t.e("6223"),t.e("3523"),t.e("5773"),t.e("8348"),t.e("7434"),t.e("1085"),t.e("3885"),t.e("505"),t.e("6699"),t.e("2425"),t.e("3649")]).then(t.bind(t,3672))},T),(0,a.getAsyncLifecycle)(function(){return Promise.all([t.e("3989"),t.e("5361"),t.e("8924"),t.e("2115"),t.e("5279"),t.e("4014"),t.e("9274"),t.e("6479"),t.e("2971"),t.e("4818"),t.e("1072"),t.e("7209"),t.e("7887"),t.e("9011"),t.e("542"),t.e("7618"),t.e("4145"),t.e("257"),t.e("5169"),t.e("4619"),t.e("1448"),t.e("8876"),t.e("4852"),t.e("350"),t.e("367"),t.e("4922"),t.e("6786"),t.e("473"),t.e("6025"),t.e("7584"),t.e("6550"),t.e("4499"),t.e("9759"),t.e("2838"),t.e("1301"),t.e("7250"),t.e("518"),t.e("6059"),t.e("8960"),t.e("1954"),t.e("6122"),t.e("3632"),t.e("6941"),t.e("1005"),t.e("3197"),t.e("7986"),t.e("7629"),t.e("6881"),t.e("1684"),t.e("3142"),t.e("4266"),t.e("2639"),t.e("9442"),t.e("7064"),t.e("4475"),t.e("1993"),t.e("4245"),t.e("6744"),t.e("2677"),t.e("2008"),t.e("7375"),t.e("6223"),t.e("3523"),t.e("5773"),t.e("8348"),t.e("7434"),t.e("1085"),t.e("3885"),t.e("505"),t.e("6699"),t.e("233")]).then(t.bind(t,54848))},T),(0,a.getAsyncLifecycle)(function(){return Promise.all([t.e("3989"),t.e("5361"),t.e("8924"),t.e("2115"),t.e("5279"),t.e("4014"),t.e("4818"),t.e("7209"),t.e("7887"),t.e("257"),t.e("5169"),t.e("4619"),t.e("1448"),t.e("8876"),t.e("4852"),t.e("350"),t.e("2425"),t.e("5365")]).then(t.bind(t,18740))},T)},81882(A,e,t){"use strict";function a(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}function r(A){var e,t=null!=(e=null==A?void 0:A.trim())?e:"";if(!t)return"";if(t.includes("-"))return t;if(/^\d+$/.test(t))return"".concat(t).concat("A".repeat(Math.max(0,36-t.length)));var r=t.match(/^(\d+)(A+)$/i);if(r){var i=(function(A){if(Array.isArray(A))return A}(r)||function(A){var e,t,a=null==A?null:"u">typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=a){var r=[],i=!0,n=!1;try{for(a=a.call(A);!(i=(e=a.next()).done)&&(r.push(e.value),2!==r.length);i=!0);}catch(A){n=!0,t=A}finally{try{i||null==a.return||a.return()}finally{if(n)throw t}}return r}}(r)||function(A){if(A){if("string"==typeof A)return a(A,2);var e=Object.prototype.toString.call(A).slice(8,-1);if("Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return a(A,2)}}(r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];return"".concat(i).concat("A".repeat(Math.max(0,36-i.length)))}return t}function i(A,e){var t=r(A),a=r(e);return!!(t&&a&&t===a)}function n(A){if("string"==typeof A){var e=A.trim();if(/^\d{5,}$/.test(e))return r(e)}return A}t.d(e,{TO:()=>r,d1:()=>n,m0:()=>i})},97829(A,e,t){"use strict";var a=t(40523),r=t.n(a);function i(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,a=Array(e);t<e;t++)a[t]=A[t];return a}function n(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t,a,r=null==A?null:"u">typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=r){var i=[],n=!0,o=!1;try{for(r=r.call(A);!(n=(t=r.next()).done)&&(i.push(t.value),!e||i.length!==e);n=!0);}catch(A){o=!0,a=A}finally{try{n||null==r.return||r.return()}finally{if(o)throw a}}return i}}(A,e)||c(A,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(A){return A&&"u">typeof Symbol&&A.constructor===Symbol?"symbol":typeof A}function c(A,e){if(A){if("string"==typeof A)return i(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(A,e)}}var d=[].filter(function(A){return A.plugin}).map(function(A){return(0,A.plugin)(A.params)}),l={};if((t.initializeSharingData||t.initializeExposesData)&&t.federation){var s,u,b,f,p,m,y,h,g,v,S,O,T=function(A,e,t){A&&A[e]&&(A[e]=t)},U=function(A,e,t){var a,r=t();Array.isArray(r)?(null!=A[e]||(A[e]=[]),(a=A[e]).push.apply(a,function(A){if(Array.isArray(A))return i(A)}(r)||function(A){if("u">typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(r)||c(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):(void 0===r?"undefined":o(r))==="object"&&null!==r&&(null!=A[e]||(A[e]={}),Object.assign(A[e],r))},C=function(A,e,t){null!=A[e]||(A[e]=t())},P=null!=(s=null==(m=t.remotesLoadingData)?void 0:m.chunkMapping)?s:{},R=null!=(u=null==(y=t.remotesLoadingData)?void 0:y.moduleIdToRemoteDataMapping)?u:{},w=null!=(b=null==(h=t.initializeSharingData)?void 0:h.scopeToSharingDataMapping)?b:{},k=null!=(f=null==(g=t.consumesLoadingData)?void 0:g.chunkMapping)?f:{},x=null!=(p=null==(v=t.consumesLoadingData)?void 0:v.moduleIdToConsumeDataMapping)?p:{},D={},N=[],I={},M=null==(S=t.initializeExposesData)?void 0:S.shareScope;for(var E in r())t.federation[E]=r()[E];C(t.federation,"consumesLoadingModuleToHandlerMapping",function(){var A={},e=!0,t=!1,a=void 0;try{for(var r,i=Object.entries(x)[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=n(r.value,2),c=o[0],d=o[1];A[c]={getter:d.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:d.requiredVersion,strictVersion:d.strictVersion,singleton:d.singleton,eager:d.eager},scope:[d.shareScope]},shareKey:d.shareKey}}}catch(A){t=!0,a=A}finally{try{e||null==i.return||i.return()}finally{if(t)throw a}}return A}),C(t.federation,"initOptions",function(){return{}}),C(t.federation.initOptions,"name",function(){return"@kenyaemr/esm-icu-app"}),C(t.federation.initOptions,"shareStrategy",function(){return"version-first"}),C(t.federation.initOptions,"shared",function(){var A={},e=!0,t=!1,a=void 0;try{for(var r,i=Object.entries(w)[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var c=n(r.value,2),d=c[0],l=c[1],s=!0,u=!1,b=void 0;try{for(var f,p=l[Symbol.iterator]();!(s=(f=p.next()).done);s=!0){var m=f.value;if((void 0===m?"undefined":o(m))==="object"&&null!==m){var y=m.name,h=m.version,g=m.factory,v=m.eager,S=m.singleton,O=m.requiredVersion,T=m.strictVersion,U={},C=function(A){return void 0!==A};C(S)&&(U.singleton=S),C(O)&&(U.requiredVersion=O),C(v)&&(U.eager=v),C(T)&&(U.strictVersion=T);var P={version:h,scope:[d],shareConfig:U,get:g};A[y]?A[y].push(P):A[y]=[P]}}}catch(A){u=!0,b=A}finally{try{s||null==p.return||p.return()}finally{if(u)throw b}}}}catch(A){t=!0,a=A}finally{try{e||null==i.return||i.return()}finally{if(t)throw a}}return A}),U(t.federation.initOptions,"remotes",function(){return Object.values(l).flat().filter(function(A){return"script"===A.externalType})}),U(t.federation.initOptions,"plugins",function(){return d}),C(t.federation,"bundlerRuntimeOptions",function(){return{}}),C(t.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),C(t.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return P}),C(t.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return l}),C(t.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var A={},e=!0,t=!1,a=void 0;try{for(var r,i=Object.entries(R)[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=n(r.value,2),c=o[0],d=o[1];A[c]=[d.shareScope,d.name,d.externalModuleId,d.remoteName]}}catch(A){t=!0,a=A}finally{try{e||null==i.return||i.return()}finally{if(t)throw a}}return A}),C(t.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return t}),U(t.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var A={},e=!0,t=!1,a=void 0;try{for(var r,i=Object.entries(R)[Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var o=n(r.value,2),c=o[0],d=l[o[1].remoteName];d&&(A[c]=d)}}catch(A){t=!0,a=A}finally{try{e||null==i.return||i.return()}finally{if(t)throw a}}return A}),T(t,"S",t.federation.bundlerRuntime.S),t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),T(t.f,"remotes",function(A,e){return t.federation.bundlerRuntime.remotes({chunkId:A,promises:e,chunkMapping:P,idToExternalAndNameMapping:t.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:t.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:t})}),T(t.f,"consumes",function(A,e){return t.federation.bundlerRuntime.consumes({chunkId:A,promises:e,chunkMapping:k,moduleToHandlerMapping:t.federation.consumesLoadingModuleToHandlerMapping,installedModules:D,webpackRequire:t})}),T(t,"I",function(A,e){return t.federation.bundlerRuntime.I({shareScopeName:A,initScope:e,initPromises:N,initTokens:I,webpackRequire:t})}),T(t,"initContainer",function(A,e,a){return t.federation.bundlerRuntime.initContainerEntry({shareScope:A,initScope:e,remoteEntryInitOptions:a,shareScopeKey:M,webpackRequire:t})}),T(t,"getContainer",function(A,e){var a=t.initializeExposesData.moduleMap;return t.R=e,e=Object.prototype.hasOwnProperty.call(a,A)?a[A]():Promise.resolve().then(function(){throw Error('Module "'+A+'" does not exist in container.')}),t.R=void 0,e}),t.federation.instance=t.federation.runtime.init(t.federation.initOptions),(null==(O=t.consumesLoadingData)?void 0:O.initialConsumes)&&t.federation.bundlerRuntime.installInitialConsumes({webpackRequire:t,installedModules:D,initialConsumes:t.consumesLoadingData.initialConsumes,moduleToHandlerMapping:t.federation.consumesLoadingModuleToHandlerMapping})}},53054(A){"use strict";A.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(A){"use strict";A.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(A){"use strict";A.exports=globalThis._OPENMRS_FEDERATION_SDK},31772(A,e){var t=Object.create,a=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty;e.__toESM=(A,e,c)=>(c=null!=A?t(n(A)):{},((A,e,t,n)=>{if(e&&"object"==typeof e||"function"==typeof e)for(var c,d=i(e),l=0,s=d.length;l<s;l++)c=d[l],o.call(A,c)||c===t||a(A,c,{get:(A=>e[A]).bind(null,c),enumerable:!(n=r(e,c))||n.enumerable});return A})(!e&&A&&A.__esModule?c:a(c,"default",{value:A,enumerable:!0}),A))},79837(A,e,t){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),t(31772);let a=t(27789),r=t(53054),i={...r.helpers.global,getGlobalFederationInstance:a.getGlobalFederationInstance},n=r.helpers.share,o=r.helpers.utils;e.default={global:i,share:n,utils:o},e.global=i,e.share=n,e.utils=o},83738(A,e,t){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),t(31772);let a=t(27789),r=t(53054),i=t(9170);function n(A){let e=new((0,r.getGlobalFederationConstructor)()||r.ModuleFederation)({id:`${A.name}@${A.version||Date.now()}`,...A});return(0,r.setGlobalFederationInstance)(e),e}let o=null;(0,r.setGlobalFederationConstructor)(r.ModuleFederation),Object.defineProperty(e,"Module",{enumerable:!0,get:function(){return r.Module}}),e.ModuleFederation=r.ModuleFederation,e.createInstance=n,e.getInstance=function(A){return A?r.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(A)||null:o},Object.defineProperty(e,"getRemoteEntry",{enumerable:!0,get:function(){return r.getRemoteEntry}}),Object.defineProperty(e,"getRemoteInfo",{enumerable:!0,get:function(){return r.getRemoteInfo}}),e.init=function(A){let e=a.getGlobalFederationInstance(A.name,A.version),t={...A,id:A.id||""};return e?(e.initOptions(t),o||(o=e),e):o=n(t)},e.loadRemote=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.loadRemote.apply(o,A)},Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return r.loadScript}}),Object.defineProperty(e,"loadScriptNode",{enumerable:!0,get:function(){return r.loadScriptNode}}),e.loadShare=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.loadShare.apply(o,A)},e.loadShareSync=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.loadShareSync.apply(o,A)},e.preloadRemote=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.preloadRemote.apply(o,A)},Object.defineProperty(e,"registerGlobalPlugins",{enumerable:!0,get:function(){return r.registerGlobalPlugins}}),e.registerPlugins=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.registerPlugins.apply(o,A)},e.registerRemotes=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.registerRemotes.apply(o,A)},e.registerShared=function(...A){return(0,r.assert)(o,i.RUNTIME_009,i.runtimeDescMap),o.registerShared.apply(o,A)}},27789(A,e,t){t(31772);let a=t(53054);e.getGlobalFederationInstance=function(A,e){let t="@kenyaemr/esm-icu-app:5.4.7-pre.1625";return a.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(a=>!!t&&a.options.id===t||a.options.name===A&&!a.options.version&&!e||a.options.name===A&&!!e&&a.options.version===e)}},50223(A,e){var t=Object.create,a=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,n=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty;e.__toESM=(A,e,c)=>(c=null!=A?t(n(A)):{},((A,e,t,n)=>{if(e&&"object"==typeof e||"function"==typeof e)for(var c,d=i(e),l=0,s=d.length;l<s;l++)c=d[l],o.call(A,c)||c===t||a(A,c,{get:(A=>e[A]).bind(null,c),enumerable:!(n=r(e,c))||n.enumerable});return A})(!e&&A&&A.__esModule?c:a(c,"default",{value:A,enumerable:!0}),A))},33545(A,e){e.attachShareScopeMap=function(A){A.S&&!A.federation.hasAttachShareScopeMap&&A.federation.instance&&A.federation.instance.shareScopeMap&&(A.S=A.federation.instance.shareScopeMap,A.federation.hasAttachShareScopeMap=!0)}},46917(A,e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.FEDERATION_SUPPORTED_TYPES=["script"]},91864(A,e,t){let a=t(33545),r=t(91092),i=t(12677),n=t(10085),o=t(76781);e.consumes=function(A){r.updateConsumeOptions(A);let{chunkId:e,promises:t,installedModules:c,webpackRequire:d,chunkMapping:l,moduleToHandlerMapping:s}=A;a.attachShareScopeMap(d),d.o(l,e)&&l[e].forEach(A=>{if(d.o(c,A))return t.push(c[A]);let e=e=>{c[A]=0,d.m[A]=t=>{delete d.c[A];let a=e(),{shareInfo:r}=s[A];if(r?.shareConfig?.layer&&a&&"object"==typeof a)try{a.hasOwnProperty("layer")&&void 0!==a.layer||(a.layer=r.shareConfig.layer)}catch(A){}t.exports=a}},a=e=>{delete c[A],d.m[A]=t=>{throw delete d.c[A],e}};try{let r=d.federation.instance;if(!r)throw Error("Federation instance not found!");let{shareKey:l,getter:u,shareInfo:b,treeShakingGetter:f}=s[A],p=i.getUsedExports(d,l),m={...b};Array.isArray(m.scope)&&Array.isArray(m.scope[0])&&(m.scope=m.scope[0]),p&&(m.treeShaking={usedExports:p,useIn:[r.options.name]});let y=r.loadShare(l,{customShareInfo:m}).then(A=>{if(!1===A){if("function"!=typeof u)throw Error(o.getShortErrorMsg(n.RUNTIME_012,{[n.RUNTIME_012]:'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:l}));return f?.()||u()}return A});y.then?t.push(c[A]=y.then(e).catch(a)):e(y)}catch(A){a(A)}})}},10085(A,e){e.RUNTIME_012="RUNTIME-012"},76781(A,e){e.getShortErrorMsg=(A,e,t,a)=>{let r=[`${[e[A]]} #${A}`];return t&&r.push(`args: ${JSON.stringify(t)}`),r.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${A.split("-")[0].toLowerCase()}#${A.toLowerCase()}`),a&&r.push(`Original Error Message:
2
2
  ${a}`),r.join("\n")}},41315(A,e){e.getSharedFallbackGetter=({shareKey:A,factory:e,version:t,webpackRequire:a,libraryType:r="global"})=>{let{runtime:i,instance:n,bundlerRuntime:o,sharedFallback:c}=a.federation;if(!c)return e;let d=c[A];if(!d)return e;let l=t?d.find(A=>A[1]===t):d[0];if(!l)throw Error(`No fallback item found for shareKey: ${A} and version: ${t}`);return()=>i.getRemoteEntry({origin:a.federation.instance,remoteInfo:{name:l[2],entry:`${a.p}${l[0]}`,type:r,entryGlobalName:l[2],shareScope:"default"}}).then(e=>{if(!e)throw Error(`Failed to load fallback entry for shareKey: ${A} and version: ${t}`);return e.init(a.federation.instance,o).then(()=>e.get())})}},12677(A,e){e.getUsedExports=function(A,e){let t=A.federation.usedExports;if(t)return t[e]}},40523(A,e,t){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let a=t(50223),r=t(33545),i=t(43586),n=t(91864),o=t(62221),c=t(34307),d=t(91180),l=t(10367),s=t(41315),u=t(83738);u=a.__toESM(u);let b={remotes:i.remotes,consumes:n.consumes,I:o.initializeSharing,S:{},installInitialConsumes:c.installInitialConsumes,initContainerEntry:d.initContainerEntry,init:l.init,getSharedFallbackGetter:s.getSharedFallbackGetter},f={runtime:u,instance:void 0,initOptions:void 0,bundlerRuntime:b,attachShareScopeMap:r.attachShareScopeMap,bundlerRuntimeOptions:{}},p=f.instance,m=f.initOptions,y=f.bundlerRuntimeOptions;e.attachShareScopeMap=r.attachShareScopeMap,e.bundlerRuntime=b,e.bundlerRuntimeOptions=y,e.default=f,e.initOptions=m,e.instance=p,Object.defineProperty(e,"runtime",{enumerable:!0,get:function(){return u}})},10367(A,e,t){let a=t(50223),r=t(83738),i=t(79837);i=a.__toESM(i),e.init=function({webpackRequire:A}){let{initOptions:e,runtime:a,sharedFallback:n,bundlerRuntime:o,libraryType:c}=A.federation;if(!e)throw Error("initOptions is required!");return e.plugins||=[],e.plugins.push({name:"tree-shake-plugin",beforeInit(e){let{userOptions:a,origin:d,options:l}=e,s=a.version||l.version;if(!n)return e;let u=a.shared||{},b=[];Object.keys(u).forEach(e=>{(Array.isArray(u[e])?u[e]:[u[e]]).forEach(t=>{b.push([e,t]),"get"in t&&(t.treeShaking||={},t.treeShaking.get=t.get,t.get=o.getSharedFallbackGetter({shareKey:e,factory:t.get,webpackRequire:A,libraryType:c,version:t.version}))})});let f=i.default.global.getGlobalSnapshotInfoByModuleInfo({name:d.name,version:s});return f&&"shared"in f&&(Object.keys(l.shared||{}).forEach(A=>{l.shared[A].forEach(e=>{b.push([A,e])})}),b.forEach(([A,e])=>{((A,e)=>{let a=f.shared.find(e=>e.sharedName===A);if(!a)return;let{treeShaking:i}=e;if(!i)return;let{secondarySharedTreeShakingName:n,secondarySharedTreeShakingEntry:o,treeShakingStatus:l}=a;i.status!==l&&(i.status=l,o&&c&&n&&(i.get=async()=>{let A=await (0,r.getRemoteEntry)({origin:d,remoteInfo:{name:n,entry:o,type:c,entryGlobalName:n,shareScope:"default"}});return await A.init(d,t.federation.bundlerRuntime),A.get()}))})(A,e)})),e}}),a.init(e)}},91180(A,e){e.initContainerEntry=function(A){let{webpackRequire:e,shareScope:t,initScope:a,shareScopeKey:r,remoteEntryInitOptions:i}=A;if(!e.S||!e.federation||!e.federation.instance||!e.federation.initOptions)return;let n=e.federation.instance;n.initOptions({name:e.federation.initOptions.name,remotes:[],...i});let o=i?.shareScopeKeys,c=i?.shareScopeMap;if(r&&"string"!=typeof r)r.forEach(A=>{if(!o||!c)return void n.initShareScopeMap(A,t,{hostShareScopeMap:i?.shareScopeMap||{}});c[A]||(c[A]={});let e=c[A];n.initShareScopeMap(A,e,{hostShareScopeMap:i?.shareScopeMap||{}})});else{let A=r||"default";Array.isArray(o)?o.forEach(A=>{c[A]||(c[A]={});let e=c[A];n.initShareScopeMap(A,e,{hostShareScopeMap:i?.shareScopeMap||{}})}):n.initShareScopeMap(A,t,{hostShareScopeMap:i?.shareScopeMap||{}})}return(e.federation.attachShareScopeMap&&e.federation.attachShareScopeMap(e),Array.isArray(r))?e.federation.initOptions.shared?e.I(r,a):Promise.all(r.map(A=>e.I(A,a))).then(()=>!0):e.I(r||"default",a)}},62221(A,e,t){let a=t(33545),r=t(46917);e.initializeSharing=function({shareScopeName:A,webpackRequire:e,initPromises:t,initTokens:i,initScope:n}){let o=Array.isArray(A)?A:[A];var c=[],d=function(o){n||(n=[]);let c=e.federation.instance;var d=i[o];if(d||(d=i[o]={from:c.name}),n.indexOf(d)>=0)return;n.push(d);let l=t[o];if(l)return l;var s=t=>{var a=A=>{let e;return e="Initialization of sharing external failed: "+A,"u">typeof console&&console.warn&&console.warn(e)};try{var r=e(t);if(!r)return;var i=t=>t&&t.init&&t.init(e.S[o],n,{shareScopeMap:e.S||{},shareScopeKeys:A});if(r.then)return u.push(r.then(i,a));var c=i(r);if(c&&"boolean"!=typeof c&&c.then)return u.push(c.catch(a))}catch(A){a(A)}};let u=c.initializeSharing(o,{strategy:c.options.shareStrategy,initScope:n,from:"build"});a.attachShareScopeMap(e);let b=e.federation.bundlerRuntimeOptions.remotes;return(b&&Object.keys(b.idToRemoteMap).forEach(A=>{let e=b.idToRemoteMap[A],t=b.idToExternalAndNameMapping[A][2];if(e.length>1)s(t);else if(1===e.length){let A=e[0];r.FEDERATION_SUPPORTED_TYPES.includes(A.externalType)||s(t)}}),u.length)?t[o]=Promise.all(u).then(()=>t[o]=!0):t[o]=!0};return o.forEach(A=>{c.push(d(A))}),Promise.all(c).then(()=>!0)}},34307(A,e,t){let a=t(91092),r=t(12677);e.installInitialConsumes=function(A){a.updateConsumeOptions(A);let{moduleToHandlerMapping:e,webpackRequire:t,installedModules:i,initialConsumes:n,asyncLoad:o}=A,c=[];n.forEach(A=>{c.push([A,()=>(function(A){let{moduleId:e,moduleToHandlerMapping:t,webpackRequire:a,asyncLoad:i}=A,n=a.federation.instance;if(!n)throw Error("Federation instance not found!");let{shareKey:o,shareInfo:c}=t[e];try{let A=r.getUsedExports(a,o),e={...c};if(A&&(e.treeShaking={usedExports:A,useIn:[n.options.name]}),i)return n.loadShare(o,{customShareInfo:e});return n.loadShareSync(o,{customShareInfo:e})}catch(A){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: "),A}})({moduleId:A,moduleToHandlerMapping:e,webpackRequire:t,asyncLoad:o})])});let d=(A,a)=>{t.m[A]=r=>{i[A]=0,delete t.c[A];let n=a();if("function"!=typeof n)throw Error(`Shared module is not available for eager consumption: ${A}`);let o=n(),{shareInfo:c}=e[A];if(c?.shareConfig?.layer&&o&&"object"==typeof o)try{o.hasOwnProperty("layer")&&void 0!==o.layer||(o.layer=c.shareConfig.layer)}catch(A){}r.exports=o}};if(o)return Promise.all(c.map(async([A,e])=>{let t=await e();d(A,()=>t)}));c.forEach(([A,e])=>{d(A,e)})}},43586(A,e,t){t(50223);let a=t(33545),r=t(46917),i=t(91092),n=t(31853);e.remotes=function(A){i.updateRemoteOptions(A);let{chunkId:e,promises:t,webpackRequire:o,chunkMapping:c,idToExternalAndNameMapping:d,idToRemoteMap:l}=A;a.attachShareScopeMap(o),o.o(c,e)&&c[e].forEach(A=>{let e=o.R;e||(e=[]);let a=d[A],i=l[A]||[];if(e.indexOf(a)>=0)return;if(e.push(a),a.p)return t.push(a.p);let c=e=>{e||(e=Error("Container missing")),"string"==typeof e.message&&(e.message+=`
3
3
  while loading "${a[1]}" from ${a[2]}`),o.m[A]=()=>{throw e},a.p=0},s=(A,e,r,i,n,o)=>{try{let d=A(e,r);if(!d||!d.then)return n(d,i,o);{let A=d.then(A=>n(A,i),c);if(!o)return A;t.push(a.p=A)}}catch(A){c(A)}};var u=(A,t,r)=>s(t.get,a[1],e,0,b,r),b=e=>{a.p=1,o.m[A]=A=>{A.exports=e()}};1===i.length&&r.FEDERATION_SUPPORTED_TYPES.includes(i[0].externalType)&&i[0].name?s(()=>{try{let A=(0,n.decodeName)(i[0].name,n.ENCODE_NAME_PREFIX)+a[1].slice(1),e=o.federation.instance,t=()=>o.federation.instance.loadRemote(A,{loadFactory:!1,from:"build"});if("version-first"===e.options.shareStrategy){let A=Array.isArray(a[0])?a[0]:[a[0]];return Promise.all(A.map(A=>e.sharedHandler.initializeSharing(A))).then(()=>t())}return t()}catch(A){c(A)}},a[2],0,0,b,1):s(o,a[2],0,0,(A,e,t)=>A?s(o.I,a[0],0,A,u,t):c(),1)})}},91092(A,e){e.updateConsumeOptions=function(A){let{webpackRequire:e,moduleToHandlerMapping:t}=A,{consumesLoadingData:a,initializeSharingData:r}=e,{sharedFallback:i,bundlerRuntime:n,libraryType:o}=e.federation;if(a&&!a._updated){let{moduleIdToConsumeDataMapping:r={},initialConsumes:c=[],chunkMapping:d={}}=a;if(Object.entries(r).forEach(([A,a])=>{t[A]||(t[A]={getter:i?n?.getSharedFallbackGetter({shareKey:a.shareKey,factory:a.fallback,webpackRequire:e,libraryType:o}):a.fallback,treeShakingGetter:i?a.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:a.requiredVersion,strictVersion:a.strictVersion,singleton:a.singleton,eager:a.eager,layer:a.layer},scope:Array.isArray(a.shareScope)?a.shareScope:[a.shareScope||"default"],treeShaking:i?{get:a.fallback,mode:a.treeShakingMode}:void 0},shareKey:a.shareKey})}),"initialConsumes"in A){let{initialConsumes:e=[]}=A;c.forEach(A=>{e.includes(A)||e.push(A)})}if("chunkMapping"in A){let{chunkMapping:e={}}=A;Object.entries(d).forEach(([A,t])=>{e[A]||(e[A]=[]),t.forEach(t=>{e[A].includes(t)||e[A].push(t)})})}a._updated=1}if(r&&!r._updated){let{federation:A}=e;if(!A.instance||!r.scopeToSharingDataMapping)return;let t={};for(let[A,e]of Object.entries(r.scopeToSharingDataMapping))for(let a of e)if("object"==typeof a&&null!==a){let{name:e,version:r,factory:i,eager:n,singleton:o,requiredVersion:c,strictVersion:d}=a,l={requiredVersion:`^${r}`},s=function(A){return void 0!==A};s(o)&&(l.singleton=o),s(c)&&(l.requiredVersion=c),s(n)&&(l.eager=n),s(d)&&(l.strictVersion=d);let u={version:r,scope:[A],shareConfig:l,get:i};t[e]?t[e].push(u):t[e]=[u]}A.instance.registerShared(t),r._updated=1}},e.updateRemoteOptions=function(A){let{webpackRequire:e,idToExternalAndNameMapping:t={},idToRemoteMap:a={},chunkMapping:r={}}=A,{remotesLoadingData:i}=e,n=e.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!i||i._updated||!n)return;let{chunkMapping:o,moduleIdToRemoteDataMapping:c}=i;if(o&&c){for(let[A,e]of Object.entries(c))if(t[A]||(t[A]=[e.shareScope,e.name,e.externalModuleId]),!a[A]&&n[e.remoteName]){let t=n[e.remoteName];a[A]||=[],t.forEach(e=>{a[A].includes(e)||a[A].push(e)})}r&&Object.entries(o).forEach(([A,e])=>{r[A]||(r[A]=[]),e.forEach(e=>{r[A].includes(e)||r[A].push(e)})}),i._updated=1}}}},n={};function o(A){var e=n[A];if(void 0!==e)return e.exports;var t=n[A]={id:A,exports:{}};return i[A].call(t.exports,t,t.exports,o),t.exports}o.m=i,o.c=n,o.x=()=>o(47481),o.federation||(o.federation={chunkMatcher:function(A){return!/^(1786|257|5169)$/.test(A)},rootOutputDir:""}),o.n=A=>{var e=A&&A.__esModule?()=>A.default:()=>A;return o.d(e,{a:e}),e},d=Object.getPrototypeOf?A=>Object.getPrototypeOf(A):A=>A.__proto__,o.t=function(A,e){if(1&e&&(A=this(A)),8&e||"object"==typeof A&&A&&(4&e&&A.__esModule||16&e&&"function"==typeof A.then))return A;var t=Object.create(null);o.r(t);var a={};c=c||[null,d({}),d([]),d(d)];for(var r=2&e&&A;("object"==typeof r||"function"==typeof r)&&!~c.indexOf(r);r=d(r))Object.getOwnPropertyNames(r).forEach(e=>{a[e]=()=>A[e]});return a.default=()=>A,o.d(t,a),t},o.d=(A,e)=>{for(var t in e)o.o(e,t)&&!o.o(A,t)&&Object.defineProperty(A,t,{enumerable:!0,get:e[t]})},o.f={},o.e=A=>Promise.all(Object.keys(o.f).reduce((e,t)=>(o.f[t](A,e),e),[])),o.u=A=>""+A+".js",o.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(A){if("object"==typeof window)return window}})(),o.o=(A,e)=>Object.prototype.hasOwnProperty.call(A,e),l={},o.l=function(A,e,t,a){if(l[A])return void l[A].push(e);if(void 0!==t)for(var r,i,n=document.getElementsByTagName("script"),c=0;c<n.length;c++){var d=n[c];if(d.getAttribute("src")==A||d.getAttribute("data-rspack")=="@kenyaemr/esm-icu-app:"+t){r=d;break}}r||(i=!0,(r=document.createElement("script")).timeout=120,o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-rspack","@kenyaemr/esm-icu-app:"+t),r.src=A),l[A]=[e];var s=function(e,t){r.onerror=r.onload=null,clearTimeout(u);var a=l[A];if(delete l[A],r.parentNode&&r.parentNode.removeChild(r),a&&a.forEach(function(A){return A(t)}),e)return e(t)},u=setTimeout(s.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=s.bind(null,r.onerror),r.onload=s.bind(null,r.onload),i&&document.head.appendChild(r)},o.r=A=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},o.nc=void 0,o.rv=()=>"1.7.9",o.S={},o.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@carbon/react",version:"1.112.0",factory:()=>Promise.all([o.e("5361"),o.e("8924"),o.e("2115"),o.e("5279"),o.e("4014"),o.e("9274"),o.e("6479"),o.e("2971"),o.e("4818"),o.e("689"),o.e("1072"),o.e("2197"),o.e("9774"),o.e("3504"),o.e("4817"),o.e("8607"),o.e("3032"),o.e("9547"),o.e("5366"),o.e("7453"),o.e("6259"),o.e("5825"),o.e("3953"),o.e("8472"),o.e("7782"),o.e("624"),o.e("2795"),o.e("3569"),o.e("3285"),o.e("3723"),o.e("5941"),o.e("1844"),o.e("15"),o.e("2394"),o.e("9612"),o.e("6567"),o.e("5932"),o.e("2924"),o.e("2007"),o.e("257")]).then(()=>()=>o(58169)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@carbon/react",version:"1.92.1",factory:()=>Promise.all([o.e("5361"),o.e("8924"),o.e("2115"),o.e("5279"),o.e("4014"),o.e("9274"),o.e("6479"),o.e("2971"),o.e("4818"),o.e("689"),o.e("1072"),o.e("2197"),o.e("9774"),o.e("3504"),o.e("4817"),o.e("8607"),o.e("3032"),o.e("4637"),o.e("5731"),o.e("992"),o.e("1946"),o.e("3745"),o.e("500"),o.e("6104"),o.e("8196"),o.e("5598"),o.e("7478"),o.e("9425"),o.e("4487"),o.e("257")]).then(()=>()=>o(28280)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@openmrs/esm-framework",version:"10.0.1-pre.5263",factory:()=>Promise.all([o.e("3989"),o.e("4818"),o.e("689"),o.e("1072"),o.e("7209"),o.e("3032"),o.e("9011"),o.e("9168"),o.e("9087"),o.e("1831"),o.e("9885"),o.e("1278"),o.e("2537"),o.e("9060"),o.e("7022"),o.e("1148"),o.e("8028"),o.e("820"),o.e("356"),o.e("2916"),o.e("3335"),o.e("2648"),o.e("6634"),o.e("2202"),o.e("2556"),o.e("6337"),o.e("1620"),o.e("5792"),o.e("1854"),o.e("4588"),o.e("6478"),o.e("393"),o.e("8762"),o.e("6273"),o.e("8240"),o.e("5676"),o.e("4178"),o.e("9520"),o.e("6427"),o.e("2534"),o.e("5967"),o.e("7360"),o.e("7454"),o.e("257"),o.e("5169"),o.e("1786")]).then(()=>()=>o(45263)),eager:0,singleton:1,requiredVersion:"9.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([o.e("1789"),o.e("257")]).then(()=>()=>o(42348)),eager:0,singleton:1,requiredVersion:"11.x",strictVersion:0},{name:"react-router-dom",version:"6.30.4",factory:()=>Promise.all([o.e("689"),o.e("2842"),o.e("5086"),o.e("257")]).then(()=>()=>o(12689)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>o.e("466").then(()=>()=>o(14041)),eager:0,singleton:1,requiredVersion:"^18.1.0",strictVersion:0},{name:"swr/_internal",version:"2.4.2",factory:()=>Promise.all([o.e("3989"),o.e("257")]).then(()=>()=>o(42372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.4.2",factory:()=>Promise.all([o.e("3989"),o.e("7209"),o.e("257"),o.e("9061")]).then(()=>()=>o(29876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.4.2",factory:()=>Promise.all([o.e("3989"),o.e("7209"),o.e("257"),o.e("9771")]).then(()=>()=>o(52470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@kenyaemr/esm-icu-app"},o.I=o.I||function(){throw Error("should have __webpack_require__.I")},o.g.importScripts&&(s=o.g.location+"");var c,d,l,s,u=o.g.document;if(!s&&u&&(u.currentScript&&"SCRIPT"===u.currentScript.tagName.toUpperCase()&&(s=u.currentScript.src),!s)){var b=u.getElementsByTagName("script");if(b.length)for(var f=b.length-1;f>-1&&(!s||!/^http(s?):/.test(s));)s=b[f--].src}if(!s)throw Error("Automatic publicPath is not supported in this browser");o.p=s=s.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.consumesLoadingData={chunkMapping:{1889:["1487"],4619:["70438"],1786:["97744","36142","36510","31888"],5169:["58088","75721"],257:["35400"]},moduleIdToConsumeDataMapping:{31888:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([o.e("5361"),o.e("8924"),o.e("2115"),o.e("5279"),o.e("4014"),o.e("9274"),o.e("6479"),o.e("2971"),o.e("2197"),o.e("9774"),o.e("3504"),o.e("4817"),o.e("8607"),o.e("9547"),o.e("5366"),o.e("7453"),o.e("6259"),o.e("5825"),o.e("3953"),o.e("8472"),o.e("7782"),o.e("624"),o.e("2795"),o.e("3569"),o.e("3285"),o.e("3723"),o.e("5941"),o.e("1844"),o.e("15"),o.e("2394"),o.e("9612"),o.e("6567"),o.e("5932"),o.e("2924"),o.e("2007")]).then(()=>()=>o(58169))},75721:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([o.e("689"),o.e("2842"),o.e("5086")]).then(()=>()=>o(12689))},70438:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([o.e("9274"),o.e("6479"),o.e("2971"),o.e("689"),o.e("1072"),o.e("2197"),o.e("9774"),o.e("3504"),o.e("4817"),o.e("8607"),o.e("3032"),o.e("4637"),o.e("5731"),o.e("992"),o.e("1946"),o.e("3745"),o.e("500"),o.e("6104"),o.e("8196"),o.e("5598"),o.e("7478"),o.e("9425"),o.e("4487")]).then(()=>()=>o(28280))},35400:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"^18.1.0",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>o.e("466").then(()=>()=>o(14041))},97744:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>o.e("2152").then(()=>()=>o(52470))},36142:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>o.e("1442").then(()=>()=>o(29876))},58088:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"11.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>o.e("1789").then(()=>()=>o(42348))},36510:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>o(42372)},1487:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"9.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([o.e("3989"),o.e("4818"),o.e("689"),o.e("1072"),o.e("7209"),o.e("3032"),o.e("9011"),o.e("9168"),o.e("9087"),o.e("1831"),o.e("9885"),o.e("1278"),o.e("2537"),o.e("9060"),o.e("7022"),o.e("1148"),o.e("8028"),o.e("820"),o.e("356"),o.e("2916"),o.e("3335"),o.e("2648"),o.e("6634"),o.e("2202"),o.e("2556"),o.e("6337"),o.e("1620"),o.e("5792"),o.e("1854"),o.e("4588"),o.e("6478"),o.e("393"),o.e("8762"),o.e("6273"),o.e("8240"),o.e("5676"),o.e("4178"),o.e("9520"),o.e("6427"),o.e("2534"),o.e("5967"),o.e("7360"),o.e("7454"),o.e("257"),o.e("5169"),o.e("1786")]).then(()=>()=>o(45263))}},initialConsumes:["1487"]},o.f.consumes=o.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},A={1889:0},o.f.j=function(e,t){var a=o.o(A,e)?A[e]:void 0;if(0!==a)if(a)t.push(a[2]);else if(/^(1786|257|5169)$/.test(e))A[e]=0;else{var r=new Promise((t,r)=>a=A[e]=[t,r]);t.push(a[2]=r);var i=o.p+o.u(e),n=Error();o.l(i,function(t){if(o.o(A,e)&&(0!==(a=A[e])&&(A[e]=void 0),a)){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;n.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",n.name="ChunkLoadError",n.type=r,n.request=i,a[1](n)}},"chunk-"+e,e)}},e=(e,t)=>{var a,r,[i,n,c]=t,d=0;if(i.some(e=>0!==A[e])){for(a in n)o.o(n,a)&&(o.m[a]=n[a]);c&&c(o)}for(e&&e(t);d<i.length;d++)r=i[d],o.o(A,r)&&A[r]&&A[r][0](),A[r]=0},(t=globalThis.webpackChunk_kenyaemr_esm_icu_app=globalThis.webpackChunk_kenyaemr_esm_icu_app||[]).forEach(e.bind(null,0)),t.push=e.bind(null,t.push.bind(t)),o.ruid="bundler=rspack@1.7.9",a=o.x,r=!1,o.x=function(){if(r||(r=!0,o(97829)),"function"==typeof a)return a();console.warn("[MF] Invalid prevStartup")},o.x()})();
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.24.0"},"pages":[{"component":"root","route":"icu"}],"extensions":[{"name":"icu-admissions-ward-dashboard","component":"icuAdmissionsWardTab","slot":"ward-patients-critical-care-slot","meta":{"title":"ICU","fullWidth":true}},{"name":"icu-admissions-ward-metrics","component":"icuAdmissionsMetrics","slot":"ward-critical-care-metrics-slot","meta":{"title":"ICU metrics","fullWidth":true}}],"modals":[],"workspaces2":[],"workspaceWindows2":[],"workspaceGroups2":[],"version":"5.4.7-pre.1621"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.24.0"},"pages":[{"component":"root","route":"icu"}],"extensions":[{"name":"icu-admissions-ward-dashboard","component":"icuAdmissionsWardTab","slot":"ward-patients-critical-care-slot","meta":{"title":"ICU","fullWidth":true}},{"name":"icu-admissions-ward-metrics","component":"icuAdmissionsMetrics","slot":"ward-critical-care-metrics-slot","meta":{"title":"ICU metrics","fullWidth":true}}],"modals":[],"workspaces2":[],"workspaceWindows2":[],"workspaceGroups2":[],"version":"5.4.7-pre.1625"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenyaemr/esm-icu-app",
3
- "version": "5.4.7-pre.1621",
3
+ "version": "5.4.7-pre.1625",
4
4
  "description": "Intensive Care Unit (ICU) microfrontend for KenyaEMR",
5
5
  "keywords": [
6
6
  "openmrs"