@pih/esm-pathology-app 1.0.1 → 1.0.4

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.
Files changed (54) hide show
  1. package/dist/00ebb57bb20c59433e84.gif +0 -0
  2. package/dist/16.js +3 -0
  3. package/dist/16.js.LICENSE.txt +1 -0
  4. package/dist/16.js.map +1 -0
  5. package/dist/24.js +3 -0
  6. package/dist/24.js.LICENSE.txt +16 -0
  7. package/dist/24.js.map +1 -0
  8. package/dist/248.js +3 -0
  9. package/dist/248.js.LICENSE.txt +99 -0
  10. package/dist/248.js.map +1 -0
  11. package/dist/294.js +3 -0
  12. package/dist/294.js.LICENSE.txt +14 -0
  13. package/dist/294.js.map +1 -0
  14. package/dist/574.js +1 -0
  15. package/dist/5b8bb278fcab4da4972e.ttf +0 -0
  16. package/dist/861.js +2 -0
  17. package/dist/861.js.map +1 -0
  18. package/dist/867.js +2 -0
  19. package/dist/867.js.map +1 -0
  20. package/dist/976.js +3 -0
  21. package/dist/976.js.LICENSE.txt +8 -0
  22. package/dist/976.js.map +1 -0
  23. package/dist/a5fad24f075c978ac04b.ttf +0 -0
  24. package/dist/pih-esm-pathology-app.js +1 -1
  25. package/dist/pih-esm-pathology-app.js.buildmanifest.json +153 -25
  26. package/dist/pih-esm-pathology-app.js.map +1 -1
  27. package/package.json +21 -10
  28. package/src/Fonts/georgia/GEORGIA4.TTF +0 -0
  29. package/src/Fonts/georgia/Georgia Bold Italic font.ttf +0 -0
  30. package/src/Fonts/georgia/Georgia Regular font.ttf +0 -0
  31. package/src/Fonts/georgia/Georgia.ttf +0 -0
  32. package/src/Fonts/georgia/georgia bold italic.ttf +0 -0
  33. package/src/Fonts/georgia/georgia italic.ttf +0 -0
  34. package/src/Fonts/georgia/georgia-bold.ttf +0 -0
  35. package/src/Fonts/georgia/georgiab.ttf +0 -0
  36. package/src/Fonts/georgia/georgiai.ttf +0 -0
  37. package/src/Fonts/georgia/georgiaz.ttf +0 -0
  38. package/src/Fonts/georgia/seriffic.ttf +0 -0
  39. package/src/Fonts/georgia/sharefonts.net.txt +1 -0
  40. package/src/Print-to-PDF/Document-Component.tsx +256 -0
  41. package/src/config-schema.ts +105 -6
  42. package/src/declarations.d.tsx +3 -0
  43. package/src/images/ButaroHospitalLogo.gif +0 -0
  44. package/src/pathology-report/ReportComponent.css +37 -36
  45. package/src/pathology-report/ReportComponent.resource.ts +37 -34
  46. package/src/pathology-report/ReportComponent.tsx +46 -9
  47. package/src/test.html +0 -0
  48. package/webpack.config.js +30 -1
  49. package/dist/574.pih-esm-pathology-app.js +0 -1
  50. package/dist/633.pih-esm-pathology-app.js +0 -3
  51. package/dist/633.pih-esm-pathology-app.js.LICENSE.txt +0 -29
  52. package/dist/633.pih-esm-pathology-app.js.map +0 -1
  53. package/dist/66.pih-esm-pathology-app.js +0 -2
  54. package/dist/66.pih-esm-pathology-app.js.map +0 -1
package/dist/294.js ADDED
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 294.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_pih_esm_pathology_app=self.webpackChunk_pih_esm_pathology_app||[]).push([[294,976],{27418:e=>{var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,u){for(var c,f,l=o(e),i=1;i<arguments.length;i++){for(var a in c=Object(arguments[i]))t.call(c,a)&&(l[a]=c[a]);if(r){f=r(c);for(var s=0;s<f.length;s++)n.call(c,f[s])&&(l[f[s]]=c[f[s]])}}return l}},72408:(e,r,t)=>{var n=t(27418),o="function"==typeof Symbol&&Symbol.for,u=o?Symbol.for("react.element"):60103,c=o?Symbol.for("react.portal"):60106,f=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,i=o?Symbol.for("react.profiler"):60114,a=o?Symbol.for("react.provider"):60109,s=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,y=o?Symbol.for("react.suspense"):60113,d=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,m="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)r+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_={};function g(e,r,t){this.props=e,this.context=r,this.refs=_,this.updater=t||b}function S(){}function k(e,r,t){this.props=e,this.context=r,this.refs=_,this.updater=t||b}g.prototype.isReactComponent={},g.prototype.setState=function(e,r){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,r,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},S.prototype=g.prototype;var w=k.prototype=new S;w.constructor=k,n(w,g.prototype),w.isPureReactComponent=!0;var j={current:null},O=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function $(e,r,t){var n,o={},c=null,f=null;if(null!=r)for(n in void 0!==r.ref&&(f=r.ref),void 0!==r.key&&(c=""+r.key),r)O.call(r,n)&&!C.hasOwnProperty(n)&&(o[n]=r[n]);var l=arguments.length-2;if(1===l)o.children=t;else if(1<l){for(var i=Array(l),a=0;a<l;a++)i[a]=arguments[a+2];o.children=i}if(e&&e.defaultProps)for(n in l=e.defaultProps)void 0===o[n]&&(o[n]=l[n]);return{$$typeof:u,type:e,key:c,ref:f,props:o,_owner:j.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===u}var P=/\/+/g,x=[];function R(e,r,t,n){if(x.length){var o=x.pop();return o.result=e,o.keyPrefix=r,o.func=t,o.context=n,o.count=0,o}return{result:e,keyPrefix:r,func:t,context:n,count:0}}function A(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>x.length&&x.push(e)}function I(e,r,t,n){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var f=!1;if(null===e)f=!0;else switch(o){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case u:case c:f=!0}}if(f)return t(n,e,""===r?"."+U(e,0):r),1;if(f=0,r=""===r?".":r+":",Array.isArray(e))for(var l=0;l<e.length;l++){var i=r+U(o=e[l],l);f+=I(o,i,t,n)}else if("function"==typeof(i=null===e||"object"!=typeof e?null:"function"==typeof(i=m&&e[m]||e["@@iterator"])?i:null))for(e=i.call(e),l=0;!(o=e.next()).done;)f+=I(o=o.value,i=r+U(o,l++),t,n);else if("object"===o)throw t=""+e,Error(v(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t,""));return f}function q(e,r,t){return null==e?0:I(e,"",r,t)}function U(e,r){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var r={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return r[e]}))}(e.key):r.toString(36)}function F(e,r){e.func.call(e.context,r,e.count++)}function L(e,r,t){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,r,e.count++),Array.isArray(e)?M(e,n,t,(function(e){return e})):null!=e&&(E(e)&&(e=function(e,r){return{$$typeof:u,type:e.type,key:r,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||r&&r.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+t)),n.push(e))}function M(e,r,t,n,o){var u="";null!=t&&(u=(""+t).replace(P,"$&/")+"/"),q(e,L,r=R(r,u,n,o)),A(r)}var N={current:null};function D(){var e=N.current;if(null===e)throw Error(v(321));return e}var T={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:j,IsSomeRendererActing:{current:!1},assign:n};r.Children={map:function(e,r,t){if(null==e)return e;var n=[];return M(e,n,null,r,t),n},forEach:function(e,r,t){if(null==e)return e;q(e,F,r=R(null,null,r,t)),A(r)},count:function(e){return q(e,(function(){return null}),null)},toArray:function(e){var r=[];return M(e,r,null,(function(e){return e})),r},only:function(e){if(!E(e))throw Error(v(143));return e}},r.Component=g,r.Fragment=f,r.Profiler=i,r.PureComponent=k,r.StrictMode=l,r.Suspense=y,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T,r.cloneElement=function(e,r,t){if(null==e)throw Error(v(267,e));var o=n({},e.props),c=e.key,f=e.ref,l=e._owner;if(null!=r){if(void 0!==r.ref&&(f=r.ref,l=j.current),void 0!==r.key&&(c=""+r.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(a in r)O.call(r,a)&&!C.hasOwnProperty(a)&&(o[a]=void 0===r[a]&&void 0!==i?i[a]:r[a])}var a=arguments.length-2;if(1===a)o.children=t;else if(1<a){i=Array(a);for(var s=0;s<a;s++)i[s]=arguments[s+2];o.children=i}return{$$typeof:u,type:e.type,key:c,ref:f,props:o,_owner:l}},r.createContext=function(e,r){return void 0===r&&(r=null),(e={$$typeof:s,_calculateChangedBits:r,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},r.createElement=$,r.createFactory=function(e){var r=$.bind(null,e);return r.type=e,r},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:p,render:e}},r.isValidElement=E,r.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},r.memo=function(e,r){return{$$typeof:d,type:e,compare:void 0===r?null:r}},r.useCallback=function(e,r){return D().useCallback(e,r)},r.useContext=function(e,r){return D().useContext(e,r)},r.useDebugValue=function(){},r.useEffect=function(e,r){return D().useEffect(e,r)},r.useImperativeHandle=function(e,r,t){return D().useImperativeHandle(e,r,t)},r.useLayoutEffect=function(e,r){return D().useLayoutEffect(e,r)},r.useMemo=function(e,r){return D().useMemo(e,r)},r.useReducer=function(e,r,t){return D().useReducer(e,r,t)},r.useRef=function(e){return D().useRef(e)},r.useState=function(e){return D().useState(e)},r.version="16.14.0"},67294:(e,r,t)=>{e.exports=t(72408)}}]);
3
+ //# sourceMappingURL=294.js.map
@@ -0,0 +1,14 @@
1
+ /*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
6
+
7
+ /** @license React v16.14.0
8
+ * react.production.min.js
9
+ *
10
+ * Copyright (c) Facebook, Inc. and its affiliates.
11
+ *
12
+ * This source code is licensed under the MIT license found in the
13
+ * LICENSE file in the root directory of this source tree.
14
+ */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"294.js","mappings":";8HAQA,IAAIA,EAAwBC,OAAOD,sBAC/BE,EAAiBD,OAAOE,UAAUD,eAClCE,EAAmBH,OAAOE,UAAUE,qBAExC,SAASC,EAASC,GACjB,GAAIA,MAAAA,EACH,MAAM,IAAIC,UAAU,yDAGrB,OAAOP,OAAOM,GA+CfE,EAAOC,QA5CP,WACC,IACC,IAAKT,OAAOU,OACX,OAAO,EAMR,IAAIC,EAAQ,IAAIC,OAAO,OAEvB,GADAD,EAAM,GAAK,KACkC,MAAzCX,OAAOa,oBAAoBF,GAAO,GACrC,OAAO,EAKR,IADA,IAAIG,EAAQ,GACHC,EAAI,EAAGA,EAAI,GAAIA,IACvBD,EAAM,IAAMF,OAAOI,aAAaD,IAAMA,EAKvC,GAAwB,eAHXf,OAAOa,oBAAoBC,GAAOG,KAAI,SAAUC,GAC5D,OAAOJ,EAAMI,MAEHC,KAAK,IACf,OAAO,EAIR,IAA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/react/cjs/react.production.min.js","webpack://@pih/esm-pathology-app/./node_modules/react/index.js"],"sourcesContent":["/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/** @license React v16.14.0\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var l=require(\"object-assign\"),n=\"function\"===typeof Symbol&&Symbol.for,p=n?Symbol.for(\"react.element\"):60103,q=n?Symbol.for(\"react.portal\"):60106,r=n?Symbol.for(\"react.fragment\"):60107,t=n?Symbol.for(\"react.strict_mode\"):60108,u=n?Symbol.for(\"react.profiler\"):60114,v=n?Symbol.for(\"react.provider\"):60109,w=n?Symbol.for(\"react.context\"):60110,x=n?Symbol.for(\"react.forward_ref\"):60112,y=n?Symbol.for(\"react.suspense\"):60113,z=n?Symbol.for(\"react.memo\"):60115,A=n?Symbol.for(\"react.lazy\"):\n60116,B=\"function\"===typeof Symbol&&Symbol.iterator;function C(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}\nvar D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E={};function F(a,b,c){this.props=a;this.context=b;this.refs=E;this.updater=c||D}F.prototype.isReactComponent={};F.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(C(85));this.updater.enqueueSetState(this,a,b,\"setState\")};F.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};\nfunction G(){}G.prototype=F.prototype;function H(a,b,c){this.props=a;this.context=b;this.refs=E;this.updater=c||D}var I=H.prototype=new G;I.constructor=H;l(I,F.prototype);I.isPureReactComponent=!0;var J={current:null},K=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,c){var e,d={},g=null,k=null;if(null!=b)for(e in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=\"\"+b.key),b)K.call(b,e)&&!L.hasOwnProperty(e)&&(d[e]=b[e]);var f=arguments.length-2;if(1===f)d.children=c;else if(1<f){for(var h=Array(f),m=0;m<f;m++)h[m]=arguments[m+2];d.children=h}if(a&&a.defaultProps)for(e in f=a.defaultProps,f)void 0===d[e]&&(d[e]=f[e]);return{$$typeof:p,type:a,key:g,ref:k,props:d,_owner:J.current}}\nfunction N(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\\/+/g,Q=[];function R(a,b,c,e){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=c;d.context=e;d.count=0;return d}return{result:a,keyPrefix:b,func:c,context:e,count:0}}\nfunction S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a)}\nfunction T(a,b,c,e){var d=typeof a;if(\"undefined\"===d||\"boolean\"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case \"string\":case \"number\":g=!0;break;case \"object\":switch(a.$$typeof){case p:case q:g=!0}}if(g)return c(e,a,\"\"===b?\".\"+U(a,0):b),1;g=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var k=0;k<a.length;k++){d=a[k];var f=b+U(d,k);g+=T(d,f,c,e)}else if(null===a||\"object\"!==typeof a?f=null:(f=B&&a[B]||a[\"@@iterator\"],f=\"function\"===typeof f?f:null),\"function\"===typeof f)for(a=f.call(a),k=\n0;!(d=a.next()).done;)d=d.value,f=b+U(d,k++),g+=T(d,f,c,e);else if(\"object\"===d)throw c=\"\"+a,Error(C(31,\"[object Object]\"===c?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":c,\"\"));return g}function V(a,b,c){return null==a?0:T(a,\"\",b,c)}function U(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function W(a,b){a.func.call(a.context,b,a.count++)}\nfunction aa(a,b,c){var e=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?X(a,e,c,function(a){return a}):null!=a&&(O(a)&&(a=N(a,d+(!a.key||b&&b.key===a.key?\"\":(\"\"+a.key).replace(P,\"$&/\")+\"/\")+c)),e.push(a))}function X(a,b,c,e,d){var g=\"\";null!=c&&(g=(\"\"+c).replace(P,\"$&/\")+\"/\");b=R(b,g,e,d);V(a,aa,b);S(b)}var Y={current:null};function Z(){var a=Y.current;if(null===a)throw Error(C(321));return a}\nvar ba={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:J,IsSomeRendererActing:{current:!1},assign:l};exports.Children={map:function(a,b,c){if(null==a)return a;var e=[];X(a,e,null,b,c);return e},forEach:function(a,b,c){if(null==a)return a;b=R(null,null,b,c);V(a,W,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];X(a,b,null,function(a){return a});return b},only:function(a){if(!O(a))throw Error(C(143));return a}};\nexports.Component=F;exports.Fragment=r;exports.Profiler=u;exports.PureComponent=H;exports.StrictMode=t;exports.Suspense=y;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ba;\nexports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(C(267,a));var e=l({},a.props),d=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=J.current);void 0!==b.key&&(d=\"\"+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)K.call(b,h)&&!L.hasOwnProperty(h)&&(e[h]=void 0===b[h]&&void 0!==f?f[h]:b[h])}var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){f=Array(h);for(var m=0;m<h;m++)f[m]=arguments[m+2];e.children=f}return{$$typeof:p,type:a.type,\nkey:d,ref:g,props:e,_owner:k}};exports.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a};exports.createElement=M;exports.createFactory=function(a){var b=M.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};exports.forwardRef=function(a){return{$$typeof:x,render:a}};exports.isValidElement=O;\nexports.lazy=function(a){return{$$typeof:A,_ctor:a,_status:-1,_result:null}};exports.memo=function(a,b){return{$$typeof:z,type:a,compare:void 0===b?null:b}};exports.useCallback=function(a,b){return Z().useCallback(a,b)};exports.useContext=function(a,b){return Z().useContext(a,b)};exports.useDebugValue=function(){};exports.useEffect=function(a,b){return Z().useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return Z().useImperativeHandle(a,b,c)};\nexports.useLayoutEffect=function(a,b){return Z().useLayoutEffect(a,b)};exports.useMemo=function(a,b){return Z().useMemo(a,b)};exports.useReducer=function(a,b,c){return Z().useReducer(a,b,c)};exports.useRef=function(a){return Z().useRef(a)};exports.useState=function(a){return Z().useState(a)};exports.version=\"16.14.0\";\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n"],"names":["getOwnPropertySymbols","Object","hasOwnProperty","prototype","propIsEnumerable","propertyIsEnumerable","toObject","val","TypeError","module","exports","assign","test1","String","getOwnPropertyNames","test2","i","fromCharCode","map","n","join","test3","split","forEach","letter","keys","err","shouldUseNative","target","source","from","symbols","to","s","arguments","length","key","call","l","Symbol","for","p","q","r","t","u","v","w","x","y","z","A","B","iterator","C","a","b","c","encodeURIComponent","D","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","E","F","this","props","context","refs","updater","G","H","isReactComponent","setState","Error","forceUpdate","I","constructor","isPureReactComponent","J","current","K","L","ref","__self","__source","M","e","d","g","k","f","children","h","Array","m","defaultProps","$$typeof","type","_owner","O","P","Q","R","pop","result","keyPrefix","func","count","S","push","T","U","isArray","next","done","value","V","replace","escape","toString","W","aa","X","N","Y","Z","ba","ReactCurrentDispatcher","ReactCurrentBatchConfig","suspense","ReactCurrentOwner","IsSomeRendererActing","Children","toArray","only","Component","Fragment","Profiler","PureComponent","StrictMode","Suspense","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","cloneElement","createContext","_calculateChangedBits","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_context","createElement","createFactory","bind","createRef","forwardRef","render","isValidElement","lazy","_ctor","_status","_result","memo","compare","useCallback","useContext","useDebugValue","useEffect","useImperativeHandle","useLayoutEffect","useMemo","useReducer","useRef","useState","version"],"sourceRoot":""}
package/dist/574.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_pih_esm_pathology_app=self.webpackChunk_pih_esm_pathology_app||[]).push([[574],{13574:p=>{p.exports={}}}]);
Binary file
package/dist/861.js ADDED
@@ -0,0 +1,2 @@
1
+ (self.webpackChunk_pih_esm_pathology_app=self.webpackChunk_pih_esm_pathology_app||[]).push([[861],{64132:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>G});var o=n(80150),a=n.n(o),r=n(93379),s=n.n(r),l=n(7795),i=n.n(l),c=n(90569),u=n.n(c),d=n(3565),p=n.n(d),m=n(19216),y=n.n(m),g=n(44589),E=n.n(g),f=n(56724),h={};h.styleTagTransform=E(),h.setAttributes=p(),h.insert=u().bind(null,"head"),h.domAPI=i(),h.insertStyleElement=y(),s()(f.Z,h);const b=f.Z&&f.Z.locals?f.Z.locals:void 0;var A=n(91208),v=n(6311),x=n(89707),w=n(78529),C=n(78722),U=n(99758),_=n(19586),S=n(7450),I=n(67188),D=n(8601),B=n(74017),k={};k.styleTagTransform=E(),k.setAttributes=p(),k.insert=u().bind(null,"head"),k.domAPI=i(),k.insertStyleElement=y(),s()(B.Z,k);const O=B.Z&&B.Z.locals?B.Z.locals:void 0;async function F(e){const t=(await(0,A.openmrsFetch)("/ws/rest/v1/session")).data.user.person.uuid,n=(await(0,A.openmrsFetch)(`/ws/rest/v1/person/${t}/attribute`)).data.results.filter((t=>t.attributeType.uuid===e));return n[0]&&n.value.uuid}async function L(e){return(await(0,A.openmrsFetch)(`/ws/rest/v1/concept/${e}?v=full`)).data.answers}var R=n(28251),P=n(21016),T=n(97819);D.Zx.register({family:"GeorgiaBold",src:P}),D.Zx.register({family:"Georgia",src:T});const Z=D.mM.create({page:{flexDirection:"row"},section:{margin:10,padding:20,flexGrow:1},textLabels:{padding:7,fontFamily:"GeorgiaBold",fontSize:16,fontWeight:"bold",paddingBottom:30},sentenceLabels:{paddingTop:7,fontFamily:"GeorgiaBold",fontSize:16,fontWeight:"bold",paddingBottom:3},textAnswers:{margin:10,padding:20,fontFamily:"Georgia",fontSize:14},sentenceAnswers:{marginBottom:10,paddingBottom:20,fontFamily:"Georgia",fontSize:14},logo:{width:61}}),N=e=>a().createElement(D.BB,{title:`Pathology report \n ${e.encounterInfo.family_name} \n ${e.encounterInfo.given_name} \n ${e.encounterInfo.middle_name} `},a().createElement(D.T3,{size:"A4",style:Z.page},a().createElement(D.G7,{style:Z.section},a().createElement(D.Ee,{style:Z.logo,src:R}),a().createElement(D.xv,{style:{fontSize:8}},"Butaro Hospital"),a().createElement(D.xv,{style:{position:"absolute",top:0,left:300,width:300}},a().createElement(D.xv,{style:Z.textAnswers},"Lab phone number:"),a().createElement(D.xv,null," "," ","0784433618")),a().createElement(D.xv,{style:{position:"absolute",top:15,left:300,width:300}},a().createElement(D.xv,{style:Z.textAnswers},"Accession number:"),a().createElement(D.xv,null," "," ",e.encounterInfo.resultsEncounter.obs.map((t=>t.concept.uuid==e.config.AccessionNumberconceptUUID&&t.value)))),a().createElement(D.xv,{style:{backgroundColor:"#E4E4E4",borderBottom:"1px",textAlign:"center",fontWeight:1500,marginBottom:30,fontFamily:"GeorgiaBold"}},"Pathology Report"),a().createElement(D.xv,{style:{paddingBottom:10}},a().createElement(D.xv,{style:Z.textAnswers},"Patient Name:"),a().createElement(D.xv,{style:Z.textAnswers}," "," ",e.encounterInfo.family_name," "," ",e.encounterInfo.given_name," "," ",e.encounterInfo.middle_name)),a().createElement(D.xv,{style:{paddingBottom:10,position:"absolute",top:140,left:335}},a().createElement(D.xv,{style:Z.textAnswers},"Surgery Date:"),a().createElement(D.xv,{style:Z.textAnswers}," "," ",e.encounterInfo.resultsEncounter.obs.map((t=>t.concept.uuid==e.config.DateBiopsySpecimenTakenconceptUUID&&new Date(t.value).toLocaleString(["en-GB","en-US","en","fr-RW"],{day:"numeric",month:"numeric",year:"numeric"}))))),a().createElement(D.xv,{style:{paddingBottom:10}},a().createElement(D.xv,{style:Z.textAnswers},"Patient Birthday:"),a().createElement(D.xv,{style:Z.textAnswers}," "," ",new Date(e.encounterInfo.personBirthdate).toLocaleString(["en-GB","en-US","en","fr-RW"],{day:"numeric",month:"numeric",year:"numeric"}))),a().createElement(D.xv,{style:{paddingBottom:10,position:"absolute",top:168,left:335,width:200}},a().createElement(D.xv,{style:Z.textAnswers},"Specimen Reception Date:"),a().createElement(D.xv,{style:Z.textAnswers}," "," ",e.encounterInfo.resultsEncounter.obs.map((t=>t.concept.uuid==e.config.SpecimenSubmissionDateconceptUUID&&new Date(t.value).toLocaleString(["en-GB","en-US","en","fr-RW"],{day:"numeric",month:"numeric",year:"numeric"}))))),a().createElement(D.xv,{style:{paddingBottom:10,borderBottom:"1px"}},a().createElement(D.xv,{style:Z.textAnswers},"Patient Gender:"),a().createElement(D.xv,{style:Z.textAnswers}," "," ",e.encounterInfo.personGender)),a().createElement(D.xv,{style:{paddingBottom:10,position:"absolute",top:200,left:335,width:250}},a().createElement(D.xv,{style:Z.textAnswers},"Signout Date:"),a().createElement(D.xv,{style:Z.textAnswers}," "," ",new Date(e.encounterInfo.resultsEncounter.encounterDatetime).toLocaleString(["en-GB","en-US","en","fr-RW"],{day:"numeric",month:"numeric",year:"numeric"}))),a().createElement(D.xv,{style:{backgroundColor:"#E4E4E4",paddingBottom:10}},a().createElement(D.xv,{style:Z.textLabels},"Sending Physician:"),a().createElement(D.xv,{style:Z.textAnswers}," "," ",e.encounterInfo.resultsEncounter.obs.map((t=>t.concept.uuid==e.config.SendingPhysicianconceptUUID&&t.value)))),a().createElement(D.xv,{style:{backgroundColor:"#E4E4E4",paddingBottom:10}},a().createElement(D.xv,{style:Z.textLabels},"Sending Facility:"),a().createElement(D.xv,{style:Z.textAnswers}," "," ",e.encounterInfo.resultsEncounter.obs.map((t=>t.concept.uuid==e.config.OtherBiopsyLocationconceptUUID&&t.value)))),a().createElement(D.xv,{style:{backgroundColor:"#E4E4E4",paddingBottom:10,fontFamily:"Georgia"}},"Anatomical location:"),a().createElement(D.xv,{style:{backgroundColor:"#E4E4E4",paddingBottom:10,paddingLeft:10}},a().createElement(D.xv,{style:Z.textLabels},"i.System:"),a().createElement(D.xv,{style:Z.textAnswers}," "," ",e.encounterInfo.resultsEncounter.obs.map((t=>t.concept.uuid==e.config.OrganSystemconceptUUID&&t.value.name.display+", ")))),a().createElement(D.xv,{style:{backgroundColor:"#E4E4E4",paddingBottom:10,paddingLeft:10}},a().createElement(D.xv,{style:Z.textLabels},"ii.Organ:"),a().createElement(D.xv,{style:Z.textAnswers}," "," ",e.encounterInfo.resultsEncounter.obs.map((t=>t.concept.uuid==e.config.OrganconceptUUID&&t.value.name.display+", ")))),a().createElement(D.xv,{style:{backgroundColor:"#E4E4E4",paddingBottom:10,paddingLeft:10}},a().createElement(D.xv,{style:Z.textLabels},"iii.Detail:"),a().createElement(D.xv,{style:Z.textAnswers}," "," ",e.encounterInfo.resultsEncounter.obs.map((t=>t.concept.uuid==e.config.SpecimenDetailconceptUUID&&t.value)))),a().createElement(D.xv,{style:{backgroundColor:"#E4E4E4",paddingBottom:10}},a().createElement(D.xv,{style:Z.textLabels},"Procedure type:"),a().createElement(D.xv,{style:Z.textAnswers}," "," ",e.encounterInfo.resultsEncounter.obs.map((t=>t.concept.uuid==e.config.OtherTestsOrProceduresconceptUUID&&t.value)))),a().createElement(D.xv,{style:[Z.sentenceLabels]},"Gross Description:"),a().createElement(D.xv,{style:[Z.sentenceAnswers]},e.encounterInfo.resultsEncounter.obs.map((t=>t.concept.uuid==e.config.GrossDescriptionconceptUUID&&t.value))),a().createElement(D.xv,{style:Z.sentenceLabels},"Microscopic Examination:"),a().createElement(D.xv,{style:Z.sentenceAnswers},e.encounterInfo.resultsEncounter.obs.map((t=>t.concept.uuid==e.config.MacroscopicExaminationconceptUUID&&t.value))),a().createElement(D.xv,{style:Z.sentenceLabels},"Conclusion:"),a().createElement(D.xv,{style:Z.sentenceAnswers},e.encounterInfo.resultsEncounter.obs.map((t=>t.concept.uuid==e.config.COMMENTSATCONCLUSIONOFEXAMINATIONconceptUUID&&t.value))),a().createElement(D.xv,{style:{backgroundColor:"#E4E4E4",paddingBottom:10}},a().createElement(D.xv,{style:Z.textLabels},"Validated by pathologist:"),a().createElement(D.xv,{style:[Z.textAnswers,{fontWeight:"bold"}]}," "," ",e.encounterInfo.approvedBy))))),$=()=>{const e=(0,A.useConfig)(),[t,n]=a().useState(),[o,r]=a().useState([]),[s,l]=a().useState(""),[i,c]=a().useState([]),[u,d]=a().useState([]),[p,m]=a().useState([]),[y,g]=a().useState(""),[E,f]=a().useState(""),[h,b]=a().useState("");a().useEffect((()=>{F(e.healthCenterAttrTypeUUID).then(n),async function(){return(await(0,A.openmrsFetch)("/ws/rest/v1/location")).data.results}().then(c),L(e.sampleStatusConceptUUID).then(d),L(e.referralStatusConceptUUID).then(m),async function(e,t){const n=await F(e);let o=null;o=n&&n!=t?await(0,A.openmrsFetch)(`/ws/rest/v1/reportingrest/reportdata/996cf192-ff54-11eb-a63a-080027ce9ca0?location=${n}`):await(0,A.openmrsFetch)("/ws/rest/v1/reportingrest/reportdata/996cf192-ff54-11eb-a63a-080027ce9ca0");const a=o.data.dataSets[0].rows.map((async e=>{if(e.resultsEncounterUuid){o.data.dataSets[0].rows.findIndex((t=>t.encounterUuid==e.encounterUuid));const t=await async function(e){return(await(0,A.openmrsFetch)(`/ws/rest/v1/encounter/${e}?v=full`)).data}(e.resultsEncounterUuid);e.resultsEncounter=t}return e}));return Promise.all(a)}(e.healthCenterAttrTypeUUID,e.pathologyFullAllowedLocationUUID).then(r)}),[]);const B=o.filter((e=>!y||e.sampleStatusObs?.toLowerCase()==y.toLowerCase())).filter((e=>!E||e.referralStatusObs?.toLowerCase()==E.toLowerCase())).filter((e=>!s||e.patientHealthCenter?.toLowerCase()==s.toLowerCase())).filter((e=>{if(h){const t=h.split(/\s+/),n=`${e.family_name} ${e.middle_name} ${e.given_name}`;return t.every((e=>new RegExp("\\b"+e,"i").test(n)))}return!0})).map((n=>({id:n.encounterId,patientNames:a().createElement("a",{"data-testid":"patientNames",href:`/openmrs/patientDashboard.form?patientId=${n.personId}`},n.family_name," ",n.given_name," ",n.middle_name),pathologyRequest:a().createElement("a",{href:`/openmrs/module/htmlformentry/htmlFormEntry.form?encounterId=${n.encounterId}&mode=VIEW`}," ","Link"," "),sendingHospital:n.patientHealthCenter,phoneNumber:n.patientPhoneNumber||"",sampleStatus:a().createElement("select",{onChange:e=>R({uuid:e.target.value,display:e.target.options[e.target.selectedIndex].text},n)},a().createElement("option",{value:""}),u.map((e=>a().createElement("option",{"data-testid":"sampleStatus-option",value:e.uuid,key:e.uuid,selected:!!n.sampleStatusObs&&n.sampleStatusObs===e.display&&!0},e.display)))),dateOfRequest:new Date(n.encounterDatetime).toLocaleString(["en-GB","en-US","en","fr-RW"],{day:"numeric",month:"numeric",year:"numeric"}),referralStatus:a().createElement("select",{onChange:e=>P({uuid:e.target.value,display:e.target.options[e.target.selectedIndex].text},n)},a().createElement("option",{"data-testid":"referralStatus-option",value:""}),p.map((e=>a().createElement("option",{value:e.uuid,key:e.uuid,selected:n.referralStatusObs&&n.referralStatusObs===e.display},e.display)))),sampleDropOff:a().createElement("input",{"data-testid":"sampleDropOff",type:"checkbox",checked:Boolean(n.sampleDropoffObs),onChange:e=>k(n)}),pathologicDiagnosisObs:n.pathologicDiagnosisObs,resultsEncounter:n.resultsEncounterId?a().createElement("a",{"data-testid":"resultsEncounter",href:`/openmrs/module/htmlformentry/htmlFormEntry.form?encounterId=${n.resultsEncounterId}&mode=VIEW`}," ","Results"," "):(!t||t===e.pathologyFullAllowedLocationUUID)&&a().createElement("a",{href:`/openmrs/module/htmlformentry/htmlFormEntry.form?personId=${n.personId}&patientId=${n.personId}&returnUrl=&formId=${e.pathologyResultsFromID}&uuid=${n.encounterUuid}`}," ","Fill in results"," "),PDFReport:n.resultsEncounterId&&n.approvedBy&&a().createElement(D.WD,{document:a().createElement(N,{encounterInfo:n,config:e}),fileName:"Pathology Report"},(e=>{let{loading:t}=e;return t?"loading...":a().createElement("button",null,"Download")}))}))),k=t=>{const n=(0,v.Z)(o);t.sampleDropoffObs?async function(e){return await(0,A.openmrsFetch)(`/ws/rest/v1/obs/${e}`,{method:"POST",headers:{"content-type":"application/json"},body:{voided:!0}})}(t.sampleDropoffObsUuid).then((e=>{if(e.ok){const e=n.findIndex((e=>e.encounterUuid==t.encounterUuid));n[e].sampleDropoffObs="",n[e].sampleDropoffObsUuid="",r(n)}})):async function(e,t,n,o){const a={person:e.patientUuid,obsDatetime:(new Date).toISOString(),concept:t,location:await F(n),encounter:e.encounterUuid,value:o,voided:!1};return await(0,A.openmrsFetch)("/ws/rest/v1/obs",{method:"POST",headers:{"content-type":"application/json"},body:a})}(t,e.sampleDropOffconceptUUID,e.healthCenterAttrTypeUUID,e.yesConceptUUID).then((o=>{if(o.ok){const a=n.findIndex((e=>e.encounterUuid==t.encounterUuid));n[a].sampleDropoffObs=e.yesConceptName,n[a].sampleDropoffObsUuid=o.data.uuid,r(n)}}))},R=(t,n)=>{const a=(0,v.Z)(o);n.sampleStatusObs?async function(e,t,n,o){const a={person:t.patientUuid,obsDatetime:(new Date).toISOString(),concept:n,location:await F(o),encounter:t.encounterUuid,value:e.uuid,voided:!e};return await(0,A.openmrsFetch)(`/ws/rest/v1/obs/${t.sampleStatusObsUuid}`,{method:"POST",headers:{"content-type":"application/json"},body:a})}(t,n,e.sampleStatusConceptUUID,e.healthCenterAttrTypeUUID).then((e=>{if(e.ok){const o=a.findIndex((e=>e.encounterUuid==n.encounterUuid));a[o].sampleStatusObs=t.display,a[o].sampleStatusObsUuid=e.data.uuid,r(a)}else r(a)})):async function(e,t,n,o){const a={person:t.patientUuid,obsDatetime:(new Date).toISOString(),concept:n,location:await F(o),encounter:t.encounterUuid,value:e,voided:!1};return await(0,A.openmrsFetch)("/ws/rest/v1/obs",{method:"POST",headers:{"content-type":"application/json"},body:a})}(t.uuid,n,e.sampleStatusConceptUUID,e.healthCenterAttrTypeUUID).then((e=>{if(e.ok){const o=a.findIndex((e=>e.encounterUuid==n.encounterUuid));a[o].sampleStatusObs=t.display,a[o].sampleStatusObsUuid=e.data.uuid,r(a)}else r(a)}))},P=(t,n)=>{const a=(0,v.Z)(o);n.referralStatusObs?async function(e,t,n,o){const a={person:t.patientUuid,obsDatetime:(new Date).toISOString(),concept:n,location:await F(o),encounter:t.encounterUuid,value:e.uuid,voided:!e};return await(0,A.openmrsFetch)(`/ws/rest/v1/obs/${t.referralStatusObsUuid}`,{method:"POST",headers:{"content-type":"application/json"},body:a})}(t,n,e.referralStatusConceptUUID,e.healthCenterAttrTypeUUID).then((e=>{if(e.ok){const o=a.findIndex((e=>e.encounterUuid==n.encounterUuid));a[o].referralStatusObs=t.display,a[o].referralStatusObsUuid=e.data.uuid,r(a)}else r(a)})):async function(e,t,n,o){const a={person:t.patientUuid,obsDatetime:(new Date).toISOString(),concept:n,location:await F(o),encounter:t.encounterUuid,value:e,voided:!1};return await(0,A.openmrsFetch)("/ws/rest/v1/obs",{method:"POST",headers:{"content-type":"application/json"},body:a})}(t.uuid,n,e.referralStatusConceptUUID,e.healthCenterAttrTypeUUID).then((e=>{if(e.ok){const o=a.findIndex((e=>e.encounterUuid==n.encounterUuid));a[o].referralStatusObs=t.display,a[o].referralStatusObsUuid=e.data.uuid,r(a)}else r(a)}))};return a().createElement("div",null,a().createElement("div",{className:O.filtersContainer},a().createElement("label",{htmlFor:"sending-hospital"},"Sending Hospital "),a().createElement("select",{id:"sending-hospital",className:O.dropdown,value:s,onChange:e=>l(e.target.value)},a().createElement("option",{value:""}),i.map((n=>t&&t!==e.pathologyFullAllowedLocationUUID?n.uuid===t?a().createElement("option",{value:n.display,key:n.uuid},n.display):null:a().createElement("option",{value:n.display,key:n.uuid},n.display)))),a().createElement("label",{htmlFor:"sample-status"},"Sample Status "),a().createElement("select",{id:"sample-status",className:O.dropdown,value:y,onChange:e=>g(e.target.value)},a().createElement("option",{value:""}),u.map((e=>a().createElement("option",{value:e.display,key:e.uuid},e.display)))),a().createElement("label",{htmlFor:"referral-status"},"Referral Status "),a().createElement("select",{id:"referral-status",className:O.dropdown,value:E,onChange:e=>f(e.target.value)},a().createElement("option",{value:""}),p.map((e=>a().createElement("option",{value:e.display,key:e.uuid},e.display)))),a().createElement("label",{htmlFor:"patient-name"},"Patient Name "),a().createElement("input",{id:"patient-name",className:O.textBox,type:"text",onChange:e=>b(e.target.value)})),console.log(o),a().createElement("div",{className:O.tableContainer},a().createElement(x.ZP,{rows:B,headers:[{key:"patientNames",header:"Patient name"},{key:"pathologyRequest",header:"pathology request"},{key:"sendingHospital",header:"Sending Hospital"},{key:"phoneNumber",header:"Phone number"},{key:"sampleStatus",header:"Sample status"},{key:"dateOfRequest",header:"Date of Request"},{key:"referralStatus",header:"Referral status"},{key:"sampleDropOff",header:"Sample drop off?"},{key:"pathologicDiagnosisObs",header:"Pathologic diagnosis"},{key:"resultsEncounter",header:"Results"},{key:"PDFReport",header:"Report"}]},(e=>{let{rows:t,headers:n,getTableProps:o,getHeaderProps:r,getRowProps:s}=e;return a().createElement(w.Z,o(),a().createElement(C.Z,null,a().createElement(U.Z,null,n.map((e=>a().createElement(_.Z,r({header:e}),e.header))))),a().createElement(S.Z,null,t.map((e=>a().createElement(U.Z,s({row:e}),e.cells.map((e=>a().createElement(I.Z,{key:e.id},e.value))))))))}))),a().createElement("div",null))},G=()=>a().createElement("div",{className:`omrs-main-content ${b.container}`},a().createElement($,null))},74017:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(94015),a=n.n(o),r=n(23645),s=n.n(r)()(a());s.push([e.id,".-esm-pathology__ReportComponent__tableContainer___uOmmk {\n height: 500px;\n overflow-x: auto;\n margin: 0 1rem;\n border: 2px solid lightgrey;\n border-radius: 0.25rem;\n}\n\n.-esm-pathology__ReportComponent__filtersContainer___avnpi {\n border-radius: 0.25rem;\n margin: 0 1rem;\n padding-top: 4%;\n}\n\n.-esm-pathology__ReportComponent__dropdown___Lr3Fe {\n width: 10%;\n height: 2rem;\n background: transparent;\n border: 1px solid var(--omrs-color-ink-lowest-contrast);\n background-clip: padding-box;\n border-radius: 4px;\n margin: 1rem;\n}\n.-esm-pathology__ReportComponent__dropdown___Lr3Fe:disabled {\n opacity: 0.8;\n background: lightgrey;\n cursor: not-allowed;\n}\n.-esm-pathology__ReportComponent__dropdown___Lr3Fe:focus {\n border: 2px solid var(--omrs-color-interaction);\n outline: 0;\n}\n.-esm-pathology__ReportComponent__textBox___-gvpP {\n background: transparent;\n border: 1px solid var(--omrs-color-ink-lowest-contrast);\n background-clip: padding-box;\n border-radius: 4px;\n margin: 1rem;\n}\n","",{version:3,sources:["webpack://./src/pathology-report/ReportComponent.css"],names:[],mappings:"AAAA;EACE,aAAa;EACb,gBAAgB;EAChB,cAAc;EACd,2BAA2B;EAC3B,sBAAsB;AACxB;;AAEA;EACE,sBAAsB;EACtB,cAAc;EACd,eAAe;AACjB;;AAEA;EACE,UAAU;EACV,YAAY;EACZ,uBAAuB;EACvB,uDAAuD;EACvD,4BAA4B;EAC5B,kBAAkB;EAClB,YAAY;AACd;AACA;EACE,YAAY;EACZ,qBAAqB;EACrB,mBAAmB;AACrB;AACA;EACE,+CAA+C;EAC/C,UAAU;AACZ;AACA;EACE,uBAAuB;EACvB,uDAAuD;EACvD,4BAA4B;EAC5B,kBAAkB;EAClB,YAAY;AACd",sourcesContent:[".tableContainer {\n height: 500px;\n overflow-x: auto;\n margin: 0 1rem;\n border: 2px solid lightgrey;\n border-radius: 0.25rem;\n}\n\n.filtersContainer {\n border-radius: 0.25rem;\n margin: 0 1rem;\n padding-top: 4%;\n}\n\n.dropdown {\n width: 10%;\n height: 2rem;\n background: transparent;\n border: 1px solid var(--omrs-color-ink-lowest-contrast);\n background-clip: padding-box;\n border-radius: 4px;\n margin: 1rem;\n}\n.dropdown:disabled {\n opacity: 0.8;\n background: lightgrey;\n cursor: not-allowed;\n}\n.dropdown:focus {\n border: 2px solid var(--omrs-color-interaction);\n outline: 0;\n}\n.textBox {\n background: transparent;\n border: 1px solid var(--omrs-color-ink-lowest-contrast);\n background-clip: padding-box;\n border-radius: 4px;\n margin: 1rem;\n}\n"],sourceRoot:""}]),s.locals={tableContainer:"-esm-pathology__ReportComponent__tableContainer___uOmmk",filtersContainer:"-esm-pathology__ReportComponent__filtersContainer___avnpi",dropdown:"-esm-pathology__ReportComponent__dropdown___Lr3Fe",textBox:"-esm-pathology__ReportComponent__textBox___-gvpP"};const l=s},56724:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(94015),a=n.n(o),r=n(23645),s=n.n(r)()(a());s.push([e.id,".-esm-pathology__pathology__container___ny2VS {\n padding: 2em;\n}\n","",{version:3,sources:["webpack://./src/pathology.css"],names:[],mappings:"AAAA;EACE,YAAY;AACd",sourcesContent:[".container {\n padding: 2em;\n}\n"],sourceRoot:""}]),s.locals={container:"-esm-pathology__pathology__container___ny2VS"};const l=s},97819:(e,t,n)=>{"use strict";e.exports=n.p+"5b8bb278fcab4da4972e.ttf"},21016:(e,t,n)=>{"use strict";e.exports=n.p+"a5fad24f075c978ac04b.ttf"},28251:(e,t,n)=>{"use strict";e.exports=n.p+"00ebb57bb20c59433e84.gif"},42480:()=>{},19527:()=>{},69331:()=>{},52361:()=>{},94616:()=>{}}]);
2
+ //# sourceMappingURL=861.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"861.js","mappings":"uTAWIA,EAAU,GAEdA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,WAAiB,gBAAiBM,E,0HCf/D,EAAU,GAEd,EAAQL,kBAAoB,IAC5B,EAAQC,cAAgB,IAElB,EAAQC,OAAS,SAAc,KAAM,QAE3C,EAAQC,OAAS,IACjB,EAAQC,mBAAqB,IAEhB,IAAI,IAAS,GAKnB,QAAe,KAAW,WAAiB,gBAAiBC,ECsB5DC,eAAeC,EAAgBC,GACpC,MACMC,SADgBC,EAAAA,EAAAA,cAAc,wBACTC,KAAKC,KAAKC,OAAOC,KAItCC,SAHeL,EAAAA,EAAAA,cAClB,sBAAqBD,gBAESE,KAAKK,QAAQC,QAC3CC,GAASA,EAAKC,cAAcL,OAASN,IAExC,OAAOO,EAAkB,IAAMA,EAAkBK,MAAMN,KAGlDR,eAAee,EAAkBC,GAItC,aAHsBZ,EAAAA,EAAAA,cACnB,uBAAsBY,aAEVX,KAAKY,Q,qCCzDtBC,EAAAA,GAAAA,SAAc,CA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,kBAACC,EAAA,EAAUH,IACT,kBAACI,EAAA,EAAD,KACE,kBAACC,EAAA,EAAD,KACG1C,EAAQtH,KAAK0J,GACZ,kBAACO,EAAA,EAAgBL,EAAe,CAAEF,OAAAA,IAC/BA,EAAOA,YAKhB,kBAACQ,EAAA,EAAD,KACGtG,EAAK5D,KAAKmK,GACT,kBAACH,EAAA,EAAaH,EAAY,CAAEM,IAAAA,IACzBA,EAAIC,MAAMpK,KAAKqK,GACd,kBAACC,EAAA,EAAD,CAAWrE,IAAKoE,EAAKnF,IAAKmF,EAAKhN,kBAS/C,gCCheN,EAPwB,IAEpB,yBAAK+L,UAAY,qBAAoBtL,EAAAA,aACnC,kBAAC,EAAD,Q,iFCJFyM,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOvF,GAAI,whCAAyhC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wDAAwD,MAAQ,GAAG,SAAW,wWAAwW,eAAiB,CAAC,myBAAmyB,WAAa,MAEr1EqF,EAAwBG,OAAS,CAChC,eAAkB,0DAClB,iBAAoB,4DACpB,SAAY,oDACZ,QAAW,oDAEZ,W,iFCVIH,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOvF,GAAI,wEAAyE,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,iCAAiC,MAAQ,GAAG,SAAW,sBAAsB,eAAiB,CAAC,sCAAsC,WAAa,MAE/RqF,EAAwBG,OAAS,CAChC,UAAa,gDAEd,W","sources":["webpack://@pih/esm-pathology-app/./src/pathology.css?9d3a","webpack://@pih/esm-pathology-app/./src/pathology-report/ReportComponent.css?a61d","webpack://@pih/esm-pathology-app/./src/pathology-report/ReportComponent.resource.ts","webpack://@pih/esm-pathology-app/./src/Print-to-PDF/Document-Component.tsx","webpack://@pih/esm-pathology-app/./src/pathology-report/ReportComponent.tsx","webpack://@pih/esm-pathology-app/./src/PathologySystem.tsx","webpack://@pih/esm-pathology-app/./src/pathology-report/ReportComponent.css","webpack://@pih/esm-pathology-app/./src/pathology.css"],"sourcesContent":["\n import API from \"!../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./pathology.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./pathology.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./ReportComponent.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./ReportComponent.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { openmrsFetch } from \"@openmrs/esm-framework\";\nimport cloneDeep from \"lodash-es/cloneDeep\";\n\n\nexport interface EncounterResult {\n family_name: string;\n given_name: string;\n middle_name: string;\n patientPhoneNumber: { value: string };\n patientHealthCenter: string;\n patientUuid: string;\n encounterUuid: string;\n encounterId: number;\n personId: number;\n encounterDatetime: Date;\n sampleStatusObs: string;\n referralStatusObs: string;\n sampleDropoffObs: string;\n resultsEncounterId: string;\n resultsEncounterUuid: string;\n resultsEncounter: [];\n approvedBy: string;\n approvalObsUuid: string;\n pathologicDiagnosisObs: string;\n}\nexport interface Patient {\n uuid: string;\n}\nexport interface Concept {\n uuid: string;\n name: string;\n display: string;\n}\n\nexport interface Obs {\n patientUuid: string;\n obsDateTime: string;\n sampleDropoffObsUuid: string;\n referralStatusObsUuid: string;\n sampleStatusObsUuid: string;\n location: string;\n encounterUuid: string;\n valueCodedName: string;\n voided: boolean;\n resultsEncounterUuid: string;\n}\n\n\nexport async function getUserLocation(healthCenterAttrTypeUUID) {\n const session = await openmrsFetch(`/ws/rest/v1/session`);\n const personUuid = session.data.user.person.uuid;\n const person = await openmrsFetch(\n `/ws/rest/v1/person/${personUuid}/attribute`\n );\n const hcPersonAttribute = person.data.results.filter(\n (attr) => attr.attributeType.uuid === healthCenterAttrTypeUUID\n );\n return hcPersonAttribute[0] && hcPersonAttribute.value.uuid;\n}\n\nexport async function getConceptAnswers(conceptUuid) {\n const concept = await openmrsFetch(\n `/ws/rest/v1/concept/${conceptUuid}?v=full`\n );\n return concept.data.answers;\n}\n\nexport async function getLocations() {\n const location = await openmrsFetch(`/ws/rest/v1/location`);\n\n return location.data.results;\n}\n\nexport async function getEncounters(\n healthCenterAttrTypeUUID: string,\n pathologyFullAllowedLocationUUID: string\n): Promise<Array<EncounterResult>> {\n const userLocationUUID = await getUserLocation(healthCenterAttrTypeUUID);\n\n let searchEncounter = null;\n if (\n userLocationUUID &&\n userLocationUUID != pathologyFullAllowedLocationUUID\n ) {\n searchEncounter = await openmrsFetch(\n `/ws/rest/v1/reportingrest/reportdata/996cf192-ff54-11eb-a63a-080027ce9ca0?location=${userLocationUUID}`\n );\n } else {\n searchEncounter = await openmrsFetch(\n `/ws/rest/v1/reportingrest/reportdata/996cf192-ff54-11eb-a63a-080027ce9ca0`\n );\n }\n\n const EncListClone = searchEncounter.data.dataSets[0].rows.map(async (encObject)=>{\n if(encObject.resultsEncounterUuid){\n const encIndex = searchEncounter.data.dataSets[0].rows.findIndex(\n (enc) => enc.encounterUuid == encObject.encounterUuid\n );\n const resultsEnc =await getEncounter(encObject.resultsEncounterUuid);\n encObject.resultsEncounter = resultsEnc;\n \n }\n return encObject; \n });\n \n return Promise.all(EncListClone);\n}\n\nexport async function postSampleDropoffObs(\n obsObject: Obs,\n sampleDropOffconceptUUID: string,\n healthCenterAttrTypeUUID: string,\n yesConceptName: string\n) {\n const ObsObjectTocreate = {\n person: obsObject.patientUuid,\n obsDatetime: new Date().toISOString(),\n concept: sampleDropOffconceptUUID,\n location: await getUserLocation(healthCenterAttrTypeUUID),\n encounter: obsObject.encounterUuid,\n value: yesConceptName,\n voided: false,\n };\n\n const response = await openmrsFetch(\"/ws/rest/v1/obs\", {\n method: \"POST\",\n headers: {\n \"content-type\": \"application/json\",\n },\n body: ObsObjectTocreate,\n });\n return response;\n}\n\nexport async function voidSampleDropoff(sampleDropoffObsUuid: string) {\n const ObsObjectTocreate = {\n voided: true,\n };\n\n const response = await openmrsFetch(\n `/ws/rest/v1/obs/${sampleDropoffObsUuid}`,\n {\n method: \"POST\",\n headers: {\n \"content-type\": \"application/json\",\n },\n body: ObsObjectTocreate,\n }\n );\n\n return response;\n}\n\nexport async function postSampleStatusChangeObs(\n newStatusUuid: string,\n obs: Obs,\n sampleStatusConceptUUID: string,\n healthCenterAttrTypeUUID: string\n) {\n const postBody = {\n person: obs.patientUuid,\n obsDatetime: new Date().toISOString(),\n concept: sampleStatusConceptUUID,\n location: await getUserLocation(healthCenterAttrTypeUUID),\n encounter: obs.encounterUuid,\n value: newStatusUuid,\n voided: false,\n };\n\n const response = await openmrsFetch(\"/ws/rest/v1/obs\", {\n method: \"POST\",\n headers: {\n \"content-type\": \"application/json\",\n },\n body: postBody,\n });\n\n return response;\n}\n\nexport async function updateSampleStatusChangeObs(\n newStatus: null | { uuid: string; display: string },\n obsObject: Obs,\n sampleStatusConceptUUID: string,\n healthCenterAttrTypeUUID: string\n) {\n const ObsObjectTocreate = {\n person: obsObject.patientUuid,\n obsDatetime: new Date().toISOString(),\n concept: sampleStatusConceptUUID,\n location: await getUserLocation(healthCenterAttrTypeUUID),\n encounter: obsObject.encounterUuid,\n value: newStatus.uuid,\n voided: newStatus ? false : true,\n };\n\n const response = await openmrsFetch(\n `/ws/rest/v1/obs/${obsObject.sampleStatusObsUuid}`,\n {\n method: \"POST\",\n headers: {\n \"content-type\": \"application/json\",\n },\n body: ObsObjectTocreate,\n }\n );\n\n return response;\n}\n\nexport async function postReferralStatusChangeObs(\n targetValueUuid: string,\n obsObject: Obs,\n referralStatusConceptUUID: string,\n healthCenterAttrTypeUUID: string\n) {\n const ObsObjectTocreate = {\n person: obsObject.patientUuid,\n obsDatetime: new Date().toISOString(),\n concept: referralStatusConceptUUID,\n location: await getUserLocation(healthCenterAttrTypeUUID),\n encounter: obsObject.encounterUuid,\n value: targetValueUuid,\n voided: false,\n };\n\n const response = await openmrsFetch(\"/ws/rest/v1/obs\", {\n method: \"POST\",\n headers: {\n \"content-type\": \"application/json\",\n },\n body: ObsObjectTocreate,\n });\n\n return response;\n}\n\nexport async function updateReferralStatusChangeObs(\n targetValue,\n obsObject: Obs,\n referralStatusConceptUUID,\n healthCenterAttrTypeUUID\n) {\n const ObsObjectTocreate = {\n person: obsObject.patientUuid,\n obsDatetime: new Date().toISOString(),\n concept: referralStatusConceptUUID,\n location: await getUserLocation(healthCenterAttrTypeUUID),\n encounter: obsObject.encounterUuid,\n value: targetValue.uuid,\n voided: targetValue ? false : true,\n };\n\n const response = await openmrsFetch(\n `/ws/rest/v1/obs/${obsObject.referralStatusObsUuid}`,\n {\n method: \"POST\",\n headers: {\n \"content-type\": \"application/json\",\n },\n body: ObsObjectTocreate,\n }\n );\n\n return response;\n}\n\n\n\nexport async function getUser(userUuid: string) {\n const user = await openmrsFetch(`/ws/rest/v1/user/${userUuid}`);\n\n return user.data;\n}\nexport async function getEncounter(encounterUuid) {\n const encResult = await openmrsFetch(`/ws/rest/v1/encounter/${encounterUuid}?v=full`);\n \n return encResult.data;\n}","import React from \"react\";\nimport { Document, Page, Text,Image, View, StyleSheet,Font } from \"@react-pdf/renderer\";\nimport ButaroLogo from '../images/ButaroHospitalLogo.gif';\nimport GeorgiaFontBold from '../Fonts/georgia/georgia-bold.ttf';\nimport GeorgiaFont from '../Fonts/georgia/Georgia.ttf';\n\n// import { Font } from '@react-pdf/renderer';\nFont.register({ family: 'GeorgiaBold', src: GeorgiaFontBold});\nFont.register({ family: 'Georgia', src: GeorgiaFont});\n\n// Font.register({ family: 'Georgia', src: '../Fonts/georgia/Georgia.ttf', fontStyle: 'normal', fontWeight: 'normal' });\n\n\n\n\n// Create styles\nconst styles = StyleSheet.create({\n page: {\n flexDirection: \"row\",\n },\n section: {\n margin: 10,\n padding: 20,\n flexGrow: 1,\n },\n textLabels: {\n padding: 7,\n fontFamily:\"GeorgiaBold\",\n fontSize: 16,\n fontWeight: 'bold',\n paddingBottom:30,\n },\n sentenceLabels: {\n paddingTop: 7,\n fontFamily:\"GeorgiaBold\",\n fontSize: 16,\n fontWeight: 'bold',\n paddingBottom:3,\n },\n textAnswers: {\n margin: 10,\n padding: 20,\n fontFamily:\"Georgia\",\n fontSize: 14,\n },\n sentenceAnswers: {\n marginBottom: 10,\n paddingBottom: 20,\n fontFamily:\"Georgia\",\n fontSize: 14,\n },\n logo: {\n width: 61,\n\n }\n});\n\n// Create Document Component\nconst MyDocument = (props) => (\n \n <Document title={`Pathology report \n ${props.encounterInfo.family_name} \n ${props.encounterInfo.given_name} \n ${props.encounterInfo.middle_name} `}\n >\n <Page size=\"A4\" style={styles.page}>\n \n <View style={styles.section}>\n <Image style={styles.logo} src={ButaroLogo}/>\n <Text style={{fontSize: 8}}>Butaro Hospital</Text>\n <Text style={{ position: \"absolute\",top: 0,left: 300,width: 300 }}>\n <Text style={styles.textAnswers}>\n Lab phone number:\n </Text>\n <Text>{\" \"}{\" \"}0784433618</Text>\n </Text>\n <Text style={{ position: \"absolute\",top: 15,left: 300,width: 300 }}>\n <Text style={styles.textAnswers}>\n Accession number:\n </Text> \n <Text >\n {\" \"}{\" \"}\n {props.encounterInfo.resultsEncounter.obs.map((obser) => obser.concept.uuid==props.config.AccessionNumberconceptUUID && obser.value)}\n </Text>\n </Text>\n <Text style={{ backgroundColor: \"#E4E4E4\",borderBottom:'1px', textAlign: 'center',fontWeight: 1500, marginBottom: 30,fontFamily:\"GeorgiaBold\" }}> \n Pathology Report \n </Text>\n <Text style={{ paddingBottom: 10 }} > \n <Text style={styles.textAnswers}>\n Patient Name:\n </Text> \n <Text style={styles.textAnswers}>\n {\" \"}{\" \"}\n {props.encounterInfo.family_name} {\" \"} \n {props.encounterInfo.given_name} {\" \"} \n {props.encounterInfo.middle_name} \n </Text>\n \n </Text>\n <Text style={{ paddingBottom: 10, position: \"absolute\",top: 140,left: 335 }}>\n <Text style={styles.textAnswers}>\n Surgery Date:\n </Text> \n <Text style={styles.textAnswers}>\n {\" \"}{\" \"}\n {props.encounterInfo.resultsEncounter.obs.map((obser) => obser.concept.uuid==props.config.DateBiopsySpecimenTakenconceptUUID && \n new Date(obser.value)\n .toLocaleString([\"en-GB\",\"en-US\",\"en\",\"fr-RW\"],{day: 'numeric',month: 'numeric',year: 'numeric'})\n )}\n </Text>\n \n </Text>\n <Text style={{ paddingBottom: 10 }} > \n <Text style={styles.textAnswers}>\n Patient Birthday:\n </Text> \n <Text style={styles.textAnswers}>\n {\" \"}{\" \"}\n {\n new Date(props.encounterInfo.personBirthdate)\n .toLocaleString([\"en-GB\",\"en-US\",\"en\",\"fr-RW\"],{day: 'numeric',month: 'numeric',year: 'numeric'})\n }\n </Text>\n \n </Text>\n <Text style={{ paddingBottom: 10, position: \"absolute\",top: 168,left: 335,width: 200 }}> \n <Text style={styles.textAnswers}>\n Specimen Reception Date:\n </Text> \n <Text style={styles.textAnswers}>\n {\" \"}{\" \"}\n {props.encounterInfo.resultsEncounter.obs.map((obser) => obser.concept.uuid==props.config.SpecimenSubmissionDateconceptUUID && \n new Date(obser.value)\n .toLocaleString([\"en-GB\",\"en-US\",\"en\",\"fr-RW\"],{day: 'numeric',month: 'numeric',year: 'numeric'})\n )}\n </Text>\n </Text>\n <Text style={{ paddingBottom: 10,borderBottom:'1px' }} > \n <Text style={styles.textAnswers}>\n Patient Gender:\n </Text> \n <Text style={styles.textAnswers}>\n {\" \"}{\" \"}\n {props.encounterInfo.personGender}\n </Text>\n \n </Text>\n <Text style={{ paddingBottom: 10, position: \"absolute\",top: 200,left: 335,width: 250 }}> \n <Text style={styles.textAnswers}>\n Signout Date:\n </Text> \n <Text style={styles.textAnswers}>\n {\" \"}{\" \"}\n {\n new Date(props.encounterInfo.resultsEncounter.encounterDatetime)\n .toLocaleString([\"en-GB\",\"en-US\",\"en\",\"fr-RW\"],{day: 'numeric',month: 'numeric',year: 'numeric'})\n } \n </Text>\n </Text>\n \n <Text style={{ backgroundColor: \"#E4E4E4\",paddingBottom: 10 }}> \n <Text style={styles.textLabels}>\n Sending Physician:\n </Text> \n <Text style={styles.textAnswers}>\n {\" \"}{\" \"}\n {props.encounterInfo.resultsEncounter.obs.map((obser) => obser.concept.uuid==props.config.SendingPhysicianconceptUUID && obser.value)}\n </Text>\n </Text>\n <Text style={{ backgroundColor: \"#E4E4E4\",paddingBottom: 10 }}>\n <Text style={styles.textLabels}>\n Sending Facility: \n </Text> \n <Text style={styles.textAnswers}>\n {\" \"}{\" \"}\n {props.encounterInfo.resultsEncounter.obs.map((obser) => obser.concept.uuid==props.config.OtherBiopsyLocationconceptUUID && obser.value)}\n </Text>\n </Text>\n <Text style={{backgroundColor: \"#E4E4E4\",paddingBottom: 10 ,fontFamily:\"Georgia\"}}>Anatomical location:</Text>\n <Text style={{backgroundColor: \"#E4E4E4\", paddingBottom: 10,paddingLeft:10 }}> \n <Text style={styles.textLabels}>\n i.System:\n </Text> \n <Text style={styles.textAnswers}>\n {\" \"}{\" \"}\n {props.encounterInfo.resultsEncounter.obs.map((obser) => obser.concept.uuid==props.config.OrganSystemconceptUUID && (obser.value.name.display+ \", \"))}\n </Text>\n </Text>\n <Text style={{backgroundColor: \"#E4E4E4\", paddingBottom: 10,paddingLeft:10 }}>\n <Text style={styles.textLabels}>\n ii.Organ:\n </Text> \n <Text style={styles.textAnswers}>\n {\" \"}{\" \"}\n {props.encounterInfo.resultsEncounter.obs.map((obser) => obser.concept.uuid==props.config.OrganconceptUUID && (obser.value.name.display+ \", \"))} \n </Text>\n </Text>\n <Text style={{backgroundColor: \"#E4E4E4\", paddingBottom: 10,paddingLeft:10 }}>\n <Text style={styles.textLabels}>\n iii.Detail:\n </Text> \n <Text style={styles.textAnswers}>\n {\" \"}{\" \"}\n {props.encounterInfo.resultsEncounter.obs.map((obser) => obser.concept.uuid==props.config.SpecimenDetailconceptUUID && obser.value)}\n </Text>\n </Text>\n <Text style={{backgroundColor: \"#E4E4E4\", paddingBottom: 10 }}>\n <Text style={styles.textLabels}>\n Procedure type:\n </Text> \n <Text style={styles.textAnswers}>\n {\" \"}{\" \"}\n {props.encounterInfo.resultsEncounter.obs.map((obser) => obser.concept.uuid==props.config.OtherTestsOrProceduresconceptUUID && obser.value)}\n </Text>\n </Text>\n <Text style={[styles.sentenceLabels]}>\n Gross Description: \n </Text> \n <Text style={[styles.sentenceAnswers]}>\n {props.encounterInfo.resultsEncounter.obs.map((obser) => obser.concept.uuid==props.config.GrossDescriptionconceptUUID && obser.value)}\n \n </Text>\n <Text style={styles.sentenceLabels}>\n Microscopic Examination:\n </Text> \n <Text style={styles.sentenceAnswers}>\n \n {props.encounterInfo.resultsEncounter.obs.map((obser) => obser.concept.uuid==props.config.MacroscopicExaminationconceptUUID && obser.value)}\n\n </Text>\n <Text style={styles.sentenceLabels}>\n Conclusion:\n </Text> \n <Text style={styles.sentenceAnswers}>\n \n {props.encounterInfo.resultsEncounter.obs.map((obser) => obser.concept.uuid==props.config.COMMENTSATCONCLUSIONOFEXAMINATIONconceptUUID && obser.value)}\n \n </Text>\n\n <Text style={{backgroundColor: \"#E4E4E4\", paddingBottom: 10 }}> \n <Text style={styles.textLabels}>\n Validated by pathologist:\n </Text> \n <Text style= {[styles.textAnswers, { fontWeight: 'bold' }]}>\n {\" \"}{\" \"}\n {props.encounterInfo.approvedBy}\n </Text>\n </Text>\n </View> \n </Page>\n </Document>\n);\n\nexport default MyDocument;\n\n","import React from \"react\";\nimport { useConfig } from \"@openmrs/esm-framework\";\nimport cloneDeep from \"lodash-es/cloneDeep\";\nimport DataTable, {\n Table,\n TableHead,\n TableRow,\n TableHeader,\n TableBody,\n TableCell,\n} from \"carbon-components-react/es/components/DataTable\";\nimport { PDFDownloadLink, PDFViewer } from \"@react-pdf/renderer\";\n\nimport styles from \"./ReportComponent.css\";\nimport {\n getUserLocation,\n getConceptAnswers,\n getLocations,\n getEncounters,\n postSampleDropoffObs,\n voidSampleDropoff,\n postSampleStatusChangeObs,\n updateSampleStatusChangeObs,\n postReferralStatusChangeObs,\n updateReferralStatusChangeObs,\n EncounterResult,\n // postApproval,\n // voidApprovalObs,\n getUser,\n Concept,\n getEncounter,\n} from \"./ReportComponent.resource\";\nimport MyDocument from \"../Print-to-PDF/Document-Component\";\nimport { Config } from \"../config-schema\";\n\nconst ReportComponent = () => {\n const config = useConfig() as Config;\n const [userLocation, setUserLocation] = React.useState();\n const [encountersList, setEncountersList] = React.useState<\n Array<EncounterResult>\n >([]);\n const [sendingHospital, setSendingHospital] = React.useState(\"\");\n const [listOfHospitals, setListOfHospitals] = React.useState([]);\n const [sampleStatusAnswers, setSampleStatusAnswers] = React.useState<\n Array<Concept>\n >([]);\n const [referralStatusAnswers, setReferralStatusAnswers] = React.useState<\n Array<Concept>\n >([]);\n const [sampleStatus, setSampleStatus] = React.useState(\"\");\n const [referralStatus, setReferralStatus] = React.useState(\"\");\n const [patientName, setPatientName] = React.useState(\"\");\n const headers = [\n {\n key: \"patientNames\",\n header: \"Patient name\",\n },\n {\n key: \"pathologyRequest\",\n header: \"pathology request\",\n },\n {\n key: \"sendingHospital\",\n header: \"Sending Hospital\",\n },\n {\n key: \"phoneNumber\",\n header: \"Phone number\",\n },\n {\n key: \"sampleStatus\",\n header: \"Sample status\",\n },\n {\n key: \"dateOfRequest\",\n header: \"Date of Request\",\n },\n {\n key: \"referralStatus\",\n header: \"Referral status\",\n },\n {\n key: \"sampleDropOff\",\n header: \"Sample drop off?\",\n },\n {\n key: \"pathologicDiagnosisObs\",\n header: \"Pathologic diagnosis\",\n },\n {\n key: \"resultsEncounter\",\n header: \"Results\",\n },\n {\n key: \"PDFReport\",\n header: \"Report\",\n },\n ];\n\n React.useEffect(() => {\n getUserLocation(config.healthCenterAttrTypeUUID).then(setUserLocation);\n getLocations().then(setListOfHospitals);\n getConceptAnswers(config.sampleStatusConceptUUID).then(\n setSampleStatusAnswers\n );\n getConceptAnswers(config.referralStatusConceptUUID).then(\n setReferralStatusAnswers\n );\n getEncounters(\n config.healthCenterAttrTypeUUID,\n config.pathologyFullAllowedLocationUUID\n ).then(\n setEncountersList\n );\n }, []);\n\n const filteredEncList = encountersList\n .filter(\n (encList) =>\n !sampleStatus ||\n encList.sampleStatusObs?.toLowerCase() == sampleStatus.toLowerCase()\n )\n .filter(\n (encList) =>\n !referralStatus ||\n encList.referralStatusObs?.toLowerCase() == referralStatus.toLowerCase()\n )\n .filter(\n (encList) =>\n !sendingHospital ||\n encList.patientHealthCenter?.toLowerCase() ==\n sendingHospital.toLowerCase()\n )\n .filter((encList) => {\n if (!patientName) {\n return true;\n } else {\n // Given a patient name filter input, break it up into tokens.\n // Filter to patients for which each token matches.\n // Matching is case-insensitive and matches the beginning of each name.\n const nameTokens = patientName.split(/\\s+/);\n const name = `${encList.family_name} ${encList.middle_name} ${encList.given_name}`;\n return nameTokens.every((token) =>\n new RegExp(\"\\\\b\" + token, \"i\").test(name)\n );\n }\n });\n\n const rows = filteredEncList.map((encounterInfo) => {\n return {\n // rows.push({\n // patientLink: <a href={`/openmrs/patientDashboard.form?patientId=${encounterInfo.personId}`} >Link</a>,\n id: encounterInfo.encounterId,\n patientNames: (\n <a\n data-testid=\"patientNames\"\n href={`/openmrs/patientDashboard.form?patientId=${encounterInfo.personId}`}\n >\n {encounterInfo.family_name}\n {\" \"}\n {encounterInfo.given_name}\n {\" \"}\n {encounterInfo.middle_name}\n </a>\n ),\n pathologyRequest: (\n <a\n href={`/openmrs/module/htmlformentry/htmlFormEntry.form?encounterId=${encounterInfo.encounterId}&mode=VIEW`}\n >\n {\" \"}\n Link{\" \"}\n </a>\n ),\n sendingHospital: encounterInfo.patientHealthCenter,\n phoneNumber: encounterInfo.patientPhoneNumber || \"\",\n sampleStatus: (\n <select\n onChange={(e) =>\n sampleStatusChange(\n {\n uuid: e.target.value,\n display: e.target.options[e.target.selectedIndex].text,\n },\n encounterInfo\n )\n }\n >\n <option value=\"\"></option>\n {sampleStatusAnswers.map((ans) => (\n <option\n data-testid=\"sampleStatus-option\"\n value={ans.uuid}\n key={ans.uuid}\n selected={\n encounterInfo.sampleStatusObs\n ? encounterInfo.sampleStatusObs === ans.display && true\n : false\n }\n >\n {ans.display}\n </option>\n ))}\n </select>\n ),\n dateOfRequest: new Date(encounterInfo.encounterDatetime)\n .toLocaleString([\"en-GB\",\"en-US\",\"en\",\"fr-RW\"],{day: 'numeric',month: 'numeric',year: 'numeric'}),\n referralStatus: (\n <select\n onChange={(e) =>\n referralStatusChange(\n {\n uuid: e.target.value,\n display: e.target.options[e.target.selectedIndex].text,\n },\n encounterInfo\n )\n }\n >\n <option data-testid=\"referralStatus-option\" value=\"\"></option>\n {referralStatusAnswers.map((ans) => (\n <option\n value={ans.uuid}\n key={ans.uuid}\n selected={\n encounterInfo.referralStatusObs &&\n encounterInfo.referralStatusObs === ans.display\n }\n >\n {ans.display}\n </option>\n ))}\n </select>\n ),\n sampleDropOff: (\n <input\n data-testid=\"sampleDropOff\"\n type=\"checkbox\"\n checked={Boolean(encounterInfo.sampleDropoffObs)}\n onChange={(e) => sampleDropOffChange(encounterInfo)}\n />\n ),\n pathologicDiagnosisObs: encounterInfo.pathologicDiagnosisObs,\n resultsEncounter: encounterInfo.resultsEncounterId ? (\n <a\n data-testid=\"resultsEncounter\"\n href={`/openmrs/module/htmlformentry/htmlFormEntry.form?encounterId=${encounterInfo.resultsEncounterId}&mode=VIEW`}\n >\n {\" \"}\n Results{\" \"}\n </a>\n ) : (\n (!userLocation ||\n userLocation === config.pathologyFullAllowedLocationUUID) && (\n <a\n href={`/openmrs/module/htmlformentry/htmlFormEntry.form?personId=${encounterInfo.personId}&patientId=${encounterInfo.personId}&returnUrl=&formId=${config.pathologyResultsFromID}&uuid=${encounterInfo.encounterUuid}`}\n >\n {\" \"}\n Fill in results{\" \"}\n </a>\n )\n ),\n PDFReport:\n encounterInfo.resultsEncounterId &&\n (\n encounterInfo.approvedBy &&\n <PDFDownloadLink document={<MyDocument encounterInfo={encounterInfo} config={config} />} fileName=\"Pathology Report\">\n {({loading}) => (loading ? 'loading...' : <button>Download</button>)}\n </PDFDownloadLink>\n \n \n \n )\n \n };\n });\n\n const sampleDropOffChange = (encounterInfo) => {\n const tempEncList = cloneDeep(encountersList);\n if (!encounterInfo.sampleDropoffObs) {\n postSampleDropoffObs(\n encounterInfo,\n config.sampleDropOffconceptUUID,\n config.healthCenterAttrTypeUUID,\n config.yesConceptUUID\n ).then((response) => {\n if (response.ok) {\n const encIndex = tempEncList.findIndex(\n (enc) => enc.encounterUuid == encounterInfo.encounterUuid\n );\n tempEncList[encIndex].sampleDropoffObs = config.yesConceptName;\n tempEncList[encIndex].sampleDropoffObsUuid = response.data.uuid;\n setEncountersList(tempEncList);\n }\n });\n } else {\n voidSampleDropoff(encounterInfo.sampleDropoffObsUuid).then((response) => {\n if (response.ok) {\n const encIndex = tempEncList.findIndex(\n (enc) => enc.encounterUuid == encounterInfo.encounterUuid\n );\n tempEncList[encIndex].sampleDropoffObs = \"\";\n tempEncList[encIndex].sampleDropoffObsUuid = \"\";\n\n setEncountersList(tempEncList);\n }\n });\n }\n };\n\n\n const sampleStatusChange = (\n newStatus: { uuid: string; display: string },\n encounterInfo\n ) => {\n const tempEncList = cloneDeep(encountersList);\n if (!encounterInfo.sampleStatusObs) {\n postSampleStatusChangeObs(\n newStatus.uuid,\n encounterInfo,\n config.sampleStatusConceptUUID,\n config.healthCenterAttrTypeUUID\n ).then((response) => {\n if (response.ok) {\n const encIndex = tempEncList.findIndex(\n (enc) => enc.encounterUuid == encounterInfo.encounterUuid\n );\n tempEncList[encIndex].sampleStatusObs = newStatus.display;\n tempEncList[encIndex].sampleStatusObsUuid = response.data.uuid;\n\n setEncountersList(tempEncList);\n } else {\n setEncountersList(tempEncList);\n //Need error message\n }\n });\n } else {\n updateSampleStatusChangeObs(\n newStatus,\n encounterInfo,\n config.sampleStatusConceptUUID,\n config.healthCenterAttrTypeUUID\n ).then((response) => {\n if (response.ok) {\n const encIndex = tempEncList.findIndex(\n (enc) => enc.encounterUuid == encounterInfo.encounterUuid\n );\n tempEncList[encIndex].sampleStatusObs = newStatus.display;\n tempEncList[encIndex].sampleStatusObsUuid = response.data.uuid;\n setEncountersList(tempEncList);\n } else {\n setEncountersList(tempEncList);\n //Need error message\n }\n });\n }\n };\n\n const referralStatusChange = (targetedElem, encounterInfo) => {\n const tempEncList = cloneDeep(encountersList);\n if (!encounterInfo.referralStatusObs) {\n postReferralStatusChangeObs(\n targetedElem.uuid,\n encounterInfo,\n config.referralStatusConceptUUID,\n config.healthCenterAttrTypeUUID\n ).then((response) => {\n if (response.ok) {\n const encIndex = tempEncList.findIndex(\n (enc) => enc.encounterUuid == encounterInfo.encounterUuid\n );\n tempEncList[encIndex].referralStatusObs = targetedElem.display;\n tempEncList[encIndex].referralStatusObsUuid = response.data.uuid;\n setEncountersList(tempEncList);\n } else {\n setEncountersList(tempEncList);\n //Need error message\n }\n });\n } else {\n updateReferralStatusChangeObs(\n targetedElem,\n encounterInfo,\n config.referralStatusConceptUUID,\n config.healthCenterAttrTypeUUID\n ).then((response) => {\n if (response.ok) {\n const encIndex = tempEncList.findIndex(\n (enc) => enc.encounterUuid == encounterInfo.encounterUuid\n );\n tempEncList[encIndex].referralStatusObs = targetedElem.display;\n tempEncList[encIndex].referralStatusObsUuid = response.data.uuid;\n setEncountersList(tempEncList);\n } else {\n setEncountersList(tempEncList);\n //Need error message\n }\n });\n }\n };\n \n\n return (\n <div>\n <div className={styles.filtersContainer}>\n <label htmlFor=\"sending-hospital\">Sending Hospital </label>\n <select\n id=\"sending-hospital\"\n className={styles.dropdown}\n value={sendingHospital}\n onChange={(e) => setSendingHospital(e.target.value)}\n >\n <option value=\"\"></option>\n {listOfHospitals.map((loc) =>\n userLocation &&\n userLocation !== config.pathologyFullAllowedLocationUUID ? (\n loc.uuid === userLocation ? (\n <option value={loc.display} key={loc.uuid}>\n {loc.display}\n </option>\n ) : null\n ) : (\n <option value={loc.display} key={loc.uuid}>\n {loc.display}\n </option>\n )\n )}\n </select>\n <label htmlFor=\"sample-status\">Sample Status </label>\n <select\n id=\"sample-status\"\n className={styles.dropdown}\n value={sampleStatus}\n onChange={(e) => setSampleStatus(e.target.value)}\n >\n <option value=\"\"></option>\n {sampleStatusAnswers.map((ans) => (\n <option value={ans.display} key={ans.uuid}>\n {ans.display}\n </option>\n ))}\n </select>\n <label htmlFor=\"referral-status\">Referral Status </label>\n <select\n id=\"referral-status\"\n className={styles.dropdown}\n value={referralStatus}\n onChange={(e) => setReferralStatus(e.target.value)}\n >\n <option value=\"\"></option>\n {referralStatusAnswers.map((ans) => (\n <option value={ans.display} key={ans.uuid}>\n {ans.display}\n </option>\n ))}\n </select>\n\n <label htmlFor=\"patient-name\">Patient Name </label>\n <input\n id=\"patient-name\"\n className={styles.textBox}\n type=\"text\"\n onChange={(e) => setPatientName(e.target.value)}\n />\n </div>\n {console.log( encountersList)}\n <div className={styles.tableContainer}>\n <DataTable rows={rows} headers={headers}>\n {({ rows, headers, getTableProps, getHeaderProps, getRowProps }) => (\n <Table {...getTableProps()}>\n <TableHead>\n <TableRow>\n {headers.map((header) => (\n <TableHeader {...getHeaderProps({ header })}>\n {header.header}\n </TableHeader>\n ))}\n </TableRow>\n </TableHead>\n <TableBody>\n {rows.map((row) => (\n <TableRow {...getRowProps({ row })}>\n {row.cells.map((cell) => (\n <TableCell key={cell.id}>{cell.value}</TableCell>\n ))}\n </TableRow>\n ))}\n </TableBody>\n </Table>\n )}\n </DataTable>\n </div>\n <div>\n {/* <PDFViewer>\n <MyDocument />\n </PDFViewer> */}\n {/* <PDFDownloadLink document={<MyDocument />} fileName=\"Pathology Report\">\n {({loading}) => (loading ? 'loading...' : <button>Download</button>)}\n </PDFDownloadLink> */}\n \n </div>\n </div>\n );\n};\n\nexport default ReportComponent;\n","import React from \"react\";\nimport styles from \"./pathology.css\";\nimport ReportComponent from \"./pathology-report/ReportComponent\";\n\nconst PathologySystem = () => {\n return (\n <div className={`omrs-main-content ${styles.container}`}>\n <ReportComponent />\n </div>\n );\n};\nexport default PathologySystem;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".-esm-pathology__ReportComponent__tableContainer___uOmmk {\\n height: 500px;\\n overflow-x: auto;\\n margin: 0 1rem;\\n border: 2px solid lightgrey;\\n border-radius: 0.25rem;\\n}\\n\\n.-esm-pathology__ReportComponent__filtersContainer___avnpi {\\n border-radius: 0.25rem;\\n margin: 0 1rem;\\n padding-top: 4%;\\n}\\n\\n.-esm-pathology__ReportComponent__dropdown___Lr3Fe {\\n width: 10%;\\n height: 2rem;\\n background: transparent;\\n border: 1px solid var(--omrs-color-ink-lowest-contrast);\\n background-clip: padding-box;\\n border-radius: 4px;\\n margin: 1rem;\\n}\\n.-esm-pathology__ReportComponent__dropdown___Lr3Fe:disabled {\\n opacity: 0.8;\\n background: lightgrey;\\n cursor: not-allowed;\\n}\\n.-esm-pathology__ReportComponent__dropdown___Lr3Fe:focus {\\n border: 2px solid var(--omrs-color-interaction);\\n outline: 0;\\n}\\n.-esm-pathology__ReportComponent__textBox___-gvpP {\\n background: transparent;\\n border: 1px solid var(--omrs-color-ink-lowest-contrast);\\n background-clip: padding-box;\\n border-radius: 4px;\\n margin: 1rem;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/pathology-report/ReportComponent.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,aAAa;EACb,gBAAgB;EAChB,cAAc;EACd,2BAA2B;EAC3B,sBAAsB;AACxB;;AAEA;EACE,sBAAsB;EACtB,cAAc;EACd,eAAe;AACjB;;AAEA;EACE,UAAU;EACV,YAAY;EACZ,uBAAuB;EACvB,uDAAuD;EACvD,4BAA4B;EAC5B,kBAAkB;EAClB,YAAY;AACd;AACA;EACE,YAAY;EACZ,qBAAqB;EACrB,mBAAmB;AACrB;AACA;EACE,+CAA+C;EAC/C,UAAU;AACZ;AACA;EACE,uBAAuB;EACvB,uDAAuD;EACvD,4BAA4B;EAC5B,kBAAkB;EAClB,YAAY;AACd\",\"sourcesContent\":[\".tableContainer {\\n height: 500px;\\n overflow-x: auto;\\n margin: 0 1rem;\\n border: 2px solid lightgrey;\\n border-radius: 0.25rem;\\n}\\n\\n.filtersContainer {\\n border-radius: 0.25rem;\\n margin: 0 1rem;\\n padding-top: 4%;\\n}\\n\\n.dropdown {\\n width: 10%;\\n height: 2rem;\\n background: transparent;\\n border: 1px solid var(--omrs-color-ink-lowest-contrast);\\n background-clip: padding-box;\\n border-radius: 4px;\\n margin: 1rem;\\n}\\n.dropdown:disabled {\\n opacity: 0.8;\\n background: lightgrey;\\n cursor: not-allowed;\\n}\\n.dropdown:focus {\\n border: 2px solid var(--omrs-color-interaction);\\n outline: 0;\\n}\\n.textBox {\\n background: transparent;\\n border: 1px solid var(--omrs-color-ink-lowest-contrast);\\n background-clip: padding-box;\\n border-radius: 4px;\\n margin: 1rem;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"tableContainer\": \"-esm-pathology__ReportComponent__tableContainer___uOmmk\",\n\t\"filtersContainer\": \"-esm-pathology__ReportComponent__filtersContainer___avnpi\",\n\t\"dropdown\": \"-esm-pathology__ReportComponent__dropdown___Lr3Fe\",\n\t\"textBox\": \"-esm-pathology__ReportComponent__textBox___-gvpP\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".-esm-pathology__pathology__container___ny2VS {\\n padding: 2em;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/pathology.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,YAAY;AACd\",\"sourcesContent\":[\".container {\\n padding: 2em;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"container\": \"-esm-pathology__pathology__container___ny2VS\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","async","getUserLocation","healthCenterAttrTypeUUID","personUuid","openmrsFetch","data","user","person","uuid","hcPersonAttribute","results","filter","attr","attributeType","value","getConceptAnswers","conceptUuid","answers","Font","family","src","GeorgiaFontBold","GeorgiaFont","styles","StyleSheet","page","flexDirection","section","margin","padding","flexGrow","textLabels","fontFamily","fontSize","fontWeight","paddingBottom","sentenceLabels","paddingTop","textAnswers","sentenceAnswers","marginBottom","logo","width","props","title","encounterInfo","family_name","given_name","middle_name","size","style","ButaroLogo","position","top","left","resultsEncounter","obs","map","obser","concept","config","AccessionNumberconceptUUID","backgroundColor","borderBottom","textAlign","DateBiopsySpecimenTakenconceptUUID","Date","toLocaleString","day","month","year","personBirthdate","SpecimenSubmissionDateconceptUUID","personGender","encounterDatetime","SendingPhysicianconceptUUID","OtherBiopsyLocationconceptUUID","paddingLeft","OrganSystemconceptUUID","name","display","OrganconceptUUID","SpecimenDetailconceptUUID","OtherTestsOrProceduresconceptUUID","GrossDescriptionconceptUUID","MacroscopicExaminationconceptUUID","COMMENTSATCONCLUSIONOFEXAMINATIONconceptUUID","approvedBy","useConfig","userLocation","setUserLocation","React","encountersList","setEncountersList","sendingHospital","setSendingHospital","listOfHospitals","setListOfHospitals","sampleStatusAnswers","setSampleStatusAnswers","referralStatusAnswers","setReferralStatusAnswers","sampleStatus","setSampleStatus","referralStatus","setReferralStatus","patientName","setPatientName","then","getLocations","sampleStatusConceptUUID","referralStatusConceptUUID","pathologyFullAllowedLocationUUID","userLocationUUID","searchEncounter","EncListClone","dataSets","rows","encObject","resultsEncounterUuid","findIndex","enc","encounterUuid","resultsEnc","getEncounter","Promise","all","getEncounters","encList","sampleStatusObs","toLowerCase","referralStatusObs","patientHealthCenter","nameTokens","split","every","token","RegExp","test","id","encounterId","patientNames","href","personId","pathologyRequest","phoneNumber","patientPhoneNumber","onChange","e","sampleStatusChange","target","selectedIndex","text","ans","key","selected","dateOfRequest","referralStatusChange","sampleDropOff","type","checked","Boolean","sampleDropoffObs","sampleDropOffChange","pathologicDiagnosisObs","resultsEncounterId","pathologyResultsFromID","PDFReport","document","fileName","loading","tempEncList","cloneDeep","sampleDropoffObsUuid","method","headers","body","voided","voidSampleDropoff","response","ok","encIndex","obsObject","sampleDropOffconceptUUID","yesConceptName","ObsObjectTocreate","patientUuid","obsDatetime","toISOString","location","encounter","postSampleDropoffObs","yesConceptUUID","newStatus","sampleStatusObsUuid","updateSampleStatusChangeObs","newStatusUuid","postBody","postSampleStatusChangeObs","targetedElem","targetValue","referralStatusObsUuid","updateReferralStatusChangeObs","targetValueUuid","postReferralStatusChangeObs","className","htmlFor","loc","console","log","DataTable","header","getTableProps","getHeaderProps","getRowProps","Table","TableHead","TableRow","TableHeader","TableBody","row","cells","cell","TableCell","___CSS_LOADER_EXPORT___","push","module","locals"],"sourceRoot":""}
package/dist/867.js ADDED
@@ -0,0 +1,2 @@
1
+ (self.webpackChunk_pih_esm_pathology_app=self.webpackChunk_pih_esm_pathology_app||[]).push([[867],{33867:(e,t,i)=>{"use strict";i.r(t),i.d(t,{backendDependencies:()=>p,importTranslation:()=>o,setupOpenMRS:()=>a});var n=i(91208);const c={pathologyEncTypeUUID:{_type:n.Type.String,_default:"70f18a24-92ec-4de5-acdc-7cae77414e32",_description:"This is to determine the UUID of the Pathology encounterType in the instance"},healthCenterAttrTypeUUID:{_type:n.Type.String,_default:"8d87236c-c2cc-11de-8d13-0010c6dffd0f",_description:"This is to determine the UUID of the Health center attribute type in the instance"},pathologyFullAllowedLocationUUID:{_type:n.Type.String,_default:"a62fd59a-6577-43e0-b39c-ba42ac8cfbc9",_description:"This is to determine the location allowed to view all other location data"},sampleStatusConceptUUID:{_type:n.Type.String,_default:"3adca58e-9334-4be5-9bd3-74f7bbf82776",_description:"This is to determine the UUID of the sample status concept in the instance"},referralStatusConceptUUID:{_type:n.Type.String,_default:"5a7a931f-97b8-4d59-b0de-3a83603aaad9",_description:"This is to determine the UUID of the referral status concept in the instance"},sampleDropOffconceptUUID:{_type:n.Type.String,_default:"dc288e6c-84a4-4fd3-9136-ef9e13961b1e",_description:"This is to determine the UUID of the sample drop off concept in the instance"},yesConceptUUID:{_type:n.Type.String,_default:"3cd6f600-26fe-102b-80cb-0017a47871b2",_description:"This is to determine the UUID of the Yes concept in the instance"},yesConceptName:{_type:n.Type.String,_default:"YES",_description:"This is to determine the Name of the Yes concept in the instance"},pathologyResultsFromID:{_type:n.Type.Number,_default:5613,_description:"This is to determine the ID of the pathology results form in the instance"},pathologyResultsApprovedconceptUUID:{_type:n.Type.String,_default:"1f7742f0-4571-44d8-a88b-8bc60dc11e29",_description:"This is to determine the pathology results approved concept uuid"},AccessionNumberconceptUUID:{_type:n.Type.String,_default:"0e466f59-8070-45b5-97d1-575ec5cfd85d",_description:"This is to determine the Accession Number concept uuid"},DateBiopsySpecimenTakenconceptUUID:{_type:n.Type.String,_default:"e0436a5b-dc19-4cb9-ac1b-acc005272c08",_description:"This is to determine the Date Biopsy Specimen Taken concept uuid"},SpecimenSubmissionDateconceptUUID:{_type:n.Type.String,_default:"3928b7fc-b3ae-40a5-846f-d480120b04f6",_description:"This is to determine the Specimen Submission Date concept uuid"},SendingPhysicianconceptUUID:{_type:n.Type.String,_default:"0a4a22db-0e82-4669-9aba-086d841505b5",_description:"This is to determine the Sending Physician concept uuid"},OtherBiopsyLocationconceptUUID:{_type:n.Type.String,_default:"7c4650ee-45d5-435a-b968-511ef127a016",_description:"This is to determine the Other Biopsy Location concept uuid"},OrganSystemconceptUUID:{_type:n.Type.String,_default:"b88f9524-6b39-41b3-9b3a-f9a7a4b08fed",_description:"This is to determine the Organ System concept uuid"},OrganconceptUUID:{_type:n.Type.String,_default:"488fe4a2-7903-41da-b21e-fb236a1ee356",_description:"This is to determine the Organ concept uuid"},SpecimenDetailconceptUUID:{_type:n.Type.String,_default:"e99170a5-f46b-490b-8fbb-bb9eacba3500",_description:"This is to determine the Specimen Detail concept uuid"},OtherTestsOrProceduresconceptUUID:{_type:n.Type.String,_default:"66ad3230-59b2-4232-821e-a9ae86819e03",_description:"This is to determine the Other tests or procedures concept uuid"},GrossDescriptionconceptUUID:{_type:n.Type.String,_default:"1e97a4d3-1691-4fb7-be78-18e526e82b0b",_description:"This is to determine the Gross Description concept uuid"},MacroscopicExaminationconceptUUID:{_type:n.Type.String,_default:"5d149510-0767-4da7-82cd-be406b34877d",_description:"This is to determine the Macroscopic Examination concept uuid"},COMMENTSATCONCLUSIONOFEXAMINATIONconceptUUID:{_type:n.Type.String,_default:"3cdc5938-26fe-102b-80cb-0017a47871b2",_description:"This is to determine the COMMENTS AT CONCLUSION OF EXAMINATION concept uuid"},CanregCodeconceptUUID:{_type:n.Type.String,_default:"16931672-e068-4ea8-a89c-2ee7dbc07ad1",_description:"This is to determine the Canreg Code concept uuid"}},o=i(23979),p={fhir2:"^1.2.0","webservices.rest":"^2.2.0"};function a(){const e="@pih/esm-pathology-app",t={featureName:"pathology-app",moduleName:e};return(0,n.defineConfigSchema)(e,c),{pages:[{load:(0,n.getAsyncLifecycle)((()=>Promise.all([i.e(248),i.e(861)]).then(i.bind(i,64132))),t),route:"pathology"}]}}},23979:(e,t,i)=>{var n={"./en.json":[13574,574]};function c(e){if(!i.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],c=t[0];return i.e(t[1]).then((()=>i(c)))}c.keys=()=>Object.keys(n),c.id=23979,e.exports=c}}]);
2
+ //# sourceMappingURL=867.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"867.js","mappings":"oOAgBO,MAAMA,EAAe,CAC1BC,qBAAsB,CACpBC,MAAOC,EAAAA,KAAAA,OACPC,SAAU,uCACVC,aACE,gFAEJC,yBAA0B,CACxBJ,MAAOC,EAAAA,KAAAA,OACPC,SAAU,uCACVC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AAOC,EAAAA,KAAAA,OACPC,SAAU,uCACVC,aACE,2DAEJoB,kCAAmC,CACjCvB,MAAOC,EAAAA,KAAAA,OACPC,SAAU,uCACVC,aACE,iEAEJqB,6CAA8C,CAC5CxB,MAAOC,EAAAA,KAAAA,OACPC,SAAU,uCACVC,aACE,+EAEJsB,sBAAuB,CACrBzB,MAAOC,EAAAA,KAAAA,OACPC,SAAU,uCACVC,aACE,sDC3IAuB,EAAoBC,EAAAA,OAapBC,EAAsB,CAC1BC,MAAO,SACP,mBAAoB,UAetB,SAASC,IACP,MAAMC,EAAa,yBAEbC,EAAU,CACdC,YAAa,gBACbF,WAAAA,GAKF,OAFAG,EAAAA,EAAAA,oBAAmBH,EAAYjC,GAExB,CACLqC,MAAO,CACL,CACEC,MAAMC,EAAAA,EAAAA,oBAAkB,IAAM,wDAA6BL,GAC3DM,MAAO,iB,gBC3Df,IAAIC,EAAM,CACT,YAAa,CACZ,MACA,MAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,KAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,KAIR,IAAIG,EAAMX,EAAIE,GAAMU,EAAKD,EAAI,GAC7B,OAAOR,EAAoBK,EAAEG,EAAI,IAAIJ,MAAK,IAClCJ,EAAoBS,KAG7BX,EAAoBY,KAAO,IAAOC,OAAOD,KAAKb,GAC9CC,EAAoBW,GAAK,MACzBG,EAAOC,QAAUf","sources":["webpack://@pih/esm-pathology-app/./src/config-schema.ts","webpack://@pih/esm-pathology-app/./src/index.ts","webpack://@pih/esm-pathology-app//home/joshua/Projects/pih-esm-pathology-app/translations|lazy|nonrecursive|/.json$/"],"sourcesContent":["import { Type, validator } from \"@openmrs/esm-framework\";\n\n/**\n *\n * In OpenMRS Microfrontends, all config parameters are optional. Thus,\n * all elements must have a reasonable default. A good default is one\n * that works well with the reference application.\n *\n * To understand the schema below, please read the configuration system\n * documentation:\n * https://openmrs.github.io/openmrs-esm-core/#/main/config\n * Note especially the section \"How do I make my module configurable?\"\n * https://openmrs.github.io/openmrs-esm-core/#/main/config?id=im-developing-an-esm-module-how-do-i-make-it-configurable\n * and the Schema Reference\n * https://openmrs.github.io/openmrs-esm-core/#/main/config?id=schema-reference\n */\nexport const configSchema = {\n pathologyEncTypeUUID: {\n _type: Type.String,\n _default: \"70f18a24-92ec-4de5-acdc-7cae77414e32\",\n _description:\n \"This is to determine the UUID of the Pathology encounterType in the instance\",\n },\n healthCenterAttrTypeUUID: {\n _type: Type.String,\n _default: \"8d87236c-c2cc-11de-8d13-0010c6dffd0f\",\n _description:\n \"This is to determine the UUID of the Health center attribute type in the instance\",\n },\n pathologyFullAllowedLocationUUID: {\n _type: Type.String,\n _default: \"a62fd59a-6577-43e0-b39c-ba42ac8cfbc9\",\n _description:\n \"This is to determine the location allowed to view all other location data\",\n },\n sampleStatusConceptUUID: {\n _type: Type.String,\n _default: \"3adca58e-9334-4be5-9bd3-74f7bbf82776\",\n _description:\n \"This is to determine the UUID of the sample status concept in the instance\",\n },\n referralStatusConceptUUID: {\n _type: Type.String,\n _default: \"5a7a931f-97b8-4d59-b0de-3a83603aaad9\",\n _description:\n \"This is to determine the UUID of the referral status concept in the instance\",\n },\n sampleDropOffconceptUUID: {\n _type: Type.String,\n _default: \"dc288e6c-84a4-4fd3-9136-ef9e13961b1e\",\n _description:\n \"This is to determine the UUID of the sample drop off concept in the instance\",\n },\n yesConceptUUID: {\n _type: Type.String,\n _default: \"3cd6f600-26fe-102b-80cb-0017a47871b2\",\n _description:\n \"This is to determine the UUID of the Yes concept in the instance\",\n },\n yesConceptName: {\n _type: Type.String,\n _default: \"YES\",\n _description:\n \"This is to determine the Name of the Yes concept in the instance\",\n },\n\n pathologyResultsFromID: {\n _type: Type.Number,\n _default: 5613,\n _description:\n \"This is to determine the ID of the pathology results form in the instance\",\n },\n pathologyResultsApprovedconceptUUID: {\n _type: Type.String,\n _default: \"1f7742f0-4571-44d8-a88b-8bc60dc11e29\",\n _description:\n \"This is to determine the pathology results approved concept uuid\",\n },\n AccessionNumberconceptUUID: {\n _type: Type.String,\n _default: \"0e466f59-8070-45b5-97d1-575ec5cfd85d\",\n _description:\n \"This is to determine the Accession Number concept uuid\",\n },\n DateBiopsySpecimenTakenconceptUUID: {\n _type: Type.String,\n _default: \"e0436a5b-dc19-4cb9-ac1b-acc005272c08\",\n _description:\n \"This is to determine the Date Biopsy Specimen Taken concept uuid\",\n },\n SpecimenSubmissionDateconceptUUID: {\n _type: Type.String,\n _default: \"3928b7fc-b3ae-40a5-846f-d480120b04f6\",\n _description:\n \"This is to determine the Specimen Submission Date concept uuid\",\n },\n SendingPhysicianconceptUUID: {\n _type: Type.String,\n _default: \"0a4a22db-0e82-4669-9aba-086d841505b5\",\n _description:\n \"This is to determine the Sending Physician concept uuid\",\n },\n OtherBiopsyLocationconceptUUID: {\n _type: Type.String,\n _default: \"7c4650ee-45d5-435a-b968-511ef127a016\",\n _description:\n \"This is to determine the Other Biopsy Location concept uuid\",\n },\n OrganSystemconceptUUID: {\n _type: Type.String,\n _default: \"b88f9524-6b39-41b3-9b3a-f9a7a4b08fed\",\n _description:\n \"This is to determine the Organ System concept uuid\",\n },\n OrganconceptUUID: {\n _type: Type.String,\n _default: \"488fe4a2-7903-41da-b21e-fb236a1ee356\",\n _description:\n \"This is to determine the Organ concept uuid\",\n },\n SpecimenDetailconceptUUID: {\n _type: Type.String,\n _default: \"e99170a5-f46b-490b-8fbb-bb9eacba3500\",\n _description:\n \"This is to determine the Specimen Detail concept uuid\",\n },\n OtherTestsOrProceduresconceptUUID: {\n _type: Type.String,\n _default: \"66ad3230-59b2-4232-821e-a9ae86819e03\",\n _description:\n \"This is to determine the Other tests or procedures concept uuid\",\n },\n GrossDescriptionconceptUUID: {\n _type: Type.String,\n _default: \"1e97a4d3-1691-4fb7-be78-18e526e82b0b\",\n _description:\n \"This is to determine the Gross Description concept uuid\",\n },\n MacroscopicExaminationconceptUUID: {\n _type: Type.String,\n _default: \"5d149510-0767-4da7-82cd-be406b34877d\",\n _description:\n \"This is to determine the Macroscopic Examination concept uuid\",\n },\n COMMENTSATCONCLUSIONOFEXAMINATIONconceptUUID: {\n _type: Type.String,\n _default: \"3cdc5938-26fe-102b-80cb-0017a47871b2\",\n _description:\n \"This is to determine the COMMENTS AT CONCLUSION OF EXAMINATION concept uuid\",\n },\n CanregCodeconceptUUID: {\n _type: Type.String,\n _default: \"16931672-e068-4ea8-a89c-2ee7dbc07ad1\",\n _description:\n \"This is to determine the Canreg Code concept uuid\",\n },\n};\n\nexport type Config = {\n pathologyEncTypeUUID: string;\n healthCenterAttrTypeUUID: string;\n pathologyFullAllowedLocationUUID: string;\n sampleStatusConceptUUID: string;\n referralStatusConceptUUID: string;\n sampleDropOffconceptUUID: string;\n yesConceptUUID: string;\n yesConceptName: string;\n pathologyResultsFromID: number;\n pathologyResultsApprovedconceptUUID: string;\n\n AccessionNumberconceptUUID: string;\n DateBiopsySpecimenTakenconceptUUID: string;\n SpecimenSubmissionDateconceptUUID: string;\n SendingPhysicianconceptUUID: string;\n OtherBiopsyLocationconceptUUID: string;\n OrganSystemconceptUUID: string;\n OrganconceptUUID: string;\n SpecimenDetailconceptUUID: string;\n OtherTestsOrProceduresconceptUUID: string;\n GrossDescriptionconceptUUID: string;\n MacroscopicExaminationconceptUUID: string;\n COMMENTSATCONCLUSIONOFEXAMINATIONconceptUUID: string;\n CanregCodeconceptUUID: string;\n};\n","/**\n * This is the entrypoint file of the application. It communicates the\n * important features of this microfrontend to the app shell. It\n * connects the app shell to the React application(s) that make up this\n * microfrontend.\n */\n\nimport { getAsyncLifecycle, defineConfigSchema } from \"@openmrs/esm-framework\";\nimport { configSchema } from \"./config-schema\";\n\n/**\n * This tells the app shell how to obtain translation files: that they\n * are JSON files in the directory `../translations` (which you should\n * see in the directory structure).\n */\nconst importTranslation = require.context(\n \"../translations\",\n false,\n /.json$/,\n \"lazy\"\n);\n\n/**\n * This tells the app shell what versions of what OpenMRS backend modules\n * are expected. Warnings will appear if suitable modules are not\n * installed. The keys are the part of the module name after\n * `openmrs-module-`; e.g., `openmrs-module-fhir2` becomes `fhir2`.\n */\nconst backendDependencies = {\n fhir2: \"^1.2.0\",\n \"webservices.rest\": \"^2.2.0\",\n};\n\n/**\n * This function performs any setup that should happen at microfrontend\n * load-time (such as defining the config schema) and then returns an\n * object which describes how the React application(s) should be\n * rendered.\n *\n * In this example, our return object contains a single page definition.\n * It tells the app shell that the default export of `greeter.tsx`\n * should be rendered when the route matches `hello`. The full route\n * will be `openmrsSpaBase() + 'hello'`, which is usually\n * `/openmrs/spa/hello`.\n */\nfunction setupOpenMRS() {\n const moduleName = \"@pih/esm-pathology-app\";\n\n const options = {\n featureName: \"pathology-app\",\n moduleName,\n };\n\n defineConfigSchema(moduleName, configSchema);\n\n return {\n pages: [\n {\n load: getAsyncLifecycle(() => import(\"./PathologySystem\"), options),\n route: \"pathology\",\n },\n ],\n };\n}\n\nexport { backendDependencies, importTranslation, setupOpenMRS };\n","var map = {\n\t\"./en.json\": [\n\t\t13574,\n\t\t574\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 23979;\nmodule.exports = webpackAsyncContext;"],"names":["configSchema","pathologyEncTypeUUID","_type","Type","_default","_description","healthCenterAttrTypeUUID","pathologyFullAllowedLocationUUID","sampleStatusConceptUUID","referralStatusConceptUUID","sampleDropOffconceptUUID","yesConceptUUID","yesConceptName","pathologyResultsFromID","pathologyResultsApprovedconceptUUID","AccessionNumberconceptUUID","DateBiopsySpecimenTakenconceptUUID","SpecimenSubmissionDateconceptUUID","SendingPhysicianconceptUUID","OtherBiopsyLocationconceptUUID","OrganSystemconceptUUID","OrganconceptUUID","SpecimenDetailconceptUUID","OtherTestsOrProceduresconceptUUID","GrossDescriptionconceptUUID","MacroscopicExaminationconceptUUID","COMMENTSATCONCLUSIONOFEXAMINATIONconceptUUID","CanregCodeconceptUUID","importTranslation","require","backendDependencies","fhir2","setupOpenMRS","moduleName","options","featureName","defineConfigSchema","pages","load","getAsyncLifecycle","route","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","keys","Object","module","exports"],"sourceRoot":""}
package/dist/976.js ADDED
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 976.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_pih_esm_pathology_app=self.webpackChunk_pih_esm_pathology_app||[]).push([[976],{72408:(e,t,r)=>{var n=r(27418),o="function"==typeof Symbol&&Symbol.for,u=o?Symbol.for("react.element"):60103,f=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,i=o?Symbol.for("react.profiler"):60114,a=o?Symbol.for("react.provider"):60109,s=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,y=o?Symbol.for("react.suspense"):60113,d=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,m="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function S(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||_}function k(){}function g(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||_}S.prototype.isReactComponent={},S.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},S.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=S.prototype;var w=g.prototype=new k;w.constructor=g,n(w,S.prototype),w.isPureReactComponent=!0;var $={current:null},C=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function R(e,t,r){var n,o={},f=null,l=null;if(null!=t)for(n in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(f=""+t.key),t)C.call(t,n)&&!E.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var i=Array(c),a=0;a<c;a++)i[a]=arguments[a+2];o.children=i}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===o[n]&&(o[n]=c[n]);return{$$typeof:u,type:e,key:f,ref:l,props:o,_owner:$.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===u}var P=/\/+/g,j=[];function O(e,t,r,n){if(j.length){var o=j.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function A(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>j.length&&j.push(e)}function I(e,t,r,n){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var l=!1;if(null===e)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case u:case f:l=!0}}if(l)return r(n,e,""===t?"."+q(e,0):t),1;if(l=0,t=""===t?".":t+":",Array.isArray(e))for(var c=0;c<e.length;c++){var i=t+q(o=e[c],c);l+=I(o,i,r,n)}else if("function"==typeof(i=null===e||"object"!=typeof e?null:"function"==typeof(i=m&&e[m]||e["@@iterator"])?i:null))for(e=i.call(e),c=0;!(o=e.next()).done;)l+=I(o=o.value,i=t+q(o,c++),r,n);else if("object"===o)throw r=""+e,Error(v(31,"[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return l}function U(e,t,r){return null==e?0:I(e,"",t,r)}function q(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function F(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?M(e,n,r,(function(e){return e})):null!=e&&(x(e)&&(e=function(e,t){return{$$typeof:u,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+r)),n.push(e))}function M(e,t,r,n,o){var u="";null!=r&&(u=(""+r).replace(P,"$&/")+"/"),U(e,L,t=O(t,u,n,o)),A(t)}var D={current:null};function V(){var e=D.current;if(null===e)throw Error(v(321));return e}var B={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:$,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return M(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;U(e,F,t=O(null,null,t,r)),A(t)},count:function(e){return U(e,(function(){return null}),null)},toArray:function(e){var t=[];return M(e,t,null,(function(e){return e})),t},only:function(e){if(!x(e))throw Error(v(143));return e}},t.Component=S,t.Fragment=l,t.Profiler=i,t.PureComponent=g,t.StrictMode=c,t.Suspense=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=function(e,t,r){if(null==e)throw Error(v(267,e));var o=n({},e.props),f=e.key,l=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,c=$.current),void 0!==t.key&&(f=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(a in t)C.call(t,a)&&!E.hasOwnProperty(a)&&(o[a]=void 0===t[a]&&void 0!==i?i[a]:t[a])}var a=arguments.length-2;if(1===a)o.children=r;else if(1<a){i=Array(a);for(var s=0;s<a;s++)i[s]=arguments[s+2];o.children=i}return{$$typeof:u,type:e.type,key:f,ref:l,props:o,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=R,t.createFactory=function(e){var t=R.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return V().useCallback(e,t)},t.useContext=function(e,t){return V().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return V().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return V().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return V().useLayoutEffect(e,t)},t.useMemo=function(e,t){return V().useMemo(e,t)},t.useReducer=function(e,t,r){return V().useReducer(e,t,r)},t.useRef=function(e){return V().useRef(e)},t.useState=function(e){return V().useState(e)},t.version="16.14.0"},67294:(e,t,r)=>{e.exports=r(72408)}}]);
3
+ //# sourceMappingURL=976.js.map
@@ -0,0 +1,8 @@
1
+ /** @license React v16.14.0
2
+ * react.production.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"976.js","mappings":";gIASa,IAAIA,EAAE,EAAQ,OAAiBC,EAAE,mBAAoBC,QAAQA,OAAOC,IAAIC,EAAEH,EAAEC,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EC,IAAIwF,EAAQyC,QAAQ,SAASlI,EAAEC,GAAG,OAAOgF,IAAIiD,QAAQlI,EAAEC,IAAIwF,EAAQ0C,WAAW,SAASnI,EAAEC,EAAEC,GAAG,OAAO+E,IAAIkD,WAAWnI,EAAEC,EAAEC,IAAIuF,EAAQ2C,OAAO,SAASpI,GAAG,OAAOiF,IAAImD,OAAOpI,IAAIyF,EAAQ4C,SAAS,SAASrI,GAAG,OAAOiF,IAAIoD,SAASrI,IAAIyF,EAAQ6C,QAAQ,2BCrBnTC,EAAO9C,QAAU,EAAjB","sources":["webpack://@pih/esm-pathology-app/./node_modules/react/cjs/react.production.min.js","webpack://@pih/esm-pathology-app/./node_modules/react/index.js"],"sourcesContent":["/** @license React v16.14.0\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var l=require(\"object-assign\"),n=\"function\"===typeof Symbol&&Symbol.for,p=n?Symbol.for(\"react.element\"):60103,q=n?Symbol.for(\"react.portal\"):60106,r=n?Symbol.for(\"react.fragment\"):60107,t=n?Symbol.for(\"react.strict_mode\"):60108,u=n?Symbol.for(\"react.profiler\"):60114,v=n?Symbol.for(\"react.provider\"):60109,w=n?Symbol.for(\"react.context\"):60110,x=n?Symbol.for(\"react.forward_ref\"):60112,y=n?Symbol.for(\"react.suspense\"):60113,z=n?Symbol.for(\"react.memo\"):60115,A=n?Symbol.for(\"react.lazy\"):\n60116,B=\"function\"===typeof Symbol&&Symbol.iterator;function C(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}\nvar D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E={};function F(a,b,c){this.props=a;this.context=b;this.refs=E;this.updater=c||D}F.prototype.isReactComponent={};F.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(C(85));this.updater.enqueueSetState(this,a,b,\"setState\")};F.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};\nfunction G(){}G.prototype=F.prototype;function H(a,b,c){this.props=a;this.context=b;this.refs=E;this.updater=c||D}var I=H.prototype=new G;I.constructor=H;l(I,F.prototype);I.isPureReactComponent=!0;var J={current:null},K=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,c){var e,d={},g=null,k=null;if(null!=b)for(e in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=\"\"+b.key),b)K.call(b,e)&&!L.hasOwnProperty(e)&&(d[e]=b[e]);var f=arguments.length-2;if(1===f)d.children=c;else if(1<f){for(var h=Array(f),m=0;m<f;m++)h[m]=arguments[m+2];d.children=h}if(a&&a.defaultProps)for(e in f=a.defaultProps,f)void 0===d[e]&&(d[e]=f[e]);return{$$typeof:p,type:a,key:g,ref:k,props:d,_owner:J.current}}\nfunction N(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\\/+/g,Q=[];function R(a,b,c,e){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=c;d.context=e;d.count=0;return d}return{result:a,keyPrefix:b,func:c,context:e,count:0}}\nfunction S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a)}\nfunction T(a,b,c,e){var d=typeof a;if(\"undefined\"===d||\"boolean\"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case \"string\":case \"number\":g=!0;break;case \"object\":switch(a.$$typeof){case p:case q:g=!0}}if(g)return c(e,a,\"\"===b?\".\"+U(a,0):b),1;g=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var k=0;k<a.length;k++){d=a[k];var f=b+U(d,k);g+=T(d,f,c,e)}else if(null===a||\"object\"!==typeof a?f=null:(f=B&&a[B]||a[\"@@iterator\"],f=\"function\"===typeof f?f:null),\"function\"===typeof f)for(a=f.call(a),k=\n0;!(d=a.next()).done;)d=d.value,f=b+U(d,k++),g+=T(d,f,c,e);else if(\"object\"===d)throw c=\"\"+a,Error(C(31,\"[object Object]\"===c?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":c,\"\"));return g}function V(a,b,c){return null==a?0:T(a,\"\",b,c)}function U(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function W(a,b){a.func.call(a.context,b,a.count++)}\nfunction aa(a,b,c){var e=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?X(a,e,c,function(a){return a}):null!=a&&(O(a)&&(a=N(a,d+(!a.key||b&&b.key===a.key?\"\":(\"\"+a.key).replace(P,\"$&/\")+\"/\")+c)),e.push(a))}function X(a,b,c,e,d){var g=\"\";null!=c&&(g=(\"\"+c).replace(P,\"$&/\")+\"/\");b=R(b,g,e,d);V(a,aa,b);S(b)}var Y={current:null};function Z(){var a=Y.current;if(null===a)throw Error(C(321));return a}\nvar ba={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:J,IsSomeRendererActing:{current:!1},assign:l};exports.Children={map:function(a,b,c){if(null==a)return a;var e=[];X(a,e,null,b,c);return e},forEach:function(a,b,c){if(null==a)return a;b=R(null,null,b,c);V(a,W,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];X(a,b,null,function(a){return a});return b},only:function(a){if(!O(a))throw Error(C(143));return a}};\nexports.Component=F;exports.Fragment=r;exports.Profiler=u;exports.PureComponent=H;exports.StrictMode=t;exports.Suspense=y;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ba;\nexports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(C(267,a));var e=l({},a.props),d=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=J.current);void 0!==b.key&&(d=\"\"+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)K.call(b,h)&&!L.hasOwnProperty(h)&&(e[h]=void 0===b[h]&&void 0!==f?f[h]:b[h])}var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){f=Array(h);for(var m=0;m<h;m++)f[m]=arguments[m+2];e.children=f}return{$$typeof:p,type:a.type,\nkey:d,ref:g,props:e,_owner:k}};exports.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a};exports.createElement=M;exports.createFactory=function(a){var b=M.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};exports.forwardRef=function(a){return{$$typeof:x,render:a}};exports.isValidElement=O;\nexports.lazy=function(a){return{$$typeof:A,_ctor:a,_status:-1,_result:null}};exports.memo=function(a,b){return{$$typeof:z,type:a,compare:void 0===b?null:b}};exports.useCallback=function(a,b){return Z().useCallback(a,b)};exports.useContext=function(a,b){return Z().useContext(a,b)};exports.useDebugValue=function(){};exports.useEffect=function(a,b){return Z().useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return Z().useImperativeHandle(a,b,c)};\nexports.useLayoutEffect=function(a,b){return Z().useLayoutEffect(a,b)};exports.useMemo=function(a,b){return Z().useMemo(a,b)};exports.useReducer=function(a,b,c){return Z().useReducer(a,b,c)};exports.useRef=function(a){return Z().useRef(a)};exports.useState=function(a){return Z().useState(a)};exports.version=\"16.14.0\";\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n"],"names":["l","n","Symbol","for","p","q","r","t","u","v","w","x","y","z","A","B","iterator","C","a","b","c","arguments","length","encodeURIComponent","D","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","E","F","this","props","context","refs","updater","G","H","prototype","isReactComponent","setState","Error","forceUpdate","I","constructor","isPureReactComponent","J","current","K","Object","hasOwnProperty","L","key","ref","__self","__source","M","e","d","g","k","call","f","children","h","Array","m","defaultProps","$$typeof","type","_owner","O","P","Q","R","pop","result","keyPrefix","func","count","S","push","T","U","isArray","next","done","value","keys","join","V","replace","escape","toString","W","aa","X","N","Y","Z","ba","ReactCurrentDispatcher","ReactCurrentBatchConfig","suspense","ReactCurrentOwner","IsSomeRendererActing","assign","exports","Children","map","forEach","toArray","only","Component","Fragment","Profiler","PureComponent","StrictMode","Suspense","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","cloneElement","createContext","_calculateChangedBits","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_context","createElement","createFactory","bind","createRef","forwardRef","render","isValidElement","lazy","_ctor","_status","_result","memo","compare","useCallback","useContext","useDebugValue","useEffect","useImperativeHandle","useLayoutEffect","useMemo","useReducer","useRef","useState","version","module"],"sourceRoot":""}
Binary file
@@ -1,2 +1,2 @@
1
- System.register(["@openmrs/esm-framework","react","carbon-components"],(function(e,t){var o={},r={},n={};return Object.defineProperty(r,"__esModule",{value:!0}),{setters:[function(e){o.Type=e.Type,o.defineConfigSchema=e.defineConfigSchema,o.getAsyncLifecycle=e.getAsyncLifecycle,o.openmrsFetch=e.openmrsFetch,o.useConfig=e.useConfig},function(e){Object.keys(e).forEach((function(t){r[t]=e[t]}))},function(e){n.settings=e.settings}],execute:function(){e((()=>{var e,i,a={722:(e,t,o)=>{const r=o(905).R;t.s=function(e){if(e||(e=1),!o.y.meta||!o.y.meta.url)throw console.error("__system_context__",o.y),Error("systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided");o.p=r(o.y.meta.url,e)}},905:(e,t,o)=>{t.R=function(e,t){var o=document.createElement("a");o.href=e;for(var r="/"===o.pathname[0]?o.pathname:"/"+o.pathname,n=0,i=r.length;n!==t&&i>=0;)"/"===r[--i]&&n++;if(n!==t)throw Error("systemjs-webpack-interop: rootDirectoryLevel ("+t+") is greater than the number of directories ("+n+") in the URL path "+e);var a=r.slice(0,i+1);return o.protocol+"//"+o.host+a};Number.isInteger},979:(e,t,o)=>{var r={"./en.json":[574,574]};function n(e){if(!o.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],n=t[0];return o.e(t[1]).then((()=>o(n)))}n.keys=()=>Object.keys(r),n.id=979,e.exports=n},489:e=>{"use strict";e.exports=o},434:e=>{"use strict";e.exports=n},954:e=>{"use strict";e.exports=r}},s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var o=s[e]={id:e,loaded:!1,exports:{}};return a[e].call(o.exports,o,o.exports,c),o.loaded=!0,o.exports}c.m=a,c.y=t,c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},c.d=(e,t)=>{for(var o in t)c.o(t,o)&&!c.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,o)=>(c.f[o](e,t),t)),[])),c.u=e=>e+".pih-esm-pathology-app.js",c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},i="@pih/esm-pathology-app:",c.l=(t,o,r,n)=>{if(e[t])e[t].push(o);else{var a,s;if(void 0!==r)for(var p=document.getElementsByTagName("script"),l=0;l<p.length;l++){var d=p[l];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==i+r){a=d;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,c.nc&&a.setAttribute("nonce",c.nc),a.setAttribute("data-webpack",i+r),a.src=t),e[t]=[o];var u=(o,r)=>{a.onerror=a.onload=null,clearTimeout(f);var n=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),n&&n.forEach((e=>e(r))),o)return o(r)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),s&&document.head.appendChild(a)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),c.p="",(()=>{var e={179:0};c.f.j=(t,o)=>{var r=c.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var n=new Promise(((o,n)=>r=e[t]=[o,n]));o.push(r[2]=n);var i=c.p+c.u(t),a=new Error;c.l(i,(o=>{if(c.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var n=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;a.message="Loading chunk "+t+" failed.\n("+n+": "+i+")",a.name="ChunkLoadError",a.type=n,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=(t,o)=>{var r,n,[i,a,s]=o,p=0;if(i.some((t=>0!==e[t]))){for(r in a)c.o(a,r)&&(c.m[r]=a[r]);s&&s(c)}for(t&&t(o);p<i.length;p++)n=i[p],c.o(e,n)&&e[n]&&e[n][0](),e[i[p]]=0},o=self.webpackChunk_pih_esm_pathology_app=self.webpackChunk_pih_esm_pathology_app||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var p={};return(0,c(722).s)(1),(()=>{"use strict";c.r(p),c.d(p,{backendDependencies:()=>r,importTranslation:()=>o,setupOpenMRS:()=>n});var e=c(489);const t={pathologyEncTypeUUID:{_type:e.Type.String,_default:"4d911f5c-26fe-102b-80cb-0017a47871b2",_description:"This is to determine the UUID of the Pathology encounterType in the instance"},healthCenterAttrTypeUUID:{_type:e.Type.String,_default:"8d87236c-c2cc-11de-8d13-0010c6dffd0f",_description:"This is to determine the UUID of the Health center attribute type in the instance"},pathologyFullAllowedLocationUUID:{_type:e.Type.String,_default:"38c4b94b-97a6-4f2c-bca6-c28a37cf60ed",_description:"This is to determine the location allowed to view all other location data"},sampleStatusConceptUUID:{_type:e.Type.String,_default:"3ce163d8-26fe-102b-80cb-0017a47871b2",_description:"This is to determine the UUID of the sample status concept in the instance"},referralStatusConceptUUID:{_type:e.Type.String,_default:"3cd93302-26fe-102b-80cb-0017a47871b2",_description:"This is to determine the UUID of the referral status concept in the instance"},sampleDropOffconceptUUID:{_type:e.Type.String,_default:"13662f27-9be5-4595-8bab-07b0e859d9f4",_description:"This is to determine the UUID of the sample drop off concept in the instance"},yesConceptUUID:{_type:e.Type.String,_default:"3cd6f600-26fe-102b-80cb-0017a47871b2",_description:"This is to determine the UUID of the Yes concept in the instance"},yesConceptName:{_type:e.Type.String,_default:"YES",_description:"This is to determine the Name of the Yes concept in the instance"},pathologyResultsFromID:{_type:e.Type.Number,_default:131,_description:"This is to determine the ID of the pathology results form in the instance"}},o=c(979),r={fhir2:"^1.2.0","webservices.rest":"^2.2.0"};function n(){const o="@pih/esm-pathology-app",r={featureName:"pathology-app",moduleName:o};return(0,e.defineConfigSchema)(o,t),{pages:[{load:(0,e.getAsyncLifecycle)((()=>Promise.all([c.e(633),c.e(66)]).then(c.bind(c,66))),r),route:"pathology"}]}}})(),p})())}}}));
1
+ System.register("@pih/esm-pathology-app",[],(function(e,r){return{execute:function(){e((()=>{var e,t,n,o,a,i,u,l,s,f,p,c,d,h,m,v,y={11858:(e,r,t)=>{(0,t(52722).s)(1)},52722:(e,r,t)=>{const n=t(63905).R;r.s=function(e){if(e||(e=1),!t.y.meta||!t.y.meta.url)throw console.error("__system_context__",t.y),Error("systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided");t.p=n(t.y.meta.url,e)}},95356:(e,r,t)=>{t(11858)},63905:(e,r,t)=>{r.R=function(e,r){var t=document.createElement("a");t.href=e;for(var n="/"===t.pathname[0]?t.pathname:"/"+t.pathname,o=0,a=n.length;o!==r&&a>=0;)"/"===n[--a]&&o++;if(o!==r)throw Error("systemjs-webpack-interop: rootDirectoryLevel ("+r+") is greater than the number of directories ("+o+") in the URL path "+e);var i=n.slice(0,a+1);return t.protocol+"//"+t.host+i};Number.isInteger},24954:(e,r,t)=>{"use strict";var n={app:()=>t.e(867).then((()=>()=>t(33867)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},g={};function b(e){var r=g[e];if(void 0!==r)return r.exports;var t=g[e]={id:e,loaded:!1,exports:{}};return y[e].call(t.exports,t,t.exports,b),t.loaded=!0,t.exports}return b.m=y,b.c=g,b.y=r,b.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return b.d(r,{a:r}),r},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,b.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);b.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var i=2&n&&r;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,b.d(o,a),o},b.d=(e,r)=>{for(var t in r)b.o(r,t)&&!b.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce(((r,t)=>(b.f[t](e,r),r)),[])),b.u=e=>e+".js",b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n={},o="@pih/esm-pathology-app:",b.l=(e,r,t,a)=>{if(n[e])n[e].push(r);else{var i,u;if(void 0!==t)for(var l=document.getElementsByTagName("script"),s=0;s<l.length;s++){var f=l[s];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==o+t){i=f;break}}i||(u=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,b.nc&&i.setAttribute("nonce",b.nc),i.setAttribute("data-webpack",o+t),i.src=e),n[e]=[r];var p=(r,t)=>{i.onerror=i.onload=null,clearTimeout(c);var o=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(t))),r)return r(t)},c=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),u&&document.head.appendChild(i)}},b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{b.S={};var e={},r={};b.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];b.o(b.S,t)||(b.S[t]={});var a=b.S[t],i="@pih/esm-pathology-app",u=(e,r,t,n)=>{var o=a[e]=a[e]||{},u=o[r];(!u||!u.loaded&&(!n!=!u.eager?n:i>u.from))&&(o[r]={get:t,from:i,eager:!!n})},l=[];return"default"===t&&(u("@openmrs/esm-framework","3.1.15-pre.791",(()=>b.e(16).then((()=>()=>b(41016))))),u("carbon-components","10.50.0",(()=>b.e(24).then((()=>()=>b(75024))))),u("react","16.14.0",(()=>b.e(294).then((()=>()=>b(67294)))))),e[t]=l.length?Promise.all(l).then((()=>e[t]=1)):1}}})(),b.p="",a=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},i=(e,r)=>{e=a(e),r=a(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],o=(typeof n)[0];if(t>=r.length)return"u"==o;var i=r[t],u=(typeof i)[0];if(o!=u)return"o"==o&&"n"==u||"s"==u||"u"==o;if("o"!=o&&"u"!=o&&n!=i)return n<i;t++}},u=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(i=e[o]))[0]?"-":(n>0?".":"")+(n=2,i);return t}var a=[];for(o=1;o<e.length;o++){var i=e[o];a.push(0===i?"not("+l()+")":1===i?"("+l()+" || "+l()+")":2===i?a.pop()+" "+a.pop():u(i))}return l();function l(){return a.pop().replace(/^\((.+)\)$/,"$1")}},l=(e,r)=>{if(0 in e){r=a(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var o=0,i=1,u=!0;;i++,o++){var s,f,p=i<e.length?(typeof e[i])[0]:"";if(o>=r.length||"o"==(f=(typeof(s=r[o]))[0]))return!u||("u"==p?i>t&&!n:""==p!=n);if("u"==f){if(!u||"u"!=p)return!1}else if(u)if(p==f)if(i<=t){if(s!=e[i])return!1}else{if(n?s>e[i]:s<e[i])return!1;s!=e[i]&&(u=!1)}else if("s"!=p&&"n"!=p){if(n||i<=t)return!1;u=!1,i--}else{if(i<=t||f<p!=n)return!1;u=!1}else"s"!=p&&"n"!=p&&(u=!1,i--)}}var c=[],d=c.pop.bind(c);for(o=1;o<e.length;o++){var h=e[o];c.push(1==h?d()|d():2==h?d()&d():h?l(h,r):!d())}return!!d()},s=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&i(e,r)?r:e),0)},f=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+u(n)+")",p=(e,r,t,n)=>{var o=s(e,t);return l(n,o)||"undefined"!=typeof console&&console.warn&&console.warn(f(e,t,o,n)),c(e[t][o])},c=e=>(e.loaded=1,e.get()),d=(e=>function(r,t,n,o){var a=b.I(r);return a&&a.then?a.then(e.bind(e,r,b.S[r],t,n,o)):e(0,b.S[r],t,n,o)})(((e,r,t,n,o)=>r&&b.o(r,t)?p(r,0,t,n):o())),h={},m={91208:()=>d("default","@openmrs/esm-framework",[1,3],(()=>b.e(16).then((()=>()=>b(41016))))),79749:()=>d("default","carbon-components",[1,10,36,0],(()=>b.e(24).then((()=>()=>b(75024))))),80150:()=>d("default","react",[1,16,13,1],(()=>b.e(976).then((()=>()=>b(67294)))))},v={861:[79749,80150],867:[91208]},b.f.consumes=(e,r)=>{b.o(v,e)&&v[e].forEach((e=>{if(b.o(h,e))return r.push(h[e]);var t=r=>{h[e]=0,b.m[e]=t=>{delete b.c[e],t.exports=r()}},n=r=>{delete h[e],b.m[e]=t=>{throw delete b.c[e],r}};try{var o=m[e]();o.then?r.push(h[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={196:0};b.f.j=(r,t)=>{var n=b.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=b.p+b.u(r),i=new Error;b.l(a,(t=>{if(b.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,u]=t,l=0;if(a.some((r=>0!==e[r]))){for(n in i)b.o(i,n)&&(b.m[n]=i[n]);u&&u(b)}for(r&&r(t);l<a.length;l++)o=a[l],b.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunk_pih_esm_pathology_app=self.webpackChunk_pih_esm_pathology_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),b(95356),b(24954)})())}}}));
2
2
  //# sourceMappingURL=pih-esm-pathology-app.js.map