@ampath/esm-dha-workflow-app 4.0.0-claim-workflows.293 → 4.0.0-claim-workflows.294

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/4003.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_ampath_esm_dha_workflow_app=globalThis.webpackChunk_ampath_esm_dha_workflow_app||[]).push([[4003],{10540:n=>{n.exports=function(n){var e=document.createElement("style");return n.setAttributes(e,n.attributes),n.insert(e,n.options),e}},15674:(n,e,t)=>{t.d(e,{A:()=>c});var r=t(72996),a=t.n(r),o=t(70159),i=t.n(o)()(a());i.push([n.id,".-esm-dha-workflow__generate-order-bill-button__actionButton___1QG1\\+{display:flex;align-items:center;justify-content:center;text-align:center;padding:0 .75rem;font-size:.875rem}.-esm-dha-workflow__generate-order-bill-button__actionButton___1QG1\\+ .-esm-dha-workflow__generate-order-bill-button__actionButtonIcon___HkWpv{margin-right:.25rem;color:#fff;fill:#fff}","",{version:3,sources:["webpack://./src/billing/extensions/generate-order-bill-button/generate-order-bill-button.scss","webpack://./node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAGA,sEACE,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,iBAAA,CACA,gBAAA,CACA,iBAAA,CACA,+IACE,mBCKS,CDJT,UAAA,CACA,SAAA",sourcesContent:["@use '@carbon/type';\n@use '@carbon/layout';\n\n.actionButton {\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n padding: 0 layout.$spacing-04;\n font-size: type.type-scale(2);\n .actionButtonIcon {\n margin-right: layout.$spacing-02;\n color: white;\n fill: white;\n }\n}","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),i.locals={actionButton:"-esm-dha-workflow__generate-order-bill-button__actionButton___1QG1+",actionButtonIcon:"-esm-dha-workflow__generate-order-bill-button__actionButtonIcon___HkWpv"};const c=i},24003:(n,e,t)=>{t.r(e),t.d(e,{default:()=>C});var r=t(16072),a=t.n(r),o=t(2076),i=t(55555),c=t(85072),s=t.n(c),u=t(97825),l=t.n(u),p=t(77659),d=t.n(p),f=t(55056),g=t.n(f),m=t(10540),y=t.n(m),b=t(41113),A=t.n(b),h=t(15674),v={};v.styleTagTransform=A(),v.setAttributes=g(),v.insert=d().bind(null,"head"),v.domAPI=l(),v.insertStyleElement=y(),s()(h.A,v);const _=h.A&&h.A.locals?h.A.locals:void 0,C=function(n){var e=n.order,t=n.billStatus,r=void 0===t?"BLANK":t,c=n.isLoading,s=n.launchBillWorkspace,u=(0,o.useTranslation)().t;return c?a().createElement(i.OuH,null):"PENDING"===r?a().createElement(i.$nd,{className:_.actionButton,size:"sm",kind:"danger",key:e.uuid},u("pendingPayment","Pending payment")):"NEEDS PREAUTHORIZATION"===r?a().createElement(i.$nd,{className:_.actionButton,size:"sm",kind:"secondary",key:e.uuid},u("needsPreauthorization","Needs preauthorization")):"PENDING PREAUTHORIZATION"===r?a().createElement(i.$nd,{className:_.actionButton,size:"sm",kind:"danger--tertiary",key:e.uuid},u("pendingPreauthorization","Pending preauthorization")):"AWAITING CLAIM VISIT"===r?a().createElement(i.$nd,{className:_.actionButton,size:"sm",kind:"tertiary",key:e.uuid},u("awaitingClaimVisit","Awaiting claim visit")):"BLANK"===r?a().createElement(i.$nd,{className:_.actionButton,size:"sm",kind:"primary",key:e.uuid,onClick:s},u("generateBill","Generate bill")):null}},41113:n=>{n.exports=function(n,e){if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},55056:(n,e,t)=>{n.exports=function(n){var e=t.nc;e&&n.setAttribute("nonce",e)}},70159:n=>{n.exports=function(n){var e=[];return e.toString=function(){return this.map((function(e){var t=n(e);return e[2]?"@media ".concat(e[2]," {").concat(t,"}"):t})).join("")},e.i=function(n,t,r){"string"==typeof n&&(n=[[null,n,""]]);var a={};if(r)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(a[i]=!0)}for(var c=0;c<n.length;c++){var s=[].concat(n[c]);r&&a[s[0]]||(t&&(s[2]?s[2]="".concat(t," and ").concat(s[2]):s[2]=t),e.push(s))}},e}},72996:n=>{function e(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}n.exports=function(n){var t,r,a=(r=4,function(n){if(Array.isArray(n))return n}(t=n)||function(n,e){var t=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null!=t){var r,a,o=[],i=!0,c=!1;try{for(t=t.call(n);!(i=(r=t.next()).done)&&(o.push(r.value),!e||o.length!==e);i=!0);}catch(n){c=!0,a=n}finally{try{i||null==t.return||t.return()}finally{if(c)throw a}}return o}}(t,r)||function(n,t){if(n){if("string"==typeof n)return e(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(n,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=a[1],i=a[3];if(!i)return o;if("function"==typeof btoa){var c=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),u="/*# ".concat(s," */"),l=i.sources.map((function(n){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(n," */")}));return[o].concat(l).concat([u]).join("\n")}return[o].join("\n")}},77659:n=>{var e={};n.exports=function(n,t){var r=function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(n){t=null}e[n]=t}return e[n]}(n);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}},85072:n=>{var e=[];function t(n){for(var t=-1,r=0;r<e.length;r++)if(e[r].identifier===n){t=r;break}return t}function r(n,r){for(var o={},i=[],c=0;c<n.length;c++){var s=n[c],u=r.base?s[0]+r.base:s[0],l=o[u]||0,p="".concat(u," ").concat(l);o[u]=l+1;var d=t(p),f={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var g=a(f,r);r.byIndex=c,e.splice(c,0,{identifier:p,updater:g,references:1})}i.push(p)}return i}function a(n,e){var t=e.domAPI(e);return t.update(n),function(e){if(e){if(e.css===n.css&&e.media===n.media&&e.sourceMap===n.sourceMap&&e.supports===n.supports&&e.layer===n.layer)return;t.update(n=e)}else t.remove()}}n.exports=function(n,a){var o=r(n=n||[],a=a||{});return function(n){n=n||[];for(var i=0;i<o.length;i++){var c=t(o[i]);e[c].references--}for(var s=r(n,a),u=0;u<o.length;u++){var l=t(o[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}o=s}}},97825:n=>{n.exports=function(n){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.insertStyleElement(n);return{update:function(t){!function(n,e,t){var r="";t.supports&&(r+="@supports (".concat(t.supports,") {")),t.media&&(r+="@media ".concat(t.media," {"));var a=void 0!==t.layer;a&&(r+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),r+=t.css,a&&(r+="}"),t.media&&(r+="}"),t.supports&&(r+="}");var o=t.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(r,n,e.options)}(e,n,t)},remove:function(){!function(n){if(null===n.parentNode)return!1;n.parentNode.removeChild(n)}(e)}}}}}]);
1
+ "use strict";(globalThis.webpackChunk_ampath_esm_dha_workflow_app=globalThis.webpackChunk_ampath_esm_dha_workflow_app||[]).push([[4003],{10540:n=>{n.exports=function(n){var e=document.createElement("style");return n.setAttributes(e,n.attributes),n.insert(e,n.options),e}},15674:(n,e,t)=>{t.d(e,{A:()=>c});var a=t(72996),r=t.n(a),o=t(70159),i=t.n(o)()(r());i.push([n.id,".-esm-dha-workflow__generate-order-bill-button__actionButton___1QG1\\+{display:flex;align-items:center;justify-content:center;text-align:center;padding:0 .75rem;font-size:.875rem}.-esm-dha-workflow__generate-order-bill-button__actionButton___1QG1\\+ .-esm-dha-workflow__generate-order-bill-button__actionButtonIcon___HkWpv{margin-right:.25rem;color:#fff;fill:#fff}","",{version:3,sources:["webpack://./src/billing/extensions/generate-order-bill-button/generate-order-bill-button.scss","webpack://./node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAGA,sEACE,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,iBAAA,CACA,gBAAA,CACA,iBAAA,CACA,+IACE,mBCKS,CDJT,UAAA,CACA,SAAA",sourcesContent:["@use '@carbon/type';\n@use '@carbon/layout';\n\n.actionButton {\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n padding: 0 layout.$spacing-04;\n font-size: type.type-scale(2);\n .actionButtonIcon {\n margin-right: layout.$spacing-02;\n color: white;\n fill: white;\n }\n}","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),i.locals={actionButton:"-esm-dha-workflow__generate-order-bill-button__actionButton___1QG1+",actionButtonIcon:"-esm-dha-workflow__generate-order-bill-button__actionButtonIcon___HkWpv"};const c=i},24003:(n,e,t)=>{t.r(e),t.d(e,{default:()=>C});var a=t(16072),r=t.n(a),o=t(2076),i=t(55555),c=t(85072),s=t.n(c),u=t(97825),l=t.n(u),p=t(77659),d=t.n(p),f=t(55056),g=t.n(f),m=t(10540),y=t.n(m),b=t(41113),A=t.n(b),h=t(15674),v={};v.styleTagTransform=A(),v.setAttributes=g(),v.insert=d().bind(null,"head"),v.domAPI=l(),v.insertStyleElement=y(),s()(h.A,v);const _=h.A&&h.A.locals?h.A.locals:void 0,C=function(n){var e=n.order,t=n.billStatus,a=void 0===t?"BLANK":t,c=n.isLoading,s=n.launchBillWorkspace,u=(0,o.useTranslation)().t;return c?r().createElement(i.OuH,null):"PENDING"===a?r().createElement(i.$nd,{className:_.actionButton,size:"sm",kind:"danger",key:e.uuid},u("pendingPayment","Pending payment")):"NEEDS PREAUTHORIZATION"===a?r().createElement(i.$nd,{className:_.actionButton,size:"sm",kind:"secondary",key:e.uuid},u("needsPreauthorization","Needs preauthorization")):"PENDING PREAUTHORIZATION"===a?r().createElement(i.$nd,{className:_.actionButton,size:"sm",kind:"danger--tertiary",key:e.uuid},u("pendingPreauthorization","Pending preauthorization")):"AWAITING CLAIM VISIT"===a?r().createElement(i.$nd,{className:_.actionButton,size:"sm",kind:"tertiary",key:e.uuid},u("awaitingClaimVisit","Awaiting claim visit")):"PREAUTHORIZATION REJECTED"===a?r().createElement(i.$nd,{className:_.actionButton,size:"sm",kind:"danger",key:e.uuid},u("preauthorizationRejected","Preauthorization rejected")):"BLANK"===a?r().createElement(i.$nd,{className:_.actionButton,size:"sm",kind:"primary",key:e.uuid,onClick:s},u("generateBill","Generate bill")):null}},41113:n=>{n.exports=function(n,e){if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},55056:(n,e,t)=>{n.exports=function(n){var e=t.nc;e&&n.setAttribute("nonce",e)}},70159:n=>{n.exports=function(n){var e=[];return e.toString=function(){return this.map((function(e){var t=n(e);return e[2]?"@media ".concat(e[2]," {").concat(t,"}"):t})).join("")},e.i=function(n,t,a){"string"==typeof n&&(n=[[null,n,""]]);var r={};if(a)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(var c=0;c<n.length;c++){var s=[].concat(n[c]);a&&r[s[0]]||(t&&(s[2]?s[2]="".concat(t," and ").concat(s[2]):s[2]=t),e.push(s))}},e}},72996:n=>{function e(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,a=new Array(e);t<e;t++)a[t]=n[t];return a}n.exports=function(n){var t,a,r=(a=4,function(n){if(Array.isArray(n))return n}(t=n)||function(n,e){var t=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null!=t){var a,r,o=[],i=!0,c=!1;try{for(t=t.call(n);!(i=(a=t.next()).done)&&(o.push(a.value),!e||o.length!==e);i=!0);}catch(n){c=!0,r=n}finally{try{i||null==t.return||t.return()}finally{if(c)throw r}}return o}}(t,a)||function(n,t){if(n){if("string"==typeof n)return e(n,t);var a=Object.prototype.toString.call(n).slice(8,-1);return"Object"===a&&n.constructor&&(a=n.constructor.name),"Map"===a||"Set"===a?Array.from(n):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?e(n,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[1],i=r[3];if(!i)return o;if("function"==typeof btoa){var c=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),u="/*# ".concat(s," */"),l=i.sources.map((function(n){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(n," */")}));return[o].concat(l).concat([u]).join("\n")}return[o].join("\n")}},77659:n=>{var e={};n.exports=function(n,t){var a=function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(n){t=null}e[n]=t}return e[n]}(n);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}},85072:n=>{var e=[];function t(n){for(var t=-1,a=0;a<e.length;a++)if(e[a].identifier===n){t=a;break}return t}function a(n,a){for(var o={},i=[],c=0;c<n.length;c++){var s=n[c],u=a.base?s[0]+a.base:s[0],l=o[u]||0,p="".concat(u," ").concat(l);o[u]=l+1;var d=t(p),f={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var g=r(f,a);a.byIndex=c,e.splice(c,0,{identifier:p,updater:g,references:1})}i.push(p)}return i}function r(n,e){var t=e.domAPI(e);return t.update(n),function(e){if(e){if(e.css===n.css&&e.media===n.media&&e.sourceMap===n.sourceMap&&e.supports===n.supports&&e.layer===n.layer)return;t.update(n=e)}else t.remove()}}n.exports=function(n,r){var o=a(n=n||[],r=r||{});return function(n){n=n||[];for(var i=0;i<o.length;i++){var c=t(o[i]);e[c].references--}for(var s=a(n,r),u=0;u<o.length;u++){var l=t(o[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}o=s}}},97825:n=>{n.exports=function(n){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.insertStyleElement(n);return{update:function(t){!function(n,e,t){var a="";t.supports&&(a+="@supports (".concat(t.supports,") {")),t.media&&(a+="@media ".concat(t.media," {"));var r=void 0!==t.layer;r&&(a+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),a+=t.css,r&&(a+="}"),t.media&&(a+="}"),t.supports&&(a+="}");var o=t.sourceMap;o&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(a,n,e.options)}(e,n,t)},remove:function(){!function(n){if(null===n.parentNode)return!1;n.parentNode.removeChild(n)}(e)}}}}}]);
package/dist/4003.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"4003.js","mappings":"mJASAA,EAAOC,QANP,SAA4BC,GAC1B,IAAIC,EAAUC,SAASC,cAAc,SAGrC,OAFAH,EAAQI,cAAcH,EAASD,EAAQK,YACvCL,EAAQM,OAAOL,EAASD,EAAQA,SACzBC,CACT,C,sECLIM,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACV,EAAOW,GAAI,+WAAgX,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,gGAAgG,wEAAwE,MAAQ,GAAG,SAAW,8GAA8G,eAAiB,CAAC,8UAA8U,25DAA25D,WAAa,MAEx+FF,EAAwBG,OAAS,CAChC,aAAgB,sEAChB,iBAAoB,2EAErB,S,gOCAIV,EAAU,CAAC,EAEfA,EAAQW,kBAAoB,IAC5BX,EAAQI,cAAgB,IAElBJ,EAAQM,OAAS,SAAc,KAAM,QAE3CN,EAAQY,OAAS,IACjBZ,EAAQa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YmB,OAAOS,EAAQ,GAE/B,CACAJ,EAAkBG,CACpB,CACF,C,YCvBAjJ,EAAOC,QAjBP,SAAgBC,GACd,GAAwB,oBAAbE,SACT,MAAO,CACLuI,OAAQ,WAAmB,EAC3BE,OAAQ,WAAmB,GAG/B,IAAI3G,EAAehC,EAAQa,mBAAmBb,GAC9C,MAAO,CACLyI,OAAQ,SAAgBX,IAjD5B,SAAe9F,EAAchC,EAAS8H,GACpC,IAAI/F,EAAM,GACN+F,EAAIG,WACNlG,GAAO,cAAciB,OAAO8E,EAAIG,SAAU,QAExCH,EAAIC,QACNhG,GAAO,UAAUiB,OAAO8E,EAAIC,MAAO,OAErC,IAAIkB,OAAiC,IAAdnB,EAAII,MACvBe,IACFlH,GAAO,SAASiB,OAAO8E,EAAII,MAAM3E,OAAS,EAAI,IAAIP,OAAO8E,EAAII,OAAS,GAAI,OAE5EnG,GAAO+F,EAAI/F,IACPkH,IACFlH,GAAO,KAEL+F,EAAIC,QACNhG,GAAO,KAEL+F,EAAIG,WACNlG,GAAO,KAET,IAAIiG,EAAYF,EAAIE,UAChBA,GAA6B,oBAATpC,OACtB7D,GAAO,uDAAuDiB,OAAO4C,KAAKE,SAASC,mBAAmBC,KAAKC,UAAU+B,MAAe,QAKtIhI,EAAQW,kBAAkBoB,EAAKC,EAAchC,EAAQA,QACvD,CAoBMkJ,CAAMlH,EAAchC,EAAS8H,EAC/B,EACAa,OAAQ,YArBZ,SAA4B3G,GAE1B,GAAgC,OAA5BA,EAAamH,WACf,OAAO,EAETnH,EAAamH,WAAW/G,YAAYJ,EACtC,CAgBMoH,CAAmBpH,EACrB,EAEJ,C","sources":["webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@ampath/esm-dha-workflow-app/./src/billing/extensions/generate-order-bill-button/generate-order-bill-button.scss","webpack://@ampath/esm-dha-workflow-app/./src/billing/extensions/generate-order-bill-button/generate-order-bill-button.scss?48fb","webpack://@ampath/esm-dha-workflow-app/./src/billing/extensions/generate-order-bill-button/generate-order-bill-button.extension.tsx","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/api.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/styleDomAPI.js"],"names":["module","exports","options","element","document","createElement","setAttributes","attributes","insert","___CSS_LOADER_EXPORT___","push","id","locals","styleTagTransform","domAPI","insertStyleElement","undefined","order","billStatus","isLoading","launchBillWorkspace","useTranslation","t","InlineLoading","Button","className","styles","actionButton","size","kind","key","uuid","onClick","css","styleElement","styleSheet","cssText","firstChild","removeChild","appendChild","createTextNode","nonce","setAttribute","cssWithMappingToString","list","toString","this","map","item","content","concat","join","i","modules","mediaQuery","dedupe","alreadyImportedModules","length","_i","_arrayLikeToArray","arr","len","arr2","Array","_item","isArray","_arrayWithHoles","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","value","err","_iterableToArrayLimit","o","minLen","n","Object","prototype","slice","constructor","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","sourceURLs","sources","source","sourceRoot","memo","style","target","styleTarget","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","obj","media","sourceMap","supports","layer","references","updater","addElementStyle","byIndex","splice","api","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_index","needLayer","apply","parentNode","removeStyleElement"],"sourceRoot":""}
1
+ {"version":3,"file":"4003.js","mappings":"mJASAA,EAAOC,QANP,SAA4BC,GAC1B,IAAIC,EAAUC,SAASC,cAAc,SAGrC,OAFAH,EAAQI,cAAcH,EAASD,EAAQK,YACvCL,EAAQM,OAAOL,EAASD,EAAQA,SACzBC,CACT,C,sECLIM,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACV,EAAOW,GAAI,+WAAgX,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,gGAAgG,wEAAwE,MAAQ,GAAG,SAAW,8GAA8G,eAAiB,CAAC,8UAA8U,25DAA25D,WAAa,MAEx+FF,EAAwBG,OAAS,CAChC,aAAgB,sEAChB,iBAAoB,2EAErB,S,gOCAIV,EAAU,CAAC,EAEfA,EAAQW,kBAAoB,IAC5BX,EAAQI,cAAgB,IAElBJ,EAAQM,OAAS,SAAc,KAAM,QAE3CN,EAAQY,OAAS,IACjBZ,EAAQa,mBAAqB,IAEhB,IAAI,IAASb,GAKnB,QAAe,KAAW,IAAQU,OAAS,IAAQA,YAASI,EC4BnE,EAvCwE,Y,IACtEC,EAAAA,EAAAA,MAAAA,EAAAA,EACAC,WAAAA,OAAAA,IAAa,YACbC,EAAAA,EAAAA,UACAC,EAAAA,EAAAA,oBAEM,GAAQC,EAAAA,EAAAA,kBAANC,EAER,OAAIH,EACK,kBAACI,EAAAA,IAAaA,MAGD,YAAfL,EACL,kBAACM,EAAAA,IAAMA,CAACC,UAAWC,EAAOC,aAAcC,KAAK,KAAKC,KAAK,SAASC,IAAKb,EAAMc,MACxET,EAAE,iBAAkB,oBAEN,2BAAfJ,EACF,kBAACM,EAAAA,IAAMA,CAACC,UAAWC,EAAOC,aAAcC,KAAK,KAAKC,KAAK,YAAYC,IAAKb,EAAMc,MAC3ET,EAAE,wBAAyB,2BAEb,6BAAfJ,EACF,kBAACM,EAAAA,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AAII,MACvBe,IACFlH,GAAO,SAASiB,OAAO8E,EAAII,MAAM3E,OAAS,EAAI,IAAIP,OAAO8E,EAAII,OAAS,GAAI,OAE5EnG,GAAO+F,EAAI/F,IACPkH,IACFlH,GAAO,KAEL+F,EAAIC,QACNhG,GAAO,KAEL+F,EAAIG,WACNlG,GAAO,KAET,IAAIiG,EAAYF,EAAIE,UAChBA,GAA6B,oBAATpC,OACtB7D,GAAO,uDAAuDiB,OAAO4C,KAAKE,SAASC,mBAAmBC,KAAKC,UAAU+B,MAAe,QAKtIhI,EAAQW,kBAAkBoB,EAAKC,EAAchC,EAAQA,QACvD,CAoBMkJ,CAAMlH,EAAchC,EAAS8H,EAC/B,EACAa,OAAQ,YArBZ,SAA4B3G,GAE1B,GAAgC,OAA5BA,EAAamH,WACf,OAAO,EAETnH,EAAamH,WAAW/G,YAAYJ,EACtC,CAgBMoH,CAAmBpH,EACrB,EAEJ,C","sources":["webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@ampath/esm-dha-workflow-app/./src/billing/extensions/generate-order-bill-button/generate-order-bill-button.scss","webpack://@ampath/esm-dha-workflow-app/./src/billing/extensions/generate-order-bill-button/generate-order-bill-button.scss?48fb","webpack://@ampath/esm-dha-workflow-app/./src/billing/extensions/generate-order-bill-button/generate-order-bill-button.extension.tsx","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/api.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/styleDomAPI.js"],"names":["module","exports","options","element","document","createElement","setAttributes","attributes","insert","___CSS_LOADER_EXPORT___","push","id","locals","styleTagTransform","domAPI","insertStyleElement","undefined","order","billStatus","isLoading","launchBillWorkspace","useTranslation","t","InlineLoading","Button","className","styles","actionButton","size","kind","key","uuid","onClick","css","styleElement","styleSheet","cssText","firstChild","removeChild","appendChild","createTextNode","nonce","setAttribute","cssWithMappingToString","list","toString","this","map","item","content","concat","join","i","modules","mediaQuery","dedupe","alreadyImportedModules","length","_i","_arrayLikeToArray","arr","len","arr2","Array","_item","isArray","_arrayWithHoles","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","value","err","_iterableToArrayLimit","o","minLen","n","Object","prototype","slice","constructor","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","sourceURLs","sources","source","sourceRoot","memo","style","target","styleTarget","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","obj","media","sourceMap","supports","layer","references","updater","addElementStyle","byIndex","splice","api","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_index","needLayer","apply","parentNode","removeStyleElement"],"sourceRoot":""}
@@ -760,9 +760,9 @@
760
760
  "initial": false,
761
761
  "entry": false,
762
762
  "recorded": false,
763
- "size": 17112,
763
+ "size": 17378,
764
764
  "sizes": {
765
- "javascript": 17112
765
+ "javascript": 17378
766
766
  },
767
767
  "names": [],
768
768
  "idHints": [],
@@ -776,7 +776,7 @@
776
776
  "auxiliaryFiles": [
777
777
  "4003.js.map"
778
778
  ],
779
- "hash": "aa1d2e71ece0d9e0",
779
+ "hash": "e1d6e9ed6787bb5f",
780
780
  "childrenByOrder": {}
781
781
  },
782
782
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{},"pages":[{"component":"root","route":"dha-workflow","online":true,"offline":true}],"extensions":[{"component":"navLinks","name":"side-nav-workflow-links","slot":"dha-workflow-slot","online":true,"offline":true},{"name":"dha-workflow-dashboard-link","component":"dhaWorkflowDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Facility Dashboard"],"meta":{"name":"dashboard","slot":"dha-workflow-dashboard-slot","title":"Dashboard"},"online":true,"offline":true,"order":1},{"component":"dhaWorkflowDashboard","name":"dashboardExt","slot":"dha-workflow-dashboard-slot"},{"name":"registry-dashboard-link","component":"registryDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"registration","slot":"client-registry-dashboard-slot","title":"Registration"},"online":true,"offline":true,"order":0},{"component":"registryExtension","name":"registry","slot":"client-registry-dashboard-slot","privileges":["O3 View Client Registry Dashboard"]},{"name":"triage-dashboard-link","component":"triageDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Triage Dashboard"],"meta":{"name":"triage","slot":"triage-queue-dashboard-slot","title":"Triage"},"online":true,"offline":false},{"component":"triageQueueExtension","name":"triage","slot":"triage-queue-dashboard-slot","privileges":["O3 View Triage Dashboard"]},{"name":"consultation-dashboard-link","component":"consultationDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Consultation Dashboard"],"meta":{"name":"consultation","slot":"consultation-dashboard-slot","title":"Consultation"},"online":true,"offline":false},{"component":"consultationQueue","name":"consultation","slot":"consultation-dashboard-slot","privileges":["O3 View Consultation Dashboard"]},{"name":"mnch-dashboard-link","component":"mnchQueueDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View MNCH Dashboard"],"meta":{"name":"mnch","slot":"mnch-dashboard-slot","title":"MNCH"},"online":true,"offline":true},{"component":"MNCHRoot","name":"mnch","slot":"mnch-dashboard-slot","privileges":["O3 View MNCH Dashboard"]},{"name":"specialized-clinics-dashboard-link","component":"specializedClinicsDashboardLink","slot":"homepage-dashboard-slot","privileges":[],"meta":{"name":"specialized-clinics","slot":"specialized-clinics-dashboard-slot","title":"Specialized Clinics"},"online":true,"offline":true},{"component":"SpecializedClinicsRoot","name":"specialized-clinics","slot":"specialized-clinics-dashboard-slot","privileges":[]},{"name":"pharmacy-dashboard-link","component":"pharmacyDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Pharmacy Dashboard"],"meta":{"name":"dispensing","slot":"dispensing-dashboard-slot","title":"Pharmacy"},"online":true,"offline":true},{"name":"bookings-dashboard-link","component":"bookingsDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Bookings Dashboard"],"meta":{"name":"bookings","slot":"bookings-dashboard-slot","title":"Bookings"},"online":true,"offline":true},{"component":"bookings","name":"bookings","slot":"bookings-dashboard-slot","privileges":["O3 View Bookings Dashboard"]},{"name":"service-queue-admin-dashboard-link","component":"serviceQueuesAdminLink","privileges":["O3 View Service Queue Admin Panel"],"slot":"app-menu-slot","meta":{"name":"service-queue-admin","slot":"service-queue-admin-dashboard-slot","title":"Service Queue Admin"},"online":true,"offline":true},{"component":"serviceQueueAdmin","name":"service-queue-admin","slot":"service-queue-admin-dashboard-slot","privileges":["O3 View Service Queue Admin Panel"]},{"name":"admissions-dashboard-link","component":"admissionsDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Admissions Dashboard"],"meta":{"name":"admissions-dashboard","slot":"admissions-dashboard-slot","title":"Admissions Dashboard"},"online":true,"offline":true},{"component":"admissionsDashboard","name":"admissions-dashboard","slot":"admissions-dashboard-slot","privileges":["O3 View Admissions Dashboard"]},{"component":"serviceQueueBannerComponent","name":"service-queue-banne","slot":"patient-banner-tags-slot"},{"name":"admissions-summary-dashboard","slot":"patient-chart-dashboard-slot","component":"patientChartAdmissionsLink","meta":{"slot":"patient-chart-admissions-summary-dashboard-slot","path":"Admissions","layoutMode":"anchored"},"online":true,"offline":true},{"name":"admission-details","slot":"patient-chart-admissions-summary-dashboard-slot","component":"patientAdmissionSummary","order":1,"meta":{"title":"Admissions","view":"admissions"},"online":true,"offline":true},{"name":"case-summary-dashboard","slot":"patient-chart-dashboard-slot","component":"caseSummaryLink","meta":{"slot":"patient-chart-case-summary-dashboard-slot","path":"case-summary","layoutMode":"anchored"},"online":true,"offline":true},{"name":"case-summary-details","slot":"patient-chart-case-summary-dashboard-slot","component":"caseSummary","order":1,"meta":{"title":"Visit Case Summary","view":"case-summary"},"online":true,"offline":true},{"name":"ampath-billing-dashboard-link","component":"billingDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Accounting Dashboard"],"meta":{"name":"billing","slot":"ampath-billing-dashboard-slot","title":"Accounting"},"online":true,"offline":true},{"component":"billingRoot","name":"billing","slot":"ampath-billing-dashboard-slot","privileges":["O3 View Accounting Dashboard"]},{"name":"ampath-billing-checkin-form","slot":"extra-visit-attribute-slot","component":"visitBillingForm"},{"name":"claims","slot":"billing-claims-slot","component":"claims"},{"name":"preauths-modal","component":"preauthsModal"},{"name":"generate-order-bill-button-slot","slot":"generate-order-bill-button-slot","component":"generateOrderBillButton"}],"workspaces":[{"name":"create-order-bill-form-workspace","component":"createOrderBillFormWorkspace","title":"Create order Bill","type":"other-form"},{"name":"upload-intervention-attachments-workspace","title":"Upload Attachments","component":"uploadInterventionAttachmentsWorkspace","type":"upload-intervention-attachments","canHide":true,"canMaximize":true,"width":"narrow"},{"name":"generate-intervention-attachments-workspace","title":"GenerateAttachments","component":"generateInterventionAttachmentsWorkspace","type":"generate-intervention-attachments","canHide":true,"canMaximize":true,"width":"narrow"},{"name":"bill-item-payment-workspace","title":"Bill item payment","component":"billItemPaymentWorkspace","type":"bill-item-payment","canHide":true,"width":"narrow"},{"name":"add-claim-line-workspace","title":"Add claim line","component":"addClaimLineWorkspace","type":"add-claim-line","canHide":true,"width":"narrow"},{"name":"switch-intervention-workspace","title":"Switch Intervention","component":"switchInterventionWorkspace","type":"switch-intervention","canHide":true,"canMaximize":true,"width":"narrow"},{"name":"preauth-form-workspace","title":"Raise Preauth","component":"preauthFormWorkspace","type":"preauth-form","canHide":true,"canMaximize":true,"width":"wider"},{"name":"pay-cash-workspace","title":"Pay Cash","component":"payCashWorkspace","type":"workspace","canHide":true,"canMaximize":true,"width":"narrow"}],"workspaces2":[{"name":"admissions-form-entry","component":"formEntryWorkspace","window":"admissions-form-window"}],"workspaceWindows2":[{"name":"admissions-form-window","group":"admissions-form-group","canMaximize":true,"width":"extra-wide"}],"workspaceGroups2":[{"name":"admissions-form-group","scopePattern":"/admissions-clinical-forms","persistence":"closable","overlay":false}],"modals":[{"name":"sign-off-queue-entry-modal","component":"signOffModal"}],"version":"4.0.0-claim-workflows.293"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{},"pages":[{"component":"root","route":"dha-workflow","online":true,"offline":true}],"extensions":[{"component":"navLinks","name":"side-nav-workflow-links","slot":"dha-workflow-slot","online":true,"offline":true},{"name":"dha-workflow-dashboard-link","component":"dhaWorkflowDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Facility Dashboard"],"meta":{"name":"dashboard","slot":"dha-workflow-dashboard-slot","title":"Dashboard"},"online":true,"offline":true,"order":1},{"component":"dhaWorkflowDashboard","name":"dashboardExt","slot":"dha-workflow-dashboard-slot"},{"name":"registry-dashboard-link","component":"registryDashboardLink","slot":"homepage-dashboard-slot","meta":{"name":"registration","slot":"client-registry-dashboard-slot","title":"Registration"},"online":true,"offline":true,"order":0},{"component":"registryExtension","name":"registry","slot":"client-registry-dashboard-slot","privileges":["O3 View Client Registry Dashboard"]},{"name":"triage-dashboard-link","component":"triageDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Triage Dashboard"],"meta":{"name":"triage","slot":"triage-queue-dashboard-slot","title":"Triage"},"online":true,"offline":false},{"component":"triageQueueExtension","name":"triage","slot":"triage-queue-dashboard-slot","privileges":["O3 View Triage Dashboard"]},{"name":"consultation-dashboard-link","component":"consultationDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Consultation Dashboard"],"meta":{"name":"consultation","slot":"consultation-dashboard-slot","title":"Consultation"},"online":true,"offline":false},{"component":"consultationQueue","name":"consultation","slot":"consultation-dashboard-slot","privileges":["O3 View Consultation Dashboard"]},{"name":"mnch-dashboard-link","component":"mnchQueueDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View MNCH Dashboard"],"meta":{"name":"mnch","slot":"mnch-dashboard-slot","title":"MNCH"},"online":true,"offline":true},{"component":"MNCHRoot","name":"mnch","slot":"mnch-dashboard-slot","privileges":["O3 View MNCH Dashboard"]},{"name":"specialized-clinics-dashboard-link","component":"specializedClinicsDashboardLink","slot":"homepage-dashboard-slot","privileges":[],"meta":{"name":"specialized-clinics","slot":"specialized-clinics-dashboard-slot","title":"Specialized Clinics"},"online":true,"offline":true},{"component":"SpecializedClinicsRoot","name":"specialized-clinics","slot":"specialized-clinics-dashboard-slot","privileges":[]},{"name":"pharmacy-dashboard-link","component":"pharmacyDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Pharmacy Dashboard"],"meta":{"name":"dispensing","slot":"dispensing-dashboard-slot","title":"Pharmacy"},"online":true,"offline":true},{"name":"bookings-dashboard-link","component":"bookingsDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Bookings Dashboard"],"meta":{"name":"bookings","slot":"bookings-dashboard-slot","title":"Bookings"},"online":true,"offline":true},{"component":"bookings","name":"bookings","slot":"bookings-dashboard-slot","privileges":["O3 View Bookings Dashboard"]},{"name":"service-queue-admin-dashboard-link","component":"serviceQueuesAdminLink","privileges":["O3 View Service Queue Admin Panel"],"slot":"app-menu-slot","meta":{"name":"service-queue-admin","slot":"service-queue-admin-dashboard-slot","title":"Service Queue Admin"},"online":true,"offline":true},{"component":"serviceQueueAdmin","name":"service-queue-admin","slot":"service-queue-admin-dashboard-slot","privileges":["O3 View Service Queue Admin Panel"]},{"name":"admissions-dashboard-link","component":"admissionsDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Admissions Dashboard"],"meta":{"name":"admissions-dashboard","slot":"admissions-dashboard-slot","title":"Admissions Dashboard"},"online":true,"offline":true},{"component":"admissionsDashboard","name":"admissions-dashboard","slot":"admissions-dashboard-slot","privileges":["O3 View Admissions Dashboard"]},{"component":"serviceQueueBannerComponent","name":"service-queue-banne","slot":"patient-banner-tags-slot"},{"name":"admissions-summary-dashboard","slot":"patient-chart-dashboard-slot","component":"patientChartAdmissionsLink","meta":{"slot":"patient-chart-admissions-summary-dashboard-slot","path":"Admissions","layoutMode":"anchored"},"online":true,"offline":true},{"name":"admission-details","slot":"patient-chart-admissions-summary-dashboard-slot","component":"patientAdmissionSummary","order":1,"meta":{"title":"Admissions","view":"admissions"},"online":true,"offline":true},{"name":"case-summary-dashboard","slot":"patient-chart-dashboard-slot","component":"caseSummaryLink","meta":{"slot":"patient-chart-case-summary-dashboard-slot","path":"case-summary","layoutMode":"anchored"},"online":true,"offline":true},{"name":"case-summary-details","slot":"patient-chart-case-summary-dashboard-slot","component":"caseSummary","order":1,"meta":{"title":"Visit Case Summary","view":"case-summary"},"online":true,"offline":true},{"name":"ampath-billing-dashboard-link","component":"billingDashboardLink","slot":"homepage-dashboard-slot","privileges":["O3 View Accounting Dashboard"],"meta":{"name":"billing","slot":"ampath-billing-dashboard-slot","title":"Accounting"},"online":true,"offline":true},{"component":"billingRoot","name":"billing","slot":"ampath-billing-dashboard-slot","privileges":["O3 View Accounting Dashboard"]},{"name":"ampath-billing-checkin-form","slot":"extra-visit-attribute-slot","component":"visitBillingForm"},{"name":"claims","slot":"billing-claims-slot","component":"claims"},{"name":"preauths-modal","component":"preauthsModal"},{"name":"generate-order-bill-button-slot","slot":"generate-order-bill-button-slot","component":"generateOrderBillButton"}],"workspaces":[{"name":"create-order-bill-form-workspace","component":"createOrderBillFormWorkspace","title":"Create order Bill","type":"other-form"},{"name":"upload-intervention-attachments-workspace","title":"Upload Attachments","component":"uploadInterventionAttachmentsWorkspace","type":"upload-intervention-attachments","canHide":true,"canMaximize":true,"width":"narrow"},{"name":"generate-intervention-attachments-workspace","title":"GenerateAttachments","component":"generateInterventionAttachmentsWorkspace","type":"generate-intervention-attachments","canHide":true,"canMaximize":true,"width":"narrow"},{"name":"bill-item-payment-workspace","title":"Bill item payment","component":"billItemPaymentWorkspace","type":"bill-item-payment","canHide":true,"width":"narrow"},{"name":"add-claim-line-workspace","title":"Add claim line","component":"addClaimLineWorkspace","type":"add-claim-line","canHide":true,"width":"narrow"},{"name":"switch-intervention-workspace","title":"Switch Intervention","component":"switchInterventionWorkspace","type":"switch-intervention","canHide":true,"canMaximize":true,"width":"narrow"},{"name":"preauth-form-workspace","title":"Raise Preauth","component":"preauthFormWorkspace","type":"preauth-form","canHide":true,"canMaximize":true,"width":"wider"},{"name":"pay-cash-workspace","title":"Pay Cash","component":"payCashWorkspace","type":"workspace","canHide":true,"canMaximize":true,"width":"narrow"}],"workspaces2":[{"name":"admissions-form-entry","component":"formEntryWorkspace","window":"admissions-form-window"}],"workspaceWindows2":[{"name":"admissions-form-window","group":"admissions-form-group","canMaximize":true,"width":"extra-wide"}],"workspaceGroups2":[{"name":"admissions-form-group","scopePattern":"/admissions-clinical-forms","persistence":"closable","overlay":false}],"modals":[{"name":"sign-off-queue-entry-modal","component":"signOffModal"}],"version":"4.0.0-claim-workflows.294"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampath/esm-dha-workflow-app",
3
- "version": "4.0.0-claim-workflows.293",
3
+ "version": "4.0.0-claim-workflows.294",
4
4
  "license": "MPL-2.0",
5
5
  "description": "An OpenMRS seed application for building microfrontends",
6
6
  "browser": "dist/esm-dha-workflow-app.js",
@@ -4,7 +4,7 @@ import { Button, InlineLoading } from '@carbon/react';
4
4
  import styles from './generate-order-bill-button.scss';
5
5
  import { Order } from '@openmrs/esm-patient-common-lib';
6
6
 
7
- type BillStatus = 'BLANK' | 'PENDING' | 'PAID' | 'POSTED' | 'PENDING PREAUTHORIZATION' | 'NEEDS PREAUTHORIZATION' | 'AWAITING CLAIM VISIT';
7
+ type BillStatus = 'BLANK' | 'PENDING' | 'PAID' | 'POSTED' | 'PENDING PREAUTHORIZATION' | 'NEEDS PREAUTHORIZATION' | 'AWAITING CLAIM VISIT' | 'PREAUTHORIZATION REJECTED';
8
8
 
9
9
  interface GenerateOrderBillButtonProps {
10
10
  order: Order;
@@ -41,6 +41,10 @@ const GenerateOrderBillButton: React.FC<GenerateOrderBillButtonProps> = ({
41
41
  <Button className={styles.actionButton} size="sm" kind="tertiary" key={order.uuid}>
42
42
  {t('awaitingClaimVisit', 'Awaiting claim visit')}
43
43
  </Button>
44
+ ) : billStatus === 'PREAUTHORIZATION REJECTED' ? (
45
+ <Button className={styles.actionButton} size="sm" kind="danger" key={order.uuid}>
46
+ {t('preauthorizationRejected', 'Preauthorization rejected')}
47
+ </Button>
44
48
  ) : billStatus === 'BLANK' ? (
45
49
  <Button className={styles.actionButton} size="sm" kind="primary" key={order.uuid} onClick={launchBillWorkspace}>
46
50
  {t('generateBill', 'Generate bill')}