UNPKG

@birthsenseai/esm-patient-ai-analysis-app

Version:

AI Analysis integration for OpenMRS patient charts - provides clinical summaries, drug interaction analysis, and patient follow-up messages

1 lines 8.92 kB
!function(){var e,n,t,r,o={4767:function(e,n,t){var r={"./en.json":[4300,300]};function o(e){if(!t.o(r,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=r[e],o=n[0];return t.e(n[1]).then((function(){return t(o)}))}o.keys=function(){return Object.keys(r)},o.id=4767,e.exports=o},6173:function(e,n,t){"use strict";var r=t(1083),o={featureName:"patient-ai-analysis",moduleName:(r.Type.Boolean,r.Type.String,r.Type.String,r.Type.String,"@birthsenseai/esm-patient-ai-analysis-app")};t(4767),(0,r.getAsyncLifecycle)((function(){return Promise.all([t.e(959),t.e(343),t.e(150),t.e(502)]).then(t.bind(t,4601))}),o),(0,r.getAsyncLifecycle)((function(){return Promise.all([t.e(959),t.e(821),t.e(343),t.e(150),t.e(845)]).then(t.bind(t,7845))}),o),(0,r.getAsyncLifecycle)((function(){return Promise.all([t.e(959),t.e(821),t.e(343),t.e(150),t.e(845),t.e(148)]).then(t.bind(t,5148))}),o)}},u={};function i(e){var n=u[e];if(void 0!==n)return n.exports;var t=u[e]={id:e,exports:{}};return o[e].call(t.exports,t,t.exports,i),t.exports}i.m=o,i.c=u,i.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(n,{a:n}),n},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var o=Object.create(null);i.r(o);var u={};e=e||[null,n({}),n([]),n(n)];for(var f=2&r&&t;"object"==typeof f&&!~e.indexOf(f);f=n(f))Object.getOwnPropertyNames(f).forEach((function(e){u[e]=function(){return t[e]}}));return u.default=function(){return t},i.d(o,u),o},i.d=function(e,n){for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(n,t){return i.f[t](e,n),n}),[]))},i.u=function(e){return e+".js"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t={},r="@birthsenseai/esm-patient-ai-analysis-app:",i.l=function(e,n,o,u){if(t[e])t[e].push(n);else{var f,a;if(void 0!==o)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var l=c[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==r+o){f=l;break}}f||(a=!0,(f=document.createElement("script")).charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.setAttribute("data-webpack",r+o),f.src=e),t[e]=[n];var p=function(n,r){f.onerror=f.onload=null,clearTimeout(d);var o=t[e];if(delete t[e],f.parentNode&&f.parentNode.removeChild(f),o&&o.forEach((function(e){return e(r)})),n)return n(r)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=p.bind(null,f.onerror),f.onload=p.bind(null,f.onload),a&&document.head.appendChild(f)}},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){i.S={};var e={},n={};i.I=function(t,r){r||(r=[]);var o=n[t];if(o||(o=n[t]={}),!(r.indexOf(o)>=0)){if(r.push(o),e[t])return e[t];i.o(i.S,t)||(i.S[t]={});var u=i.S[t],f="@birthsenseai/esm-patient-ai-analysis-app",a=function(e,n,t,r){var o=u[e]=u[e]||{},i=o[n];(!i||!i.loaded&&(!r!=!i.eager?r:f>i.from))&&(o[n]={get:t,from:f,eager:!!r})},c=[];return"default"===t&&(a("@openmrs/esm-framework","6.3.1-pre.3149",(function(){return Promise.all([i.e(905),i.e(343),i.e(150),i.e(83)]).then((function(){return function(){return i(4905)}}))})),a("react-i18next","11.18.6",(function(){return Promise.all([i.e(639),i.e(343)]).then((function(){return function(){return i(5639)}}))})),a("react","18.3.1",(function(){return i.e(41).then((function(){return function(){return i(4041)}}))}))),e[t]=c.length?Promise.all(c).then((function(){return e[t]=1})):1}}}(),function(){var e;i.g.importScripts&&(e=i.g.location+"");var n=i.g.document;if(!e&&n&&(n.currentScript&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(e=n.currentScript.src),!e)){var t=n.getElementsByTagName("script");if(t.length)for(var r=t.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=t[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e}(),function(){var e=function(e){var n=function(e){return e.split(".").map((function(e){return+e==e?+e:e}))},t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),r=t[1]?n(t[1]):[];return t[2]&&(r.length++,r.push.apply(r,n(t[2]))),t[3]&&(r.push([]),r.push.apply(r,n(t[3]))),r},n=function(e){var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var o=1,u=1;u<e.length;u++)o--,r+="u"==(typeof(f=e[u]))[0]?"-":(o>0?".":"")+(o=2,f);return r}var i=[];for(u=1;u<e.length;u++){var f=e[u];i.push(0===f?"not("+a()+")":1===f?"("+a()+" || "+a()+")":2===f?i.pop()+" "+i.pop():n(f))}return a();function a(){return i.pop().replace(/^\((.+)\)$/,"$1")}},t=function(n,r){if(0 in n){r=e(r);var o=n[0],u=o<0;u&&(o=-o-1);for(var i=0,f=1,a=!0;;f++,i++){var c,s,l=f<n.length?(typeof n[f])[0]:"";if(i>=r.length||"o"==(s=(typeof(c=r[i]))[0]))return!a||("u"==l?f>o&&!u:""==l!=u);if("u"==s){if(!a||"u"!=l)return!1}else if(a)if(l==s)if(f<=o){if(c!=n[f])return!1}else{if(u?c>n[f]:c<n[f])return!1;c!=n[f]&&(a=!1)}else if("s"!=l&&"n"!=l){if(u||f<=o)return!1;a=!1,f--}else{if(f<=o||s<l!=u)return!1;a=!1}else"s"!=l&&"n"!=l&&(a=!1,f--)}}var p=[],d=p.pop.bind(p);for(i=1;i<n.length;i++){var h=n[i];p.push(1==h?d()|d():2==h?d()&d():h?t(h,r):!d())}return!!d()},r=function(n,t,r){var o=r?function(e){return Object.keys(e).reduce((function(n,t){return e[t].eager&&(n[t]=e[t]),n}),{})}(n[t]):n[t];return Object.keys(o).reduce((function(n,t){return!n||!o[n].loaded&&function(n,t){n=e(n),t=e(t);for(var r=0;;){if(r>=n.length)return r<t.length&&"u"!=(typeof t[r])[0];var o=n[r],u=(typeof o)[0];if(r>=t.length)return"u"==u;var i=t[r],f=(typeof i)[0];if(u!=f)return"o"==u&&"n"==f||"s"==f||"u"==u;if("o"!=u&&"u"!=u&&o!=i)return o<i;r++}}(n,t)?t:n}),0)},o=function(e,n,t){return t?t():function(e,n){return function(e){throw new Error(e)}("Shared module "+n+" doesn't exist in shared scope "+e)}(e,n)},u=function(e){return function(n,t,r,o,u){var f=i.I(n);return f&&f.then&&!r?f.then(e.bind(e,n,i.S[n],t,!1,o,u)):e(n,i.S[n],t,r,o,u)}}((function(e,u,f,a,c,s){if(!function(e,n){return e&&i.o(e,n)}(u,f))return o(e,f,s);var l,p,d=r(u,f,a);return t(c,d)||(p=function(e,t,r,o){return"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+n(o)+")"}(u,f,d,c),"undefined"!=typeof console&&console.warn&&console.warn(p)),(l=u[f][d]).loaded=1,l.get()})),f={},a={1083:function(){return u("default","@openmrs/esm-framework",!1,[1,5],(function(){return Promise.all([i.e(905),i.e(343),i.e(150)]).then((function(){return function(){return i(4905)}}))}))},1343:function(){return u("default","react",!1,[1,18],(function(){return i.e(41).then((function(){return function(){return i(4041)}}))}))},3150:function(){return u("default","react-i18next",!1,[1,11],(function(){return i.e(639).then((function(){return function(){return i(5639)}}))}))}};[1083].forEach((function(e){i.m[e]=function(n){f[e]=0,delete i.c[e];var t=a[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);n.exports=t()}}));var c={83:[1083],150:[3150],343:[1343],792:[1083]},s={};i.f.consumes=function(e,n){i.o(c,e)&&c[e].forEach((function(e){if(i.o(f,e))return n.push(f[e]);if(!s[e]){var t=function(n){f[e]=0,i.m[e]=function(t){delete i.c[e],t.exports=n()}};s[e]=!0;var r=function(n){delete f[e],i.m[e]=function(t){throw delete i.c[e],n}};try{var o=a[e]();o.then?n.push(f[e]=o.then(t).catch(r)):t(o)}catch(e){r(e)}}}))}}(),function(){var e={83:0,173:0,792:0};i.f.j=function(n,t){var r=i.o(e,n)?e[n]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(150|343|83)$/.test(n))e[n]=0;else{var o=new Promise((function(t,o){r=e[n]=[t,o]}));t.push(r[2]=o);var u=i.p+i.u(n),f=new Error;i.l(u,(function(t){if(i.o(e,n)&&(0!==(r=e[n])&&(e[n]=void 0),r)){var o=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;f.message="Loading chunk "+n+" failed.\n("+o+": "+u+")",f.name="ChunkLoadError",f.type=o,f.request=u,r[1](f)}}),"chunk-"+n,n)}};var n=function(n,t){var r,o,u=t[0],f=t[1],a=t[2],c=0;if(u.some((function(n){return 0!==e[n]}))){for(r in f)i.o(f,r)&&(i.m[r]=f[r]);a&&a(i)}for(n&&n(t);c<u.length;c++)o=u[c],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunk_birthsenseai_esm_patient_ai_analysis_app=self.webpackChunk_birthsenseai_esm_patient_ai_analysis_app||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}(),i.nc=void 0,i(6173)}();