@openmrs/esm-patient-orders-app 11.3.1-pre.9294 → 11.3.1-pre.9304
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/.turbo/turbo-build.log +5 -5
- package/dist/1119.js +1 -1
- package/dist/1197.js +1 -1
- package/dist/2146.js +1 -1
- package/dist/2690.js +1 -1
- package/dist/3099.js +1 -1
- package/dist/3584.js +1 -1
- package/dist/4055.js +1 -1
- package/dist/4132.js +1 -1
- package/dist/4300.js +1 -1
- package/dist/4335.js +1 -1
- package/dist/4618.js +1 -1
- package/dist/4652.js +1 -1
- package/dist/4944.js +1 -1
- package/dist/5173.js +1 -1
- package/dist/5241.js +1 -1
- package/dist/5442.js +1 -1
- package/dist/5661.js +1 -1
- package/dist/6022.js +1 -1
- package/dist/6468.js +1 -1
- package/dist/6679.js +1 -1
- package/dist/6840.js +1 -1
- package/dist/6859.js +1 -1
- package/dist/7097.js +1 -1
- package/dist/7159.js +1 -1
- package/dist/7202.js +1 -1
- package/dist/7202.js.map +1 -1
- package/dist/723.js +1 -1
- package/dist/7617.js +1 -1
- package/dist/795.js +1 -1
- package/dist/8163.js +1 -1
- package/dist/8349.js +1 -1
- package/dist/8618.js +1 -1
- package/dist/8625.js +1 -1
- package/dist/8625.js.map +1 -1
- package/dist/8803.js +1 -1
- package/dist/8803.js.map +1 -1
- package/dist/890.js +1 -1
- package/dist/8960.js +1 -1
- package/dist/8960.js.map +1 -1
- package/dist/9214.js +1 -1
- package/dist/9538.js +1 -1
- package/dist/9569.js +1 -1
- package/dist/986.js +1 -1
- package/dist/9879.js +1 -1
- package/dist/9895.js +1 -1
- package/dist/9900.js +1 -1
- package/dist/9913.js +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-patient-orders-app.js +1 -1
- package/dist/openmrs-esm-patient-orders-app.js.buildmanifest.json +133 -133
- package/dist/routes.json +1 -1
- package/package.json +2 -2
- package/src/api/api.ts +16 -9
- package/src/components/order-details-table.component.tsx +16 -6
- package/src/lab-results/lab-results-form.test.tsx +2 -0
- package/src/order-basket/general-order-type/general-order-form/general-order-form.component.tsx +2 -1
- package/src/order-basket/general-order-type/general-order-type.component.tsx +3 -2
- package/src/order-basket/general-order-type/orderable-concept-search/orderable-concept-search.workspace.tsx +19 -5
- package/src/order-basket/general-order-type/orderable-concept-search/search-results.component.tsx +6 -1
- package/src/order-basket/order-basket.workspace.tsx +37 -16
- package/src/order-basket-action-button/order-basket-action-button.extension.tsx +11 -3
- package/src/order-basket-action-button/order-basket-action-button.test.tsx +6 -30
- package/translations/am.json +0 -1
- package/translations/ar.json +0 -1
- package/translations/ar_SY.json +0 -1
- package/translations/bn.json +0 -1
- package/translations/de.json +0 -1
- package/translations/en.json +0 -1
- package/translations/en_US.json +0 -1
- package/translations/es.json +0 -1
- package/translations/es_MX.json +0 -1
- package/translations/fr.json +0 -1
- package/translations/he.json +0 -1
- package/translations/hi.json +0 -1
- package/translations/hi_IN.json +0 -1
- package/translations/id.json +0 -1
- package/translations/it.json +0 -1
- package/translations/ka.json +0 -1
- package/translations/km.json +0 -1
- package/translations/ku.json +0 -1
- package/translations/ky.json +0 -1
- package/translations/lg.json +0 -1
- package/translations/ne.json +0 -1
- package/translations/pl.json +0 -1
- package/translations/pt.json +0 -1
- package/translations/pt_BR.json +0 -1
- package/translations/qu.json +0 -1
- package/translations/ro_RO.json +0 -1
- package/translations/ru_RU.json +0 -1
- package/translations/si.json +0 -1
- package/translations/sw.json +0 -1
- package/translations/sw_KE.json +0 -1
- package/translations/tr.json +0 -1
- package/translations/tr_TR.json +0 -1
- package/translations/uk.json +0 -1
- package/translations/uz.json +0 -1
- package/translations/uz@Latn.json +0 -1
- package/translations/uz_UZ.json +0 -1
- package/translations/vi.json +0 -1
- package/translations/zh.json +0 -1
- package/translations/zh_CN.json +0 -1
package/dist/8625.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.webpackChunk_openmrs_esm_patient_orders_app=globalThis.webpackChunk_openmrs_esm_patient_orders_app||[]).push([[8625],{1347:(e,n,t)=>{"use strict";t.d(n,{Dd:()=>$,KH:()=>x,OF:()=>v,W4:()=>h,X1:()=>m,eY:()=>w,kf:()=>C,mV:()=>b,oi:()=>y,rf:()=>k});var a=t(54440),r=t(71123),o=t(1343);function l(e,n,t,a,r,o,l){try{var i=e[o](l),d=i.value}catch(e){return void t(e)}i.done?n(d):Promise.resolve(d).then(a,r)}function i(e){return function(){var n=this,t=arguments;return new Promise((function(a,r){var o=e.apply(n,t);function i(e){l(o,a,r,i,d,"next",e)}function d(e){l(o,a,r,i,d,"throw",e)}i(void 0)}))}}function d(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function s(e,n){var t,a,r,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return l.next=i(0),l.throw=i(1),l.return=i(2),"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function i(i){return function(d){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;l&&(l=0,i[0]&&(o=0)),o;)try{if(t=1,a&&(r=2&i[0]?a.return:i[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,i[1])).done)return r;switch(a=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,a=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){o.label=i[1];break}if(6===i[0]&&o.label<r[1]){o.label=r[1],r=i;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(i);break}r[2]&&o.ops.pop(),o.trys.pop();continue}i=n.call(e,o)}catch(e){i=[6,e],a=0}finally{t=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,d])}}}var c="custom:(uuid,encounterDatetime,encounterType:(uuid,display),location:(uuid,name),patient:(uuid,display,person:(uuid,display,gender,age)),encounterProviders:(uuid,provider:(uuid,name)),obs:(uuid,obsDatetime,voided,groupMembers,formFieldNamespace,formFieldPath,order:(uuid,display),concept:(uuid,name:(uuid,name)),value:(uuid,display,name:(uuid,name),names:(uuid,conceptNameType,name)))",u="custom:(uuid,display,name,datatype,set,answers,hiNormal,hiAbsolute,hiCritical,lowNormal,lowAbsolute,lowCritical,units,allowDecimal,setMembers:(uuid,display,answers,datatype,hiNormal,hiAbsolute,hiCritical,lowNormal,lowAbsolute,lowCritical,units,allowDecimal,set,setMembers:(uuid)))",f="custom:(uuid,display,concept:(uuid,display),groupMembers,value)";function p(e){return"".concat(a.restBaseUrl,"/concept/").concat(e,"?v=").concat(u)}function g(e){return i((function(){var n,t,r,o,l;return s(this,(function(i){switch(i.label){case 0:return[4,(0,a.openmrsFetch)(p(e))];case 1:return n=i.sent(),t=n.data,(r=t.set?t.setMembers.map((function(e){return e.set?e.setMembers.map((function(e){return e.uuid})):[]})).flat():[]).length>0?[4,Promise.all(r.map((function(e){return g(e)})))]:[3,3];case 2:o=i.sent(),l=o.reduce((function(e,n){return e[n.uuid]=n,e}),{}),t.setMembers=t.setMembers.map((function(e){return e.set&&(e.setMembers=e.setMembers.map((function(e){return l[e.uuid]}))),e})),i.label=3;case 3:return[2,t]}}))}))()}function y(e){"".concat(a.restBaseUrl,"/concept/").concat(e,"?v=").concat(u);var n=(0,r.Ay)(e,g),t=n.data,l=n.error,i=n.isLoading,d=n.isValidating,s=n.mutate;return(0,o.useMemo)((function(){return{concept:t,isLoading:i,error:l,isValidating:d,mutate:s}}),[t,l,i,d,s])}function h(e){var n="".concat(a.restBaseUrl,"/encounter/").concat(e,"?v=").concat(c),t=(0,r.Ay)(n,a.openmrsFetch),o=t.data,l=t.error,i=t.isLoading,d=t.isValidating,s=t.mutate;return{encounter:null==o?void 0:o.data,isLoading:i,error:l,isValidating:d,mutate:s}}function b(e){var n,t,o,l,i,d,s,c,u,p,g=h(e.encounter.uuid),y=g.encounter,b=g.isLoading,m=g.mutate,$=g.error,v=(o=null!==(t=null==y||null===(n=y.obs.find((function(n){var t,a;return(null==n||null===(t=n.concept)||void 0===t?void 0:t.uuid)===(null==e||null===(a=e.concept)||void 0===a?void 0:a.uuid)})))||void 0===n?void 0:n.uuid)&&void 0!==t?t:"",l="".concat(a.restBaseUrl,"/obs/").concat(o,"?v=").concat(f),d=(i=(0,r.Ay)(o?l:null,a.openmrsFetch)).data,s=i.error,c=i.isLoading,u=i.isValidating,p=i.mutate,{data:null==d?void 0:d.data,isLoading:c,error:s,isValidating:u,mutate:p}),A=v.error,_=v.mutate;return{isLoading:b||v.isLoading,completeLabResult:v.data,mutate:function(){m(),_()},error:null!=A?A:$}}function m(e,n,t,r,o,l){return i((function(){return s(this,(function(i){switch(i.label){case 0:return[4,(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/encounter/").concat(n),{method:"POST",headers:{"Content-Type":"application/json"},signal:l.signal,body:t})];case 1:return i.sent().ok?[4,(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/order"),{method:"POST",headers:{"Content-Type":"application/json"},signal:l.signal,body:o})]:[3,4];case 2:return 201!==i.sent().status?[3,4]:[4,(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/order/").concat(e,"/fulfillerdetails/"),{method:"POST",headers:{"Content-Type":"application/json"},signal:l.signal,body:r})];case 3:return[2,i.sent()];case 4:throw new Error("Failed to update order")}}))}))()}function $(e,n,t,a){if(e.set&&e.setMembers.length>0){var r=e.setMembers.map((function(e){return function(e,n,t,a){var r=_(e,t);return null==r?null:{concept:{uuid:e.uuid},value:r,status:a,order:{uuid:n.uuid}}}(e,n,t,a)})).filter((function(e){return null!==e&&null!==e.value&&void 0!==e.value}));return 0===r.length?{obs:[]}:{obs:[A(n,r,null,a)]}}var o=_(e,t);return null==o?{obs:[]}:{obs:[A(n,null,o,a)]}}function v(e,n){return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/obs/").concat(e),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})}function A(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3?arguments[3]:void 0;return function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){d(e,n,t[n])}))}return e}({concept:{uuid:e.concept.uuid},status:a,order:{uuid:e.uuid}},n&&n.length>0&&{groupMembers:n},null!=t&&{value:t})}function _(e,n){var t=e.datatype,a=n[e.uuid];return null==a?null:["NM","ST"].includes(t.hl7Abbreviation)?a:"CWE"===t.hl7Abbreviation?{uuid:a}:null}var w=function(e){var n;return"Coded"===(null===(n=e.datatype)||void 0===n?void 0:n.display)},C=function(e){var n;return"Numeric"===(null===(n=e.datatype)||void 0===n?void 0:n.display)},k=function(e){var n;return(null===(n=e.setMembers)||void 0===n?void 0:n.length)>0},x=function(e){var n;return"Text"===(null===(n=e.datatype)||void 0===n?void 0:n.display)}},4167:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var a=t(30977),r=t.n(a),o=t(95924),l=t.n(o)()(r());l.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-orders__order-details-table__widgetCard___2K1Y2{border:1px solid #e0e0e0}.-esm-patient-orders__order-details-table__widgetCard___2K1Y2>.-esm-patient-orders__order-details-table__desktop___Ile0t{border-top:none !important}.-esm-patient-orders__order-details-table__row___t96Uq span{margin:auto}.-esm-patient-orders__order-details-table__row___t96Uq p{padding:.25rem 0}.-esm-patient-orders__order-details-table__tooltip___j101l{margin:0 -0.5rem -0.625rem}.-esm-patient-orders__order-details-table__menuItem___NAyS3{max-width:none}.-esm-patient-orders__order-details-table__dropdownContainer___TSUPs{min-width:max-content;margin-right:1rem}.-esm-patient-orders__order-details-table__dropdownContainer___TSUPs .cds--dropdown__wrapper--inline{grid-gap:0 .5rem}.-esm-patient-orders__order-details-table__buttons___PApux{justify-content:flex-end}.-esm-patient-orders__order-details-table__priorityPill___0fNyF{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);background-color:#e0e0e0;border-radius:1rem;padding:.125rem .5rem;text-align:center}.-esm-patient-orders__order-details-table__priorityPill___0fNyF[data-priority=routine]{background-color:#a7f0ba}.-esm-patient-orders__order-details-table__priorityPill___0fNyF[data-priority=stat]{background-color:#ffd7d9}.-esm-patient-orders__order-details-table__priorityPill___0fNyF[data-priority="on scheduled date"]{background-color:#e0e0e0}.-esm-patient-orders__order-details-table__statusPill___W1z4n{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);background-color:#e0e0e0;border-radius:1rem;padding:.125rem;padding-inline:.5rem;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status=received]{background-color:#d0e2ff}.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status="in progress"]{background-color:#bae6ff}.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status="on hold"]{background-color:#9ef0f0}.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status=exception]{background-color:#ffd6e8}.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status=completed]{background-color:#a7f0ba}.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status=discontinued],.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status=declined]{background-color:#ffd7d9}.-esm-patient-orders__order-details-table__tile___u4dl\\+{text-align:center;border-bottom:1px solid #e0e0e0}.-esm-patient-orders__order-details-table__tile___u4dl\\+ .-esm-patient-orders__order-details-table__message___24mT1{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);color:#525252}.-esm-patient-orders__order-details-table__table___rLxf3 td::after{display:none}.-esm-patient-orders__order-details-table__hiddenRow___QQ3np{display:none}.-esm-patient-orders__order-details-table__layer___tnoB3{height:100%}.-esm-patient-orders__order-details-table__unknownOrderTypeText___gqDTx{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-patient-orders__order-details-table__paginationContainer___ru34z>div{border-top:none !important}.-esm-patient-orders__order-details-table__toolBarContent___4b5k1{background-color:#f4f4f4}.-esm-patient-orders__order-details-table__toolBarContent___4b5k1 .cds--table-toolbar-content{width:100%}.-esm-patient-orders__order-details-table__toolBarContent___4b5k1 .cds--search{width:100%;max-width:none}.-esm-patient-orders__order-details-table__content___g2qPN{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252;margin-bottom:.5rem}.-esm-patient-orders__order-details-table__tileContainer___78LEr{background-color:#fff;border-top:1px solid #525252;padding:5rem 0}.-esm-patient-orders__order-details-table__emptyStateTile___RhDa9{margin:auto;width:fit-content}.-esm-patient-orders__order-details-table__tileContent___esAfW{display:flex;flex-direction:column;align-items:center}.-esm-patient-orders__order-details-table__helperText___pZBVE,.-esm-patient-orders__order-details-table__inlineDateRange___CHq4o .cds--label{font-size:var(--cds-helper-text-02-font-size, 0.875rem);font-weight:var(--cds-helper-text-02-font-weight, 400);line-height:var(--cds-helper-text-02-line-height, 1.28572);letter-spacing:var(--cds-helper-text-02-letter-spacing, 0.16px)}.-esm-patient-orders__order-details-table__button___A3hlc svg,.-esm-patient-orders__order-details-table__addButton___NNlCm svg,.-esm-patient-orders__order-details-table__printButton___DJRkL svg{fill:currentColor !important}.-esm-patient-orders__order-details-table__printButton___DJRkL{margin-left:1.25rem}@media print{html,body{margin:0 !important;width:fit-content;padding:0 !important;overflow:hidden;page-break-inside:avoid}}.-esm-patient-orders__order-details-table__filterContainer___Jv-FC{display:flex;align-items:center}.-esm-patient-orders__order-details-table__inlineDateRange___CHq4o .cds--form-item{margin-top:0;margin-bottom:0}.-esm-patient-orders__order-details-table__inlineDateRange___CHq4o .cds--date-picker-container{display:inline-grid;grid-auto-flow:column;align-items:center;grid-column-gap:.5rem}.-esm-patient-orders__order-details-table__inlineDateRange___CHq4o .cds--label{margin-right:0;margin-bottom:0}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/components/order-details-table.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/colors/index.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCxDF,8DACE,wBAAA,CAEA,yHACE,0BAAA,CAKF,4DACE,WAAA,CAGF,yDACE,gBAAA,CAIJ,2DACE,0BAAA,CAGF,4DACE,cAAA,CAGF,qEACE,qBAAA,CACA,iBCFW,CDIX,qGACE,gBAAA,CAIJ,2DACE,wBAAA,CAGF,gEEszBI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CFpzBF,wBGHQ,CHIR,kBChBW,CDiBX,qBAAA,CACA,iBAAA,CAGA,uFACE,wBAAA,CAGF,oFACE,wBGoCK,CHjCP,mGACE,wBGlBM,CHsBV,8DEiyBI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CF/xBF,wBGxBQ,CHyBR,kBCrCW,CDsCX,eC1DW,CD2DX,oBCjDW,CDkDX,iBAAA,CAEA,kBAAA,CACA,eAAA,CACA,sBAAA,CAEA,oFACE,wBGjEM,CHoER,yFACE,wBGjDM,CHoDR,qFACE,wBGiBM,CHdR,qFACE,wBG3BS,CH8BX,qFACE,wBGzCO,CH4CT,4KAEE,wBGNK,CHUT,yDACE,iBAAA,CACA,+BAAA,CAEA,oHEuvBE,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CFrvBA,aDtGM,CC4GN,mEACE,YAAA,CAKN,6DACE,YAAA,CAGF,yDACE,WAAA,CAGF,wEEiuBI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CF5tBF,2EACE,0BAAA,CAIJ,kEACE,wBGlGQ,CHoGR,8FACE,UAAA,CAGF,+EACE,UAAA,CACA,cAAA,CAIJ,2DE0sBI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFxsBF,aG1GQ,CH2GR,mBCtIW,CDyIb,iEACE,qBGrCQ,CHsCR,4BAAA,CACA,cAAA,CAGF,kEACE,WAAA,CACA,iBAAA,CAGF,+DACE,YAAA,CACA,qBAAA,CACA,kBAAA,CAGF,6IEmrBI,uDAAA,CAAA,sDAAA,CAAA,0DAAA,CAAA,+DAAA,CF9qBF,kMACE,4BAAA,CAIJ,+DACE,mBAAA,CAQF,aACE,UAEE,mBAAA,CACA,iBAAA,CACA,oBAAA,CACA,eAAA,CACA,uBAAA,CAAA,CAIJ,mEACE,YAAA,CACA,kBAAA,CAIA,mFACE,YAAA,CACA,eAAA,CAEF,+FACE,mBAAA,CACA,qBAAA,CACA,kBAAA,CACA,qBCtMS,CDwMX,+EAEE,cAAA,CACA,eAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as vars;\n\n.widgetCard {\n border: 1px solid colors.$gray-20;\n\n > .desktop {\n border-top: none !important;\n }\n}\n\n.row {\n span {\n margin: auto;\n }\n\n p {\n padding: layout.$spacing-02 0;\n }\n}\n\n.tooltip {\n margin: 0 (-(layout.$spacing-03)) -0.625rem;\n}\n\n.menuItem {\n max-width: none;\n}\n\n.dropdownContainer {\n min-width: max-content;\n margin-right: layout.$spacing-05;\n\n :global(.cds--dropdown__wrapper--inline) {\n grid-gap: 0 0.5rem;\n }\n}\n\n.buttons {\n justify-content: flex-end;\n}\n\n.priorityPill {\n @include type.type-style('label-01');\n background-color: colors.$gray-20;\n border-radius: layout.$spacing-05;\n padding: layout.$spacing-01 layout.$spacing-03;\n text-align: center;\n\n // Match data attribute emitted by the component and real urgency values\n &[data-priority='routine'] {\n background-color: colors.$green-20;\n }\n\n &[data-priority='stat'] {\n background-color: colors.$red-20;\n }\n\n &[data-priority='on scheduled date'] {\n background-color: colors.$gray-20;\n }\n}\n\n.statusPill {\n @include type.type-style('label-01');\n background-color: colors.$gray-20;\n border-radius: layout.$spacing-05;\n padding: layout.$spacing-01;\n padding-inline: layout.$spacing-03;\n text-align: center;\n\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n &[data-status='received'] {\n background-color: colors.$blue-20;\n }\n\n &[data-status='in progress'] {\n background-color: colors.$cyan-20;\n }\n\n &[data-status='on hold'] {\n background-color: colors.$teal-20;\n }\n\n &[data-status='exception'] {\n background-color: colors.$magenta-20;\n }\n\n &[data-status='completed'] {\n background-color: colors.$green-20;\n }\n\n &[data-status='discontinued'],\n &[data-status='declined'] {\n background-color: colors.$red-20;\n }\n}\n\n.tile {\n text-align: center;\n border-bottom: 1px solid vars.$ui-03;\n\n .message {\n @include type.type-style('heading-compact-01');\n color: vars.$text-02;\n }\n}\n\n.table {\n td {\n &::after {\n display: none;\n }\n }\n}\n\n.hiddenRow {\n display: none;\n}\n\n.layer {\n height: 100%;\n}\n\n.unknownOrderTypeText {\n @include type.type-style('body-compact-01');\n}\n\n.paginationContainer {\n > div {\n border-top: none !important;\n }\n}\n\n.toolBarContent {\n background-color: colors.$gray-10;\n\n :global(.cds--table-toolbar-content) {\n width: 100%;\n }\n\n :global(.cds--search) {\n width: 100%;\n max-width: none;\n }\n}\n\n.content {\n @include type.type-style('heading-compact-02');\n color: colors.$gray-70;\n margin-bottom: layout.$spacing-03;\n}\n\n.tileContainer {\n background-color: colors.$white-0;\n border-top: 1px solid colors.$gray-70;\n padding: layout.$spacing-11 0;\n}\n\n.emptyStateTile {\n margin: auto;\n width: fit-content;\n}\n\n.tileContent {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.helperText {\n @include type.type-style('helper-text-02');\n}\n\n.button {\n svg {\n fill: currentColor !important;\n }\n}\n\n.printButton {\n margin-left: 1.25rem;\n @extend .button;\n}\n\n.addButton {\n @extend .button;\n}\n\n@media print {\n html,\n body {\n margin: 0 !important;\n width: fit-content;\n padding: 0 !important;\n overflow: hidden;\n page-break-inside: avoid;\n }\n}\n\n.filterContainer {\n display: flex;\n align-items: center;\n}\n\n.inlineDateRange {\n :global(.cds--form-item) {\n margin-top: 0;\n margin-bottom: 0;\n }\n :global(.cds--date-picker-container) {\n display: inline-grid;\n grid-auto-flow: column;\n align-items: center;\n grid-column-gap: layout.$spacing-03;\n }\n :global(.cds--label) {\n @extend .helperText;\n margin-right: 0;\n margin-bottom: 0;\n }\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","//\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// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/colors. 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$black: #000000 !default;\n$white: #ffffff !default;\n\n$black-100: #000000 !default;\n$blue-10: #edf5ff !default;\n$blue-20: #d0e2ff !default;\n$blue-30: #a6c8ff !default;\n$blue-40: #78a9ff !default;\n$blue-50: #4589ff !default;\n$blue-60: #0f62fe !default;\n$blue-70: #0043ce !default;\n$blue-80: #002d9c !default;\n$blue-90: #001d6c !default;\n$blue-100: #001141 !default;\n$cool-gray-10: #f2f4f8 !default;\n$cool-gray-20: #dde1e6 !default;\n$cool-gray-30: #c1c7cd !default;\n$cool-gray-40: #a2a9b0 !default;\n$cool-gray-50: #878d96 !default;\n$cool-gray-60: #697077 !default;\n$cool-gray-70: #4d5358 !default;\n$cool-gray-80: #343a3f !default;\n$cool-gray-90: #21272a !default;\n$cool-gray-100: #121619 !default;\n$cyan-10: #e5f6ff !default;\n$cyan-20: #bae6ff !default;\n$cyan-30: #82cfff !default;\n$cyan-40: #33b1ff !default;\n$cyan-50: #1192e8 !default;\n$cyan-60: #0072c3 !default;\n$cyan-70: #00539a !default;\n$cyan-80: #003a6d !default;\n$cyan-90: #012749 !default;\n$cyan-100: #061727 !default;\n$gray-10: #f4f4f4 !default;\n$gray-20: #e0e0e0 !default;\n$gray-30: #c6c6c6 !default;\n$gray-40: #a8a8a8 !default;\n$gray-50: #8d8d8d !default;\n$gray-60: #6f6f6f !default;\n$gray-70: #525252 !default;\n$gray-80: #393939 !default;\n$gray-90: #262626 !default;\n$gray-100: #161616 !default;\n$green-10: #defbe6 !default;\n$green-20: #a7f0ba !default;\n$green-30: #6fdc8c !default;\n$green-40: #42be65 !default;\n$green-50: #24a148 !default;\n$green-60: #198038 !default;\n$green-70: #0e6027 !default;\n$green-80: #044317 !default;\n$green-90: #022d0d !default;\n$green-100: #071908 !default;\n$magenta-10: #fff0f7 !default;\n$magenta-20: #ffd6e8 !default;\n$magenta-30: #ffafd2 !default;\n$magenta-40: #ff7eb6 !default;\n$magenta-50: #ee5396 !default;\n$magenta-60: #d02670 !default;\n$magenta-70: #9f1853 !default;\n$magenta-80: #740937 !default;\n$magenta-90: #510224 !default;\n$magenta-100: #2a0a18 !default;\n$orange-10: #fff2e8 !default;\n$orange-20: #ffd9be !default;\n$orange-30: #ffb784 !default;\n$orange-40: #ff832b !default;\n$orange-50: #eb6200 !default;\n$orange-60: #ba4e00 !default;\n$orange-70: #8a3800 !default;\n$orange-80: #5e2900 !default;\n$orange-90: #3e1a00 !default;\n$orange-100: #231000 !default;\n$purple-10: #f6f2ff !default;\n$purple-20: #e8daff !default;\n$purple-30: #d4bbff !default;\n$purple-40: #be95ff !default;\n$purple-50: #a56eff !default;\n$purple-60: #8a3ffc !default;\n$purple-70: #6929c4 !default;\n$purple-80: #491d8b !default;\n$purple-90: #31135e !default;\n$purple-100: #1c0f30 !default;\n$red-10: #fff1f1 !default;\n$red-20: #ffd7d9 !default;\n$red-30: #ffb3b8 !default;\n$red-40: #ff8389 !default;\n$red-50: #fa4d56 !default;\n$red-60: #da1e28 !default;\n$red-70: #a2191f !default;\n$red-80: #750e13 !default;\n$red-90: #520408 !default;\n$red-100: #2d0709 !default;\n$teal-10: #d9fbfb !default;\n$teal-20: #9ef0f0 !default;\n$teal-30: #3ddbd9 !default;\n$teal-40: #08bdba !default;\n$teal-50: #009d9a !default;\n$teal-60: #007d79 !default;\n$teal-70: #005d5d !default;\n$teal-80: #004144 !default;\n$teal-90: #022b30 !default;\n$teal-100: #081a1c !default;\n$warm-gray-10: #f7f3f2 !default;\n$warm-gray-20: #e5e0df !default;\n$warm-gray-30: #cac5c4 !default;\n$warm-gray-40: #ada8a8 !default;\n$warm-gray-50: #8f8b8b !default;\n$warm-gray-60: #726e6e !default;\n$warm-gray-70: #565151 !default;\n$warm-gray-80: #3c3838 !default;\n$warm-gray-90: #272525 !default;\n$warm-gray-100: #171414 !default;\n$white-0: #ffffff !default;\n$yellow-10: #fcf4d6 !default;\n$yellow-20: #fddc69 !default;\n$yellow-30: #f1c21b !default;\n$yellow-40: #d2a106 !default;\n$yellow-50: #b28600 !default;\n$yellow-60: #8e6a00 !default;\n$yellow-70: #684e00 !default;\n$yellow-80: #483700 !default;\n$yellow-90: #302400 !default;\n$yellow-100: #1c1500 !default;\n\n$white-hover: #e8e8e8 !default;\n$black-hover: #212121 !default;\n$blue-10-hover: #dbebff !default;\n$blue-20-hover: #b8d3ff !default;\n$blue-30-hover: #8ab6ff !default;\n$blue-40-hover: #5c97ff !default;\n$blue-50-hover: #1f70ff !default;\n$blue-60-hover: #0050e6 !default;\n$blue-70-hover: #0053ff !default;\n$blue-80-hover: #0039c7 !default;\n$blue-90-hover: #00258a !default;\n$blue-100-hover: #001f75 !default;\n$cool-gray-10-hover: #e4e9f1 !default;\n$cool-gray-20-hover: #cdd3da !default;\n$cool-gray-30-hover: #adb5bd !default;\n$cool-gray-40-hover: #9199a1 !default;\n$cool-gray-50-hover: #757b85 !default;\n$cool-gray-60-hover: #585e64 !default;\n$cool-gray-70-hover: #5d646a !default;\n$cool-gray-80-hover: #434a51 !default;\n$cool-gray-90-hover: #2b3236 !default;\n$cool-gray-100-hover: #222a2f !default;\n$cyan-10-hover: #cceeff !default;\n$cyan-20-hover: #99daff !default;\n$cyan-30-hover: #57beff !default;\n$cyan-40-hover: #059fff !default;\n$cyan-50-hover: #0f7ec8 !default;\n$cyan-60-hover: #005fa3 !default;\n$cyan-70-hover: #0066bd !default;\n$cyan-80-hover: #00498a !default;\n$cyan-90-hover: #013360 !default;\n$cyan-100-hover: #0b2947 !default;\n$gray-10-hover: #e8e8e8 !default;\n$gray-20-hover: #d1d1d1 !default;\n$gray-30-hover: #b5b5b5 !default;\n$gray-40-hover: #999999 !default;\n$gray-50-hover: #7a7a7a !default;\n$gray-60-hover: #5e5e5e !default;\n$gray-70-hover: #636363 !default;\n$gray-80-hover: #474747 !default;\n$gray-90-hover: #333333 !default;\n$gray-100-hover: #292929 !default;\n$green-10-hover: #b6f6c8 !default;\n$green-20-hover: #74e792 !default;\n$green-30-hover: #36ce5e !default;\n$green-40-hover: #3bab5a !default;\n$green-50-hover: #208e3f !default;\n$green-60-hover: #166f31 !default;\n$green-70-hover: #11742f !default;\n$green-80-hover: #05521c !default;\n$green-90-hover: #033b11 !default;\n$green-100-hover: #0d300f !default;\n$magenta-10-hover: #ffe0ef !default;\n$magenta-20-hover: #ffbdda !default;\n$magenta-30-hover: #ff94c3 !default;\n$magenta-40-hover: #ff57a0 !default;\n$magenta-50-hover: #e3176f !default;\n$magenta-60-hover: #b0215f !default;\n$magenta-70-hover: #bf1d63 !default;\n$magenta-80-hover: #8e0b43 !default;\n$magenta-90-hover: #68032e !default;\n$magenta-100-hover: #53142f !default;\n$orange-10-hover: #ffe2cc !default;\n$orange-20-hover: #ffc69e !default;\n$orange-30-hover: #ff9d57 !default;\n$orange-40-hover: #fa6800 !default;\n$orange-50-hover: #cc5500 !default;\n$orange-60-hover: #9e4200 !default;\n$orange-70-hover: #a84400 !default;\n$orange-80-hover: #753300 !default;\n$orange-90-hover: #522200 !default;\n$orange-100-hover: #421e00 !default;\n$purple-10-hover: #ede5ff !default;\n$purple-20-hover: #dcc7ff !default;\n$purple-30-hover: #c5a3ff !default;\n$purple-40-hover: #ae7aff !default;\n$purple-50-hover: #9352ff !default;\n$purple-60-hover: #7822fb !default;\n$purple-70-hover: #7c3dd6 !default;\n$purple-80-hover: #5b24ad !default;\n$purple-90-hover: #40197b !default;\n$purple-100-hover: #341c59 !default;\n$red-10-hover: #ffe0e0 !default;\n$red-20-hover: #ffc2c5 !default;\n$red-30-hover: #ff99a0 !default;\n$red-40-hover: #ff6168 !default;\n$red-50-hover: #ee0713 !default;\n$red-60-hover: #b81922 !default;\n$red-70-hover: #c21e25 !default;\n$red-80-hover: #921118 !default;\n$red-90-hover: #66050a !default;\n$red-100-hover: #540d11 !default;\n$teal-10-hover: #acf6f6 !default;\n$teal-20-hover: #57e5e5 !default;\n$teal-30-hover: #25cac8 !default;\n$teal-40-hover: #07aba9 !default;\n$teal-50-hover: #008a87 !default;\n$teal-60-hover: #006b68 !default;\n$teal-70-hover: #007070 !default;\n$teal-80-hover: #005357 !default;\n$teal-90-hover: #033940 !default;\n$teal-100-hover: #0f3034 !default;\n$warm-gray-10-hover: #f0e8e6 !default;\n$warm-gray-20-hover: #d8d0cf !default;\n$warm-gray-30-hover: #b9b3b1 !default;\n$warm-gray-40-hover: #9c9696 !default;\n$warm-gray-50-hover: #7f7b7b !default;\n$warm-gray-60-hover: #605d5d !default;\n$warm-gray-70-hover: #696363 !default;\n$warm-gray-80-hover: #4c4848 !default;\n$warm-gray-90-hover: #343232 !default;\n$warm-gray-100-hover: #2c2626 !default;\n$yellow-10-hover: #f8e6a0 !default;\n$yellow-20-hover: #fccd27 !default;\n$yellow-30-hover: #ddb00e !default;\n$yellow-40-hover: #bc9005 !default;\n$yellow-50-hover: #9e7700 !default;\n$yellow-60-hover: #755800 !default;\n$yellow-70-hover: #806000 !default;\n$yellow-80-hover: #5c4600 !default;\n$yellow-90-hover: #3d2e00 !default;\n$yellow-100-hover: #332600 !default;\n\n/// Colors from the IBM Design Language\n/// @access public\n/// @group @carbon/colors\n$colors: (\n black: (\n 100: #000000,\n ),\n blue: (\n 10: #edf5ff,\n 20: #d0e2ff,\n 30: #a6c8ff,\n 40: #78a9ff,\n 50: #4589ff,\n 60: #0f62fe,\n 70: #0043ce,\n 80: #002d9c,\n 90: #001d6c,\n 100: #001141,\n ),\n cool-gray: (\n 10: #f2f4f8,\n 20: #dde1e6,\n 30: #c1c7cd,\n 40: #a2a9b0,\n 50: #878d96,\n 60: #697077,\n 70: #4d5358,\n 80: #343a3f,\n 90: #21272a,\n 100: #121619,\n ),\n cyan: (\n 10: #e5f6ff,\n 20: #bae6ff,\n 30: #82cfff,\n 40: #33b1ff,\n 50: #1192e8,\n 60: #0072c3,\n 70: #00539a,\n 80: #003a6d,\n 90: #012749,\n 100: #061727,\n ),\n gray: (\n 10: #f4f4f4,\n 20: #e0e0e0,\n 30: #c6c6c6,\n 40: #a8a8a8,\n 50: #8d8d8d,\n 60: #6f6f6f,\n 70: #525252,\n 80: #393939,\n 90: #262626,\n 100: #161616,\n ),\n green: (\n 10: #defbe6,\n 20: #a7f0ba,\n 30: #6fdc8c,\n 40: #42be65,\n 50: #24a148,\n 60: #198038,\n 70: #0e6027,\n 80: #044317,\n 90: #022d0d,\n 100: #071908,\n ),\n magenta: (\n 10: #fff0f7,\n 20: #ffd6e8,\n 30: #ffafd2,\n 40: #ff7eb6,\n 50: #ee5396,\n 60: #d02670,\n 70: #9f1853,\n 80: #740937,\n 90: #510224,\n 100: #2a0a18,\n ),\n orange: (\n 10: #fff2e8,\n 20: #ffd9be,\n 30: #ffb784,\n 40: #ff832b,\n 50: #eb6200,\n 60: #ba4e00,\n 70: #8a3800,\n 80: #5e2900,\n 90: #3e1a00,\n 100: #231000,\n ),\n purple: (\n 10: #f6f2ff,\n 20: #e8daff,\n 30: #d4bbff,\n 40: #be95ff,\n 50: #a56eff,\n 60: #8a3ffc,\n 70: #6929c4,\n 80: #491d8b,\n 90: #31135e,\n 100: #1c0f30,\n ),\n red: (\n 10: #fff1f1,\n 20: #ffd7d9,\n 30: #ffb3b8,\n 40: #ff8389,\n 50: #fa4d56,\n 60: #da1e28,\n 70: #a2191f,\n 80: #750e13,\n 90: #520408,\n 100: #2d0709,\n ),\n teal: (\n 10: #d9fbfb,\n 20: #9ef0f0,\n 30: #3ddbd9,\n 40: #08bdba,\n 50: #009d9a,\n 60: #007d79,\n 70: #005d5d,\n 80: #004144,\n 90: #022b30,\n 100: #081a1c,\n ),\n warm-gray: (\n 10: #f7f3f2,\n 20: #e5e0df,\n 30: #cac5c4,\n 40: #ada8a8,\n 50: #8f8b8b,\n 60: #726e6e,\n 70: #565151,\n 80: #3c3838,\n 90: #272525,\n 100: #171414,\n ),\n white: (\n 0: #ffffff,\n ),\n yellow: (\n 10: #fcf4d6,\n 20: #fddc69,\n 30: #f1c21b,\n 40: #d2a106,\n 50: #b28600,\n 60: #8e6a00,\n 70: #684e00,\n 80: #483700,\n 90: #302400,\n 100: #1c1500,\n ),\n) !default;\n"],sourceRoot:""}]),l.locals={widgetCard:"-esm-patient-orders__order-details-table__widgetCard___2K1Y2",desktop:"-esm-patient-orders__order-details-table__desktop___Ile0t",row:"-esm-patient-orders__order-details-table__row___t96Uq",tooltip:"-esm-patient-orders__order-details-table__tooltip___j101l",menuItem:"-esm-patient-orders__order-details-table__menuItem___NAyS3",dropdownContainer:"-esm-patient-orders__order-details-table__dropdownContainer___TSUPs",buttons:"-esm-patient-orders__order-details-table__buttons___PApux",priorityPill:"-esm-patient-orders__order-details-table__priorityPill___0fNyF",statusPill:"-esm-patient-orders__order-details-table__statusPill___W1z4n",tile:"-esm-patient-orders__order-details-table__tile___u4dl+",message:"-esm-patient-orders__order-details-table__message___24mT1",table:"-esm-patient-orders__order-details-table__table___rLxf3",hiddenRow:"-esm-patient-orders__order-details-table__hiddenRow___QQ3np",layer:"-esm-patient-orders__order-details-table__layer___tnoB3",unknownOrderTypeText:"-esm-patient-orders__order-details-table__unknownOrderTypeText___gqDTx",paginationContainer:"-esm-patient-orders__order-details-table__paginationContainer___ru34z",toolBarContent:"-esm-patient-orders__order-details-table__toolBarContent___4b5k1",content:"-esm-patient-orders__order-details-table__content___g2qPN",tileContainer:"-esm-patient-orders__order-details-table__tileContainer___78LEr",emptyStateTile:"-esm-patient-orders__order-details-table__emptyStateTile___RhDa9",tileContent:"-esm-patient-orders__order-details-table__tileContent___esAfW",helperText:"-esm-patient-orders__order-details-table__helperText___pZBVE",inlineDateRange:"-esm-patient-orders__order-details-table__inlineDateRange___CHq4o",button:"-esm-patient-orders__order-details-table__button___A3hlc",addButton:"-esm-patient-orders__order-details-table__addButton___NNlCm",printButton:"-esm-patient-orders__order-details-table__printButton___DJRkL",filterContainer:"-esm-patient-orders__order-details-table__filterContainer___Jv-FC"};const i=l},15394:(e,n,t)=>{"use strict";t.d(n,{ET:()=>l,ME:()=>o,c$:()=>d});var a=t(54440),r=t(36274);function o(e,n){return{action:"NEW",urgency:r.priorityOptions[0].value,display:e.display,concept:e,orderer:n}}function l(e,n){return e.action===n.action&&e.concept.uuid===n.concept.uuid}var i="6f0c9a92-6f24-11e3-af88-005056821db0";function d(e,n,t){if("NEW"===e.action||"RENEW"===e.action)return{action:"NEW",type:"order",patient:n,careSetting:i,orderer:e.orderer,encounter:t,concept:e.concept.uuid,instructions:e.instructions,accessionNumber:e.accessionNumber,urgency:e.urgency,scheduledDate:e.scheduledDate?(0,a.toOmrsIsoString)(e.scheduledDate):null};var r,o;if("REVISE"===e.action)return{action:"REVISE",type:"order",patient:n,careSetting:e.careSetting,orderer:e.orderer,encounter:t,concept:null==e||null===(r=e.concept)||void 0===r?void 0:r.uuid,instructions:e.instructions,previousOrder:e.previousOrder,accessionNumber:e.accessionNumber,urgency:e.urgency,scheduledDate:e.scheduledDate?(0,a.toOmrsIsoString)(e.scheduledDate):null};if("DISCONTINUE"===e.action)return{action:"DISCONTINUE",type:"order",patient:n,careSetting:e.careSetting,orderer:e.orderer,encounter:t,concept:null==e||null===(o=e.concept)||void 0===o?void 0:o.uuid,previousOrder:e.previousOrder,accessionNumber:e.accessionNumber,urgency:e.urgency,scheduledDate:e.scheduledDate?(0,a.toOmrsIsoString)(e.scheduledDate):null};throw new Error("Unknown order action: ".concat(e.action,"."))}},36361:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var a=t(30977),r=t.n(a),o=t(95924),l=t.n(o)()(r());l.push([e.id,"@media screen{.-esm-patient-orders__print__printPage___vpmXo{background-color:#fff;display:none}}@media print{@page{size:auto;margin:2.5rem;font-size:smaller}.-esm-patient-orders__print__header___MYZQU{display:flex;align-items:center;justify-content:space-between;background-color:#fff}.-esm-patient-orders__print__patientDetails___wMi2G{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0);margin:0 .5rem}.-esm-patient-orders__print__patientInfo___NZY\\+V{color:#393939;font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0)}.-esm-patient-orders__print__name___2imVs{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);margin-right:.5rem}.-esm-patient-orders__print__footer___wYme7{font-size:.75rem;display:flex}.-esm-patient-orders__print__date___HkJM0{margin-left:1.5rem}.-esm-patient-orders__print__gender___b8Aai{text-transform:capitalize}.-esm-patient-orders__print__printedBy___gdtmj{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);margin:0 .25rem;font-size:smaller}.-esm-patient-orders__print__subheader___5Rqqd{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0);color:#525252;padding:.5rem;text-align:center}}","",{version:3,sources:["webpack://./src/print/print.scss","webpack://./../../node_modules/@carbon/colors/index.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAIA,cACE,+CACE,qBCGI,CDFJ,YAAA,CAAA,CAIJ,aACE,MACE,SAAA,CACA,aEgCS,CF/BT,iBAAA,CAGF,4CACE,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,qBCbI,CDgBN,oDGy0BE,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CHv0BA,cAAA,CAGF,kDACE,aCkBM,CEizBN,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CH/zBF,0CG+zBE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CH7zBA,kBEhBS,CFmBX,4CACE,gBEfS,CFgBT,YAAA,CAGF,0CACE,kBEVS,CFaX,4CACE,yBAAA,CAGF,+CG6yBE,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CH3yBA,eAAA,CACA,iBAAA,CAGF,+CGuyBE,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CHryBA,aCbM,CDcN,aEzCS,CF0CT,iBAAA,CAAA",sourcesContent:["@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@carbon/type';\n\n@media screen {\n .printPage {\n background-color: colors.$white;\n display: none;\n }\n}\n\n@media print {\n @page {\n size: auto;\n margin: layout.$spacing-08;\n font-size: smaller;\n }\n\n .header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n background-color: colors.$white;\n }\n\n .patientDetails {\n @include type.type-style('body-compact-02');\n margin: 0 layout.$spacing-03;\n }\n\n .patientInfo {\n color: colors.$gray-80;\n @include type.type-style('body-compact-02');\n }\n\n .name {\n @include type.type-style('heading-compact-02');\n margin-right: layout.$spacing-03;\n }\n\n .footer {\n font-size: layout.$spacing-04;\n display: flex;\n }\n\n .date {\n margin-left: layout.$spacing-06;\n }\n\n .gender {\n text-transform: capitalize;\n }\n\n .printedBy {\n @include type.type-style('body-compact-01');\n margin: 0 layout.$spacing-02;\n font-size: smaller;\n }\n\n .subheader {\n @include type.type-style('heading-03');\n color: colors.$gray-70;\n padding: layout.$spacing-03;\n text-align: center;\n }\n}\n","// Code generated by @carbon/colors. 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$black: #000000 !default;\n$white: #ffffff !default;\n\n$black-100: #000000 !default;\n$blue-10: #edf5ff !default;\n$blue-20: #d0e2ff !default;\n$blue-30: #a6c8ff !default;\n$blue-40: #78a9ff !default;\n$blue-50: #4589ff !default;\n$blue-60: #0f62fe !default;\n$blue-70: #0043ce !default;\n$blue-80: #002d9c !default;\n$blue-90: #001d6c !default;\n$blue-100: #001141 !default;\n$cool-gray-10: #f2f4f8 !default;\n$cool-gray-20: #dde1e6 !default;\n$cool-gray-30: #c1c7cd !default;\n$cool-gray-40: #a2a9b0 !default;\n$cool-gray-50: #878d96 !default;\n$cool-gray-60: #697077 !default;\n$cool-gray-70: #4d5358 !default;\n$cool-gray-80: #343a3f !default;\n$cool-gray-90: #21272a !default;\n$cool-gray-100: #121619 !default;\n$cyan-10: #e5f6ff !default;\n$cyan-20: #bae6ff !default;\n$cyan-30: #82cfff !default;\n$cyan-40: #33b1ff !default;\n$cyan-50: #1192e8 !default;\n$cyan-60: #0072c3 !default;\n$cyan-70: #00539a !default;\n$cyan-80: #003a6d !default;\n$cyan-90: #012749 !default;\n$cyan-100: #061727 !default;\n$gray-10: #f4f4f4 !default;\n$gray-20: #e0e0e0 !default;\n$gray-30: #c6c6c6 !default;\n$gray-40: #a8a8a8 !default;\n$gray-50: #8d8d8d !default;\n$gray-60: #6f6f6f !default;\n$gray-70: #525252 !default;\n$gray-80: #393939 !default;\n$gray-90: #262626 !default;\n$gray-100: #161616 !default;\n$green-10: #defbe6 !default;\n$green-20: #a7f0ba !default;\n$green-30: #6fdc8c !default;\n$green-40: #42be65 !default;\n$green-50: #24a148 !default;\n$green-60: #198038 !default;\n$green-70: #0e6027 !default;\n$green-80: #044317 !default;\n$green-90: #022d0d !default;\n$green-100: #071908 !default;\n$magenta-10: #fff0f7 !default;\n$magenta-20: #ffd6e8 !default;\n$magenta-30: #ffafd2 !default;\n$magenta-40: #ff7eb6 !default;\n$magenta-50: #ee5396 !default;\n$magenta-60: #d02670 !default;\n$magenta-70: #9f1853 !default;\n$magenta-80: #740937 !default;\n$magenta-90: #510224 !default;\n$magenta-100: #2a0a18 !default;\n$orange-10: #fff2e8 !default;\n$orange-20: #ffd9be !default;\n$orange-30: #ffb784 !default;\n$orange-40: #ff832b !default;\n$orange-50: #eb6200 !default;\n$orange-60: #ba4e00 !default;\n$orange-70: #8a3800 !default;\n$orange-80: #5e2900 !default;\n$orange-90: #3e1a00 !default;\n$orange-100: #231000 !default;\n$purple-10: #f6f2ff !default;\n$purple-20: #e8daff !default;\n$purple-30: #d4bbff !default;\n$purple-40: #be95ff !default;\n$purple-50: #a56eff !default;\n$purple-60: #8a3ffc !default;\n$purple-70: #6929c4 !default;\n$purple-80: #491d8b !default;\n$purple-90: #31135e !default;\n$purple-100: #1c0f30 !default;\n$red-10: #fff1f1 !default;\n$red-20: #ffd7d9 !default;\n$red-30: #ffb3b8 !default;\n$red-40: #ff8389 !default;\n$red-50: #fa4d56 !default;\n$red-60: #da1e28 !default;\n$red-70: #a2191f !default;\n$red-80: #750e13 !default;\n$red-90: #520408 !default;\n$red-100: #2d0709 !default;\n$teal-10: #d9fbfb !default;\n$teal-20: #9ef0f0 !default;\n$teal-30: #3ddbd9 !default;\n$teal-40: #08bdba !default;\n$teal-50: #009d9a !default;\n$teal-60: #007d79 !default;\n$teal-70: #005d5d !default;\n$teal-80: #004144 !default;\n$teal-90: #022b30 !default;\n$teal-100: #081a1c !default;\n$warm-gray-10: #f7f3f2 !default;\n$warm-gray-20: #e5e0df !default;\n$warm-gray-30: #cac5c4 !default;\n$warm-gray-40: #ada8a8 !default;\n$warm-gray-50: #8f8b8b !default;\n$warm-gray-60: #726e6e !default;\n$warm-gray-70: #565151 !default;\n$warm-gray-80: #3c3838 !default;\n$warm-gray-90: #272525 !default;\n$warm-gray-100: #171414 !default;\n$white-0: #ffffff !default;\n$yellow-10: #fcf4d6 !default;\n$yellow-20: #fddc69 !default;\n$yellow-30: #f1c21b !default;\n$yellow-40: #d2a106 !default;\n$yellow-50: #b28600 !default;\n$yellow-60: #8e6a00 !default;\n$yellow-70: #684e00 !default;\n$yellow-80: #483700 !default;\n$yellow-90: #302400 !default;\n$yellow-100: #1c1500 !default;\n\n$white-hover: #e8e8e8 !default;\n$black-hover: #212121 !default;\n$blue-10-hover: #dbebff !default;\n$blue-20-hover: #b8d3ff !default;\n$blue-30-hover: #8ab6ff !default;\n$blue-40-hover: #5c97ff !default;\n$blue-50-hover: #1f70ff !default;\n$blue-60-hover: #0050e6 !default;\n$blue-70-hover: #0053ff !default;\n$blue-80-hover: #0039c7 !default;\n$blue-90-hover: #00258a !default;\n$blue-100-hover: #001f75 !default;\n$cool-gray-10-hover: #e4e9f1 !default;\n$cool-gray-20-hover: #cdd3da !default;\n$cool-gray-30-hover: #adb5bd !default;\n$cool-gray-40-hover: #9199a1 !default;\n$cool-gray-50-hover: #757b85 !default;\n$cool-gray-60-hover: #585e64 !default;\n$cool-gray-70-hover: #5d646a !default;\n$cool-gray-80-hover: #434a51 !default;\n$cool-gray-90-hover: #2b3236 !default;\n$cool-gray-100-hover: #222a2f !default;\n$cyan-10-hover: #cceeff !default;\n$cyan-20-hover: #99daff !default;\n$cyan-30-hover: #57beff !default;\n$cyan-40-hover: #059fff !default;\n$cyan-50-hover: #0f7ec8 !default;\n$cyan-60-hover: #005fa3 !default;\n$cyan-70-hover: #0066bd !default;\n$cyan-80-hover: #00498a !default;\n$cyan-90-hover: #013360 !default;\n$cyan-100-hover: #0b2947 !default;\n$gray-10-hover: #e8e8e8 !default;\n$gray-20-hover: #d1d1d1 !default;\n$gray-30-hover: #b5b5b5 !default;\n$gray-40-hover: #999999 !default;\n$gray-50-hover: #7a7a7a !default;\n$gray-60-hover: #5e5e5e !default;\n$gray-70-hover: #636363 !default;\n$gray-80-hover: #474747 !default;\n$gray-90-hover: #333333 !default;\n$gray-100-hover: #292929 !default;\n$green-10-hover: #b6f6c8 !default;\n$green-20-hover: #74e792 !default;\n$green-30-hover: #36ce5e !default;\n$green-40-hover: #3bab5a !default;\n$green-50-hover: #208e3f !default;\n$green-60-hover: #166f31 !default;\n$green-70-hover: #11742f !default;\n$green-80-hover: #05521c !default;\n$green-90-hover: #033b11 !default;\n$green-100-hover: #0d300f !default;\n$magenta-10-hover: #ffe0ef !default;\n$magenta-20-hover: #ffbdda !default;\n$magenta-30-hover: #ff94c3 !default;\n$magenta-40-hover: #ff57a0 !default;\n$magenta-50-hover: #e3176f !default;\n$magenta-60-hover: #b0215f !default;\n$magenta-70-hover: #bf1d63 !default;\n$magenta-80-hover: #8e0b43 !default;\n$magenta-90-hover: #68032e !default;\n$magenta-100-hover: #53142f !default;\n$orange-10-hover: #ffe2cc !default;\n$orange-20-hover: #ffc69e !default;\n$orange-30-hover: #ff9d57 !default;\n$orange-40-hover: #fa6800 !default;\n$orange-50-hover: #cc5500 !default;\n$orange-60-hover: #9e4200 !default;\n$orange-70-hover: #a84400 !default;\n$orange-80-hover: #753300 !default;\n$orange-90-hover: #522200 !default;\n$orange-100-hover: #421e00 !default;\n$purple-10-hover: #ede5ff !default;\n$purple-20-hover: #dcc7ff !default;\n$purple-30-hover: #c5a3ff !default;\n$purple-40-hover: #ae7aff !default;\n$purple-50-hover: #9352ff !default;\n$purple-60-hover: #7822fb !default;\n$purple-70-hover: #7c3dd6 !default;\n$purple-80-hover: #5b24ad !default;\n$purple-90-hover: #40197b !default;\n$purple-100-hover: #341c59 !default;\n$red-10-hover: #ffe0e0 !default;\n$red-20-hover: #ffc2c5 !default;\n$red-30-hover: #ff99a0 !default;\n$red-40-hover: #ff6168 !default;\n$red-50-hover: #ee0713 !default;\n$red-60-hover: #b81922 !default;\n$red-70-hover: #c21e25 !default;\n$red-80-hover: #921118 !default;\n$red-90-hover: #66050a !default;\n$red-100-hover: #540d11 !default;\n$teal-10-hover: #acf6f6 !default;\n$teal-20-hover: #57e5e5 !default;\n$teal-30-hover: #25cac8 !default;\n$teal-40-hover: #07aba9 !default;\n$teal-50-hover: #008a87 !default;\n$teal-60-hover: #006b68 !default;\n$teal-70-hover: #007070 !default;\n$teal-80-hover: #005357 !default;\n$teal-90-hover: #033940 !default;\n$teal-100-hover: #0f3034 !default;\n$warm-gray-10-hover: #f0e8e6 !default;\n$warm-gray-20-hover: #d8d0cf !default;\n$warm-gray-30-hover: #b9b3b1 !default;\n$warm-gray-40-hover: #9c9696 !default;\n$warm-gray-50-hover: #7f7b7b !default;\n$warm-gray-60-hover: #605d5d !default;\n$warm-gray-70-hover: #696363 !default;\n$warm-gray-80-hover: #4c4848 !default;\n$warm-gray-90-hover: #343232 !default;\n$warm-gray-100-hover: #2c2626 !default;\n$yellow-10-hover: #f8e6a0 !default;\n$yellow-20-hover: #fccd27 !default;\n$yellow-30-hover: #ddb00e !default;\n$yellow-40-hover: #bc9005 !default;\n$yellow-50-hover: #9e7700 !default;\n$yellow-60-hover: #755800 !default;\n$yellow-70-hover: #806000 !default;\n$yellow-80-hover: #5c4600 !default;\n$yellow-90-hover: #3d2e00 !default;\n$yellow-100-hover: #332600 !default;\n\n/// Colors from the IBM Design Language\n/// @access public\n/// @group @carbon/colors\n$colors: (\n black: (\n 100: #000000,\n ),\n blue: (\n 10: #edf5ff,\n 20: #d0e2ff,\n 30: #a6c8ff,\n 40: #78a9ff,\n 50: #4589ff,\n 60: #0f62fe,\n 70: #0043ce,\n 80: #002d9c,\n 90: #001d6c,\n 100: #001141,\n ),\n cool-gray: (\n 10: #f2f4f8,\n 20: #dde1e6,\n 30: #c1c7cd,\n 40: #a2a9b0,\n 50: #878d96,\n 60: #697077,\n 70: #4d5358,\n 80: #343a3f,\n 90: #21272a,\n 100: #121619,\n ),\n cyan: (\n 10: #e5f6ff,\n 20: #bae6ff,\n 30: #82cfff,\n 40: #33b1ff,\n 50: #1192e8,\n 60: #0072c3,\n 70: #00539a,\n 80: #003a6d,\n 90: #012749,\n 100: #061727,\n ),\n gray: (\n 10: #f4f4f4,\n 20: #e0e0e0,\n 30: #c6c6c6,\n 40: #a8a8a8,\n 50: #8d8d8d,\n 60: #6f6f6f,\n 70: #525252,\n 80: #393939,\n 90: #262626,\n 100: #161616,\n ),\n green: (\n 10: #defbe6,\n 20: #a7f0ba,\n 30: #6fdc8c,\n 40: #42be65,\n 50: #24a148,\n 60: #198038,\n 70: #0e6027,\n 80: #044317,\n 90: #022d0d,\n 100: #071908,\n ),\n magenta: (\n 10: #fff0f7,\n 20: #ffd6e8,\n 30: #ffafd2,\n 40: #ff7eb6,\n 50: #ee5396,\n 60: #d02670,\n 70: #9f1853,\n 80: #740937,\n 90: #510224,\n 100: #2a0a18,\n ),\n orange: (\n 10: #fff2e8,\n 20: #ffd9be,\n 30: #ffb784,\n 40: #ff832b,\n 50: #eb6200,\n 60: #ba4e00,\n 70: #8a3800,\n 80: #5e2900,\n 90: #3e1a00,\n 100: #231000,\n ),\n purple: (\n 10: #f6f2ff,\n 20: #e8daff,\n 30: #d4bbff,\n 40: #be95ff,\n 50: #a56eff,\n 60: #8a3ffc,\n 70: #6929c4,\n 80: #491d8b,\n 90: #31135e,\n 100: #1c0f30,\n ),\n red: (\n 10: #fff1f1,\n 20: #ffd7d9,\n 30: #ffb3b8,\n 40: #ff8389,\n 50: #fa4d56,\n 60: #da1e28,\n 70: #a2191f,\n 80: #750e13,\n 90: #520408,\n 100: #2d0709,\n ),\n teal: (\n 10: #d9fbfb,\n 20: #9ef0f0,\n 30: #3ddbd9,\n 40: #08bdba,\n 50: #009d9a,\n 60: #007d79,\n 70: #005d5d,\n 80: #004144,\n 90: #022b30,\n 100: #081a1c,\n ),\n warm-gray: (\n 10: #f7f3f2,\n 20: #e5e0df,\n 30: #cac5c4,\n 40: #ada8a8,\n 50: #8f8b8b,\n 60: #726e6e,\n 70: #565151,\n 80: #3c3838,\n 90: #272525,\n 100: #171414,\n ),\n white: (\n 0: #ffffff,\n ),\n yellow: (\n 10: #fcf4d6,\n 20: #fddc69,\n 30: #f1c21b,\n 40: #d2a106,\n 50: #b28600,\n 60: #8e6a00,\n 70: #684e00,\n 80: #483700,\n 90: #302400,\n 100: #1c1500,\n ),\n) !default;\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","//\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// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),l.locals={printPage:"-esm-patient-orders__print__printPage___vpmXo",header:"-esm-patient-orders__print__header___MYZQU",patientDetails:"-esm-patient-orders__print__patientDetails___wMi2G",patientInfo:"-esm-patient-orders__print__patientInfo___NZY+V",name:"-esm-patient-orders__print__name___2imVs",footer:"-esm-patient-orders__print__footer___wYme7",date:"-esm-patient-orders__print__date___HkJM0",gender:"-esm-patient-orders__print__gender___b8Aai",printedBy:"-esm-patient-orders__print__printedBy___gdtmj",subheader:"-esm-patient-orders__print__subheader___5Rqqd"};const i=l},38625:(e,n,t)=>{"use strict";t.r(n),t.d(n,{importTranslation:()=>se,labResult:()=>Ae,orderBasketActionMenu:()=>he,orderBasketWorkspace:()=>pe,orderPriceDetailsExtension:()=>be,orderStockDetailsExtension:()=>me,orderableConceptSearch:()=>we,ordersDashboard:()=>ve,ordersDashboardLink:()=>$e,patientOrdersFormWorkspace:()=>ge,printLabResultModal:()=>_e,startupApp:()=>fe,testResultsFormWorkspace:()=>ye});var a=t(54440),r=t(36274),o={orderEncounterType:{_type:a.Type.UUID,_description:'The encounter type of the encounter encapsulating orders. Defaults to the "Order" encounter type.',_default:"39da3525-afe4-45ff-8977-c53b7b359158"},careSettingUuid:{_type:a.Type.UUID,_description:'The UUID of the care setting for orders. Defaults to the "Outpatient" care setting.',_default:"6f0c9a92-6f24-11e3-af88-005056821db0"},showPrintButton:{_type:a.Type.Boolean,_description:"Determines whether or not to display a Print button in the Orders details table. If set to true, a Print button gets shown in both the orders table headers. When clicked, this button enables the user to print out the contents of the table",_default:!1},orderTypes:{_type:a.Type.Array,_elements:{_type:a.Type.Object,orderTypeUuid:{_type:a.Type.UUID,_description:"The UUID of the order type listed in the order basket"},orderableConceptSets:{_type:a.Type.Array,_elements:{_type:a.Type.UUID},_description:"UUIDs of concepts that represent orderable concepts. Either the `conceptClass` should be given, or the `orderableConcepts`. If the orderableConcepts are not given, then it'll search concepts by concept class."},label:{_type:a.Type.String,_description:"The custom label to be shown for the order type. The label will be translated with the key as the label itself."},icon:{_type:a.Type.String,_description:"Icon to be shown for the order type. Icons are from the OpenMRS icon library.",_default:""}},_description:"List of various order types, each associated with the Java class name `org.openmrs.Order`.",_default:[]},showReferenceNumberField:{_type:a.Type.Boolean,_default:!0,_description:'Whether to display the "Reference number" field in the Order form. This field maps to the accession_number property in the Order data model'}},l=t(1343),i=t.n(l),d=t(72339);var s=t(46372),c=t.n(s),u=t(88931),f=t(60430),p=t(30723),g=t(70033);function y(e,n,t){var a,r,o,l,i,d,s,c,u,f,p,g;if("NEW"===e.action||"RENEW"===e.action)return{action:"NEW",patient:n,type:"drugorder",careSetting:e.careSetting,orderer:e.orderer,encounter:t,drug:e.drug.uuid,dose:e.dosage,doseUnits:null===(a=e.unit)||void 0===a?void 0:a.valueCoded,route:null===(r=e.route)||void 0===r?void 0:r.valueCoded,frequency:null===(o=e.frequency)||void 0===o?void 0:o.valueCoded,asNeeded:e.asNeeded,asNeededCondition:e.asNeededCondition,numRefills:e.numRefills,quantity:e.pillsDispensed,quantityUnits:null===(l=e.quantityUnits)||void 0===l?void 0:l.valueCoded,duration:e.duration,durationUnits:null===(i=e.durationUnit)||void 0===i?void 0:i.valueCoded,dosingType:e.isFreeTextDosage?"org.openmrs.FreeTextDosingInstructions":"org.openmrs.SimpleDosingInstructions",dosingInstructions:e.isFreeTextDosage?e.freeTextDosage:e.patientInstructions,concept:e.drug.concept.uuid,orderReasonNonCoded:e.indication};if("REVISE"===e.action)return{action:"REVISE",patient:n,type:"drugorder",previousOrder:e.previousOrder,careSetting:e.careSetting,orderer:e.orderer,encounter:t,drug:e.drug.uuid,dose:e.dosage,doseUnits:null===(d=e.unit)||void 0===d?void 0:d.valueCoded,route:null===(s=e.route)||void 0===s?void 0:s.valueCoded,frequency:null===(c=e.frequency)||void 0===c?void 0:c.valueCoded,asNeeded:e.asNeeded,asNeededCondition:e.asNeededCondition,numRefills:e.numRefills,quantity:e.pillsDispensed,quantityUnits:null===(u=e.quantityUnits)||void 0===u?void 0:u.valueCoded,duration:e.duration,durationUnits:null===(f=e.durationUnit)||void 0===f?void 0:f.valueCoded,dosingType:e.isFreeTextDosage?"org.openmrs.FreeTextDosingInstructions":"org.openmrs.SimpleDosingInstructions",dosingInstructions:e.isFreeTextDosage?e.freeTextDosage:e.patientInstructions,concept:null==e||null===(g=e.drug)||void 0===g||null===(p=g.concept)||void 0===p?void 0:p.uuid,orderReasonNonCoded:e.indication};if("DISCONTINUE"===e.action)return{action:"DISCONTINUE",type:"drugorder",previousOrder:e.previousOrder,patient:n,careSetting:e.careSetting,encounter:t,orderer:e.orderer,concept:e.drug.concept.uuid,drug:e.drug.uuid,orderReasonNonCoded:null};throw new Error("Unknown order action ".concat(e.action,". This is a development error."))}t(71123),t(88010);function h(e,n,t){if("NEW"===e.action||"RENEW"===e.action)return{action:"NEW",type:"testorder",patient:n,careSetting:"6f0c9a92-6f24-11e3-af88-005056821db0",orderer:e.orderer,encounter:t,concept:e.testType.conceptUuid,instructions:e.instructions,orderReason:e.orderReason,accessionNumber:e.accessionNumber,urgency:e.urgency,scheduledDate:e.scheduledDate?(0,a.toOmrsIsoString)(e.scheduledDate):null};if("REVISE"===e.action)return{action:"REVISE",type:"testorder",patient:n,careSetting:e.careSetting,orderer:e.orderer,encounter:t,concept:e.testType.conceptUuid,instructions:e.instructions,orderReason:e.orderReason,previousOrder:e.previousOrder,accessionNumber:e.accessionNumber,urgency:e.urgency,scheduledDate:e.scheduledDate?(0,a.toOmrsIsoString)(e.scheduledDate):null};if("DISCONTINUE"===e.action)return{action:"DISCONTINUE",type:"testorder",patient:n,careSetting:e.careSetting,orderer:e.orderer,encounter:t,concept:e.testType.conceptUuid,orderReason:e.orderReason,previousOrder:e.previousOrder,accessionNumber:e.accessionNumber,urgency:e.urgency,scheduledDate:e.scheduledDate?(0,a.toOmrsIsoString)(e.scheduledDate):null};throw new Error("Unknown order action: ".concat(e.action,"."))}var b=t(15394),m=t(82768);function $(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var v,A={DRUG_ORDER:"drugorder",TEST_ORDER:"testorder",GENERAL_ORDER:"order"},_=($(v={},A.DRUG_ORDER,"Drug orders"),$(v,A.TEST_ORDER,"Test orders"),$(v,A.GENERAL_ORDER,"General orders"),function(e,n){switch(e){case A.DRUG_ORDER:return"medications";case A.TEST_ORDER:case A.GENERAL_ORDER:return n||"general";default:return"general"}}),w=t(1347),C=t(72591),k=t.n(C),x=t(1740),E=t.n(x),z=t(88128),D=t.n(z),M=t(30855),N=t.n(M),T=t(93051),O=t.n(T),B=t(73656),S=t.n(B),I=t(90901),R={};R.styleTagTransform=S(),R.setAttributes=N(),R.insert=D().bind(null,"head"),R.domAPI=E(),R.insertStyleElement=O(),k()(I.A,R);const P=I.A&&I.A.locals?I.A.locals:void 0;function j(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}const F=function(e){var n,t,r=e.order,o=(0,d.useTranslation)().t,s="tablet"===(0,a.useLayoutType)(),c=(0,w.oi)(r.concept.uuid),u=c.concept,f=c.isLoading,p=(0,w.W4)(r.encounter.uuid),y=p.encounter,h=p.isLoading,b=[{key:"orderName",header:null==r||null===(n=r.orderType)||void 0===n?void 0:n.display},{key:"instructions",header:o("instructions","Instructions")},{key:"referenceNumber",header:o("referenceNumberTableHeader","{{orderType}} reference number",{orderType:null==r||null===(t=r.orderType)||void 0===t?void 0:t.display})}],$=(0,l.useMemo)((function(){var e;if(y&&u)return null===(e=y.obs)||void 0===e?void 0:e.find((function(e){return e.concept.uuid===u.uuid}))}),[u,y]),v=(0,l.useMemo)((function(){return u&&u.setMembers.length>0?null==u?void 0:u.setMembers.map((function(e){var n,t,a;return{id:e.uuid,orderName:i().createElement("div",{className:P.type},e.display),instructions:"--",result:h?i().createElement(g.rrI,null):null!==(a=(0,m.or)(null==$||null===(t=$.groupMembers)||void 0===t||null===(n=t.find((function(n){return n.concept.uuid===e.uuid})))||void 0===n?void 0:n.value))&&void 0!==a?a:"--",normalRange:e.hiNormal&&e.lowNormal?"".concat(e.lowNormal," - ").concat(e.hiNormal):o("notApplicable","Not applicable"),referenceNumber:null==r?void 0:r.accessionNumber}})):u&&0===u.setMembers.length?[{id:u.uuid,orderName:i().createElement("div",{className:P.type},u.display),instructions:null!==(e=null==r?void 0:r.instructions)&&void 0!==e?e:"--",result:h?i().createElement(g.rrI,null):null!==(n=(0,m.or)(null==$?void 0:$.value))&&void 0!==n?n:"--",normalRange:u.hiNormal&&u.lowNormal?"".concat(u.lowNormal," - ").concat(u.hiNormal):o("notApplicable","Not applicable"),referenceNumber:null==r?void 0:r.accessionNumber}]:[];var e,n}),[u,h,null==$?void 0:$.groupMembers,null==$?void 0:$.value,null==r?void 0:r.accessionNumber,null==r?void 0:r.instructions,o]);return i().createElement("div",{className:P.order},f?i().createElement(g.OOb,{role:"progressbar",compact:s,zebra:!0}):i().createElement(g.bQt,{rows:v,headers:b,size:s?"lg":"sm",useZebraStyles:!0},(function(e){var n,t,a=e.rows,r=e.headers,o=e.getHeaderProps,l=e.getRowProps,d=e.getTableProps,s=e.getTableContainerProps;return i().createElement(g.K3K,s(),i().createElement(g.XIK,(n=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){j(e,n,t[n])}))}return e}({},d()),t=null!=(t={"aria-label":"orders"})?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})),n),i().createElement(g.ndF,null,i().createElement(g.Hjg,null,r.map((function(e){return i().createElement(g.A0N,o({header:e}),e.header)})))),i().createElement(g.BFY,null,a.map((function(e){return i().createElement(g.Hjg,l({row:e}),e.cells.map((function(e){return i().createElement(g.nA6,{key:e.id,className:P.cell},e.value)})))})))))})))};var U=t(94414),q={};q.styleTagTransform=S(),q.setAttributes=N(),q.insert=D().bind(null,"head"),q.domAPI=E(),q.insertStyleElement=O(),k()(U.A,q);const L=U.A&&U.A.locals?U.A.locals:void 0;function G(e){var n=e.orderer,t=(0,d.useTranslation)().t;return i().createElement(g.Gff,{align:"top-left"},i().createElement(g.yvu,{label:t("ordererInformation","Orderer information")},i().createElement(a.UserIcon,{size:16})),i().createElement(g.pNg,null,i().createElement("p",null,n)))}const W=function(e){var n,t,r,o,l,s,c,f,p,g,y,h,b,m,$=e.medication,v=(0,d.useTranslation)().t;return i().createElement("div",{className:L.medicationContainer},i().createElement("div",{className:L.startDateColumn},i().createElement("span",null,(0,a.formatDate)(new Date($.dateActivated))),i().createElement(G,{orderer:null!==(m=null===(n=$.orderer)||void 0===n?void 0:n.display)&&void 0!==m?m:"--"})),i().createElement("div",{className:L.medicationRecord},i().createElement("p",{className:L.bodyLong01},i().createElement("strong",null,(0,u.A)(null===(t=$.drug)||void 0===t?void 0:t.display))," ",(null===(r=$.drug)||void 0===r?void 0:r.strength)&&i().createElement(i().Fragment,null,"— ",null===(o=$.drug)||void 0===o?void 0:o.strength.toLowerCase())," ",(null===(s=$.drug)||void 0===s||null===(l=s.dosageForm)||void 0===l?void 0:l.display)&&i().createElement(i().Fragment,null,"— ",$.drug.dosageForm.display.toLowerCase())),i().createElement("p",{className:L.bodyLong01},i().createElement("span",{className:L.label01},v("dose","Dose").toUpperCase())," ",i().createElement("span",{className:L.dosage},$.dose," ",null===(c=$.doseUnits)||void 0===c?void 0:c.display.toLowerCase())," ",(null===(f=$.route)||void 0===f?void 0:f.display)&&i().createElement(i().Fragment,null,"— ",null===(p=$.route)||void 0===p?void 0:p.display.toLowerCase())," ",(null===(g=$.frequency)||void 0===g?void 0:g.display)&&i().createElement(i().Fragment,null,"— ",null===(y=$.frequency)||void 0===y?void 0:y.display.toLowerCase())," —"," ",$.duration?v("medicationDurationAndUnit","for {{duration}} {{durationUnit}}",{duration:$.duration,durationUnit:null===(h=$.durationUnits)||void 0===h?void 0:h.display.toLowerCase()}):v("medicationIndefiniteDuration","Indefinite duration").toLowerCase()," ",0!==$.numRefills&&i().createElement("span",null,i().createElement("span",{className:L.label01}," — ",v("refills","Refills").toUpperCase())," ",$.numRefills),$.dosingInstructions&&i().createElement("span",null," — ",$.dosingInstructions.toLocaleLowerCase())),i().createElement("p",{className:L.bodyLong01},$.orderReasonNonCoded?i().createElement("span",null,i().createElement("span",{className:L.label01},v("indication","Indication").toUpperCase())," ",$.orderReasonNonCoded):null,$.orderReasonNonCoded&&$.quantity&&i().createElement(i().Fragment,null,"—"),$.quantity?i().createElement("span",null,i().createElement("span",{className:L.label01}," ",v("quantity","Quantity").toUpperCase())," ",$.quantity," ",null==$||null===(b=$.quantityUnits)||void 0===b?void 0:b.display):null,$.dateStopped?i().createElement("span",null,i().createElement("span",{className:L.label01}," — ",v("endDate","End date").toUpperCase())," ",(0,a.formatDate)(new Date($.dateStopped))):null)))};var H=t(36361),V={};V.styleTagTransform=S(),V.setAttributes=N(),V.insert=D().bind(null,"head"),V.domAPI=E(),V.insertStyleElement=O(),k()(H.A,V);const Z=H.A&&H.A.locals?H.A.locals:void 0,Y=function(e){var n=e.subheader,t=e.patientDetails,r=(0,d.useTranslation)().t,o=(0,a.useConfig)().logo,l=(0,a.useSession)();return i().createElement("div",{className:Z.printPage},i().createElement("header",{className:Z.header},(null==o?void 0:o.src)?i().createElement("img",{className:Z.logo,src:o.src,alt:o.alt}):(null==o?void 0:o.name)?o.name:i().createElement("svg",{role:"img",width:110,height:40,viewBox:"0 0 380 119",xmlns:"http://www.w3.org/2000/svg"},i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.29 40.328a27.755 27.755 0 0 1 19.688-8.154c7.669 0 14.613 3.102 19.647 8.116l.02-18.54A42.835 42.835 0 0 0 59.978 17c-7.089 0-13.813 1.93-19.709 4.968l.021 18.36ZM79.645 79.671a27.744 27.744 0 0 1-19.684 8.154c-7.67 0-14.614-3.101-19.651-8.116l-.02 18.54A42.857 42.857 0 0 0 59.96 103a42.833 42.833 0 0 0 19.672-4.751l.013-18.578ZM40.328 79.696c-5.038-5.037-8.154-11.995-8.154-19.685 0-7.669 3.102-14.612 8.116-19.65l-18.54-.02A42.85 42.85 0 0 0 17 60.012a42.819 42.819 0 0 0 4.752 19.672l18.576.013ZM79.634 40.289a27.753 27.753 0 0 1 8.154 19.688 27.744 27.744 0 0 1-8.117 19.646l18.542.02a42.842 42.842 0 0 0 4.749-19.666c0-7.09-1.714-13.779-4.751-19.675l-18.577-.013ZM156.184 60.002c0-8.748-6.118-15.776-15.025-15.776-8.909 0-15.025 7.028-15.025 15.776 0 8.749 6.116 15.78 15.025 15.78 8.907 0 15.025-7.031 15.025-15.78Zm-34.881 0c0-11.482 8.318-19.958 19.856-19.958 11.536 0 19.855 8.477 19.855 19.959 0 11.484-8.319 19.964-19.855 19.964-11.538 0-19.856-8.48-19.856-19.965ZM179.514 75.54c5.507 0 9.05-4.14 9.05-9.482 0-5.341-3.543-9.483-9.05-9.483-5.505 0-9.046 4.142-9.046 9.483 0 5.342 3.541 9.482 9.046 9.482ZM166.22 53.306h4.248v3.704h.11c2.344-2.725 5.449-4.36 9.154-4.36 8.014 0 13.408 5.67 13.408 13.408 0 7.63-5.613 13.406-12.752 13.406-4.58 0-8.231-2.29-9.81-5.178h-.11V90.87h-4.248V53.306ZM217.773 63.768c-.163-4.305-3-7.193-7.686-7.193-4.685 0-7.79 2.888-8.335 7.193h16.021Zm3.653 10.412c-3.001 3.868-6.596 5.284-11.339 5.284-8.01 0-12.914-5.993-12.914-13.406 0-7.901 5.559-13.407 13.08-13.407 7.196 0 12.096 4.906 12.096 13.354v1.362h-20.597c.325 4.413 3.704 8.173 8.335 8.173 3.65 0 6.105-1.307 8.12-3.868l3.219 2.508ZM227.854 59.356c0-2.346-.216-4.36-.216-6.05h4.031c0 1.363.11 2.777.11 4.195h.11c1.144-2.505 4.306-4.85 8.5-4.85 6.705 0 9.699 4.252 9.699 10.41v15.748h-4.248v-15.31c0-4.253-1.856-6.924-5.833-6.924-5.503 0-7.903 3.979-7.903 9.811V78.81h-4.25V59.356ZM259.211 41.008h6.708L278.8 70.791h.107l12.982-29.782h6.549v37.99h-4.506V47.124h-.106L280.192 79h-2.738l-13.629-31.875h-.107V79h-4.507V41.01ZM312.392 57.752h4.023c4.992 0 11.487 0 11.487-6.282 0-5.47-4.776-6.276-9.177-6.276h-6.333v12.558Zm-4.506-16.744h9.711c7.352 0 15.132 1.072 15.132 10.462 0 5.527-3.594 9.125-9.495 10.037L334.018 79h-5.525l-10.304-17.063h-5.797V79h-4.506V41.01ZM358.123 47.712c-1.506-2.413-4.187-3.486-6.926-3.486-3.973 0-8.1 1.88-8.1 6.385 0 3.49 1.931 5.047 7.994 6.98 5.903 1.878 11.377 3.809 11.377 11.267 0 7.567-6.495 11.11-13.36 11.11-4.402 0-9.125-1.45-11.7-5.262l3.862-3.165c1.61 2.794 4.83 4.24 8.105 4.24 3.862 0 8.263-2.253 8.263-6.601 0-4.669-3.165-5.474-9.928-7.728-5.366-1.771-9.442-4.134-9.442-10.463 0-7.298 6.277-10.945 12.929-10.945 4.241 0 7.836 1.178 10.625 4.45l-3.699 3.218Z"})),i().createElement("div",{className:Z.patientDetails},i().createElement("span",{className:Z.name},null==t?void 0:t.name),i().createElement("span",{className:Z.patientInfo},null==t?void 0:t.gender,", ",null==t?void 0:t.age,", ",null==t?void 0:t.identifiers," ")),i().createElement("div",{className:Z.printedBy},r("printedBy","Printed by"),i().createElement("span",{className:Z.printedBy},l.user.display," ",r("onDate","on")," ",(0,a.formatDate)(new Date,{noToday:!0})))),i().createElement("div",{className:Z.subheader},i().createElement("h4",null,n)))};var J=t(43508),X=t(4167),Q={};Q.styleTagTransform=S(),Q.setAttributes=N(),Q.insert=D().bind(null,"head"),Q.domAPI=E(),Q.insertStyleElement=O(),k()(X.A,Q);const K=X.A&&X.A.locals?X.A.locals:void 0;function ee(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function ne(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function te(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){ne(e,n,t[n])}))}return e}function ae(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,r,o=[],l=!0,i=!1;try{for(t=t.call(e);!(l=(a=t.next()).done)&&(o.push(a.value),!n||o.length!==n);l=!0);}catch(e){i=!0,r=e}finally{try{l||null==t.return||t.return()}finally{if(i)throw r}}return o}}(e,n)||oe(e,n)||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.")}()}function re(e){return function(e){if(Array.isArray(e))return ee(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||oe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(e,n){if(e){if("string"==typeof e)return ee(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ee(e,n):void 0}}function le(e){var n=e.orderItem,t=e.openOrderBasket,o=e.launchOrderForm,s=(0,d.useTranslation)().t,c=(0,l.useCallback)((function(){return n.type===A.DRUG_ORDER?{grouping:_(A.DRUG_ORDER),postDataPrepFn:y}:n.type===A.TEST_ORDER?{grouping:_(A.TEST_ORDER,n.orderType.uuid),postDataPrepFn:h}:{grouping:_(A.GENERAL_ORDER,n.orderType.uuid),postDataPrepFn:b.c$}}),[n.type,n.orderType.uuid])(),u=c.grouping,f=c.postDataPrepFn,p=(0,r.useOrderBasket)(u,f),$=p.orders,v=p.setOrders,w=$.some((function(e){return e.uuid===n.uuid})),C=(0,l.useCallback)((function(){(0,a.launchWorkspace)("test-results-form-workspace",{order:n})}),[n]),k=(0,l.useCallback)((function(){if(n.type===A.DRUG_ORDER)(0,r.getDrugOrderByUuid)(n.uuid).then((function(e){var n=e.data,a=(0,m.Qp)(n,"DISCONTINUE");t(),v(re($).concat([a]))}));else if(n.type===A.TEST_ORDER){var e=(0,m.CZ)(n,"DISCONTINUE");t(),v(re($).concat([e]))}else{var a=(0,m.bW)(n,"DISCONTINUE");t(),v(re($).concat([a]))}}),[n,v,$,t]),x=(0,l.useCallback)((function(){if(n.type===A.DRUG_ORDER)(0,r.getDrugOrderByUuid)(n.uuid).then((function(e){var n=e.data,t=(0,m.Qp)(n,"REVISE");v(re($).concat([t])),o({order:t})})).catch((function(e){console.error("Error modifying drug order: ",e)}));else if(n.type===A.TEST_ORDER){var e=(0,m.CZ)(n,"REVISE");v(re($).concat([e])),o({order:e})}else if(n.type===A.GENERAL_ORDER){var t=(0,m.bW)(n,"REVISE");v(re($).concat([t])),o({order:t})}}),[n,o,$,v]);return i().createElement(g.Wdr,{className:K.layer},i().createElement(g.obU,{"aria-label":s("actionsMenu","Actions menu"),flipped:!0,selectorPrimaryFocus:"#modify",size:"md"},i().createElement(g.XSD,{className:K.menuItem,disabled:w,id:"modify",itemText:s("modifyOrder","Modify order"),onClick:x}),(null==n?void 0:n.type)===A.TEST_ORDER&&i().createElement(g.XSD,{className:K.menuItem,disabled:w,id:"reorder",itemText:"COMPLETED"===n.fulfillerStatus?s("editResults","Edit results"):s("addResults","Add results"),onClick:C}),i().createElement(g.XSD,{className:K.menuItem,disabled:w||"DISCONTINUE"===(null==n?void 0:n.action),hasDivider:!0,id:"discontinue",isDelete:!0,itemText:s("cancelOrder","Cancel order"),onClick:k})))}const ie=function(e){var n=e.patientUuid,t=e.patient,o=e.showAddButton,s=e.showPrintButton,y=e.title,h=(0,d.useTranslation)().t,b=h("orders","Orders"),$="tablet"===(0,a.useLayoutType)(),v=$?"lg":"md",_=(0,r.useLaunchWorkspaceRequiringVisit)("order-basket"),w=(0,r.useLaunchWorkspaceRequiringVisit)("add-drug-order"),C=(0,r.useLaunchWorkspaceRequiringVisit)("add-lab-order"),k=(0,r.useLaunchWorkspaceRequiringVisit)("orderable-concept-workspace"),x=(0,l.useRef)(null),E=(0,a.useConfig)().excludePatientIdentifierCodeTypes,z=ae((0,l.useState)(!1),2),D=z[0],M=z[1],N=(0,r.useOrderTypes)().data,T=ae((0,l.useState)(null),2),O=T[0],B=T[1],S=ae((0,l.useState)([null,null]),2),I=S[0],R=S[1],P=ae(I,2),j=P[0],U=P[1],q=(0,l.useMemo)((function(){return j?c()(j).startOf("day").toISOString():null}),[j]),L=(0,l.useMemo)((function(){return U?c()(U).endOf("day").toISOString():null}),[U]),G=null==N?void 0:N.find((function(e){return e.uuid===O})),H=(0,l.useCallback)((function(e){if(!e)return h("ordersLower","orders");var n=(e.display||e.name||"").toLowerCase();return n.includes("test")?h("testOrders","test orders"):n.includes("drug")?h("drugOrders","drug orders"):h("ordersLower","orders")}),[h]),V=(0,l.useMemo)((function(){return H(G)}),[G,H]),Z=(0,l.useCallback)((function(e){if(!e)return"";if(!e.uuid)return h("allOrders","All orders");var n=(e.display||e.name||"").toLowerCase();if(n.includes("drug")){var t=h("drugOrders","Drug orders");return t?t.charAt(0).toUpperCase()+t.slice(1):t}if(n.includes("test")){var a=h("testOrders","Test orders");return a?a.charAt(0).toUpperCase()+a.slice(1):a}return e.display||e.name||""}),[h]),X=(0,r.usePatientOrders)(n,"ACTIVE",O,q,L),Q=X.data,ee=X.error,ne=X.isLoading,oe=X.isValidating,ie=(0,l.useMemo)((function(){return Q?O?Q.filter((function(e){var n;return(null===(n=e.orderType)||void 0===n?void 0:n.uuid)===O})):Q:[]}),[Q,O]),de=(0,l.useCallback)((function(e){switch(e.type){case A.DRUG_ORDER:w({order:(0,m.Qp)(e,"REVISE")});break;case A.TEST_ORDER:C({order:(0,m.CZ)(e,"REVISE"),orderTypeUuid:e.orderType.uuid});break;case A.GENERAL_ORDER:k({order:(0,m.bW)(e,"REVISE"),orderTypeUuid:e.orderType.uuid});break;default:_()}}),[w,k,C,_]),se=[{key:"orderNumber",header:h("orderNumber","Order number"),isSortable:!0},{key:"dateOfOrder",header:h("dateOfOrder","Date of order"),isSortable:!0},{key:"orderType",header:h("orderType","Order type"),isSortable:!0},{key:"order",header:h("order","Order"),isSortable:!0},{key:"priority",header:h("priority","Priority"),isSortable:!1},{key:"orderedBy",header:h("orderedBy","Ordered by"),isSortable:!1},{key:"status",header:h("status","Status"),isSortable:!1}];D&&se.push({key:"dosage",header:h("dosage","Dosage"),isSortable:!0});var ce=(0,l.useMemo)((function(){var e;return null!==(e=null==ie?void 0:ie.map((function(e){var n,t,r,o,l;return{id:e.uuid,dateActivated:e.dateActivated,orderNumber:e.orderNumber,dateOfOrder:i().createElement("div",{className:K.singleLineText},(0,a.formatDate)((0,a.parseDate)(e.dateActivated))),orderType:(0,u.A)(null!==(o=null===(n=e.orderType)||void 0===n?void 0:n.display)&&void 0!==o?o:"-"),dosage:e.type===A.DRUG_ORDER?i().createElement("div",{className:K.singleLineText},"".concat(h("indication","Indication").toUpperCase(),"\n ").concat(null!==(l=e.orderReasonNonCoded)&&void 0!==l?l:h("noIndicationProvided","No indication provided")," ","-"," ").concat(h("quantity","Quantity").toUpperCase()," ").concat(e.quantity," ").concat(null==e||null===(t=e.quantityUnits)||void 0===t?void 0:t.display," ")):"--",order:e.display,priority:i().createElement("div",{className:K.priorityPill,"data-priority":(0,f.A)(e.urgency)},h(e.urgency,(0,u.A)(e.urgency.replace("_"," ")))),orderedBy:null===(r=e.orderer)||void 0===r?void 0:r.display,status:e.fulfillerStatus?i().createElement("div",{className:K.statusPill,"data-status":(0,f.A)(e.fulfillerStatus)},h(e.fulfillerStatus,(0,u.A)(e.fulfillerStatus.replace("_"," ")))):"--"}})))&&void 0!==e?e:[]}),[ie,h]),ue=(0,a.usePagination)(ce,10),fe=ue.results,pe=ue.goTo,ge=ue.currentPage,ye=(0,l.useMemo)((function(){var e,n,r,o=null!==(r=null==t||null===(e=t.identifier)||void 0===e?void 0:e.filter((function(e){var n;return!(null==E||null===(n=E.uuids)||void 0===n?void 0:n.includes(e.type.coding[0].code))})))&&void 0!==r?r:[];return{name:t?(0,a.getPatientName)(t):"",age:(0,a.age)(null==t?void 0:t.birthDate),gender:function(e){switch(e){case"male":return(0,a.getCoreTranslation)("male");case"female":return(0,a.getCoreTranslation)("female");case"other":return(0,a.getCoreTranslation)("other");case"unknown":return(0,a.getCoreTranslation)("unknown");default:return e}}(null==t?void 0:t.gender),location:null==t||null===(n=t.address)||void 0===n?void 0:n[0].city,identifiers:(null==o?void 0:o.length)?o.map((function(e){return e.value})):[]}}),[t,null==E?void 0:E.uuids]),he=(0,l.useRef)(null);(0,l.useEffect)((function(){D&&he.current&&he.current()}),[D]);var be=(0,p.useReactToPrint)({content:function(){return x.current},documentTitle:"OpenMRS - ".concat(ye.name," - ").concat(y),onBeforeGetContent:function(){return new Promise((function(e){t&&y&&(he.current=e,M(!0))}))},onAfterPrint:function(){he.current=null,M(!1)}}),me=(0,l.useMemo)((function(){var e;return[{display:h("allOrders","All orders"),uuid:null}].concat(re(null!==(e=null==N?void 0:N.map((function(e){return{display:e.display,uuid:e.uuid}})))&&void 0!==e?e:[]))}),[N,h]),$e=(0,l.useCallback)((function(e){var n=ae(e,2),t=n[0],a=n[1];R([null!=t?t:null,null!=a?a:null])}),[]),ve=(0,l.useCallback)((function(e){return n=e.type,Object.values(A).includes(n);var n}),[]);return i().createElement(i().Fragment,null,i().createElement("div",{className:K.filterContainer},i().createElement("div",{className:K.dropdownContainer},i().createElement(g.msM,{id:"orderTypeDropdown",items:me,itemToString:function(e){return Z(e)},label:h("allOrders","All orders"),onChange:function(e){var n,t=e.selectedItem;B(null!==(n=null==t?void 0:t.uuid)&&void 0!==n?n:null)},selectedItem:me.find((function(e){return e.uuid===O})),titleText:h("selectOrderType","Select order type")+":",type:"inline"})),i().createElement(a.OpenmrsDateRangePicker,{className:K.inlineDateRange,labelText:h("dateRange","Date range")+":",maxDate:new Date,onChange:$e,value:I})),ne?i().createElement(g.OOb,{role:"progressbar",compact:!$,zebra:!0}):ee?i().createElement(r.ErrorState,{error:ee,headerTitle:y}):N&&(null==N?void 0:N.length)>0?i().createElement(i().Fragment,null,(null==ce?void 0:ce.length)?i().createElement("div",{className:K.widgetCard},i().createElement(r.CardHeader,{title:y},oe?i().createElement("span",null,i().createElement(g.OuH,null)):null,i().createElement("div",{className:K.buttons},s&&i().createElement(g.$nd,{className:K.printButton,iconDescription:h("printOrder","Print order"),kind:"ghost",onClick:be,renderIcon:a.PrinterIcon},h("print","Print")),o&&i().createElement(g.$nd,{className:K.addButton,kind:"ghost",renderIcon:a.AddIcon,iconDescription:h("launchOrderBasket","Launch order basket"),onClick:_},h("add","Add")))),i().createElement("div",{ref:x},i().createElement(Y,{subheader:y,patientDetails:ye}),i().createElement(g.bQt,{"aria-label":h("orderDetails","Order details"),"data-floating-menu-container":!0,headers:se,isSortable:!0,overflowMenuOnHover:!$,rows:fe,size:v,useZebraStyles:!0},(function(e){var n=e.getExpandedRowProps,t=e.getExpandHeaderProps,r=e.getHeaderProps,o=e.getRowProps,l=e.getTableContainerProps,d=e.getTableProps,s=e.headers,c=e.onInputChange,u=e.rows;return i().createElement(i().Fragment,null,i().createElement(g.K3K,l(),!D&&i().createElement("div",{className:K.toolBarContent},i().createElement(g.VbH,null,i().createElement(g.vji,{isExpanded:!0,labelText:h("searchTable","Search table"),onChange:function(e){return c(e)},placeholder:h("searchTable","Search table")}))),i().createElement(g.XIK,te({className:K.table},d()),i().createElement(g.ndF,null,i().createElement(g.Hjg,null,i().createElement(g.Uwq,te({enableToggle:!0},t())),s.map((function(e){return i().createElement(g.A0N,(n=te({},r({header:e})),t=null!=(t={isSortable:e.isSortable})?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})),n),e.header);var n,t})),i().createElement(g.Uwq,null))),i().createElement(g.BFY,null,u.map((function(e){var t=null==Q?void 0:Q.find((function(n){return n.uuid===e.id}));return i().createElement(i().Fragment,{key:e.id},i().createElement(g.fZD,te({className:K.row},o({row:e})),e.cells.map((function(e){var n,t;return i().createElement(g.nA6,{className:K.tableCell,key:e.id},null!==(t=null===(n=e.value)||void 0===n?void 0:n.content)&&void 0!==t?t:e.value)})),!D&&i().createElement(g.nA6,{className:"cds--table-column-menu"},t&&ve(t)?i().createElement(le,{launchOrderForm:function(){return de(t)},openOrderBasket:_,orderItem:t}):i().createElement(a.ExtensionSlot,{name:"".concat(null==t?void 0:t.type,"-action-menu-items-slot"),state:{className:K.menuItem,orderItem:t,responsiveSize:v}}))),e.isExpanded?i().createElement(g.cwJ,te({colSpan:s.length+2},n({row:e})),i().createElement(i().Fragment,null,(null==t?void 0:t.type)===A.DRUG_ORDER?i().createElement(W,{medication:t}):(null==t?void 0:t.type)===A.TEST_ORDER?i().createElement(J.A,{testOrder:t}):(null==t?void 0:t.type)===A.GENERAL_ORDER?i().createElement(F,{order:t}):i().createElement(a.ExtensionSlot,{name:"".concat(t.type,"-detail-slot"),state:{orderItem:t}}))):i().createElement(g.cwJ,{className:K.hiddenRow,colSpan:s.length+2}))}))))),0===u.length?i().createElement("div",{className:K.tileContainer},i().createElement(g.FAs,{className:K.emptyStateTile},i().createElement("div",{className:K.tileContent},i().createElement("p",{className:K.content},h("noMatchingOrdersToDisplay","No matching orders to display")),i().createElement("p",{className:K.helperText},h("checkFilters","Check the filters above"))))):null)})),!D&&i().createElement("div",{className:K.paginationContainer},i().createElement(r.PatientChartPagination,{currentItems:fe.length,onPageNumberChange:function(e){var n=e.page;return pe(n)},pageNumber:ge,pageSize:10,totalItems:ce.length})))):i().createElement(r.EmptyState,{headerTitle:b,displayText:V,launchForm:_})):null)};function de(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var se=t(84767),ce="@openmrs/esm-patient-orders-app",ue={featureName:"patient-orders",moduleName:ce};function fe(){(0,a.defineConfigSchema)(ce,o)}var pe=(0,a.getAsyncLifecycle)((function(){return t.e(7202).then(t.bind(t,17202))}),ue),ge=(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(7038),t.e(4937)]).then(t.bind(t,4937))}),ue),ye=(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(7038),t.e(1571)]).then(t.bind(t,51571))}),ue),he=(0,a.getSyncLifecycle)((function(){var e=(0,d.useTranslation)().t,n=(0,r.useOrderBasket)().orders,t=(0,r.useLaunchWorkspaceRequiringVisit)("order-basket");return i().createElement(a.ActionMenuButton,{getIcon:function(e){return i().createElement(a.ShoppingCartIcon,e)},label:e("orderBasket","Order basket"),iconDescription:e("medications","Medications"),handler:t,type:"order",tagContent:(null==n?void 0:n.length)>0?null==n?void 0:n.length:null})}),ue),be=(0,a.getAsyncLifecycle)((function(){return t.e(6411).then(t.bind(t,96411))}),ue),me=(0,a.getAsyncLifecycle)((function(){return t.e(3685).then(t.bind(t,63685))}),ue),$e=(0,a.getSyncLifecycle)((0,r.createDashboardLink)(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){de(e,n,t[n])}))}return e}({},{slot:"patient-chart-lab-orders-dashboard-slot",path:"Orders",title:"Orders",icon:"omrs-icon-shopping-cart",hideDashboardTitle:!0})),ue),ve=(0,a.getSyncLifecycle)((function(e){var n=e.patientUuid,t=e.patient,r=(0,d.useTranslation)().t,o=(0,a.useConfig)().showPrintButton,l=r("orders","Orders");return i().createElement("div",{style:{marginBottom:"1.5rem"}},i().createElement(ie,{patientUuid:n,patient:t,showAddButton:!0,showPrintButton:o,title:l}))}),ue),Ae=(0,a.getAsyncLifecycle)((function(){return t.e(6542).then(t.bind(t,46542))}),ue),_e=(0,a.getAsyncLifecycle)((function(){return t.e(8154).then(t.bind(t,98154))}),ue),we=(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(7038),t.e(8960)]).then(t.bind(t,78960))}),ue)},43508:(e,n,t)=>{"use strict";t.d(n,{A:()=>x});var a=t(1343),r=t.n(a),o=t(72339),l=t(54440),i=t(70033),d=t(1347),s=t(82768),c=t(72591),u=t.n(c),f=t(1740),p=t.n(f),g=t(88128),y=t.n(g),h=t(30855),b=t.n(h),m=t(93051),$=t.n(m),v=t(73656),A=t.n(v),_=t(70050),w={};w.styleTagTransform=A(),w.setAttributes=b(),w.insert=y().bind(null,"head"),w.domAPI=p(),w.insertStyleElement=$(),u()(_.A,w);const C=_.A&&_.A.locals?_.A.locals:void 0;function k(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}const x=function(e){var n,t,c,u=e.testOrder,f=(0,o.useTranslation)().t,p="tablet"===(0,l.useLayoutType)(),g=(0,d.oi)(null==u||null===(n=u.concept)||void 0===n?void 0:n.uuid),y=g.concept,h=g.isLoading,b=(0,d.W4)(null==u||null===(t=u.encounter)||void 0===t?void 0:t.uuid),m=b.encounter,$=b.isLoading,v=(0,a.useMemo)((function(){var e;return[{key:"testType",header:(null==u||null===(e=u.orderType)||void 0===e?void 0:e.display)||""},{key:"result",header:f("result","Result")},{key:"normalRange",header:f("normalRange","Normal range")}]}),[f,null==u||null===(c=u.orderType)||void 0===c?void 0:c.display]),A=(0,a.useMemo)((function(){var e;return m&&y?null===(e=m.obs)||void 0===e?void 0:e.find((function(e){return e.concept.uuid===y.uuid})):null}),[y,m]),_=(0,a.useMemo)((function(){if(!y)return[];if(y.setMembers&&y.setMembers.length>0)return y.setMembers.map((function(e){var n,t,a=null==A||null===(n=A.groupMembers)||void 0===n?void 0:n.find((function(n){return n.concept.uuid===e.uuid}));if($)t=r().createElement(i.rrI,null);else if(a){var o;t=(0,s.or)(null!==(o=a.value)&&void 0!==o?o:a)}else t="--";return{id:e.uuid,testType:r().createElement("div",{className:C.testType},e.display||"--"),result:t,normalRange:null!=e.lowNormal&&null!=e.hiNormal?"".concat(e.lowNormal," - ").concat(e.hiNormal):f("notApplicable","Not applicable")}}));var e;if($)e=r().createElement(i.rrI,null);else if(A){var n;e=(0,s.or)(null!==(n=A.value)&&void 0!==n?n:A)}else e="--";return[{id:y.uuid,testType:r().createElement("div",{className:C.testType},y.display||"--"),result:e,normalRange:null!=y.lowNormal&&null!=y.hiNormal?"".concat(y.lowNormal," - ").concat(y.hiNormal):f("notApplicable","Not applicable")}]}),[y,$,A,f]);return h||$?r().createElement(i.OOb,{role:"progressbar",compact:!p,zebra:!0}):y?r().createElement("div",{className:C.testOrder},r().createElement(i.bQt,{rows:_,headers:v,size:p?"lg":"sm",useZebraStyles:!0},(function(e){var n,t,a=e.rows,o=e.headers,l=e.getHeaderProps,d=e.getRowProps,s=e.getTableProps,c=e.getTableContainerProps;return r().createElement(i.K3K,c(),r().createElement(i.XIK,(n=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){k(e,n,t[n])}))}return e}({},s()),t=null!=(t={"aria-label":f("testOrders","Test orders")})?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})),n),r().createElement(i.ndF,null,r().createElement(i.Hjg,null,o.map((function(e){return r().createElement(i.A0N,l({header:e}),e.header)})))),r().createElement(i.BFY,null,a.map((function(e){return r().createElement(i.Hjg,d({row:e}),e.cells.map((function(e){return r().createElement(i.nA6,{key:e.id,className:C.testCell},e.value)})))})))))}))):r().createElement("div",{className:C.error},f("noTestData","No test data available"))}},70050:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var a=t(30977),r=t.n(a),o=t(95924),l=t.n(o)()(r());l.push([e.id,".-esm-patient-orders__test-order__testOrder___aPMZ\\+{display:flex;flex-direction:column;justify-content:space-between;border:1px solid #e0e0e0;border-bottom:none;border-top:none}.-esm-patient-orders__test-order__testOrder___aPMZ\\+ .cds--data-table th{padding:.5rem !important}.-esm-patient-orders__test-order__testCell___DFyHu{padding-left:1.5rem !important}.-esm-patient-orders__test-order__testType___GB2A\\+{color:#0f62fe}","",{version:3,sources:["webpack://./src/components/test-order.scss","webpack://./../../node_modules/@carbon/colors/index.scss"],names:[],mappings:"AAGA,qDACE,YAAA,CACA,qBAAA,CACA,6BAAA,CACA,wBAAA,CACA,kBAAA,CACA,eAAA,CACA,yEACE,wBAAA,CAGJ,mDACE,8BAAA,CAGF,oDACE,aCFQ",sourcesContent:["@use '@carbon/colors';\n@use '@carbon/layout';\n\n.testOrder {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n border: 1px solid colors.$gray-20;\n border-bottom: none;\n border-top: none;\n :global(.cds--data-table th) {\n padding: layout.$spacing-03 !important;\n }\n}\n.testCell {\n padding-left: layout.$spacing-06 !important;\n}\n\n.testType {\n color: colors.$blue-60;\n}\n","// Code generated by @carbon/colors. 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$black: #000000 !default;\n$white: #ffffff !default;\n\n$black-100: #000000 !default;\n$blue-10: #edf5ff !default;\n$blue-20: #d0e2ff !default;\n$blue-30: #a6c8ff !default;\n$blue-40: #78a9ff !default;\n$blue-50: #4589ff !default;\n$blue-60: #0f62fe !default;\n$blue-70: #0043ce !default;\n$blue-80: #002d9c !default;\n$blue-90: #001d6c !default;\n$blue-100: #001141 !default;\n$cool-gray-10: #f2f4f8 !default;\n$cool-gray-20: #dde1e6 !default;\n$cool-gray-30: #c1c7cd !default;\n$cool-gray-40: #a2a9b0 !default;\n$cool-gray-50: #878d96 !default;\n$cool-gray-60: #697077 !default;\n$cool-gray-70: #4d5358 !default;\n$cool-gray-80: #343a3f !default;\n$cool-gray-90: #21272a !default;\n$cool-gray-100: #121619 !default;\n$cyan-10: #e5f6ff !default;\n$cyan-20: #bae6ff !default;\n$cyan-30: #82cfff !default;\n$cyan-40: #33b1ff !default;\n$cyan-50: #1192e8 !default;\n$cyan-60: #0072c3 !default;\n$cyan-70: #00539a !default;\n$cyan-80: #003a6d !default;\n$cyan-90: #012749 !default;\n$cyan-100: #061727 !default;\n$gray-10: #f4f4f4 !default;\n$gray-20: #e0e0e0 !default;\n$gray-30: #c6c6c6 !default;\n$gray-40: #a8a8a8 !default;\n$gray-50: #8d8d8d !default;\n$gray-60: #6f6f6f !default;\n$gray-70: #525252 !default;\n$gray-80: #393939 !default;\n$gray-90: #262626 !default;\n$gray-100: #161616 !default;\n$green-10: #defbe6 !default;\n$green-20: #a7f0ba !default;\n$green-30: #6fdc8c !default;\n$green-40: #42be65 !default;\n$green-50: #24a148 !default;\n$green-60: #198038 !default;\n$green-70: #0e6027 !default;\n$green-80: #044317 !default;\n$green-90: #022d0d !default;\n$green-100: #071908 !default;\n$magenta-10: #fff0f7 !default;\n$magenta-20: #ffd6e8 !default;\n$magenta-30: #ffafd2 !default;\n$magenta-40: #ff7eb6 !default;\n$magenta-50: #ee5396 !default;\n$magenta-60: #d02670 !default;\n$magenta-70: #9f1853 !default;\n$magenta-80: #740937 !default;\n$magenta-90: #510224 !default;\n$magenta-100: #2a0a18 !default;\n$orange-10: #fff2e8 !default;\n$orange-20: #ffd9be !default;\n$orange-30: #ffb784 !default;\n$orange-40: #ff832b !default;\n$orange-50: #eb6200 !default;\n$orange-60: #ba4e00 !default;\n$orange-70: #8a3800 !default;\n$orange-80: #5e2900 !default;\n$orange-90: #3e1a00 !default;\n$orange-100: #231000 !default;\n$purple-10: #f6f2ff !default;\n$purple-20: #e8daff !default;\n$purple-30: #d4bbff !default;\n$purple-40: #be95ff !default;\n$purple-50: #a56eff !default;\n$purple-60: #8a3ffc !default;\n$purple-70: #6929c4 !default;\n$purple-80: #491d8b !default;\n$purple-90: #31135e !default;\n$purple-100: #1c0f30 !default;\n$red-10: #fff1f1 !default;\n$red-20: #ffd7d9 !default;\n$red-30: #ffb3b8 !default;\n$red-40: #ff8389 !default;\n$red-50: #fa4d56 !default;\n$red-60: #da1e28 !default;\n$red-70: #a2191f !default;\n$red-80: #750e13 !default;\n$red-90: #520408 !default;\n$red-100: #2d0709 !default;\n$teal-10: #d9fbfb !default;\n$teal-20: #9ef0f0 !default;\n$teal-30: #3ddbd9 !default;\n$teal-40: #08bdba !default;\n$teal-50: #009d9a !default;\n$teal-60: #007d79 !default;\n$teal-70: #005d5d !default;\n$teal-80: #004144 !default;\n$teal-90: #022b30 !default;\n$teal-100: #081a1c !default;\n$warm-gray-10: #f7f3f2 !default;\n$warm-gray-20: #e5e0df !default;\n$warm-gray-30: #cac5c4 !default;\n$warm-gray-40: #ada8a8 !default;\n$warm-gray-50: #8f8b8b !default;\n$warm-gray-60: #726e6e !default;\n$warm-gray-70: #565151 !default;\n$warm-gray-80: #3c3838 !default;\n$warm-gray-90: #272525 !default;\n$warm-gray-100: #171414 !default;\n$white-0: #ffffff !default;\n$yellow-10: #fcf4d6 !default;\n$yellow-20: #fddc69 !default;\n$yellow-30: #f1c21b !default;\n$yellow-40: #d2a106 !default;\n$yellow-50: #b28600 !default;\n$yellow-60: #8e6a00 !default;\n$yellow-70: #684e00 !default;\n$yellow-80: #483700 !default;\n$yellow-90: #302400 !default;\n$yellow-100: #1c1500 !default;\n\n$white-hover: #e8e8e8 !default;\n$black-hover: #212121 !default;\n$blue-10-hover: #dbebff !default;\n$blue-20-hover: #b8d3ff !default;\n$blue-30-hover: #8ab6ff !default;\n$blue-40-hover: #5c97ff !default;\n$blue-50-hover: #1f70ff !default;\n$blue-60-hover: #0050e6 !default;\n$blue-70-hover: #0053ff !default;\n$blue-80-hover: #0039c7 !default;\n$blue-90-hover: #00258a !default;\n$blue-100-hover: #001f75 !default;\n$cool-gray-10-hover: #e4e9f1 !default;\n$cool-gray-20-hover: #cdd3da !default;\n$cool-gray-30-hover: #adb5bd !default;\n$cool-gray-40-hover: #9199a1 !default;\n$cool-gray-50-hover: #757b85 !default;\n$cool-gray-60-hover: #585e64 !default;\n$cool-gray-70-hover: #5d646a !default;\n$cool-gray-80-hover: #434a51 !default;\n$cool-gray-90-hover: #2b3236 !default;\n$cool-gray-100-hover: #222a2f !default;\n$cyan-10-hover: #cceeff !default;\n$cyan-20-hover: #99daff !default;\n$cyan-30-hover: #57beff !default;\n$cyan-40-hover: #059fff !default;\n$cyan-50-hover: #0f7ec8 !default;\n$cyan-60-hover: #005fa3 !default;\n$cyan-70-hover: #0066bd !default;\n$cyan-80-hover: #00498a !default;\n$cyan-90-hover: #013360 !default;\n$cyan-100-hover: #0b2947 !default;\n$gray-10-hover: #e8e8e8 !default;\n$gray-20-hover: #d1d1d1 !default;\n$gray-30-hover: #b5b5b5 !default;\n$gray-40-hover: #999999 !default;\n$gray-50-hover: #7a7a7a !default;\n$gray-60-hover: #5e5e5e !default;\n$gray-70-hover: #636363 !default;\n$gray-80-hover: #474747 !default;\n$gray-90-hover: #333333 !default;\n$gray-100-hover: #292929 !default;\n$green-10-hover: #b6f6c8 !default;\n$green-20-hover: #74e792 !default;\n$green-30-hover: #36ce5e !default;\n$green-40-hover: #3bab5a !default;\n$green-50-hover: #208e3f !default;\n$green-60-hover: #166f31 !default;\n$green-70-hover: #11742f !default;\n$green-80-hover: #05521c !default;\n$green-90-hover: #033b11 !default;\n$green-100-hover: #0d300f !default;\n$magenta-10-hover: #ffe0ef !default;\n$magenta-20-hover: #ffbdda !default;\n$magenta-30-hover: #ff94c3 !default;\n$magenta-40-hover: #ff57a0 !default;\n$magenta-50-hover: #e3176f !default;\n$magenta-60-hover: #b0215f !default;\n$magenta-70-hover: #bf1d63 !default;\n$magenta-80-hover: #8e0b43 !default;\n$magenta-90-hover: #68032e !default;\n$magenta-100-hover: #53142f !default;\n$orange-10-hover: #ffe2cc !default;\n$orange-20-hover: #ffc69e !default;\n$orange-30-hover: #ff9d57 !default;\n$orange-40-hover: #fa6800 !default;\n$orange-50-hover: #cc5500 !default;\n$orange-60-hover: #9e4200 !default;\n$orange-70-hover: #a84400 !default;\n$orange-80-hover: #753300 !default;\n$orange-90-hover: #522200 !default;\n$orange-100-hover: #421e00 !default;\n$purple-10-hover: #ede5ff !default;\n$purple-20-hover: #dcc7ff !default;\n$purple-30-hover: #c5a3ff !default;\n$purple-40-hover: #ae7aff !default;\n$purple-50-hover: #9352ff !default;\n$purple-60-hover: #7822fb !default;\n$purple-70-hover: #7c3dd6 !default;\n$purple-80-hover: #5b24ad !default;\n$purple-90-hover: #40197b !default;\n$purple-100-hover: #341c59 !default;\n$red-10-hover: #ffe0e0 !default;\n$red-20-hover: #ffc2c5 !default;\n$red-30-hover: #ff99a0 !default;\n$red-40-hover: #ff6168 !default;\n$red-50-hover: #ee0713 !default;\n$red-60-hover: #b81922 !default;\n$red-70-hover: #c21e25 !default;\n$red-80-hover: #921118 !default;\n$red-90-hover: #66050a !default;\n$red-100-hover: #540d11 !default;\n$teal-10-hover: #acf6f6 !default;\n$teal-20-hover: #57e5e5 !default;\n$teal-30-hover: #25cac8 !default;\n$teal-40-hover: #07aba9 !default;\n$teal-50-hover: #008a87 !default;\n$teal-60-hover: #006b68 !default;\n$teal-70-hover: #007070 !default;\n$teal-80-hover: #005357 !default;\n$teal-90-hover: #033940 !default;\n$teal-100-hover: #0f3034 !default;\n$warm-gray-10-hover: #f0e8e6 !default;\n$warm-gray-20-hover: #d8d0cf !default;\n$warm-gray-30-hover: #b9b3b1 !default;\n$warm-gray-40-hover: #9c9696 !default;\n$warm-gray-50-hover: #7f7b7b !default;\n$warm-gray-60-hover: #605d5d !default;\n$warm-gray-70-hover: #696363 !default;\n$warm-gray-80-hover: #4c4848 !default;\n$warm-gray-90-hover: #343232 !default;\n$warm-gray-100-hover: #2c2626 !default;\n$yellow-10-hover: #f8e6a0 !default;\n$yellow-20-hover: #fccd27 !default;\n$yellow-30-hover: #ddb00e !default;\n$yellow-40-hover: #bc9005 !default;\n$yellow-50-hover: #9e7700 !default;\n$yellow-60-hover: #755800 !default;\n$yellow-70-hover: #806000 !default;\n$yellow-80-hover: #5c4600 !default;\n$yellow-90-hover: #3d2e00 !default;\n$yellow-100-hover: #332600 !default;\n\n/// Colors from the IBM Design Language\n/// @access public\n/// @group @carbon/colors\n$colors: (\n black: (\n 100: #000000,\n ),\n blue: (\n 10: #edf5ff,\n 20: #d0e2ff,\n 30: #a6c8ff,\n 40: #78a9ff,\n 50: #4589ff,\n 60: #0f62fe,\n 70: #0043ce,\n 80: #002d9c,\n 90: #001d6c,\n 100: #001141,\n ),\n cool-gray: (\n 10: #f2f4f8,\n 20: #dde1e6,\n 30: #c1c7cd,\n 40: #a2a9b0,\n 50: #878d96,\n 60: #697077,\n 70: #4d5358,\n 80: #343a3f,\n 90: #21272a,\n 100: #121619,\n ),\n cyan: (\n 10: #e5f6ff,\n 20: #bae6ff,\n 30: #82cfff,\n 40: #33b1ff,\n 50: #1192e8,\n 60: #0072c3,\n 70: #00539a,\n 80: #003a6d,\n 90: #012749,\n 100: #061727,\n ),\n gray: (\n 10: #f4f4f4,\n 20: #e0e0e0,\n 30: #c6c6c6,\n 40: #a8a8a8,\n 50: #8d8d8d,\n 60: #6f6f6f,\n 70: #525252,\n 80: #393939,\n 90: #262626,\n 100: #161616,\n ),\n green: (\n 10: #defbe6,\n 20: #a7f0ba,\n 30: #6fdc8c,\n 40: #42be65,\n 50: #24a148,\n 60: #198038,\n 70: #0e6027,\n 80: #044317,\n 90: #022d0d,\n 100: #071908,\n ),\n magenta: (\n 10: #fff0f7,\n 20: #ffd6e8,\n 30: #ffafd2,\n 40: #ff7eb6,\n 50: #ee5396,\n 60: #d02670,\n 70: #9f1853,\n 80: #740937,\n 90: #510224,\n 100: #2a0a18,\n ),\n orange: (\n 10: #fff2e8,\n 20: #ffd9be,\n 30: #ffb784,\n 40: #ff832b,\n 50: #eb6200,\n 60: #ba4e00,\n 70: #8a3800,\n 80: #5e2900,\n 90: #3e1a00,\n 100: #231000,\n ),\n purple: (\n 10: #f6f2ff,\n 20: #e8daff,\n 30: #d4bbff,\n 40: #be95ff,\n 50: #a56eff,\n 60: #8a3ffc,\n 70: #6929c4,\n 80: #491d8b,\n 90: #31135e,\n 100: #1c0f30,\n ),\n red: (\n 10: #fff1f1,\n 20: #ffd7d9,\n 30: #ffb3b8,\n 40: #ff8389,\n 50: #fa4d56,\n 60: #da1e28,\n 70: #a2191f,\n 80: #750e13,\n 90: #520408,\n 100: #2d0709,\n ),\n teal: (\n 10: #d9fbfb,\n 20: #9ef0f0,\n 30: #3ddbd9,\n 40: #08bdba,\n 50: #009d9a,\n 60: #007d79,\n 70: #005d5d,\n 80: #004144,\n 90: #022b30,\n 100: #081a1c,\n ),\n warm-gray: (\n 10: #f7f3f2,\n 20: #e5e0df,\n 30: #cac5c4,\n 40: #ada8a8,\n 50: #8f8b8b,\n 60: #726e6e,\n 70: #565151,\n 80: #3c3838,\n 90: #272525,\n 100: #171414,\n ),\n white: (\n 0: #ffffff,\n ),\n yellow: (\n 10: #fcf4d6,\n 20: #fddc69,\n 30: #f1c21b,\n 40: #d2a106,\n 50: #b28600,\n 60: #8e6a00,\n 70: #684e00,\n 80: #483700,\n 90: #302400,\n 100: #1c1500,\n ),\n) !default;\n"],sourceRoot:""}]),l.locals={testOrder:"-esm-patient-orders__test-order__testOrder___aPMZ+",testCell:"-esm-patient-orders__test-order__testCell___DFyHu",testType:"-esm-patient-orders__test-order__testType___GB2A+"};const i=l},82768:(e,n,t)=>{"use strict";function a(e,n){var t,a,r,o,l,i,d,s,c,u,f,p;return{display:null===(t=e.drug)||void 0===t?void 0:t.display,previousOrder:"NEW"!==n?e.uuid:null,action:n,drug:e.drug,dosage:e.dose,unit:{value:null===(a=e.doseUnits)||void 0===a?void 0:a.display,valueCoded:null===(r=e.doseUnits)||void 0===r?void 0:r.uuid},frequency:{valueCoded:null===(o=e.frequency)||void 0===o?void 0:o.uuid,value:null===(l=e.frequency)||void 0===l?void 0:l.display},route:{valueCoded:null===(i=e.route)||void 0===i?void 0:i.uuid,value:null===(d=e.route)||void 0===d?void 0:d.display},commonMedicationName:null===(s=e.drug)||void 0===s?void 0:s.display,isFreeTextDosage:"org.openmrs.FreeTextDosingInstructions"===e.dosingType,freeTextDosage:"org.openmrs.FreeTextDosingInstructions"===e.dosingType?e.dosingInstructions:"",patientInstructions:"org.openmrs.FreeTextDosingInstructions"!==e.dosingType?e.dosingInstructions:"",asNeeded:e.asNeeded,asNeededCondition:e.asNeededCondition,startDate:"DISCONTINUE"===n?e.dateActivated:new Date,duration:e.duration,durationUnit:{valueCoded:null===(c=e.durationUnits)||void 0===c?void 0:c.uuid,value:null===(u=e.durationUnits)||void 0===u?void 0:u.display},pillsDispensed:e.quantity,numRefills:e.numRefills,indication:e.orderReasonNonCoded,orderer:e.orderer.uuid,careSetting:e.careSetting.uuid,quantityUnits:{value:null===(f=e.quantityUnits)||void 0===f?void 0:f.display,valueCoded:null===(p=e.quantityUnits)||void 0===p?void 0:p.uuid}}}function r(e,n){return{action:n,display:e.display,previousOrder:"NEW"!==n?e.uuid:null,orderer:e.orderer.uuid,careSetting:e.careSetting.uuid,instructions:e.instructions,urgency:e.urgency,accessionNumber:e.accessionNumber,testType:{label:e.concept.display,conceptUuid:e.concept.uuid},orderNumber:e.orderNumber,concept:e.concept,orderType:e.orderType.uuid,specimenSource:null,scheduledDate:e.scheduledDate?new Date(e.scheduledDate):null}}function o(e,n){return{action:n,display:e.display,previousOrder:"NEW"!==n?e.uuid:null,orderer:e.orderer.uuid,careSetting:e.careSetting.uuid,instructions:e.instructions,urgency:e.urgency,accessionNumber:e.accessionNumber,concept:e.concept,orderNumber:e.orderNumber,orderType:e.orderType.uuid,scheduledDate:e.scheduledDate?new Date(e.scheduledDate):null}}t.d(n,{CZ:()=>r,Qp:()=>a,bW:()=>o,or:()=>l});var l=function(e){return e?"string"==typeof e?e:"number"==typeof e?e.toString():e&&"object"==(void 0===e?"undefined":(n=e)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)&&"display"in e?e.display:"--":"--";var n}},84767:(e,n,t)=>{var a={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879]};function r(e){if(!t.o(a,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=a[e],r=n[0];return t.e(n[1]).then((()=>t(r)))}r.keys=()=>Object.keys(a),r.id=84767,e.exports=r},90901:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var a=t(30977),r=t.n(a),o=t(95924),l=t.n(o)()(r());l.push([e.id,".-esm-patient-orders__general-order-table__order___RSSzZ{display:flex;flex-direction:column;justify-content:space-between;border:1px solid #e0e0e0;border-bottom:none}.-esm-patient-orders__general-order-table__order___RSSzZ .cds--data-table th{padding:.5rem !important}.-esm-patient-orders__general-order-table__cell___Sg6v4{padding-left:1.5rem !important}.-esm-patient-orders__general-order-table__type___meZmh{color:#0f62fe}","",{version:3,sources:["webpack://./src/components/general-order-table.scss","webpack://./../../node_modules/@carbon/colors/index.scss"],names:[],mappings:"AAGA,yDACE,YAAA,CACA,qBAAA,CACA,6BAAA,CACA,wBAAA,CACA,kBAAA,CACA,6EACE,wBAAA,CAIJ,wDACE,8BAAA,CAGF,wDACE,aCFQ",sourcesContent:["@use '@carbon/colors';\n@use '@carbon/layout';\n\n.order {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n border: 1px solid colors.$gray-20;\n border-bottom: none;\n :global(.cds--data-table th) {\n padding: layout.$spacing-03 !important;\n }\n}\n\n.cell {\n padding-left: layout.$spacing-06 !important;\n}\n\n.type {\n color: colors.$blue-60;\n}\n","// Code generated by @carbon/colors. 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$black: #000000 !default;\n$white: #ffffff !default;\n\n$black-100: #000000 !default;\n$blue-10: #edf5ff !default;\n$blue-20: #d0e2ff !default;\n$blue-30: #a6c8ff !default;\n$blue-40: #78a9ff !default;\n$blue-50: #4589ff !default;\n$blue-60: #0f62fe !default;\n$blue-70: #0043ce !default;\n$blue-80: #002d9c !default;\n$blue-90: #001d6c !default;\n$blue-100: #001141 !default;\n$cool-gray-10: #f2f4f8 !default;\n$cool-gray-20: #dde1e6 !default;\n$cool-gray-30: #c1c7cd !default;\n$cool-gray-40: #a2a9b0 !default;\n$cool-gray-50: #878d96 !default;\n$cool-gray-60: #697077 !default;\n$cool-gray-70: #4d5358 !default;\n$cool-gray-80: #343a3f !default;\n$cool-gray-90: #21272a !default;\n$cool-gray-100: #121619 !default;\n$cyan-10: #e5f6ff !default;\n$cyan-20: #bae6ff !default;\n$cyan-30: #82cfff !default;\n$cyan-40: #33b1ff !default;\n$cyan-50: #1192e8 !default;\n$cyan-60: #0072c3 !default;\n$cyan-70: #00539a !default;\n$cyan-80: #003a6d !default;\n$cyan-90: #012749 !default;\n$cyan-100: #061727 !default;\n$gray-10: #f4f4f4 !default;\n$gray-20: #e0e0e0 !default;\n$gray-30: #c6c6c6 !default;\n$gray-40: #a8a8a8 !default;\n$gray-50: #8d8d8d !default;\n$gray-60: #6f6f6f !default;\n$gray-70: #525252 !default;\n$gray-80: #393939 !default;\n$gray-90: #262626 !default;\n$gray-100: #161616 !default;\n$green-10: #defbe6 !default;\n$green-20: #a7f0ba !default;\n$green-30: #6fdc8c !default;\n$green-40: #42be65 !default;\n$green-50: #24a148 !default;\n$green-60: #198038 !default;\n$green-70: #0e6027 !default;\n$green-80: #044317 !default;\n$green-90: #022d0d !default;\n$green-100: #071908 !default;\n$magenta-10: #fff0f7 !default;\n$magenta-20: #ffd6e8 !default;\n$magenta-30: #ffafd2 !default;\n$magenta-40: #ff7eb6 !default;\n$magenta-50: #ee5396 !default;\n$magenta-60: #d02670 !default;\n$magenta-70: #9f1853 !default;\n$magenta-80: #740937 !default;\n$magenta-90: #510224 !default;\n$magenta-100: #2a0a18 !default;\n$orange-10: #fff2e8 !default;\n$orange-20: #ffd9be !default;\n$orange-30: #ffb784 !default;\n$orange-40: #ff832b !default;\n$orange-50: #eb6200 !default;\n$orange-60: #ba4e00 !default;\n$orange-70: #8a3800 !default;\n$orange-80: #5e2900 !default;\n$orange-90: #3e1a00 !default;\n$orange-100: #231000 !default;\n$purple-10: #f6f2ff !default;\n$purple-20: #e8daff !default;\n$purple-30: #d4bbff !default;\n$purple-40: #be95ff !default;\n$purple-50: #a56eff !default;\n$purple-60: #8a3ffc !default;\n$purple-70: #6929c4 !default;\n$purple-80: #491d8b !default;\n$purple-90: #31135e !default;\n$purple-100: #1c0f30 !default;\n$red-10: #fff1f1 !default;\n$red-20: #ffd7d9 !default;\n$red-30: #ffb3b8 !default;\n$red-40: #ff8389 !default;\n$red-50: #fa4d56 !default;\n$red-60: #da1e28 !default;\n$red-70: #a2191f !default;\n$red-80: #750e13 !default;\n$red-90: #520408 !default;\n$red-100: #2d0709 !default;\n$teal-10: #d9fbfb !default;\n$teal-20: #9ef0f0 !default;\n$teal-30: #3ddbd9 !default;\n$teal-40: #08bdba !default;\n$teal-50: #009d9a !default;\n$teal-60: #007d79 !default;\n$teal-70: #005d5d !default;\n$teal-80: #004144 !default;\n$teal-90: #022b30 !default;\n$teal-100: #081a1c !default;\n$warm-gray-10: #f7f3f2 !default;\n$warm-gray-20: #e5e0df !default;\n$warm-gray-30: #cac5c4 !default;\n$warm-gray-40: #ada8a8 !default;\n$warm-gray-50: #8f8b8b !default;\n$warm-gray-60: #726e6e !default;\n$warm-gray-70: #565151 !default;\n$warm-gray-80: #3c3838 !default;\n$warm-gray-90: #272525 !default;\n$warm-gray-100: #171414 !default;\n$white-0: #ffffff !default;\n$yellow-10: #fcf4d6 !default;\n$yellow-20: #fddc69 !default;\n$yellow-30: #f1c21b !default;\n$yellow-40: #d2a106 !default;\n$yellow-50: #b28600 !default;\n$yellow-60: #8e6a00 !default;\n$yellow-70: #684e00 !default;\n$yellow-80: #483700 !default;\n$yellow-90: #302400 !default;\n$yellow-100: #1c1500 !default;\n\n$white-hover: #e8e8e8 !default;\n$black-hover: #212121 !default;\n$blue-10-hover: #dbebff !default;\n$blue-20-hover: #b8d3ff !default;\n$blue-30-hover: #8ab6ff !default;\n$blue-40-hover: #5c97ff !default;\n$blue-50-hover: #1f70ff !default;\n$blue-60-hover: #0050e6 !default;\n$blue-70-hover: #0053ff !default;\n$blue-80-hover: #0039c7 !default;\n$blue-90-hover: #00258a !default;\n$blue-100-hover: #001f75 !default;\n$cool-gray-10-hover: #e4e9f1 !default;\n$cool-gray-20-hover: #cdd3da !default;\n$cool-gray-30-hover: #adb5bd !default;\n$cool-gray-40-hover: #9199a1 !default;\n$cool-gray-50-hover: #757b85 !default;\n$cool-gray-60-hover: #585e64 !default;\n$cool-gray-70-hover: #5d646a !default;\n$cool-gray-80-hover: #434a51 !default;\n$cool-gray-90-hover: #2b3236 !default;\n$cool-gray-100-hover: #222a2f !default;\n$cyan-10-hover: #cceeff !default;\n$cyan-20-hover: #99daff !default;\n$cyan-30-hover: #57beff !default;\n$cyan-40-hover: #059fff !default;\n$cyan-50-hover: #0f7ec8 !default;\n$cyan-60-hover: #005fa3 !default;\n$cyan-70-hover: #0066bd !default;\n$cyan-80-hover: #00498a !default;\n$cyan-90-hover: #013360 !default;\n$cyan-100-hover: #0b2947 !default;\n$gray-10-hover: #e8e8e8 !default;\n$gray-20-hover: #d1d1d1 !default;\n$gray-30-hover: #b5b5b5 !default;\n$gray-40-hover: #999999 !default;\n$gray-50-hover: #7a7a7a !default;\n$gray-60-hover: #5e5e5e !default;\n$gray-70-hover: #636363 !default;\n$gray-80-hover: #474747 !default;\n$gray-90-hover: #333333 !default;\n$gray-100-hover: #292929 !default;\n$green-10-hover: #b6f6c8 !default;\n$green-20-hover: #74e792 !default;\n$green-30-hover: #36ce5e !default;\n$green-40-hover: #3bab5a !default;\n$green-50-hover: #208e3f !default;\n$green-60-hover: #166f31 !default;\n$green-70-hover: #11742f !default;\n$green-80-hover: #05521c !default;\n$green-90-hover: #033b11 !default;\n$green-100-hover: #0d300f !default;\n$magenta-10-hover: #ffe0ef !default;\n$magenta-20-hover: #ffbdda !default;\n$magenta-30-hover: #ff94c3 !default;\n$magenta-40-hover: #ff57a0 !default;\n$magenta-50-hover: #e3176f !default;\n$magenta-60-hover: #b0215f !default;\n$magenta-70-hover: #bf1d63 !default;\n$magenta-80-hover: #8e0b43 !default;\n$magenta-90-hover: #68032e !default;\n$magenta-100-hover: #53142f !default;\n$orange-10-hover: #ffe2cc !default;\n$orange-20-hover: #ffc69e !default;\n$orange-30-hover: #ff9d57 !default;\n$orange-40-hover: #fa6800 !default;\n$orange-50-hover: #cc5500 !default;\n$orange-60-hover: #9e4200 !default;\n$orange-70-hover: #a84400 !default;\n$orange-80-hover: #753300 !default;\n$orange-90-hover: #522200 !default;\n$orange-100-hover: #421e00 !default;\n$purple-10-hover: #ede5ff !default;\n$purple-20-hover: #dcc7ff !default;\n$purple-30-hover: #c5a3ff !default;\n$purple-40-hover: #ae7aff !default;\n$purple-50-hover: #9352ff !default;\n$purple-60-hover: #7822fb !default;\n$purple-70-hover: #7c3dd6 !default;\n$purple-80-hover: #5b24ad !default;\n$purple-90-hover: #40197b !default;\n$purple-100-hover: #341c59 !default;\n$red-10-hover: #ffe0e0 !default;\n$red-20-hover: #ffc2c5 !default;\n$red-30-hover: #ff99a0 !default;\n$red-40-hover: #ff6168 !default;\n$red-50-hover: #ee0713 !default;\n$red-60-hover: #b81922 !default;\n$red-70-hover: #c21e25 !default;\n$red-80-hover: #921118 !default;\n$red-90-hover: #66050a !default;\n$red-100-hover: #540d11 !default;\n$teal-10-hover: #acf6f6 !default;\n$teal-20-hover: #57e5e5 !default;\n$teal-30-hover: #25cac8 !default;\n$teal-40-hover: #07aba9 !default;\n$teal-50-hover: #008a87 !default;\n$teal-60-hover: #006b68 !default;\n$teal-70-hover: #007070 !default;\n$teal-80-hover: #005357 !default;\n$teal-90-hover: #033940 !default;\n$teal-100-hover: #0f3034 !default;\n$warm-gray-10-hover: #f0e8e6 !default;\n$warm-gray-20-hover: #d8d0cf !default;\n$warm-gray-30-hover: #b9b3b1 !default;\n$warm-gray-40-hover: #9c9696 !default;\n$warm-gray-50-hover: #7f7b7b !default;\n$warm-gray-60-hover: #605d5d !default;\n$warm-gray-70-hover: #696363 !default;\n$warm-gray-80-hover: #4c4848 !default;\n$warm-gray-90-hover: #343232 !default;\n$warm-gray-100-hover: #2c2626 !default;\n$yellow-10-hover: #f8e6a0 !default;\n$yellow-20-hover: #fccd27 !default;\n$yellow-30-hover: #ddb00e !default;\n$yellow-40-hover: #bc9005 !default;\n$yellow-50-hover: #9e7700 !default;\n$yellow-60-hover: #755800 !default;\n$yellow-70-hover: #806000 !default;\n$yellow-80-hover: #5c4600 !default;\n$yellow-90-hover: #3d2e00 !default;\n$yellow-100-hover: #332600 !default;\n\n/// Colors from the IBM Design Language\n/// @access public\n/// @group @carbon/colors\n$colors: (\n black: (\n 100: #000000,\n ),\n blue: (\n 10: #edf5ff,\n 20: #d0e2ff,\n 30: #a6c8ff,\n 40: #78a9ff,\n 50: #4589ff,\n 60: #0f62fe,\n 70: #0043ce,\n 80: #002d9c,\n 90: #001d6c,\n 100: #001141,\n ),\n cool-gray: (\n 10: #f2f4f8,\n 20: #dde1e6,\n 30: #c1c7cd,\n 40: #a2a9b0,\n 50: #878d96,\n 60: #697077,\n 70: #4d5358,\n 80: #343a3f,\n 90: #21272a,\n 100: #121619,\n ),\n cyan: (\n 10: #e5f6ff,\n 20: #bae6ff,\n 30: #82cfff,\n 40: #33b1ff,\n 50: #1192e8,\n 60: #0072c3,\n 70: #00539a,\n 80: #003a6d,\n 90: #012749,\n 100: #061727,\n ),\n gray: (\n 10: #f4f4f4,\n 20: #e0e0e0,\n 30: #c6c6c6,\n 40: #a8a8a8,\n 50: #8d8d8d,\n 60: #6f6f6f,\n 70: #525252,\n 80: #393939,\n 90: #262626,\n 100: #161616,\n ),\n green: (\n 10: #defbe6,\n 20: #a7f0ba,\n 30: #6fdc8c,\n 40: #42be65,\n 50: #24a148,\n 60: #198038,\n 70: #0e6027,\n 80: #044317,\n 90: #022d0d,\n 100: #071908,\n ),\n magenta: (\n 10: #fff0f7,\n 20: #ffd6e8,\n 30: #ffafd2,\n 40: #ff7eb6,\n 50: #ee5396,\n 60: #d02670,\n 70: #9f1853,\n 80: #740937,\n 90: #510224,\n 100: #2a0a18,\n ),\n orange: (\n 10: #fff2e8,\n 20: #ffd9be,\n 30: #ffb784,\n 40: #ff832b,\n 50: #eb6200,\n 60: #ba4e00,\n 70: #8a3800,\n 80: #5e2900,\n 90: #3e1a00,\n 100: #231000,\n ),\n purple: (\n 10: #f6f2ff,\n 20: #e8daff,\n 30: #d4bbff,\n 40: #be95ff,\n 50: #a56eff,\n 60: #8a3ffc,\n 70: #6929c4,\n 80: #491d8b,\n 90: #31135e,\n 100: #1c0f30,\n ),\n red: (\n 10: #fff1f1,\n 20: #ffd7d9,\n 30: #ffb3b8,\n 40: #ff8389,\n 50: #fa4d56,\n 60: #da1e28,\n 70: #a2191f,\n 80: #750e13,\n 90: #520408,\n 100: #2d0709,\n ),\n teal: (\n 10: #d9fbfb,\n 20: #9ef0f0,\n 30: #3ddbd9,\n 40: #08bdba,\n 50: #009d9a,\n 60: #007d79,\n 70: #005d5d,\n 80: #004144,\n 90: #022b30,\n 100: #081a1c,\n ),\n warm-gray: (\n 10: #f7f3f2,\n 20: #e5e0df,\n 30: #cac5c4,\n 40: #ada8a8,\n 50: #8f8b8b,\n 60: #726e6e,\n 70: #565151,\n 80: #3c3838,\n 90: #272525,\n 100: #171414,\n ),\n white: (\n 0: #ffffff,\n ),\n yellow: (\n 10: #fcf4d6,\n 20: #fddc69,\n 30: #f1c21b,\n 40: #d2a106,\n 50: #b28600,\n 60: #8e6a00,\n 70: #684e00,\n 80: #483700,\n 90: #302400,\n 100: #1c1500,\n ),\n) !default;\n"],sourceRoot:""}]),l.locals={order:"-esm-patient-orders__general-order-table__order___RSSzZ",cell:"-esm-patient-orders__general-order-table__cell___Sg6v4",type:"-esm-patient-orders__general-order-table__type___meZmh"};const i=l},94414:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var a=t(30977),r=t.n(a),o=t(95924),l=t.n(o)()(r());l.push([e.id,".-esm-patient-orders__medication-record__medicationContainer___T97AK{display:flex;flex-direction:row;justify-content:flex-start;padding:.5rem;border-bottom:none}.-esm-patient-orders__medication-record__widgetCard___449Do{border:1px solid #e0e0e0;border-bottom:none}.-esm-patient-orders__medication-record__row___2iilR span{margin:auto}.-esm-patient-orders__medication-record__row___2iilR p{padding:.25rem 0}.-esm-patient-orders__medication-record__medicationRecord___cXhDg{display:flex;flex-direction:column;justify-content:space-between}.-esm-patient-orders__medication-record__medicationRecord___cXhDg p:not(:first-of-type,:last-of-type){padding:.25rem 0}.-esm-patient-orders__medication-record__startDateColumn___9NUC7{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:5rem;padding-bottom:.25rem;margin-right:2rem}.-esm-patient-orders__medication-record__startDateColumn___9NUC7 span{margin:0}.-esm-patient-orders__medication-record__dosage___tFNGY{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-patient-orders__medication-record__bodyLong01___NFiTl{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-patient-orders__medication-record__label01___bBejN{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px)}","",{version:3,sources:["webpack://./src/components/medication-record.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAIA,qEACE,YAAA,CACA,kBAAA,CACA,0BAAA,CACA,aCaW,CDZX,kBAAA,CAGF,4DACE,wBAAA,CACA,kBAAA,CAIA,0DACE,WAAA,CAGF,uDACE,gBAAA,CAIJ,kEACE,YAAA,CACA,qBAAA,CACA,6BAAA,CAEA,sGACE,gBAAA,CAIJ,iEE6zBI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CF3zBF,YAAA,CACA,qBAAA,CACA,sBAAA,CACA,6BAAA,CACA,eCkBW,CDjBX,qBC5BW,CD6BX,iBCJW,CDMX,sEACE,QAAA,CAIJ,wDE8yBI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CF1yBJ,4DE0yBI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CFtyBJ,yDEsyBI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA",sourcesContent:["@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@carbon/type';\n\n.medicationContainer {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n padding: layout.$spacing-03;\n border-bottom: none;\n}\n\n.widgetCard {\n border: 1px solid colors.$gray-20;\n border-bottom: none;\n}\n\n.row {\n span {\n margin: auto;\n }\n\n p {\n padding: layout.$spacing-02 0;\n }\n}\n\n.medicationRecord {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n p:not(:first-of-type, :last-of-type) {\n padding: layout.$spacing-02 0;\n }\n}\n\n.startDateColumn {\n @include type.type-style('body-compact-01');\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n min-height: layout.$spacing-11;\n padding-bottom: layout.$spacing-02;\n margin-right: layout.$spacing-07;\n\n span {\n margin: 0;\n }\n}\n\n.dosage {\n @include type.type-style('heading-compact-01');\n}\n\n.bodyLong01 {\n @include type.type-style('body-01');\n}\n\n.label01 {\n @include type.type-style('label-01');\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","//\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// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),l.locals={medicationContainer:"-esm-patient-orders__medication-record__medicationContainer___T97AK",widgetCard:"-esm-patient-orders__medication-record__widgetCard___449Do",row:"-esm-patient-orders__medication-record__row___2iilR",medicationRecord:"-esm-patient-orders__medication-record__medicationRecord___cXhDg",startDateColumn:"-esm-patient-orders__medication-record__startDateColumn___9NUC7",dosage:"-esm-patient-orders__medication-record__dosage___tFNGY",bodyLong01:"-esm-patient-orders__medication-record__bodyLong01___NFiTl",label01:"-esm-patient-orders__medication-record__label01___bBejN"};const i=l}}]);
|
|
1
|
+
(globalThis.webpackChunk_openmrs_esm_patient_orders_app=globalThis.webpackChunk_openmrs_esm_patient_orders_app||[]).push([[8625],{1347:(e,n,t)=>{"use strict";t.d(n,{Dd:()=>$,KH:()=>x,OF:()=>v,W4:()=>h,X1:()=>m,eY:()=>w,kf:()=>C,mV:()=>b,oi:()=>y,rf:()=>k});var a=t(54440),r=t(71123),o=t(1343);function l(e,n,t,a,r,o,l){try{var i=e[o](l),d=i.value}catch(e){return void t(e)}i.done?n(d):Promise.resolve(d).then(a,r)}function i(e){return function(){var n=this,t=arguments;return new Promise((function(a,r){var o=e.apply(n,t);function i(e){l(o,a,r,i,d,"next",e)}function d(e){l(o,a,r,i,d,"throw",e)}i(void 0)}))}}function d(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function s(e,n){var t,a,r,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return l.next=i(0),l.throw=i(1),l.return=i(2),"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function i(i){return function(d){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;l&&(l=0,i[0]&&(o=0)),o;)try{if(t=1,a&&(r=2&i[0]?a.return:i[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,i[1])).done)return r;switch(a=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,a=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){o.label=i[1];break}if(6===i[0]&&o.label<r[1]){o.label=r[1],r=i;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(i);break}r[2]&&o.ops.pop(),o.trys.pop();continue}i=n.call(e,o)}catch(e){i=[6,e],a=0}finally{t=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,d])}}}var c="custom:(uuid,encounterDatetime,encounterType:(uuid,display),location:(uuid,name),patient:(uuid,display,person:(uuid,display,gender,age)),encounterProviders:(uuid,provider:(uuid,name)),obs:(uuid,obsDatetime,voided,groupMembers,formFieldNamespace,formFieldPath,order:(uuid,display),concept:(uuid,name:(uuid,name)),value:(uuid,display,name:(uuid,name),names:(uuid,conceptNameType,name)))",u="custom:(uuid,display,name,datatype,set,answers,hiNormal,hiAbsolute,hiCritical,lowNormal,lowAbsolute,lowCritical,units,allowDecimal,setMembers:(uuid,display,answers,datatype,hiNormal,hiAbsolute,hiCritical,lowNormal,lowAbsolute,lowCritical,units,allowDecimal,set,setMembers:(uuid)))",f="custom:(uuid,display,concept:(uuid,display),groupMembers,value)";function p(e){return"".concat(a.restBaseUrl,"/concept/").concat(e,"?v=").concat(u)}function g(e){return i((function(){var n,t,r,o,l;return s(this,(function(i){switch(i.label){case 0:return[4,(0,a.openmrsFetch)(p(e))];case 1:return n=i.sent(),t=n.data,(r=t.set?t.setMembers.map((function(e){return e.set?e.setMembers.map((function(e){return e.uuid})):[]})).flat():[]).length>0?[4,Promise.all(r.map((function(e){return g(e)})))]:[3,3];case 2:o=i.sent(),l=o.reduce((function(e,n){return e[n.uuid]=n,e}),{}),t.setMembers=t.setMembers.map((function(e){return e.set&&(e.setMembers=e.setMembers.map((function(e){return l[e.uuid]}))),e})),i.label=3;case 3:return[2,t]}}))}))()}function y(e){"".concat(a.restBaseUrl,"/concept/").concat(e,"?v=").concat(u);var n=(0,r.Ay)(e,g),t=n.data,l=n.error,i=n.isLoading,d=n.isValidating,s=n.mutate;return(0,o.useMemo)((function(){return{concept:t,isLoading:i,error:l,isValidating:d,mutate:s}}),[t,l,i,d,s])}function h(e){var n="".concat(a.restBaseUrl,"/encounter/").concat(e,"?v=").concat(c),t=(0,r.Ay)(n,a.openmrsFetch),o=t.data,l=t.error,i=t.isLoading,d=t.isValidating,s=t.mutate;return{encounter:null==o?void 0:o.data,isLoading:i,error:l,isValidating:d,mutate:s}}function b(e){var n,t,o,l,i,d,s,c,u,p,g=h(e.encounter.uuid),y=g.encounter,b=g.isLoading,m=g.mutate,$=g.error,v=(o=null!==(t=null==y||null===(n=y.obs.find((function(n){var t,a;return(null==n||null===(t=n.concept)||void 0===t?void 0:t.uuid)===(null==e||null===(a=e.concept)||void 0===a?void 0:a.uuid)})))||void 0===n?void 0:n.uuid)&&void 0!==t?t:"",l="".concat(a.restBaseUrl,"/obs/").concat(o,"?v=").concat(f),d=(i=(0,r.Ay)(o?l:null,a.openmrsFetch)).data,s=i.error,c=i.isLoading,u=i.isValidating,p=i.mutate,{data:null==d?void 0:d.data,isLoading:c,error:s,isValidating:u,mutate:p}),A=v.error,_=v.mutate;return{isLoading:b||v.isLoading,completeLabResult:v.data,mutate:function(){m(),_()},error:null!=A?A:$}}function m(e,n,t,r,o,l){return i((function(){return s(this,(function(i){switch(i.label){case 0:return[4,(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/encounter/").concat(n),{method:"POST",headers:{"Content-Type":"application/json"},signal:l.signal,body:t})];case 1:return i.sent().ok?[4,(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/order"),{method:"POST",headers:{"Content-Type":"application/json"},signal:l.signal,body:o})]:[3,4];case 2:return 201!==i.sent().status?[3,4]:[4,(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/order/").concat(e,"/fulfillerdetails/"),{method:"POST",headers:{"Content-Type":"application/json"},signal:l.signal,body:r})];case 3:return[2,i.sent()];case 4:throw new Error("Failed to update order")}}))}))()}function $(e,n,t,a){if(e.set&&e.setMembers.length>0){var r=e.setMembers.map((function(e){return function(e,n,t,a){var r=_(e,t);return null==r?null:{concept:{uuid:e.uuid},value:r,status:a,order:{uuid:n.uuid}}}(e,n,t,a)})).filter((function(e){return null!==e&&null!==e.value&&void 0!==e.value}));return 0===r.length?{obs:[]}:{obs:[A(n,r,null,a)]}}var o=_(e,t);return null==o?{obs:[]}:{obs:[A(n,null,o,a)]}}function v(e,n){return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/obs/").concat(e),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})}function A(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3?arguments[3]:void 0;return function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){d(e,n,t[n])}))}return e}({concept:{uuid:e.concept.uuid},status:a,order:{uuid:e.uuid}},n&&n.length>0&&{groupMembers:n},null!=t&&{value:t})}function _(e,n){var t=e.datatype,a=n[e.uuid];return null==a?null:["NM","ST"].includes(t.hl7Abbreviation)?a:"CWE"===t.hl7Abbreviation?{uuid:a}:null}var w=function(e){var n;return"Coded"===(null===(n=e.datatype)||void 0===n?void 0:n.display)},C=function(e){var n;return"Numeric"===(null===(n=e.datatype)||void 0===n?void 0:n.display)},k=function(e){var n;return(null===(n=e.setMembers)||void 0===n?void 0:n.length)>0},x=function(e){var n;return"Text"===(null===(n=e.datatype)||void 0===n?void 0:n.display)}},4167:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var a=t(30977),r=t.n(a),o=t(95924),l=t.n(o)()(r());l.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-orders__order-details-table__widgetCard___2K1Y2{border:1px solid #e0e0e0}.-esm-patient-orders__order-details-table__widgetCard___2K1Y2>.-esm-patient-orders__order-details-table__desktop___Ile0t{border-top:none !important}.-esm-patient-orders__order-details-table__row___t96Uq span{margin:auto}.-esm-patient-orders__order-details-table__row___t96Uq p{padding:.25rem 0}.-esm-patient-orders__order-details-table__tooltip___j101l{margin:0 -0.5rem -0.625rem}.-esm-patient-orders__order-details-table__menuItem___NAyS3{max-width:none}.-esm-patient-orders__order-details-table__dropdownContainer___TSUPs{min-width:max-content;margin-right:1rem}.-esm-patient-orders__order-details-table__dropdownContainer___TSUPs .cds--dropdown__wrapper--inline{grid-gap:0 .5rem}.-esm-patient-orders__order-details-table__buttons___PApux{justify-content:flex-end}.-esm-patient-orders__order-details-table__priorityPill___0fNyF{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);background-color:#e0e0e0;border-radius:1rem;padding:.125rem .5rem;text-align:center}.-esm-patient-orders__order-details-table__priorityPill___0fNyF[data-priority=routine]{background-color:#a7f0ba}.-esm-patient-orders__order-details-table__priorityPill___0fNyF[data-priority=stat]{background-color:#ffd7d9}.-esm-patient-orders__order-details-table__priorityPill___0fNyF[data-priority="on scheduled date"]{background-color:#e0e0e0}.-esm-patient-orders__order-details-table__statusPill___W1z4n{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px);background-color:#e0e0e0;border-radius:1rem;padding:.125rem;padding-inline:.5rem;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status=received]{background-color:#d0e2ff}.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status="in progress"]{background-color:#bae6ff}.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status="on hold"]{background-color:#9ef0f0}.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status=exception]{background-color:#ffd6e8}.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status=completed]{background-color:#a7f0ba}.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status=discontinued],.-esm-patient-orders__order-details-table__statusPill___W1z4n[data-status=declined]{background-color:#ffd7d9}.-esm-patient-orders__order-details-table__tile___u4dl\\+{text-align:center;border-bottom:1px solid #e0e0e0}.-esm-patient-orders__order-details-table__tile___u4dl\\+ .-esm-patient-orders__order-details-table__message___24mT1{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);color:#525252}.-esm-patient-orders__order-details-table__table___rLxf3 td::after{display:none}.-esm-patient-orders__order-details-table__hiddenRow___QQ3np{display:none}.-esm-patient-orders__order-details-table__layer___tnoB3{height:100%}.-esm-patient-orders__order-details-table__unknownOrderTypeText___gqDTx{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-patient-orders__order-details-table__paginationContainer___ru34z>div{border-top:none !important}.-esm-patient-orders__order-details-table__toolBarContent___4b5k1{background-color:#f4f4f4}.-esm-patient-orders__order-details-table__toolBarContent___4b5k1 .cds--table-toolbar-content{width:100%}.-esm-patient-orders__order-details-table__toolBarContent___4b5k1 .cds--search{width:100%;max-width:none}.-esm-patient-orders__order-details-table__content___g2qPN{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252;margin-bottom:.5rem}.-esm-patient-orders__order-details-table__tileContainer___78LEr{background-color:#fff;border-top:1px solid #525252;padding:5rem 0}.-esm-patient-orders__order-details-table__emptyStateTile___RhDa9{margin:auto;width:fit-content}.-esm-patient-orders__order-details-table__tileContent___esAfW{display:flex;flex-direction:column;align-items:center}.-esm-patient-orders__order-details-table__helperText___pZBVE,.-esm-patient-orders__order-details-table__inlineDateRange___CHq4o .cds--label{font-size:var(--cds-helper-text-02-font-size, 0.875rem);font-weight:var(--cds-helper-text-02-font-weight, 400);line-height:var(--cds-helper-text-02-line-height, 1.28572);letter-spacing:var(--cds-helper-text-02-letter-spacing, 0.16px)}.-esm-patient-orders__order-details-table__button___A3hlc svg,.-esm-patient-orders__order-details-table__addButton___NNlCm svg,.-esm-patient-orders__order-details-table__printButton___DJRkL svg{fill:currentColor !important}.-esm-patient-orders__order-details-table__printButton___DJRkL{margin-left:1.25rem}@media print{html,body{margin:0 !important;width:fit-content;padding:0 !important;overflow:hidden;page-break-inside:avoid}}.-esm-patient-orders__order-details-table__filterContainer___Jv-FC{display:flex;align-items:center}.-esm-patient-orders__order-details-table__inlineDateRange___CHq4o .cds--form-item{margin-top:0;margin-bottom:0}.-esm-patient-orders__order-details-table__inlineDateRange___CHq4o .cds--date-picker-container{display:inline-grid;grid-auto-flow:column;align-items:center;grid-column-gap:.5rem}.-esm-patient-orders__order-details-table__inlineDateRange___CHq4o .cds--label{margin-right:0;margin-bottom:0}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/components/order-details-table.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/colors/index.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCxDF,8DACE,wBAAA,CAEA,yHACE,0BAAA,CAKF,4DACE,WAAA,CAGF,yDACE,gBAAA,CAIJ,2DACE,0BAAA,CAGF,4DACE,cAAA,CAGF,qEACE,qBAAA,CACA,iBCFW,CDIX,qGACE,gBAAA,CAIJ,2DACE,wBAAA,CAGF,gEEszBI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CFpzBF,wBGHQ,CHIR,kBChBW,CDiBX,qBAAA,CACA,iBAAA,CAGA,uFACE,wBAAA,CAGF,oFACE,wBGoCK,CHjCP,mGACE,wBGlBM,CHsBV,8DEiyBI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CF/xBF,wBGxBQ,CHyBR,kBCrCW,CDsCX,eC1DW,CD2DX,oBCjDW,CDkDX,iBAAA,CAEA,kBAAA,CACA,eAAA,CACA,sBAAA,CAEA,oFACE,wBGjEM,CHoER,yFACE,wBGjDM,CHoDR,qFACE,wBGiBM,CHdR,qFACE,wBG3BS,CH8BX,qFACE,wBGzCO,CH4CT,4KAEE,wBGNK,CHUT,yDACE,iBAAA,CACA,+BAAA,CAEA,oHEuvBE,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CFrvBA,aDtGM,CC4GN,mEACE,YAAA,CAKN,6DACE,YAAA,CAGF,yDACE,WAAA,CAGF,wEEiuBI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CF5tBF,2EACE,0BAAA,CAIJ,kEACE,wBGlGQ,CHoGR,8FACE,UAAA,CAGF,+EACE,UAAA,CACA,cAAA,CAIJ,2DE0sBI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFxsBF,aG1GQ,CH2GR,mBCtIW,CDyIb,iEACE,qBGrCQ,CHsCR,4BAAA,CACA,cAAA,CAGF,kEACE,WAAA,CACA,iBAAA,CAGF,+DACE,YAAA,CACA,qBAAA,CACA,kBAAA,CAGF,6IEmrBI,uDAAA,CAAA,sDAAA,CAAA,0DAAA,CAAA,+DAAA,CF9qBF,kMACE,4BAAA,CAIJ,+DACE,mBAAA,CAQF,aACE,UAEE,mBAAA,CACA,iBAAA,CACA,oBAAA,CACA,eAAA,CACA,uBAAA,CAAA,CAIJ,mEACE,YAAA,CACA,kBAAA,CAIA,mFACE,YAAA,CACA,eAAA,CAEF,+FACE,mBAAA,CACA,qBAAA,CACA,kBAAA,CACA,qBCtMS,CDwMX,+EAEE,cAAA,CACA,eAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as vars;\n\n.widgetCard {\n border: 1px solid colors.$gray-20;\n\n > .desktop {\n border-top: none !important;\n }\n}\n\n.row {\n span {\n margin: auto;\n }\n\n p {\n padding: layout.$spacing-02 0;\n }\n}\n\n.tooltip {\n margin: 0 (-(layout.$spacing-03)) -0.625rem;\n}\n\n.menuItem {\n max-width: none;\n}\n\n.dropdownContainer {\n min-width: max-content;\n margin-right: layout.$spacing-05;\n\n :global(.cds--dropdown__wrapper--inline) {\n grid-gap: 0 0.5rem;\n }\n}\n\n.buttons {\n justify-content: flex-end;\n}\n\n.priorityPill {\n @include type.type-style('label-01');\n background-color: colors.$gray-20;\n border-radius: layout.$spacing-05;\n padding: layout.$spacing-01 layout.$spacing-03;\n text-align: center;\n\n // Match data attribute emitted by the component and real urgency values\n &[data-priority='routine'] {\n background-color: colors.$green-20;\n }\n\n &[data-priority='stat'] {\n background-color: colors.$red-20;\n }\n\n &[data-priority='on scheduled date'] {\n background-color: colors.$gray-20;\n }\n}\n\n.statusPill {\n @include type.type-style('label-01');\n background-color: colors.$gray-20;\n border-radius: layout.$spacing-05;\n padding: layout.$spacing-01;\n padding-inline: layout.$spacing-03;\n text-align: center;\n\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n &[data-status='received'] {\n background-color: colors.$blue-20;\n }\n\n &[data-status='in progress'] {\n background-color: colors.$cyan-20;\n }\n\n &[data-status='on hold'] {\n background-color: colors.$teal-20;\n }\n\n &[data-status='exception'] {\n background-color: colors.$magenta-20;\n }\n\n &[data-status='completed'] {\n background-color: colors.$green-20;\n }\n\n &[data-status='discontinued'],\n &[data-status='declined'] {\n background-color: colors.$red-20;\n }\n}\n\n.tile {\n text-align: center;\n border-bottom: 1px solid vars.$ui-03;\n\n .message {\n @include type.type-style('heading-compact-01');\n color: vars.$text-02;\n }\n}\n\n.table {\n td {\n &::after {\n display: none;\n }\n }\n}\n\n.hiddenRow {\n display: none;\n}\n\n.layer {\n height: 100%;\n}\n\n.unknownOrderTypeText {\n @include type.type-style('body-compact-01');\n}\n\n.paginationContainer {\n > div {\n border-top: none !important;\n }\n}\n\n.toolBarContent {\n background-color: colors.$gray-10;\n\n :global(.cds--table-toolbar-content) {\n width: 100%;\n }\n\n :global(.cds--search) {\n width: 100%;\n max-width: none;\n }\n}\n\n.content {\n @include type.type-style('heading-compact-02');\n color: colors.$gray-70;\n margin-bottom: layout.$spacing-03;\n}\n\n.tileContainer {\n background-color: colors.$white-0;\n border-top: 1px solid colors.$gray-70;\n padding: layout.$spacing-11 0;\n}\n\n.emptyStateTile {\n margin: auto;\n width: fit-content;\n}\n\n.tileContent {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.helperText {\n @include type.type-style('helper-text-02');\n}\n\n.button {\n svg {\n fill: currentColor !important;\n }\n}\n\n.printButton {\n margin-left: 1.25rem;\n @extend .button;\n}\n\n.addButton {\n @extend .button;\n}\n\n@media print {\n html,\n body {\n margin: 0 !important;\n width: fit-content;\n padding: 0 !important;\n overflow: hidden;\n page-break-inside: avoid;\n }\n}\n\n.filterContainer {\n display: flex;\n align-items: center;\n}\n\n.inlineDateRange {\n :global(.cds--form-item) {\n margin-top: 0;\n margin-bottom: 0;\n }\n :global(.cds--date-picker-container) {\n display: inline-grid;\n grid-auto-flow: column;\n align-items: center;\n grid-column-gap: layout.$spacing-03;\n }\n :global(.cds--label) {\n @extend .helperText;\n margin-right: 0;\n margin-bottom: 0;\n }\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","//\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// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/colors. 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$black: #000000 !default;\n$white: #ffffff !default;\n\n$black-100: #000000 !default;\n$blue-10: #edf5ff !default;\n$blue-20: #d0e2ff !default;\n$blue-30: #a6c8ff !default;\n$blue-40: #78a9ff !default;\n$blue-50: #4589ff !default;\n$blue-60: #0f62fe !default;\n$blue-70: #0043ce !default;\n$blue-80: #002d9c !default;\n$blue-90: #001d6c !default;\n$blue-100: #001141 !default;\n$cool-gray-10: #f2f4f8 !default;\n$cool-gray-20: #dde1e6 !default;\n$cool-gray-30: #c1c7cd !default;\n$cool-gray-40: #a2a9b0 !default;\n$cool-gray-50: #878d96 !default;\n$cool-gray-60: #697077 !default;\n$cool-gray-70: #4d5358 !default;\n$cool-gray-80: #343a3f !default;\n$cool-gray-90: #21272a !default;\n$cool-gray-100: #121619 !default;\n$cyan-10: #e5f6ff !default;\n$cyan-20: #bae6ff !default;\n$cyan-30: #82cfff !default;\n$cyan-40: #33b1ff !default;\n$cyan-50: #1192e8 !default;\n$cyan-60: #0072c3 !default;\n$cyan-70: #00539a !default;\n$cyan-80: #003a6d !default;\n$cyan-90: #012749 !default;\n$cyan-100: #061727 !default;\n$gray-10: #f4f4f4 !default;\n$gray-20: #e0e0e0 !default;\n$gray-30: #c6c6c6 !default;\n$gray-40: #a8a8a8 !default;\n$gray-50: #8d8d8d !default;\n$gray-60: #6f6f6f !default;\n$gray-70: #525252 !default;\n$gray-80: #393939 !default;\n$gray-90: #262626 !default;\n$gray-100: #161616 !default;\n$green-10: #defbe6 !default;\n$green-20: #a7f0ba !default;\n$green-30: #6fdc8c !default;\n$green-40: #42be65 !default;\n$green-50: #24a148 !default;\n$green-60: #198038 !default;\n$green-70: #0e6027 !default;\n$green-80: #044317 !default;\n$green-90: #022d0d !default;\n$green-100: #071908 !default;\n$magenta-10: #fff0f7 !default;\n$magenta-20: #ffd6e8 !default;\n$magenta-30: #ffafd2 !default;\n$magenta-40: #ff7eb6 !default;\n$magenta-50: #ee5396 !default;\n$magenta-60: #d02670 !default;\n$magenta-70: #9f1853 !default;\n$magenta-80: #740937 !default;\n$magenta-90: #510224 !default;\n$magenta-100: #2a0a18 !default;\n$orange-10: #fff2e8 !default;\n$orange-20: #ffd9be !default;\n$orange-30: #ffb784 !default;\n$orange-40: #ff832b !default;\n$orange-50: #eb6200 !default;\n$orange-60: #ba4e00 !default;\n$orange-70: #8a3800 !default;\n$orange-80: #5e2900 !default;\n$orange-90: #3e1a00 !default;\n$orange-100: #231000 !default;\n$purple-10: #f6f2ff !default;\n$purple-20: #e8daff !default;\n$purple-30: #d4bbff !default;\n$purple-40: #be95ff !default;\n$purple-50: #a56eff !default;\n$purple-60: #8a3ffc !default;\n$purple-70: #6929c4 !default;\n$purple-80: #491d8b !default;\n$purple-90: #31135e !default;\n$purple-100: #1c0f30 !default;\n$red-10: #fff1f1 !default;\n$red-20: #ffd7d9 !default;\n$red-30: #ffb3b8 !default;\n$red-40: #ff8389 !default;\n$red-50: #fa4d56 !default;\n$red-60: #da1e28 !default;\n$red-70: #a2191f !default;\n$red-80: #750e13 !default;\n$red-90: #520408 !default;\n$red-100: #2d0709 !default;\n$teal-10: #d9fbfb !default;\n$teal-20: #9ef0f0 !default;\n$teal-30: #3ddbd9 !default;\n$teal-40: #08bdba !default;\n$teal-50: #009d9a !default;\n$teal-60: #007d79 !default;\n$teal-70: #005d5d !default;\n$teal-80: #004144 !default;\n$teal-90: #022b30 !default;\n$teal-100: #081a1c !default;\n$warm-gray-10: #f7f3f2 !default;\n$warm-gray-20: #e5e0df !default;\n$warm-gray-30: #cac5c4 !default;\n$warm-gray-40: #ada8a8 !default;\n$warm-gray-50: #8f8b8b !default;\n$warm-gray-60: #726e6e !default;\n$warm-gray-70: #565151 !default;\n$warm-gray-80: #3c3838 !default;\n$warm-gray-90: #272525 !default;\n$warm-gray-100: #171414 !default;\n$white-0: #ffffff !default;\n$yellow-10: #fcf4d6 !default;\n$yellow-20: #fddc69 !default;\n$yellow-30: #f1c21b !default;\n$yellow-40: #d2a106 !default;\n$yellow-50: #b28600 !default;\n$yellow-60: #8e6a00 !default;\n$yellow-70: #684e00 !default;\n$yellow-80: #483700 !default;\n$yellow-90: #302400 !default;\n$yellow-100: #1c1500 !default;\n\n$white-hover: #e8e8e8 !default;\n$black-hover: #212121 !default;\n$blue-10-hover: #dbebff !default;\n$blue-20-hover: #b8d3ff !default;\n$blue-30-hover: #8ab6ff !default;\n$blue-40-hover: #5c97ff !default;\n$blue-50-hover: #1f70ff !default;\n$blue-60-hover: #0050e6 !default;\n$blue-70-hover: #0053ff !default;\n$blue-80-hover: #0039c7 !default;\n$blue-90-hover: #00258a !default;\n$blue-100-hover: #001f75 !default;\n$cool-gray-10-hover: #e4e9f1 !default;\n$cool-gray-20-hover: #cdd3da !default;\n$cool-gray-30-hover: #adb5bd !default;\n$cool-gray-40-hover: #9199a1 !default;\n$cool-gray-50-hover: #757b85 !default;\n$cool-gray-60-hover: #585e64 !default;\n$cool-gray-70-hover: #5d646a !default;\n$cool-gray-80-hover: #434a51 !default;\n$cool-gray-90-hover: #2b3236 !default;\n$cool-gray-100-hover: #222a2f !default;\n$cyan-10-hover: #cceeff !default;\n$cyan-20-hover: #99daff !default;\n$cyan-30-hover: #57beff !default;\n$cyan-40-hover: #059fff !default;\n$cyan-50-hover: #0f7ec8 !default;\n$cyan-60-hover: #005fa3 !default;\n$cyan-70-hover: #0066bd !default;\n$cyan-80-hover: #00498a !default;\n$cyan-90-hover: #013360 !default;\n$cyan-100-hover: #0b2947 !default;\n$gray-10-hover: #e8e8e8 !default;\n$gray-20-hover: #d1d1d1 !default;\n$gray-30-hover: #b5b5b5 !default;\n$gray-40-hover: #999999 !default;\n$gray-50-hover: #7a7a7a !default;\n$gray-60-hover: #5e5e5e !default;\n$gray-70-hover: #636363 !default;\n$gray-80-hover: #474747 !default;\n$gray-90-hover: #333333 !default;\n$gray-100-hover: #292929 !default;\n$green-10-hover: #b6f6c8 !default;\n$green-20-hover: #74e792 !default;\n$green-30-hover: #36ce5e !default;\n$green-40-hover: #3bab5a !default;\n$green-50-hover: #208e3f !default;\n$green-60-hover: #166f31 !default;\n$green-70-hover: #11742f !default;\n$green-80-hover: #05521c !default;\n$green-90-hover: #033b11 !default;\n$green-100-hover: #0d300f !default;\n$magenta-10-hover: #ffe0ef !default;\n$magenta-20-hover: #ffbdda !default;\n$magenta-30-hover: #ff94c3 !default;\n$magenta-40-hover: #ff57a0 !default;\n$magenta-50-hover: #e3176f !default;\n$magenta-60-hover: #b0215f !default;\n$magenta-70-hover: #bf1d63 !default;\n$magenta-80-hover: #8e0b43 !default;\n$magenta-90-hover: #68032e !default;\n$magenta-100-hover: #53142f !default;\n$orange-10-hover: #ffe2cc !default;\n$orange-20-hover: #ffc69e !default;\n$orange-30-hover: #ff9d57 !default;\n$orange-40-hover: #fa6800 !default;\n$orange-50-hover: #cc5500 !default;\n$orange-60-hover: #9e4200 !default;\n$orange-70-hover: #a84400 !default;\n$orange-80-hover: #753300 !default;\n$orange-90-hover: #522200 !default;\n$orange-100-hover: #421e00 !default;\n$purple-10-hover: #ede5ff !default;\n$purple-20-hover: #dcc7ff !default;\n$purple-30-hover: #c5a3ff !default;\n$purple-40-hover: #ae7aff !default;\n$purple-50-hover: #9352ff !default;\n$purple-60-hover: #7822fb !default;\n$purple-70-hover: #7c3dd6 !default;\n$purple-80-hover: #5b24ad !default;\n$purple-90-hover: #40197b !default;\n$purple-100-hover: #341c59 !default;\n$red-10-hover: #ffe0e0 !default;\n$red-20-hover: #ffc2c5 !default;\n$red-30-hover: #ff99a0 !default;\n$red-40-hover: #ff6168 !default;\n$red-50-hover: #ee0713 !default;\n$red-60-hover: #b81922 !default;\n$red-70-hover: #c21e25 !default;\n$red-80-hover: #921118 !default;\n$red-90-hover: #66050a !default;\n$red-100-hover: #540d11 !default;\n$teal-10-hover: #acf6f6 !default;\n$teal-20-hover: #57e5e5 !default;\n$teal-30-hover: #25cac8 !default;\n$teal-40-hover: #07aba9 !default;\n$teal-50-hover: #008a87 !default;\n$teal-60-hover: #006b68 !default;\n$teal-70-hover: #007070 !default;\n$teal-80-hover: #005357 !default;\n$teal-90-hover: #033940 !default;\n$teal-100-hover: #0f3034 !default;\n$warm-gray-10-hover: #f0e8e6 !default;\n$warm-gray-20-hover: #d8d0cf !default;\n$warm-gray-30-hover: #b9b3b1 !default;\n$warm-gray-40-hover: #9c9696 !default;\n$warm-gray-50-hover: #7f7b7b !default;\n$warm-gray-60-hover: #605d5d !default;\n$warm-gray-70-hover: #696363 !default;\n$warm-gray-80-hover: #4c4848 !default;\n$warm-gray-90-hover: #343232 !default;\n$warm-gray-100-hover: #2c2626 !default;\n$yellow-10-hover: #f8e6a0 !default;\n$yellow-20-hover: #fccd27 !default;\n$yellow-30-hover: #ddb00e !default;\n$yellow-40-hover: #bc9005 !default;\n$yellow-50-hover: #9e7700 !default;\n$yellow-60-hover: #755800 !default;\n$yellow-70-hover: #806000 !default;\n$yellow-80-hover: #5c4600 !default;\n$yellow-90-hover: #3d2e00 !default;\n$yellow-100-hover: #332600 !default;\n\n/// Colors from the IBM Design Language\n/// @access public\n/// @group @carbon/colors\n$colors: (\n black: (\n 100: #000000,\n ),\n blue: (\n 10: #edf5ff,\n 20: #d0e2ff,\n 30: #a6c8ff,\n 40: #78a9ff,\n 50: #4589ff,\n 60: #0f62fe,\n 70: #0043ce,\n 80: #002d9c,\n 90: #001d6c,\n 100: #001141,\n ),\n cool-gray: (\n 10: #f2f4f8,\n 20: #dde1e6,\n 30: #c1c7cd,\n 40: #a2a9b0,\n 50: #878d96,\n 60: #697077,\n 70: #4d5358,\n 80: #343a3f,\n 90: #21272a,\n 100: #121619,\n ),\n cyan: (\n 10: #e5f6ff,\n 20: #bae6ff,\n 30: #82cfff,\n 40: #33b1ff,\n 50: #1192e8,\n 60: #0072c3,\n 70: #00539a,\n 80: #003a6d,\n 90: #012749,\n 100: #061727,\n ),\n gray: (\n 10: #f4f4f4,\n 20: #e0e0e0,\n 30: #c6c6c6,\n 40: #a8a8a8,\n 50: #8d8d8d,\n 60: #6f6f6f,\n 70: #525252,\n 80: #393939,\n 90: #262626,\n 100: #161616,\n ),\n green: (\n 10: #defbe6,\n 20: #a7f0ba,\n 30: #6fdc8c,\n 40: #42be65,\n 50: #24a148,\n 60: #198038,\n 70: #0e6027,\n 80: #044317,\n 90: #022d0d,\n 100: #071908,\n ),\n magenta: (\n 10: #fff0f7,\n 20: #ffd6e8,\n 30: #ffafd2,\n 40: #ff7eb6,\n 50: #ee5396,\n 60: #d02670,\n 70: #9f1853,\n 80: #740937,\n 90: #510224,\n 100: #2a0a18,\n ),\n orange: (\n 10: #fff2e8,\n 20: #ffd9be,\n 30: #ffb784,\n 40: #ff832b,\n 50: #eb6200,\n 60: #ba4e00,\n 70: #8a3800,\n 80: #5e2900,\n 90: #3e1a00,\n 100: #231000,\n ),\n purple: (\n 10: #f6f2ff,\n 20: #e8daff,\n 30: #d4bbff,\n 40: #be95ff,\n 50: #a56eff,\n 60: #8a3ffc,\n 70: #6929c4,\n 80: #491d8b,\n 90: #31135e,\n 100: #1c0f30,\n ),\n red: (\n 10: #fff1f1,\n 20: #ffd7d9,\n 30: #ffb3b8,\n 40: #ff8389,\n 50: #fa4d56,\n 60: #da1e28,\n 70: #a2191f,\n 80: #750e13,\n 90: #520408,\n 100: #2d0709,\n ),\n teal: (\n 10: #d9fbfb,\n 20: #9ef0f0,\n 30: #3ddbd9,\n 40: #08bdba,\n 50: #009d9a,\n 60: #007d79,\n 70: #005d5d,\n 80: #004144,\n 90: #022b30,\n 100: #081a1c,\n ),\n warm-gray: (\n 10: #f7f3f2,\n 20: #e5e0df,\n 30: #cac5c4,\n 40: #ada8a8,\n 50: #8f8b8b,\n 60: #726e6e,\n 70: #565151,\n 80: #3c3838,\n 90: #272525,\n 100: #171414,\n ),\n white: (\n 0: #ffffff,\n ),\n yellow: (\n 10: #fcf4d6,\n 20: #fddc69,\n 30: #f1c21b,\n 40: #d2a106,\n 50: #b28600,\n 60: #8e6a00,\n 70: #684e00,\n 80: #483700,\n 90: #302400,\n 100: #1c1500,\n ),\n) !default;\n"],sourceRoot:""}]),l.locals={widgetCard:"-esm-patient-orders__order-details-table__widgetCard___2K1Y2",desktop:"-esm-patient-orders__order-details-table__desktop___Ile0t",row:"-esm-patient-orders__order-details-table__row___t96Uq",tooltip:"-esm-patient-orders__order-details-table__tooltip___j101l",menuItem:"-esm-patient-orders__order-details-table__menuItem___NAyS3",dropdownContainer:"-esm-patient-orders__order-details-table__dropdownContainer___TSUPs",buttons:"-esm-patient-orders__order-details-table__buttons___PApux",priorityPill:"-esm-patient-orders__order-details-table__priorityPill___0fNyF",statusPill:"-esm-patient-orders__order-details-table__statusPill___W1z4n",tile:"-esm-patient-orders__order-details-table__tile___u4dl+",message:"-esm-patient-orders__order-details-table__message___24mT1",table:"-esm-patient-orders__order-details-table__table___rLxf3",hiddenRow:"-esm-patient-orders__order-details-table__hiddenRow___QQ3np",layer:"-esm-patient-orders__order-details-table__layer___tnoB3",unknownOrderTypeText:"-esm-patient-orders__order-details-table__unknownOrderTypeText___gqDTx",paginationContainer:"-esm-patient-orders__order-details-table__paginationContainer___ru34z",toolBarContent:"-esm-patient-orders__order-details-table__toolBarContent___4b5k1",content:"-esm-patient-orders__order-details-table__content___g2qPN",tileContainer:"-esm-patient-orders__order-details-table__tileContainer___78LEr",emptyStateTile:"-esm-patient-orders__order-details-table__emptyStateTile___RhDa9",tileContent:"-esm-patient-orders__order-details-table__tileContent___esAfW",helperText:"-esm-patient-orders__order-details-table__helperText___pZBVE",inlineDateRange:"-esm-patient-orders__order-details-table__inlineDateRange___CHq4o",button:"-esm-patient-orders__order-details-table__button___A3hlc",addButton:"-esm-patient-orders__order-details-table__addButton___NNlCm",printButton:"-esm-patient-orders__order-details-table__printButton___DJRkL",filterContainer:"-esm-patient-orders__order-details-table__filterContainer___Jv-FC"};const i=l},15394:(e,n,t)=>{"use strict";t.d(n,{ET:()=>l,ME:()=>o,c$:()=>d});var a=t(54440),r=t(36274);function o(e,n){return{action:"NEW",urgency:r.priorityOptions[0].value,display:e.display,concept:e,orderer:n}}function l(e,n){return e.action===n.action&&e.concept.uuid===n.concept.uuid}var i="6f0c9a92-6f24-11e3-af88-005056821db0";function d(e,n,t){if("NEW"===e.action||"RENEW"===e.action)return{action:"NEW",type:"order",patient:n,careSetting:i,orderer:e.orderer,encounter:t,concept:e.concept.uuid,instructions:e.instructions,accessionNumber:e.accessionNumber,urgency:e.urgency,scheduledDate:e.scheduledDate?(0,a.toOmrsIsoString)(e.scheduledDate):null};var r,o;if("REVISE"===e.action)return{action:"REVISE",type:"order",patient:n,careSetting:e.careSetting,orderer:e.orderer,encounter:t,concept:null==e||null===(r=e.concept)||void 0===r?void 0:r.uuid,instructions:e.instructions,previousOrder:e.previousOrder,accessionNumber:e.accessionNumber,urgency:e.urgency,scheduledDate:e.scheduledDate?(0,a.toOmrsIsoString)(e.scheduledDate):null};if("DISCONTINUE"===e.action)return{action:"DISCONTINUE",type:"order",patient:n,careSetting:e.careSetting,orderer:e.orderer,encounter:t,concept:null==e||null===(o=e.concept)||void 0===o?void 0:o.uuid,previousOrder:e.previousOrder,accessionNumber:e.accessionNumber,urgency:e.urgency,scheduledDate:e.scheduledDate?(0,a.toOmrsIsoString)(e.scheduledDate):null};throw new Error("Unknown order action: ".concat(e.action,"."))}},36361:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var a=t(30977),r=t.n(a),o=t(95924),l=t.n(o)()(r());l.push([e.id,"@media screen{.-esm-patient-orders__print__printPage___vpmXo{background-color:#fff;display:none}}@media print{@page{size:auto;margin:2.5rem;font-size:smaller}.-esm-patient-orders__print__header___MYZQU{display:flex;align-items:center;justify-content:space-between;background-color:#fff}.-esm-patient-orders__print__patientDetails___wMi2G{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0);margin:0 .5rem}.-esm-patient-orders__print__patientInfo___NZY\\+V{color:#393939;font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0)}.-esm-patient-orders__print__name___2imVs{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);margin-right:.5rem}.-esm-patient-orders__print__footer___wYme7{font-size:.75rem;display:flex}.-esm-patient-orders__print__date___HkJM0{margin-left:1.5rem}.-esm-patient-orders__print__gender___b8Aai{text-transform:capitalize}.-esm-patient-orders__print__printedBy___gdtmj{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);margin:0 .25rem;font-size:smaller}.-esm-patient-orders__print__subheader___5Rqqd{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0);color:#525252;padding:.5rem;text-align:center}}","",{version:3,sources:["webpack://./src/print/print.scss","webpack://./../../node_modules/@carbon/colors/index.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAIA,cACE,+CACE,qBCGI,CDFJ,YAAA,CAAA,CAIJ,aACE,MACE,SAAA,CACA,aEgCS,CF/BT,iBAAA,CAGF,4CACE,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,qBCbI,CDgBN,oDGy0BE,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CHv0BA,cAAA,CAGF,kDACE,aCkBM,CEizBN,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CH/zBF,0CG+zBE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CH7zBA,kBEhBS,CFmBX,4CACE,gBEfS,CFgBT,YAAA,CAGF,0CACE,kBEVS,CFaX,4CACE,yBAAA,CAGF,+CG6yBE,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CH3yBA,eAAA,CACA,iBAAA,CAGF,+CGuyBE,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CHryBA,aCbM,CDcN,aEzCS,CF0CT,iBAAA,CAAA",sourcesContent:["@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@carbon/type';\n\n@media screen {\n .printPage {\n background-color: colors.$white;\n display: none;\n }\n}\n\n@media print {\n @page {\n size: auto;\n margin: layout.$spacing-08;\n font-size: smaller;\n }\n\n .header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n background-color: colors.$white;\n }\n\n .patientDetails {\n @include type.type-style('body-compact-02');\n margin: 0 layout.$spacing-03;\n }\n\n .patientInfo {\n color: colors.$gray-80;\n @include type.type-style('body-compact-02');\n }\n\n .name {\n @include type.type-style('heading-compact-02');\n margin-right: layout.$spacing-03;\n }\n\n .footer {\n font-size: layout.$spacing-04;\n display: flex;\n }\n\n .date {\n margin-left: layout.$spacing-06;\n }\n\n .gender {\n text-transform: capitalize;\n }\n\n .printedBy {\n @include type.type-style('body-compact-01');\n margin: 0 layout.$spacing-02;\n font-size: smaller;\n }\n\n .subheader {\n @include type.type-style('heading-03');\n color: colors.$gray-70;\n padding: layout.$spacing-03;\n text-align: center;\n }\n}\n","// Code generated by @carbon/colors. 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$black: #000000 !default;\n$white: #ffffff !default;\n\n$black-100: #000000 !default;\n$blue-10: #edf5ff !default;\n$blue-20: #d0e2ff !default;\n$blue-30: #a6c8ff !default;\n$blue-40: #78a9ff !default;\n$blue-50: #4589ff !default;\n$blue-60: #0f62fe !default;\n$blue-70: #0043ce !default;\n$blue-80: #002d9c !default;\n$blue-90: #001d6c !default;\n$blue-100: #001141 !default;\n$cool-gray-10: #f2f4f8 !default;\n$cool-gray-20: #dde1e6 !default;\n$cool-gray-30: #c1c7cd !default;\n$cool-gray-40: #a2a9b0 !default;\n$cool-gray-50: #878d96 !default;\n$cool-gray-60: #697077 !default;\n$cool-gray-70: #4d5358 !default;\n$cool-gray-80: #343a3f !default;\n$cool-gray-90: #21272a !default;\n$cool-gray-100: #121619 !default;\n$cyan-10: #e5f6ff !default;\n$cyan-20: #bae6ff !default;\n$cyan-30: #82cfff !default;\n$cyan-40: #33b1ff !default;\n$cyan-50: #1192e8 !default;\n$cyan-60: #0072c3 !default;\n$cyan-70: #00539a !default;\n$cyan-80: #003a6d !default;\n$cyan-90: #012749 !default;\n$cyan-100: #061727 !default;\n$gray-10: #f4f4f4 !default;\n$gray-20: #e0e0e0 !default;\n$gray-30: #c6c6c6 !default;\n$gray-40: #a8a8a8 !default;\n$gray-50: #8d8d8d !default;\n$gray-60: #6f6f6f !default;\n$gray-70: #525252 !default;\n$gray-80: #393939 !default;\n$gray-90: #262626 !default;\n$gray-100: #161616 !default;\n$green-10: #defbe6 !default;\n$green-20: #a7f0ba !default;\n$green-30: #6fdc8c !default;\n$green-40: #42be65 !default;\n$green-50: #24a148 !default;\n$green-60: #198038 !default;\n$green-70: #0e6027 !default;\n$green-80: #044317 !default;\n$green-90: #022d0d !default;\n$green-100: #071908 !default;\n$magenta-10: #fff0f7 !default;\n$magenta-20: #ffd6e8 !default;\n$magenta-30: #ffafd2 !default;\n$magenta-40: #ff7eb6 !default;\n$magenta-50: #ee5396 !default;\n$magenta-60: #d02670 !default;\n$magenta-70: #9f1853 !default;\n$magenta-80: #740937 !default;\n$magenta-90: #510224 !default;\n$magenta-100: #2a0a18 !default;\n$orange-10: #fff2e8 !default;\n$orange-20: #ffd9be !default;\n$orange-30: #ffb784 !default;\n$orange-40: #ff832b !default;\n$orange-50: #eb6200 !default;\n$orange-60: #ba4e00 !default;\n$orange-70: #8a3800 !default;\n$orange-80: #5e2900 !default;\n$orange-90: #3e1a00 !default;\n$orange-100: #231000 !default;\n$purple-10: #f6f2ff !default;\n$purple-20: #e8daff !default;\n$purple-30: #d4bbff !default;\n$purple-40: #be95ff !default;\n$purple-50: #a56eff !default;\n$purple-60: #8a3ffc !default;\n$purple-70: #6929c4 !default;\n$purple-80: #491d8b !default;\n$purple-90: #31135e !default;\n$purple-100: #1c0f30 !default;\n$red-10: #fff1f1 !default;\n$red-20: #ffd7d9 !default;\n$red-30: #ffb3b8 !default;\n$red-40: #ff8389 !default;\n$red-50: #fa4d56 !default;\n$red-60: #da1e28 !default;\n$red-70: #a2191f !default;\n$red-80: #750e13 !default;\n$red-90: #520408 !default;\n$red-100: #2d0709 !default;\n$teal-10: #d9fbfb !default;\n$teal-20: #9ef0f0 !default;\n$teal-30: #3ddbd9 !default;\n$teal-40: #08bdba !default;\n$teal-50: #009d9a !default;\n$teal-60: #007d79 !default;\n$teal-70: #005d5d !default;\n$teal-80: #004144 !default;\n$teal-90: #022b30 !default;\n$teal-100: #081a1c !default;\n$warm-gray-10: #f7f3f2 !default;\n$warm-gray-20: #e5e0df !default;\n$warm-gray-30: #cac5c4 !default;\n$warm-gray-40: #ada8a8 !default;\n$warm-gray-50: #8f8b8b !default;\n$warm-gray-60: #726e6e !default;\n$warm-gray-70: #565151 !default;\n$warm-gray-80: #3c3838 !default;\n$warm-gray-90: #272525 !default;\n$warm-gray-100: #171414 !default;\n$white-0: #ffffff !default;\n$yellow-10: #fcf4d6 !default;\n$yellow-20: #fddc69 !default;\n$yellow-30: #f1c21b !default;\n$yellow-40: #d2a106 !default;\n$yellow-50: #b28600 !default;\n$yellow-60: #8e6a00 !default;\n$yellow-70: #684e00 !default;\n$yellow-80: #483700 !default;\n$yellow-90: #302400 !default;\n$yellow-100: #1c1500 !default;\n\n$white-hover: #e8e8e8 !default;\n$black-hover: #212121 !default;\n$blue-10-hover: #dbebff !default;\n$blue-20-hover: #b8d3ff !default;\n$blue-30-hover: #8ab6ff !default;\n$blue-40-hover: #5c97ff !default;\n$blue-50-hover: #1f70ff !default;\n$blue-60-hover: #0050e6 !default;\n$blue-70-hover: #0053ff !default;\n$blue-80-hover: #0039c7 !default;\n$blue-90-hover: #00258a !default;\n$blue-100-hover: #001f75 !default;\n$cool-gray-10-hover: #e4e9f1 !default;\n$cool-gray-20-hover: #cdd3da !default;\n$cool-gray-30-hover: #adb5bd !default;\n$cool-gray-40-hover: #9199a1 !default;\n$cool-gray-50-hover: #757b85 !default;\n$cool-gray-60-hover: #585e64 !default;\n$cool-gray-70-hover: #5d646a !default;\n$cool-gray-80-hover: #434a51 !default;\n$cool-gray-90-hover: #2b3236 !default;\n$cool-gray-100-hover: #222a2f !default;\n$cyan-10-hover: #cceeff !default;\n$cyan-20-hover: #99daff !default;\n$cyan-30-hover: #57beff !default;\n$cyan-40-hover: #059fff !default;\n$cyan-50-hover: #0f7ec8 !default;\n$cyan-60-hover: #005fa3 !default;\n$cyan-70-hover: #0066bd !default;\n$cyan-80-hover: #00498a !default;\n$cyan-90-hover: #013360 !default;\n$cyan-100-hover: #0b2947 !default;\n$gray-10-hover: #e8e8e8 !default;\n$gray-20-hover: #d1d1d1 !default;\n$gray-30-hover: #b5b5b5 !default;\n$gray-40-hover: #999999 !default;\n$gray-50-hover: #7a7a7a !default;\n$gray-60-hover: #5e5e5e !default;\n$gray-70-hover: #636363 !default;\n$gray-80-hover: #474747 !default;\n$gray-90-hover: #333333 !default;\n$gray-100-hover: #292929 !default;\n$green-10-hover: #b6f6c8 !default;\n$green-20-hover: #74e792 !default;\n$green-30-hover: #36ce5e !default;\n$green-40-hover: #3bab5a !default;\n$green-50-hover: #208e3f !default;\n$green-60-hover: #166f31 !default;\n$green-70-hover: #11742f !default;\n$green-80-hover: #05521c !default;\n$green-90-hover: #033b11 !default;\n$green-100-hover: #0d300f !default;\n$magenta-10-hover: #ffe0ef !default;\n$magenta-20-hover: #ffbdda !default;\n$magenta-30-hover: #ff94c3 !default;\n$magenta-40-hover: #ff57a0 !default;\n$magenta-50-hover: #e3176f !default;\n$magenta-60-hover: #b0215f !default;\n$magenta-70-hover: #bf1d63 !default;\n$magenta-80-hover: #8e0b43 !default;\n$magenta-90-hover: #68032e !default;\n$magenta-100-hover: #53142f !default;\n$orange-10-hover: #ffe2cc !default;\n$orange-20-hover: #ffc69e !default;\n$orange-30-hover: #ff9d57 !default;\n$orange-40-hover: #fa6800 !default;\n$orange-50-hover: #cc5500 !default;\n$orange-60-hover: #9e4200 !default;\n$orange-70-hover: #a84400 !default;\n$orange-80-hover: #753300 !default;\n$orange-90-hover: #522200 !default;\n$orange-100-hover: #421e00 !default;\n$purple-10-hover: #ede5ff !default;\n$purple-20-hover: #dcc7ff !default;\n$purple-30-hover: #c5a3ff !default;\n$purple-40-hover: #ae7aff !default;\n$purple-50-hover: #9352ff !default;\n$purple-60-hover: #7822fb !default;\n$purple-70-hover: #7c3dd6 !default;\n$purple-80-hover: #5b24ad !default;\n$purple-90-hover: #40197b !default;\n$purple-100-hover: #341c59 !default;\n$red-10-hover: #ffe0e0 !default;\n$red-20-hover: #ffc2c5 !default;\n$red-30-hover: #ff99a0 !default;\n$red-40-hover: #ff6168 !default;\n$red-50-hover: #ee0713 !default;\n$red-60-hover: #b81922 !default;\n$red-70-hover: #c21e25 !default;\n$red-80-hover: #921118 !default;\n$red-90-hover: #66050a !default;\n$red-100-hover: #540d11 !default;\n$teal-10-hover: #acf6f6 !default;\n$teal-20-hover: #57e5e5 !default;\n$teal-30-hover: #25cac8 !default;\n$teal-40-hover: #07aba9 !default;\n$teal-50-hover: #008a87 !default;\n$teal-60-hover: #006b68 !default;\n$teal-70-hover: #007070 !default;\n$teal-80-hover: #005357 !default;\n$teal-90-hover: #033940 !default;\n$teal-100-hover: #0f3034 !default;\n$warm-gray-10-hover: #f0e8e6 !default;\n$warm-gray-20-hover: #d8d0cf !default;\n$warm-gray-30-hover: #b9b3b1 !default;\n$warm-gray-40-hover: #9c9696 !default;\n$warm-gray-50-hover: #7f7b7b !default;\n$warm-gray-60-hover: #605d5d !default;\n$warm-gray-70-hover: #696363 !default;\n$warm-gray-80-hover: #4c4848 !default;\n$warm-gray-90-hover: #343232 !default;\n$warm-gray-100-hover: #2c2626 !default;\n$yellow-10-hover: #f8e6a0 !default;\n$yellow-20-hover: #fccd27 !default;\n$yellow-30-hover: #ddb00e !default;\n$yellow-40-hover: #bc9005 !default;\n$yellow-50-hover: #9e7700 !default;\n$yellow-60-hover: #755800 !default;\n$yellow-70-hover: #806000 !default;\n$yellow-80-hover: #5c4600 !default;\n$yellow-90-hover: #3d2e00 !default;\n$yellow-100-hover: #332600 !default;\n\n/// Colors from the IBM Design Language\n/// @access public\n/// @group @carbon/colors\n$colors: (\n black: (\n 100: #000000,\n ),\n blue: (\n 10: #edf5ff,\n 20: #d0e2ff,\n 30: #a6c8ff,\n 40: #78a9ff,\n 50: #4589ff,\n 60: #0f62fe,\n 70: #0043ce,\n 80: #002d9c,\n 90: #001d6c,\n 100: #001141,\n ),\n cool-gray: (\n 10: #f2f4f8,\n 20: #dde1e6,\n 30: #c1c7cd,\n 40: #a2a9b0,\n 50: #878d96,\n 60: #697077,\n 70: #4d5358,\n 80: #343a3f,\n 90: #21272a,\n 100: #121619,\n ),\n cyan: (\n 10: #e5f6ff,\n 20: #bae6ff,\n 30: #82cfff,\n 40: #33b1ff,\n 50: #1192e8,\n 60: #0072c3,\n 70: #00539a,\n 80: #003a6d,\n 90: #012749,\n 100: #061727,\n ),\n gray: (\n 10: #f4f4f4,\n 20: #e0e0e0,\n 30: #c6c6c6,\n 40: #a8a8a8,\n 50: #8d8d8d,\n 60: #6f6f6f,\n 70: #525252,\n 80: #393939,\n 90: #262626,\n 100: #161616,\n ),\n green: (\n 10: #defbe6,\n 20: #a7f0ba,\n 30: #6fdc8c,\n 40: #42be65,\n 50: #24a148,\n 60: #198038,\n 70: #0e6027,\n 80: #044317,\n 90: #022d0d,\n 100: #071908,\n ),\n magenta: (\n 10: #fff0f7,\n 20: #ffd6e8,\n 30: #ffafd2,\n 40: #ff7eb6,\n 50: #ee5396,\n 60: #d02670,\n 70: #9f1853,\n 80: #740937,\n 90: #510224,\n 100: #2a0a18,\n ),\n orange: (\n 10: #fff2e8,\n 20: #ffd9be,\n 30: #ffb784,\n 40: #ff832b,\n 50: #eb6200,\n 60: #ba4e00,\n 70: #8a3800,\n 80: #5e2900,\n 90: #3e1a00,\n 100: #231000,\n ),\n purple: (\n 10: #f6f2ff,\n 20: #e8daff,\n 30: #d4bbff,\n 40: #be95ff,\n 50: #a56eff,\n 60: #8a3ffc,\n 70: #6929c4,\n 80: #491d8b,\n 90: #31135e,\n 100: #1c0f30,\n ),\n red: (\n 10: #fff1f1,\n 20: #ffd7d9,\n 30: #ffb3b8,\n 40: #ff8389,\n 50: #fa4d56,\n 60: #da1e28,\n 70: #a2191f,\n 80: #750e13,\n 90: #520408,\n 100: #2d0709,\n ),\n teal: (\n 10: #d9fbfb,\n 20: #9ef0f0,\n 30: #3ddbd9,\n 40: #08bdba,\n 50: #009d9a,\n 60: #007d79,\n 70: #005d5d,\n 80: #004144,\n 90: #022b30,\n 100: #081a1c,\n ),\n warm-gray: (\n 10: #f7f3f2,\n 20: #e5e0df,\n 30: #cac5c4,\n 40: #ada8a8,\n 50: #8f8b8b,\n 60: #726e6e,\n 70: #565151,\n 80: #3c3838,\n 90: #272525,\n 100: #171414,\n ),\n white: (\n 0: #ffffff,\n ),\n yellow: (\n 10: #fcf4d6,\n 20: #fddc69,\n 30: #f1c21b,\n 40: #d2a106,\n 50: #b28600,\n 60: #8e6a00,\n 70: #684e00,\n 80: #483700,\n 90: #302400,\n 100: #1c1500,\n ),\n) !default;\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","//\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// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),l.locals={printPage:"-esm-patient-orders__print__printPage___vpmXo",header:"-esm-patient-orders__print__header___MYZQU",patientDetails:"-esm-patient-orders__print__patientDetails___wMi2G",patientInfo:"-esm-patient-orders__print__patientInfo___NZY+V",name:"-esm-patient-orders__print__name___2imVs",footer:"-esm-patient-orders__print__footer___wYme7",date:"-esm-patient-orders__print__date___HkJM0",gender:"-esm-patient-orders__print__gender___b8Aai",printedBy:"-esm-patient-orders__print__printedBy___gdtmj",subheader:"-esm-patient-orders__print__subheader___5Rqqd"};const i=l},38625:(e,n,t)=>{"use strict";t.r(n),t.d(n,{importTranslation:()=>se,labResult:()=>Ae,orderBasketActionMenu:()=>he,orderBasketWorkspace:()=>pe,orderPriceDetailsExtension:()=>be,orderStockDetailsExtension:()=>me,orderableConceptSearch:()=>we,ordersDashboard:()=>ve,ordersDashboardLink:()=>$e,patientOrdersFormWorkspace:()=>ge,printLabResultModal:()=>_e,startupApp:()=>fe,testResultsFormWorkspace:()=>ye});var a=t(54440),r=t(36274),o={orderEncounterType:{_type:a.Type.UUID,_description:'The encounter type of the encounter encapsulating orders. Defaults to the "Order" encounter type.',_default:"39da3525-afe4-45ff-8977-c53b7b359158"},careSettingUuid:{_type:a.Type.UUID,_description:'The UUID of the care setting for orders. Defaults to the "Outpatient" care setting.',_default:"6f0c9a92-6f24-11e3-af88-005056821db0"},showPrintButton:{_type:a.Type.Boolean,_description:"Determines whether or not to display a Print button in the Orders details table. If set to true, a Print button gets shown in both the orders table headers. When clicked, this button enables the user to print out the contents of the table",_default:!1},orderTypes:{_type:a.Type.Array,_elements:{_type:a.Type.Object,orderTypeUuid:{_type:a.Type.UUID,_description:"The UUID of the order type listed in the order basket"},orderableConceptSets:{_type:a.Type.Array,_elements:{_type:a.Type.UUID},_description:"UUIDs of concepts that represent orderable concepts. Either the `conceptClass` should be given, or the `orderableConcepts`. If the orderableConcepts are not given, then it'll search concepts by concept class."},label:{_type:a.Type.String,_description:"The custom label to be shown for the order type. The label will be translated with the key as the label itself."},icon:{_type:a.Type.String,_description:"Icon to be shown for the order type. Icons are from the OpenMRS icon library.",_default:""}},_description:"List of various order types, each associated with the Java class name `org.openmrs.Order`.",_default:[]},showReferenceNumberField:{_type:a.Type.Boolean,_default:!0,_description:'Whether to display the "Reference number" field in the Order form. This field maps to the accession_number property in the Order data model'}},l=t(1343),i=t.n(l),d=t(72339);var s=t(46372),c=t.n(s),u=t(88931),f=t(60430),p=t(30723),g=t(70033);function y(e,n,t){var a,r,o,l,i,d,s,c,u,f,p,g;if("NEW"===e.action||"RENEW"===e.action)return{action:"NEW",patient:n,type:"drugorder",careSetting:e.careSetting,orderer:e.orderer,encounter:t,drug:e.drug.uuid,dose:e.dosage,doseUnits:null===(a=e.unit)||void 0===a?void 0:a.valueCoded,route:null===(r=e.route)||void 0===r?void 0:r.valueCoded,frequency:null===(o=e.frequency)||void 0===o?void 0:o.valueCoded,asNeeded:e.asNeeded,asNeededCondition:e.asNeededCondition,numRefills:e.numRefills,quantity:e.pillsDispensed,quantityUnits:null===(l=e.quantityUnits)||void 0===l?void 0:l.valueCoded,duration:e.duration,durationUnits:null===(i=e.durationUnit)||void 0===i?void 0:i.valueCoded,dosingType:e.isFreeTextDosage?"org.openmrs.FreeTextDosingInstructions":"org.openmrs.SimpleDosingInstructions",dosingInstructions:e.isFreeTextDosage?e.freeTextDosage:e.patientInstructions,concept:e.drug.concept.uuid,orderReasonNonCoded:e.indication};if("REVISE"===e.action)return{action:"REVISE",patient:n,type:"drugorder",previousOrder:e.previousOrder,careSetting:e.careSetting,orderer:e.orderer,encounter:t,drug:e.drug.uuid,dose:e.dosage,doseUnits:null===(d=e.unit)||void 0===d?void 0:d.valueCoded,route:null===(s=e.route)||void 0===s?void 0:s.valueCoded,frequency:null===(c=e.frequency)||void 0===c?void 0:c.valueCoded,asNeeded:e.asNeeded,asNeededCondition:e.asNeededCondition,numRefills:e.numRefills,quantity:e.pillsDispensed,quantityUnits:null===(u=e.quantityUnits)||void 0===u?void 0:u.valueCoded,duration:e.duration,durationUnits:null===(f=e.durationUnit)||void 0===f?void 0:f.valueCoded,dosingType:e.isFreeTextDosage?"org.openmrs.FreeTextDosingInstructions":"org.openmrs.SimpleDosingInstructions",dosingInstructions:e.isFreeTextDosage?e.freeTextDosage:e.patientInstructions,concept:null==e||null===(g=e.drug)||void 0===g||null===(p=g.concept)||void 0===p?void 0:p.uuid,orderReasonNonCoded:e.indication};if("DISCONTINUE"===e.action)return{action:"DISCONTINUE",type:"drugorder",previousOrder:e.previousOrder,patient:n,careSetting:e.careSetting,encounter:t,orderer:e.orderer,concept:e.drug.concept.uuid,drug:e.drug.uuid,orderReasonNonCoded:null};throw new Error("Unknown order action ".concat(e.action,". This is a development error."))}t(71123),t(88010);function h(e,n,t){if("NEW"===e.action||"RENEW"===e.action)return{action:"NEW",type:"testorder",patient:n,careSetting:"6f0c9a92-6f24-11e3-af88-005056821db0",orderer:e.orderer,encounter:t,concept:e.testType.conceptUuid,instructions:e.instructions,orderReason:e.orderReason,accessionNumber:e.accessionNumber,urgency:e.urgency,scheduledDate:e.scheduledDate?(0,a.toOmrsIsoString)(e.scheduledDate):null};if("REVISE"===e.action)return{action:"REVISE",type:"testorder",patient:n,careSetting:e.careSetting,orderer:e.orderer,encounter:t,concept:e.testType.conceptUuid,instructions:e.instructions,orderReason:e.orderReason,previousOrder:e.previousOrder,accessionNumber:e.accessionNumber,urgency:e.urgency,scheduledDate:e.scheduledDate?(0,a.toOmrsIsoString)(e.scheduledDate):null};if("DISCONTINUE"===e.action)return{action:"DISCONTINUE",type:"testorder",patient:n,careSetting:e.careSetting,orderer:e.orderer,encounter:t,concept:e.testType.conceptUuid,orderReason:e.orderReason,previousOrder:e.previousOrder,accessionNumber:e.accessionNumber,urgency:e.urgency,scheduledDate:e.scheduledDate?(0,a.toOmrsIsoString)(e.scheduledDate):null};throw new Error("Unknown order action: ".concat(e.action,"."))}var b=t(15394),m=t(82768);function $(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var v,A={DRUG_ORDER:"drugorder",TEST_ORDER:"testorder",GENERAL_ORDER:"order"},_=($(v={},A.DRUG_ORDER,"Drug orders"),$(v,A.TEST_ORDER,"Test orders"),$(v,A.GENERAL_ORDER,"General orders"),function(e,n){switch(e){case A.DRUG_ORDER:return"medications";case A.TEST_ORDER:case A.GENERAL_ORDER:return n||"general";default:return"general"}}),w=t(1347),C=t(72591),k=t.n(C),x=t(1740),E=t.n(x),z=t(88128),D=t.n(z),M=t(30855),N=t.n(M),T=t(93051),O=t.n(T),B=t(73656),S=t.n(B),I=t(90901),R={};R.styleTagTransform=S(),R.setAttributes=N(),R.insert=D().bind(null,"head"),R.domAPI=E(),R.insertStyleElement=O(),k()(I.A,R);const P=I.A&&I.A.locals?I.A.locals:void 0;function j(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}const F=function(e){var n,t,r=e.order,o=(0,d.useTranslation)().t,s="tablet"===(0,a.useLayoutType)(),c=(0,w.oi)(r.concept.uuid),u=c.concept,f=c.isLoading,p=(0,w.W4)(r.encounter.uuid),y=p.encounter,h=p.isLoading,b=[{key:"orderName",header:null==r||null===(n=r.orderType)||void 0===n?void 0:n.display},{key:"instructions",header:o("instructions","Instructions")},{key:"referenceNumber",header:o("referenceNumberTableHeader","{{orderType}} reference number",{orderType:null==r||null===(t=r.orderType)||void 0===t?void 0:t.display})}],$=(0,l.useMemo)((function(){var e;if(y&&u)return null===(e=y.obs)||void 0===e?void 0:e.find((function(e){return e.concept.uuid===u.uuid}))}),[u,y]),v=(0,l.useMemo)((function(){return u&&u.setMembers.length>0?null==u?void 0:u.setMembers.map((function(e){var n,t,a;return{id:e.uuid,orderName:i().createElement("div",{className:P.type},e.display),instructions:"--",result:h?i().createElement(g.rrI,null):null!==(a=(0,m.or)(null==$||null===(t=$.groupMembers)||void 0===t||null===(n=t.find((function(n){return n.concept.uuid===e.uuid})))||void 0===n?void 0:n.value))&&void 0!==a?a:"--",normalRange:e.hiNormal&&e.lowNormal?"".concat(e.lowNormal," - ").concat(e.hiNormal):o("notApplicable","Not applicable"),referenceNumber:null==r?void 0:r.accessionNumber}})):u&&0===u.setMembers.length?[{id:u.uuid,orderName:i().createElement("div",{className:P.type},u.display),instructions:null!==(e=null==r?void 0:r.instructions)&&void 0!==e?e:"--",result:h?i().createElement(g.rrI,null):null!==(n=(0,m.or)(null==$?void 0:$.value))&&void 0!==n?n:"--",normalRange:u.hiNormal&&u.lowNormal?"".concat(u.lowNormal," - ").concat(u.hiNormal):o("notApplicable","Not applicable"),referenceNumber:null==r?void 0:r.accessionNumber}]:[];var e,n}),[u,h,null==$?void 0:$.groupMembers,null==$?void 0:$.value,null==r?void 0:r.accessionNumber,null==r?void 0:r.instructions,o]);return i().createElement("div",{className:P.order},f?i().createElement(g.OOb,{role:"progressbar",compact:s,zebra:!0}):i().createElement(g.bQt,{rows:v,headers:b,size:s?"lg":"sm",useZebraStyles:!0},(function(e){var n,t,a=e.rows,r=e.headers,o=e.getHeaderProps,l=e.getRowProps,d=e.getTableProps,s=e.getTableContainerProps;return i().createElement(g.K3K,s(),i().createElement(g.XIK,(n=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){j(e,n,t[n])}))}return e}({},d()),t=null!=(t={"aria-label":"orders"})?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})),n),i().createElement(g.ndF,null,i().createElement(g.Hjg,null,r.map((function(e){return i().createElement(g.A0N,o({header:e}),e.header)})))),i().createElement(g.BFY,null,a.map((function(e){return i().createElement(g.Hjg,l({row:e}),e.cells.map((function(e){return i().createElement(g.nA6,{key:e.id,className:P.cell},e.value)})))})))))})))};var U=t(94414),q={};q.styleTagTransform=S(),q.setAttributes=N(),q.insert=D().bind(null,"head"),q.domAPI=E(),q.insertStyleElement=O(),k()(U.A,q);const L=U.A&&U.A.locals?U.A.locals:void 0;function G(e){var n=e.orderer,t=(0,d.useTranslation)().t;return i().createElement(g.Gff,{align:"top-left"},i().createElement(g.yvu,{label:t("ordererInformation","Orderer information")},i().createElement(a.UserIcon,{size:16})),i().createElement(g.pNg,null,i().createElement("p",null,n)))}const W=function(e){var n,t,r,o,l,s,c,f,p,g,y,h,b,m,$=e.medication,v=(0,d.useTranslation)().t;return i().createElement("div",{className:L.medicationContainer},i().createElement("div",{className:L.startDateColumn},i().createElement("span",null,(0,a.formatDate)(new Date($.dateActivated))),i().createElement(G,{orderer:null!==(m=null===(n=$.orderer)||void 0===n?void 0:n.display)&&void 0!==m?m:"--"})),i().createElement("div",{className:L.medicationRecord},i().createElement("p",{className:L.bodyLong01},i().createElement("strong",null,(0,u.A)(null===(t=$.drug)||void 0===t?void 0:t.display))," ",(null===(r=$.drug)||void 0===r?void 0:r.strength)&&i().createElement(i().Fragment,null,"— ",null===(o=$.drug)||void 0===o?void 0:o.strength.toLowerCase())," ",(null===(s=$.drug)||void 0===s||null===(l=s.dosageForm)||void 0===l?void 0:l.display)&&i().createElement(i().Fragment,null,"— ",$.drug.dosageForm.display.toLowerCase())),i().createElement("p",{className:L.bodyLong01},i().createElement("span",{className:L.label01},v("dose","Dose").toUpperCase())," ",i().createElement("span",{className:L.dosage},$.dose," ",null===(c=$.doseUnits)||void 0===c?void 0:c.display.toLowerCase())," ",(null===(f=$.route)||void 0===f?void 0:f.display)&&i().createElement(i().Fragment,null,"— ",null===(p=$.route)||void 0===p?void 0:p.display.toLowerCase())," ",(null===(g=$.frequency)||void 0===g?void 0:g.display)&&i().createElement(i().Fragment,null,"— ",null===(y=$.frequency)||void 0===y?void 0:y.display.toLowerCase())," —"," ",$.duration?v("medicationDurationAndUnit","for {{duration}} {{durationUnit}}",{duration:$.duration,durationUnit:null===(h=$.durationUnits)||void 0===h?void 0:h.display.toLowerCase()}):v("medicationIndefiniteDuration","Indefinite duration").toLowerCase()," ",0!==$.numRefills&&i().createElement("span",null,i().createElement("span",{className:L.label01}," — ",v("refills","Refills").toUpperCase())," ",$.numRefills),$.dosingInstructions&&i().createElement("span",null," — ",$.dosingInstructions.toLocaleLowerCase())),i().createElement("p",{className:L.bodyLong01},$.orderReasonNonCoded?i().createElement("span",null,i().createElement("span",{className:L.label01},v("indication","Indication").toUpperCase())," ",$.orderReasonNonCoded):null,$.orderReasonNonCoded&&$.quantity&&i().createElement(i().Fragment,null,"—"),$.quantity?i().createElement("span",null,i().createElement("span",{className:L.label01}," ",v("quantity","Quantity").toUpperCase())," ",$.quantity," ",null==$||null===(b=$.quantityUnits)||void 0===b?void 0:b.display):null,$.dateStopped?i().createElement("span",null,i().createElement("span",{className:L.label01}," — ",v("endDate","End date").toUpperCase())," ",(0,a.formatDate)(new Date($.dateStopped))):null)))};var H=t(36361),V={};V.styleTagTransform=S(),V.setAttributes=N(),V.insert=D().bind(null,"head"),V.domAPI=E(),V.insertStyleElement=O(),k()(H.A,V);const Z=H.A&&H.A.locals?H.A.locals:void 0,Y=function(e){var n=e.subheader,t=e.patientDetails,r=(0,d.useTranslation)().t,o=(0,a.useConfig)().logo,l=(0,a.useSession)();return i().createElement("div",{className:Z.printPage},i().createElement("header",{className:Z.header},(null==o?void 0:o.src)?i().createElement("img",{className:Z.logo,src:o.src,alt:o.alt}):(null==o?void 0:o.name)?o.name:i().createElement("svg",{role:"img",width:110,height:40,viewBox:"0 0 380 119",xmlns:"http://www.w3.org/2000/svg"},i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.29 40.328a27.755 27.755 0 0 1 19.688-8.154c7.669 0 14.613 3.102 19.647 8.116l.02-18.54A42.835 42.835 0 0 0 59.978 17c-7.089 0-13.813 1.93-19.709 4.968l.021 18.36ZM79.645 79.671a27.744 27.744 0 0 1-19.684 8.154c-7.67 0-14.614-3.101-19.651-8.116l-.02 18.54A42.857 42.857 0 0 0 59.96 103a42.833 42.833 0 0 0 19.672-4.751l.013-18.578ZM40.328 79.696c-5.038-5.037-8.154-11.995-8.154-19.685 0-7.669 3.102-14.612 8.116-19.65l-18.54-.02A42.85 42.85 0 0 0 17 60.012a42.819 42.819 0 0 0 4.752 19.672l18.576.013ZM79.634 40.289a27.753 27.753 0 0 1 8.154 19.688 27.744 27.744 0 0 1-8.117 19.646l18.542.02a42.842 42.842 0 0 0 4.749-19.666c0-7.09-1.714-13.779-4.751-19.675l-18.577-.013ZM156.184 60.002c0-8.748-6.118-15.776-15.025-15.776-8.909 0-15.025 7.028-15.025 15.776 0 8.749 6.116 15.78 15.025 15.78 8.907 0 15.025-7.031 15.025-15.78Zm-34.881 0c0-11.482 8.318-19.958 19.856-19.958 11.536 0 19.855 8.477 19.855 19.959 0 11.484-8.319 19.964-19.855 19.964-11.538 0-19.856-8.48-19.856-19.965ZM179.514 75.54c5.507 0 9.05-4.14 9.05-9.482 0-5.341-3.543-9.483-9.05-9.483-5.505 0-9.046 4.142-9.046 9.483 0 5.342 3.541 9.482 9.046 9.482ZM166.22 53.306h4.248v3.704h.11c2.344-2.725 5.449-4.36 9.154-4.36 8.014 0 13.408 5.67 13.408 13.408 0 7.63-5.613 13.406-12.752 13.406-4.58 0-8.231-2.29-9.81-5.178h-.11V90.87h-4.248V53.306ZM217.773 63.768c-.163-4.305-3-7.193-7.686-7.193-4.685 0-7.79 2.888-8.335 7.193h16.021Zm3.653 10.412c-3.001 3.868-6.596 5.284-11.339 5.284-8.01 0-12.914-5.993-12.914-13.406 0-7.901 5.559-13.407 13.08-13.407 7.196 0 12.096 4.906 12.096 13.354v1.362h-20.597c.325 4.413 3.704 8.173 8.335 8.173 3.65 0 6.105-1.307 8.12-3.868l3.219 2.508ZM227.854 59.356c0-2.346-.216-4.36-.216-6.05h4.031c0 1.363.11 2.777.11 4.195h.11c1.144-2.505 4.306-4.85 8.5-4.85 6.705 0 9.699 4.252 9.699 10.41v15.748h-4.248v-15.31c0-4.253-1.856-6.924-5.833-6.924-5.503 0-7.903 3.979-7.903 9.811V78.81h-4.25V59.356ZM259.211 41.008h6.708L278.8 70.791h.107l12.982-29.782h6.549v37.99h-4.506V47.124h-.106L280.192 79h-2.738l-13.629-31.875h-.107V79h-4.507V41.01ZM312.392 57.752h4.023c4.992 0 11.487 0 11.487-6.282 0-5.47-4.776-6.276-9.177-6.276h-6.333v12.558Zm-4.506-16.744h9.711c7.352 0 15.132 1.072 15.132 10.462 0 5.527-3.594 9.125-9.495 10.037L334.018 79h-5.525l-10.304-17.063h-5.797V79h-4.506V41.01ZM358.123 47.712c-1.506-2.413-4.187-3.486-6.926-3.486-3.973 0-8.1 1.88-8.1 6.385 0 3.49 1.931 5.047 7.994 6.98 5.903 1.878 11.377 3.809 11.377 11.267 0 7.567-6.495 11.11-13.36 11.11-4.402 0-9.125-1.45-11.7-5.262l3.862-3.165c1.61 2.794 4.83 4.24 8.105 4.24 3.862 0 8.263-2.253 8.263-6.601 0-4.669-3.165-5.474-9.928-7.728-5.366-1.771-9.442-4.134-9.442-10.463 0-7.298 6.277-10.945 12.929-10.945 4.241 0 7.836 1.178 10.625 4.45l-3.699 3.218Z"})),i().createElement("div",{className:Z.patientDetails},i().createElement("span",{className:Z.name},null==t?void 0:t.name),i().createElement("span",{className:Z.patientInfo},null==t?void 0:t.gender,", ",null==t?void 0:t.age,", ",null==t?void 0:t.identifiers," ")),i().createElement("div",{className:Z.printedBy},r("printedBy","Printed by"),i().createElement("span",{className:Z.printedBy},l.user.display," ",r("onDate","on")," ",(0,a.formatDate)(new Date,{noToday:!0})))),i().createElement("div",{className:Z.subheader},i().createElement("h4",null,n)))};var J=t(43508),X=t(4167),Q={};Q.styleTagTransform=S(),Q.setAttributes=N(),Q.insert=D().bind(null,"head"),Q.domAPI=E(),Q.insertStyleElement=O(),k()(X.A,Q);const K=X.A&&X.A.locals?X.A.locals:void 0;function ee(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function ne(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function te(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){ne(e,n,t[n])}))}return e}function ae(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,r,o=[],l=!0,i=!1;try{for(t=t.call(e);!(l=(a=t.next()).done)&&(o.push(a.value),!n||o.length!==n);l=!0);}catch(e){i=!0,r=e}finally{try{l||null==t.return||t.return()}finally{if(i)throw r}}return o}}(e,n)||oe(e,n)||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.")}()}function re(e){return function(e){if(Array.isArray(e))return ee(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||oe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(e,n){if(e){if("string"==typeof e)return ee(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ee(e,n):void 0}}function le(e){var n=e.orderItem,t=e.openOrderBasket,o=e.launchOrderForm,s=(e.responsiveSize,e.patient),c=(0,d.useTranslation)().t,u=(0,l.useCallback)((function(){return n.type===A.DRUG_ORDER?{grouping:_(A.DRUG_ORDER),postDataPrepFn:y}:n.type===A.TEST_ORDER?{grouping:_(A.TEST_ORDER,n.orderType.uuid),postDataPrepFn:h}:{grouping:_(A.GENERAL_ORDER,n.orderType.uuid),postDataPrepFn:b.c$}}),[n.type,n.orderType.uuid])(),f=u.grouping,p=u.postDataPrepFn,$=(0,r.useOrderBasket)(s,f,p),v=$.orders,w=$.setOrders,C=v.some((function(e){return e.uuid===n.uuid})),k=(0,l.useCallback)((function(){(0,a.launchWorkspace)("test-results-form-workspace",{order:n})}),[n]),x=(0,l.useCallback)((function(){if(n.type===A.DRUG_ORDER)(0,r.getDrugOrderByUuid)(n.uuid).then((function(e){var n=e.data,a=(0,m.Qp)(n,"DISCONTINUE");t(),w(re(v).concat([a]))}));else if(n.type===A.TEST_ORDER){var e=(0,m.CZ)(n,"DISCONTINUE");t(),w(re(v).concat([e]))}else{var a=(0,m.bW)(n,"DISCONTINUE");t(),w(re(v).concat([a]))}}),[n,w,v,t]),E=(0,l.useCallback)((function(){if(n.type===A.DRUG_ORDER)(0,r.getDrugOrderByUuid)(n.uuid).then((function(e){var n=e.data,t=(0,m.Qp)(n,"REVISE");w(re(v).concat([t])),o({order:t})})).catch((function(e){console.error("Error modifying drug order: ",e)}));else if(n.type===A.TEST_ORDER){var e=(0,m.CZ)(n,"REVISE");w(re(v).concat([e])),o({order:e})}else if(n.type===A.GENERAL_ORDER){var t=(0,m.bW)(n,"REVISE");w(re(v).concat([t])),o({order:t})}}),[n,o,v,w]);return i().createElement(g.Wdr,{className:K.layer},i().createElement(g.obU,{"aria-label":c("actionsMenu","Actions menu"),flipped:!0,selectorPrimaryFocus:"#modify",size:"md"},i().createElement(g.XSD,{className:K.menuItem,disabled:C,id:"modify",itemText:c("modifyOrder","Modify order"),onClick:E}),(null==n?void 0:n.type)===A.TEST_ORDER&&i().createElement(g.XSD,{className:K.menuItem,disabled:C,id:"reorder",itemText:"COMPLETED"===n.fulfillerStatus?c("editResults","Edit results"):c("addResults","Add results"),onClick:k}),i().createElement(g.XSD,{className:K.menuItem,disabled:C||"DISCONTINUE"===(null==n?void 0:n.action),hasDivider:!0,id:"discontinue",isDelete:!0,itemText:c("cancelOrder","Cancel order"),onClick:x})))}const ie=function(e){var n=e.patientUuid,t=e.patient,o=e.showAddButton,s=e.showPrintButton,y=e.title,h=(0,d.useTranslation)().t,b=h("orders","Orders"),$="tablet"===(0,a.useLayoutType)(),v=$?"lg":"md",_=(0,r.useLaunchWorkspaceRequiringVisit)(n,"order-basket"),w=(0,r.useLaunchWorkspaceRequiringVisit)(n,"add-drug-order"),C=(0,r.useLaunchWorkspaceRequiringVisit)(n,"add-lab-order"),k=(0,r.useLaunchWorkspaceRequiringVisit)(n,"orderable-concept-workspace"),x=(0,l.useRef)(null),E=(0,a.useConfig)().excludePatientIdentifierCodeTypes,z=ae((0,l.useState)(!1),2),D=z[0],M=z[1],N=(0,r.useOrderTypes)().data,T=ae((0,l.useState)(null),2),O=T[0],B=T[1],S=ae((0,l.useState)([null,null]),2),I=S[0],R=S[1],P=ae(I,2),j=P[0],U=P[1],q=(0,l.useMemo)((function(){return j?c()(j).startOf("day").toISOString():null}),[j]),L=(0,l.useMemo)((function(){return U?c()(U).endOf("day").toISOString():null}),[U]),G=null==N?void 0:N.find((function(e){return e.uuid===O})),H=(0,l.useCallback)((function(e){if(!e)return h("ordersLower","orders");var n=(e.display||e.name||"").toLowerCase();return n.includes("test")?h("testOrders","test orders"):n.includes("drug")?h("drugOrders","drug orders"):h("ordersLower","orders")}),[h]),V=(0,l.useMemo)((function(){return H(G)}),[G,H]),Z=(0,l.useCallback)((function(e){if(!e)return"";if(!e.uuid)return h("allOrders","All orders");var n=(e.display||e.name||"").toLowerCase();if(n.includes("drug")){var t=h("drugOrders","Drug orders");return t?t.charAt(0).toUpperCase()+t.slice(1):t}if(n.includes("test")){var a=h("testOrders","Test orders");return a?a.charAt(0).toUpperCase()+a.slice(1):a}return e.display||e.name||""}),[h]),X=(0,r.usePatientOrders)(n,"ACTIVE",O,q,L),Q=X.data,ee=X.error,ne=X.isLoading,oe=X.isValidating,ie=(0,l.useMemo)((function(){return Q?O?Q.filter((function(e){var n;return(null===(n=e.orderType)||void 0===n?void 0:n.uuid)===O})):Q:[]}),[Q,O]),de=(0,l.useCallback)((function(e){switch(e.type){case A.DRUG_ORDER:w({order:(0,m.Qp)(e,"REVISE")});break;case A.TEST_ORDER:C({order:(0,m.CZ)(e,"REVISE"),orderTypeUuid:e.orderType.uuid});break;case A.GENERAL_ORDER:k({order:(0,m.bW)(e,"REVISE"),orderTypeUuid:e.orderType.uuid});break;default:_()}}),[w,k,C,_]),se=[{key:"orderNumber",header:h("orderNumber","Order number"),isSortable:!0},{key:"dateOfOrder",header:h("dateOfOrder","Date of order"),isSortable:!0},{key:"orderType",header:h("orderType","Order type"),isSortable:!0},{key:"order",header:h("order","Order"),isSortable:!0},{key:"priority",header:h("priority","Priority"),isSortable:!1},{key:"orderedBy",header:h("orderedBy","Ordered by"),isSortable:!1},{key:"status",header:h("status","Status"),isSortable:!1}];D&&se.push({key:"dosage",header:h("dosage","Dosage"),isSortable:!0});var ce=(0,l.useMemo)((function(){var e;return null!==(e=null==ie?void 0:ie.map((function(e){var n,t,r,o,l;return{id:e.uuid,dateActivated:e.dateActivated,orderNumber:e.orderNumber,dateOfOrder:i().createElement("div",{className:K.singleLineText},(0,a.formatDate)((0,a.parseDate)(e.dateActivated))),orderType:(0,u.A)(null!==(o=null===(n=e.orderType)||void 0===n?void 0:n.display)&&void 0!==o?o:"-"),dosage:e.type===A.DRUG_ORDER?i().createElement("div",{className:K.singleLineText},"".concat(h("indication","Indication").toUpperCase(),"\n ").concat(null!==(l=e.orderReasonNonCoded)&&void 0!==l?l:h("noIndicationProvided","No indication provided")," ","-"," ").concat(h("quantity","Quantity").toUpperCase()," ").concat(e.quantity," ").concat(null==e||null===(t=e.quantityUnits)||void 0===t?void 0:t.display," ")):"--",order:e.display,priority:i().createElement("div",{className:K.priorityPill,"data-priority":(0,f.A)(e.urgency)},h(e.urgency,(0,u.A)(e.urgency.replace("_"," ")))),orderedBy:null===(r=e.orderer)||void 0===r?void 0:r.display,status:e.fulfillerStatus?i().createElement("div",{className:K.statusPill,"data-status":(0,f.A)(e.fulfillerStatus)},h(e.fulfillerStatus,(0,u.A)(e.fulfillerStatus.replace("_"," ")))):"--"}})))&&void 0!==e?e:[]}),[ie,h]),ue=(0,a.usePagination)(ce,10),fe=ue.results,pe=ue.goTo,ge=ue.currentPage,ye=(0,l.useMemo)((function(){var e,n,r,o=null!==(r=null==t||null===(e=t.identifier)||void 0===e?void 0:e.filter((function(e){var n;return!(null==E||null===(n=E.uuids)||void 0===n?void 0:n.includes(e.type.coding[0].code))})))&&void 0!==r?r:[];return{name:t?(0,a.getPatientName)(t):"",age:(0,a.age)(null==t?void 0:t.birthDate),gender:function(e){switch(e){case"male":return(0,a.getCoreTranslation)("male");case"female":return(0,a.getCoreTranslation)("female");case"other":return(0,a.getCoreTranslation)("other");case"unknown":return(0,a.getCoreTranslation)("unknown");default:return e}}(null==t?void 0:t.gender),location:null==t||null===(n=t.address)||void 0===n?void 0:n[0].city,identifiers:(null==o?void 0:o.length)?o.map((function(e){return e.value})):[]}}),[t,null==E?void 0:E.uuids]),he=(0,l.useRef)(null);(0,l.useEffect)((function(){D&&he.current&&he.current()}),[D]);var be=(0,p.useReactToPrint)({content:function(){return x.current},documentTitle:"OpenMRS - ".concat(ye.name," - ").concat(y),onBeforeGetContent:function(){return new Promise((function(e){t&&y&&(he.current=e,M(!0))}))},onAfterPrint:function(){he.current=null,M(!1)}}),me=(0,l.useMemo)((function(){var e;return[{display:h("allOrders","All orders"),uuid:null}].concat(re(null!==(e=null==N?void 0:N.map((function(e){return{display:e.display,uuid:e.uuid}})))&&void 0!==e?e:[]))}),[N,h]),$e=(0,l.useCallback)((function(e){var n=ae(e,2),t=n[0],a=n[1];R([null!=t?t:null,null!=a?a:null])}),[]),ve=(0,l.useCallback)((function(e){return n=e.type,Object.values(A).includes(n);var n}),[]);return i().createElement(i().Fragment,null,i().createElement("div",{className:K.filterContainer},i().createElement("div",{className:K.dropdownContainer},i().createElement(g.msM,{id:"orderTypeDropdown",items:me,itemToString:function(e){return Z(e)},label:h("allOrders","All orders"),onChange:function(e){var n,t=e.selectedItem;B(null!==(n=null==t?void 0:t.uuid)&&void 0!==n?n:null)},selectedItem:me.find((function(e){return e.uuid===O})),titleText:h("selectOrderType","Select order type")+":",type:"inline"})),i().createElement(a.OpenmrsDateRangePicker,{className:K.inlineDateRange,labelText:h("dateRange","Date range")+":",maxDate:new Date,onChange:$e,value:I})),ne?i().createElement(g.OOb,{role:"progressbar",compact:!$,zebra:!0}):ee?i().createElement(r.ErrorState,{error:ee,headerTitle:y}):N&&(null==N?void 0:N.length)>0?i().createElement(i().Fragment,null,(null==ce?void 0:ce.length)?i().createElement("div",{className:K.widgetCard},i().createElement(r.CardHeader,{title:y},oe?i().createElement("span",null,i().createElement(g.OuH,null)):null,i().createElement("div",{className:K.buttons},s&&i().createElement(g.$nd,{className:K.printButton,iconDescription:h("printOrder","Print order"),kind:"ghost",onClick:be,renderIcon:a.PrinterIcon},h("print","Print")),o&&i().createElement(g.$nd,{className:K.addButton,kind:"ghost",renderIcon:a.AddIcon,iconDescription:h("launchOrderBasket","Launch order basket"),onClick:_},h("add","Add")))),i().createElement("div",{ref:x},i().createElement(Y,{subheader:y,patientDetails:ye}),i().createElement(g.bQt,{"aria-label":h("orderDetails","Order details"),"data-floating-menu-container":!0,headers:se,isSortable:!0,overflowMenuOnHover:!$,rows:fe,size:v,useZebraStyles:!0},(function(e){var n=e.getExpandedRowProps,r=e.getExpandHeaderProps,o=e.getHeaderProps,l=e.getRowProps,d=e.getTableContainerProps,s=e.getTableProps,c=e.headers,u=e.onInputChange,f=e.rows;return i().createElement(i().Fragment,null,i().createElement(g.K3K,d(),!D&&i().createElement("div",{className:K.toolBarContent},i().createElement(g.VbH,null,i().createElement(g.vji,{isExpanded:!0,labelText:h("searchTable","Search table"),onChange:function(e){return u(e)},placeholder:h("searchTable","Search table")}))),i().createElement(g.XIK,te({className:K.table},s()),i().createElement(g.ndF,null,i().createElement(g.Hjg,null,i().createElement(g.Uwq,te({enableToggle:!0},r())),c.map((function(e){return i().createElement(g.A0N,(n=te({},o({header:e})),t=null!=(t={isSortable:e.isSortable})?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})),n),e.header);var n,t})),i().createElement(g.Uwq,null))),i().createElement(g.BFY,null,f.map((function(e){var r=null==Q?void 0:Q.find((function(n){return n.uuid===e.id}));return i().createElement(i().Fragment,{key:e.id},i().createElement(g.fZD,te({className:K.row},l({row:e})),e.cells.map((function(e){var n,t;return i().createElement(g.nA6,{className:K.tableCell,key:e.id},null!==(t=null===(n=e.value)||void 0===n?void 0:n.content)&&void 0!==t?t:e.value)})),!D&&i().createElement(g.nA6,{className:"cds--table-column-menu"},r&&ve(r)?i().createElement(le,{launchOrderForm:function(){return de(r)},openOrderBasket:_,orderItem:r,responsiveSize:v,patient:t}):i().createElement(a.ExtensionSlot,{name:"".concat(null==r?void 0:r.type,"-action-menu-items-slot"),state:{className:K.menuItem,orderItem:r,responsiveSize:v}}))),e.isExpanded?i().createElement(g.cwJ,te({colSpan:c.length+2},n({row:e})),i().createElement(i().Fragment,null,(null==r?void 0:r.type)===A.DRUG_ORDER?i().createElement(W,{medication:r}):(null==r?void 0:r.type)===A.TEST_ORDER?i().createElement(J.A,{testOrder:r}):(null==r?void 0:r.type)===A.GENERAL_ORDER?i().createElement(F,{order:r}):i().createElement(a.ExtensionSlot,{name:"".concat(r.type,"-detail-slot"),state:{orderItem:r}}))):i().createElement(g.cwJ,{className:K.hiddenRow,colSpan:c.length+2}))}))))),0===f.length?i().createElement("div",{className:K.tileContainer},i().createElement(g.FAs,{className:K.emptyStateTile},i().createElement("div",{className:K.tileContent},i().createElement("p",{className:K.content},h("noMatchingOrdersToDisplay","No matching orders to display")),i().createElement("p",{className:K.helperText},h("checkFilters","Check the filters above"))))):null)})),!D&&i().createElement("div",{className:K.paginationContainer},i().createElement(r.PatientChartPagination,{currentItems:fe.length,onPageNumberChange:function(e){var n=e.page;return pe(n)},pageNumber:ge,pageSize:10,totalItems:ce.length})))):i().createElement(r.EmptyState,{headerTitle:b,displayText:V,launchForm:_})):null)};function de(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var se=t(84767),ce="@openmrs/esm-patient-orders-app",ue={featureName:"patient-orders",moduleName:ce};function fe(){(0,a.defineConfigSchema)(ce,o)}var pe=(0,a.getAsyncLifecycle)((function(){return t.e(7202).then(t.bind(t,17202))}),ue),ge=(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(7038),t.e(4937)]).then(t.bind(t,4937))}),ue),ye=(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(7038),t.e(1571)]).then(t.bind(t,51571))}),ue),he=(0,a.getSyncLifecycle)((function(e){var n=e.patientUuid,t=e.patient,o=(0,d.useTranslation)().t,l=(0,r.useOrderBasket)(t).orders,s=(0,r.useLaunchWorkspaceRequiringVisit)(n,"order-basket");return i().createElement(a.ActionMenuButton,{getIcon:function(e){return i().createElement(a.ShoppingCartIcon,e)},label:o("orderBasket","Order basket"),iconDescription:o("medications","Medications"),handler:s,type:"order",tagContent:(null==l?void 0:l.length)>0?null==l?void 0:l.length:null})}),ue),be=(0,a.getAsyncLifecycle)((function(){return t.e(6411).then(t.bind(t,96411))}),ue),me=(0,a.getAsyncLifecycle)((function(){return t.e(3685).then(t.bind(t,63685))}),ue),$e=(0,a.getSyncLifecycle)((0,r.createDashboardLink)(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){de(e,n,t[n])}))}return e}({},{slot:"patient-chart-lab-orders-dashboard-slot",path:"Orders",title:"Orders",icon:"omrs-icon-shopping-cart",hideDashboardTitle:!0})),ue),ve=(0,a.getSyncLifecycle)((function(e){var n=e.patientUuid,t=e.patient,r=(0,d.useTranslation)().t,o=(0,a.useConfig)().showPrintButton,l=r("orders","Orders");return i().createElement("div",{style:{marginBottom:"1.5rem"}},i().createElement(ie,{patientUuid:n,patient:t,showAddButton:!0,showPrintButton:o,title:l}))}),ue),Ae=(0,a.getAsyncLifecycle)((function(){return t.e(6542).then(t.bind(t,46542))}),ue),_e=(0,a.getAsyncLifecycle)((function(){return t.e(8154).then(t.bind(t,98154))}),ue),we=(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(7038),t.e(8960)]).then(t.bind(t,78960))}),ue)},43508:(e,n,t)=>{"use strict";t.d(n,{A:()=>x});var a=t(1343),r=t.n(a),o=t(72339),l=t(54440),i=t(70033),d=t(1347),s=t(82768),c=t(72591),u=t.n(c),f=t(1740),p=t.n(f),g=t(88128),y=t.n(g),h=t(30855),b=t.n(h),m=t(93051),$=t.n(m),v=t(73656),A=t.n(v),_=t(70050),w={};w.styleTagTransform=A(),w.setAttributes=b(),w.insert=y().bind(null,"head"),w.domAPI=p(),w.insertStyleElement=$(),u()(_.A,w);const C=_.A&&_.A.locals?_.A.locals:void 0;function k(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}const x=function(e){var n,t,c,u=e.testOrder,f=(0,o.useTranslation)().t,p="tablet"===(0,l.useLayoutType)(),g=(0,d.oi)(null==u||null===(n=u.concept)||void 0===n?void 0:n.uuid),y=g.concept,h=g.isLoading,b=(0,d.W4)(null==u||null===(t=u.encounter)||void 0===t?void 0:t.uuid),m=b.encounter,$=b.isLoading,v=(0,a.useMemo)((function(){var e;return[{key:"testType",header:(null==u||null===(e=u.orderType)||void 0===e?void 0:e.display)||""},{key:"result",header:f("result","Result")},{key:"normalRange",header:f("normalRange","Normal range")}]}),[f,null==u||null===(c=u.orderType)||void 0===c?void 0:c.display]),A=(0,a.useMemo)((function(){var e;return m&&y?null===(e=m.obs)||void 0===e?void 0:e.find((function(e){return e.concept.uuid===y.uuid})):null}),[y,m]),_=(0,a.useMemo)((function(){if(!y)return[];if(y.setMembers&&y.setMembers.length>0)return y.setMembers.map((function(e){var n,t,a=null==A||null===(n=A.groupMembers)||void 0===n?void 0:n.find((function(n){return n.concept.uuid===e.uuid}));if($)t=r().createElement(i.rrI,null);else if(a){var o;t=(0,s.or)(null!==(o=a.value)&&void 0!==o?o:a)}else t="--";return{id:e.uuid,testType:r().createElement("div",{className:C.testType},e.display||"--"),result:t,normalRange:null!=e.lowNormal&&null!=e.hiNormal?"".concat(e.lowNormal," - ").concat(e.hiNormal):f("notApplicable","Not applicable")}}));var e;if($)e=r().createElement(i.rrI,null);else if(A){var n;e=(0,s.or)(null!==(n=A.value)&&void 0!==n?n:A)}else e="--";return[{id:y.uuid,testType:r().createElement("div",{className:C.testType},y.display||"--"),result:e,normalRange:null!=y.lowNormal&&null!=y.hiNormal?"".concat(y.lowNormal," - ").concat(y.hiNormal):f("notApplicable","Not applicable")}]}),[y,$,A,f]);return h||$?r().createElement(i.OOb,{role:"progressbar",compact:!p,zebra:!0}):y?r().createElement("div",{className:C.testOrder},r().createElement(i.bQt,{rows:_,headers:v,size:p?"lg":"sm",useZebraStyles:!0},(function(e){var n,t,a=e.rows,o=e.headers,l=e.getHeaderProps,d=e.getRowProps,s=e.getTableProps,c=e.getTableContainerProps;return r().createElement(i.K3K,c(),r().createElement(i.XIK,(n=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){k(e,n,t[n])}))}return e}({},s()),t=null!=(t={"aria-label":f("testOrders","Test orders")})?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})),n),r().createElement(i.ndF,null,r().createElement(i.Hjg,null,o.map((function(e){return r().createElement(i.A0N,l({header:e}),e.header)})))),r().createElement(i.BFY,null,a.map((function(e){return r().createElement(i.Hjg,d({row:e}),e.cells.map((function(e){return r().createElement(i.nA6,{key:e.id,className:C.testCell},e.value)})))})))))}))):r().createElement("div",{className:C.error},f("noTestData","No test data available"))}},70050:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var a=t(30977),r=t.n(a),o=t(95924),l=t.n(o)()(r());l.push([e.id,".-esm-patient-orders__test-order__testOrder___aPMZ\\+{display:flex;flex-direction:column;justify-content:space-between;border:1px solid #e0e0e0;border-bottom:none;border-top:none}.-esm-patient-orders__test-order__testOrder___aPMZ\\+ .cds--data-table th{padding:.5rem !important}.-esm-patient-orders__test-order__testCell___DFyHu{padding-left:1.5rem !important}.-esm-patient-orders__test-order__testType___GB2A\\+{color:#0f62fe}","",{version:3,sources:["webpack://./src/components/test-order.scss","webpack://./../../node_modules/@carbon/colors/index.scss"],names:[],mappings:"AAGA,qDACE,YAAA,CACA,qBAAA,CACA,6BAAA,CACA,wBAAA,CACA,kBAAA,CACA,eAAA,CACA,yEACE,wBAAA,CAGJ,mDACE,8BAAA,CAGF,oDACE,aCFQ",sourcesContent:["@use '@carbon/colors';\n@use '@carbon/layout';\n\n.testOrder {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n border: 1px solid colors.$gray-20;\n border-bottom: none;\n border-top: none;\n :global(.cds--data-table th) {\n padding: layout.$spacing-03 !important;\n }\n}\n.testCell {\n padding-left: layout.$spacing-06 !important;\n}\n\n.testType {\n color: colors.$blue-60;\n}\n","// Code generated by @carbon/colors. 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$black: #000000 !default;\n$white: #ffffff !default;\n\n$black-100: #000000 !default;\n$blue-10: #edf5ff !default;\n$blue-20: #d0e2ff !default;\n$blue-30: #a6c8ff !default;\n$blue-40: #78a9ff !default;\n$blue-50: #4589ff !default;\n$blue-60: #0f62fe !default;\n$blue-70: #0043ce !default;\n$blue-80: #002d9c !default;\n$blue-90: #001d6c !default;\n$blue-100: #001141 !default;\n$cool-gray-10: #f2f4f8 !default;\n$cool-gray-20: #dde1e6 !default;\n$cool-gray-30: #c1c7cd !default;\n$cool-gray-40: #a2a9b0 !default;\n$cool-gray-50: #878d96 !default;\n$cool-gray-60: #697077 !default;\n$cool-gray-70: #4d5358 !default;\n$cool-gray-80: #343a3f !default;\n$cool-gray-90: #21272a !default;\n$cool-gray-100: #121619 !default;\n$cyan-10: #e5f6ff !default;\n$cyan-20: #bae6ff !default;\n$cyan-30: #82cfff !default;\n$cyan-40: #33b1ff !default;\n$cyan-50: #1192e8 !default;\n$cyan-60: #0072c3 !default;\n$cyan-70: #00539a !default;\n$cyan-80: #003a6d !default;\n$cyan-90: #012749 !default;\n$cyan-100: #061727 !default;\n$gray-10: #f4f4f4 !default;\n$gray-20: #e0e0e0 !default;\n$gray-30: #c6c6c6 !default;\n$gray-40: #a8a8a8 !default;\n$gray-50: #8d8d8d !default;\n$gray-60: #6f6f6f !default;\n$gray-70: #525252 !default;\n$gray-80: #393939 !default;\n$gray-90: #262626 !default;\n$gray-100: #161616 !default;\n$green-10: #defbe6 !default;\n$green-20: #a7f0ba !default;\n$green-30: #6fdc8c !default;\n$green-40: #42be65 !default;\n$green-50: #24a148 !default;\n$green-60: #198038 !default;\n$green-70: #0e6027 !default;\n$green-80: #044317 !default;\n$green-90: #022d0d !default;\n$green-100: #071908 !default;\n$magenta-10: #fff0f7 !default;\n$magenta-20: #ffd6e8 !default;\n$magenta-30: #ffafd2 !default;\n$magenta-40: #ff7eb6 !default;\n$magenta-50: #ee5396 !default;\n$magenta-60: #d02670 !default;\n$magenta-70: #9f1853 !default;\n$magenta-80: #740937 !default;\n$magenta-90: #510224 !default;\n$magenta-100: #2a0a18 !default;\n$orange-10: #fff2e8 !default;\n$orange-20: #ffd9be !default;\n$orange-30: #ffb784 !default;\n$orange-40: #ff832b !default;\n$orange-50: #eb6200 !default;\n$orange-60: #ba4e00 !default;\n$orange-70: #8a3800 !default;\n$orange-80: #5e2900 !default;\n$orange-90: #3e1a00 !default;\n$orange-100: #231000 !default;\n$purple-10: #f6f2ff !default;\n$purple-20: #e8daff !default;\n$purple-30: #d4bbff !default;\n$purple-40: #be95ff !default;\n$purple-50: #a56eff !default;\n$purple-60: #8a3ffc !default;\n$purple-70: #6929c4 !default;\n$purple-80: #491d8b !default;\n$purple-90: #31135e !default;\n$purple-100: #1c0f30 !default;\n$red-10: #fff1f1 !default;\n$red-20: #ffd7d9 !default;\n$red-30: #ffb3b8 !default;\n$red-40: #ff8389 !default;\n$red-50: #fa4d56 !default;\n$red-60: #da1e28 !default;\n$red-70: #a2191f !default;\n$red-80: #750e13 !default;\n$red-90: #520408 !default;\n$red-100: #2d0709 !default;\n$teal-10: #d9fbfb !default;\n$teal-20: #9ef0f0 !default;\n$teal-30: #3ddbd9 !default;\n$teal-40: #08bdba !default;\n$teal-50: #009d9a !default;\n$teal-60: #007d79 !default;\n$teal-70: #005d5d !default;\n$teal-80: #004144 !default;\n$teal-90: #022b30 !default;\n$teal-100: #081a1c !default;\n$warm-gray-10: #f7f3f2 !default;\n$warm-gray-20: #e5e0df !default;\n$warm-gray-30: #cac5c4 !default;\n$warm-gray-40: #ada8a8 !default;\n$warm-gray-50: #8f8b8b !default;\n$warm-gray-60: #726e6e !default;\n$warm-gray-70: #565151 !default;\n$warm-gray-80: #3c3838 !default;\n$warm-gray-90: #272525 !default;\n$warm-gray-100: #171414 !default;\n$white-0: #ffffff !default;\n$yellow-10: #fcf4d6 !default;\n$yellow-20: #fddc69 !default;\n$yellow-30: #f1c21b !default;\n$yellow-40: #d2a106 !default;\n$yellow-50: #b28600 !default;\n$yellow-60: #8e6a00 !default;\n$yellow-70: #684e00 !default;\n$yellow-80: #483700 !default;\n$yellow-90: #302400 !default;\n$yellow-100: #1c1500 !default;\n\n$white-hover: #e8e8e8 !default;\n$black-hover: #212121 !default;\n$blue-10-hover: #dbebff !default;\n$blue-20-hover: #b8d3ff !default;\n$blue-30-hover: #8ab6ff !default;\n$blue-40-hover: #5c97ff !default;\n$blue-50-hover: #1f70ff !default;\n$blue-60-hover: #0050e6 !default;\n$blue-70-hover: #0053ff !default;\n$blue-80-hover: #0039c7 !default;\n$blue-90-hover: #00258a !default;\n$blue-100-hover: #001f75 !default;\n$cool-gray-10-hover: #e4e9f1 !default;\n$cool-gray-20-hover: #cdd3da !default;\n$cool-gray-30-hover: #adb5bd !default;\n$cool-gray-40-hover: #9199a1 !default;\n$cool-gray-50-hover: #757b85 !default;\n$cool-gray-60-hover: #585e64 !default;\n$cool-gray-70-hover: #5d646a !default;\n$cool-gray-80-hover: #434a51 !default;\n$cool-gray-90-hover: #2b3236 !default;\n$cool-gray-100-hover: #222a2f !default;\n$cyan-10-hover: #cceeff !default;\n$cyan-20-hover: #99daff !default;\n$cyan-30-hover: #57beff !default;\n$cyan-40-hover: #059fff !default;\n$cyan-50-hover: #0f7ec8 !default;\n$cyan-60-hover: #005fa3 !default;\n$cyan-70-hover: #0066bd !default;\n$cyan-80-hover: #00498a !default;\n$cyan-90-hover: #013360 !default;\n$cyan-100-hover: #0b2947 !default;\n$gray-10-hover: #e8e8e8 !default;\n$gray-20-hover: #d1d1d1 !default;\n$gray-30-hover: #b5b5b5 !default;\n$gray-40-hover: #999999 !default;\n$gray-50-hover: #7a7a7a !default;\n$gray-60-hover: #5e5e5e !default;\n$gray-70-hover: #636363 !default;\n$gray-80-hover: #474747 !default;\n$gray-90-hover: #333333 !default;\n$gray-100-hover: #292929 !default;\n$green-10-hover: #b6f6c8 !default;\n$green-20-hover: #74e792 !default;\n$green-30-hover: #36ce5e !default;\n$green-40-hover: #3bab5a !default;\n$green-50-hover: #208e3f !default;\n$green-60-hover: #166f31 !default;\n$green-70-hover: #11742f !default;\n$green-80-hover: #05521c !default;\n$green-90-hover: #033b11 !default;\n$green-100-hover: #0d300f !default;\n$magenta-10-hover: #ffe0ef !default;\n$magenta-20-hover: #ffbdda !default;\n$magenta-30-hover: #ff94c3 !default;\n$magenta-40-hover: #ff57a0 !default;\n$magenta-50-hover: #e3176f !default;\n$magenta-60-hover: #b0215f !default;\n$magenta-70-hover: #bf1d63 !default;\n$magenta-80-hover: #8e0b43 !default;\n$magenta-90-hover: #68032e !default;\n$magenta-100-hover: #53142f !default;\n$orange-10-hover: #ffe2cc !default;\n$orange-20-hover: #ffc69e !default;\n$orange-30-hover: #ff9d57 !default;\n$orange-40-hover: #fa6800 !default;\n$orange-50-hover: #cc5500 !default;\n$orange-60-hover: #9e4200 !default;\n$orange-70-hover: #a84400 !default;\n$orange-80-hover: #753300 !default;\n$orange-90-hover: #522200 !default;\n$orange-100-hover: #421e00 !default;\n$purple-10-hover: #ede5ff !default;\n$purple-20-hover: #dcc7ff !default;\n$purple-30-hover: #c5a3ff !default;\n$purple-40-hover: #ae7aff !default;\n$purple-50-hover: #9352ff !default;\n$purple-60-hover: #7822fb !default;\n$purple-70-hover: #7c3dd6 !default;\n$purple-80-hover: #5b24ad !default;\n$purple-90-hover: #40197b !default;\n$purple-100-hover: #341c59 !default;\n$red-10-hover: #ffe0e0 !default;\n$red-20-hover: #ffc2c5 !default;\n$red-30-hover: #ff99a0 !default;\n$red-40-hover: #ff6168 !default;\n$red-50-hover: #ee0713 !default;\n$red-60-hover: #b81922 !default;\n$red-70-hover: #c21e25 !default;\n$red-80-hover: #921118 !default;\n$red-90-hover: #66050a !default;\n$red-100-hover: #540d11 !default;\n$teal-10-hover: #acf6f6 !default;\n$teal-20-hover: #57e5e5 !default;\n$teal-30-hover: #25cac8 !default;\n$teal-40-hover: #07aba9 !default;\n$teal-50-hover: #008a87 !default;\n$teal-60-hover: #006b68 !default;\n$teal-70-hover: #007070 !default;\n$teal-80-hover: #005357 !default;\n$teal-90-hover: #033940 !default;\n$teal-100-hover: #0f3034 !default;\n$warm-gray-10-hover: #f0e8e6 !default;\n$warm-gray-20-hover: #d8d0cf !default;\n$warm-gray-30-hover: #b9b3b1 !default;\n$warm-gray-40-hover: #9c9696 !default;\n$warm-gray-50-hover: #7f7b7b !default;\n$warm-gray-60-hover: #605d5d !default;\n$warm-gray-70-hover: #696363 !default;\n$warm-gray-80-hover: #4c4848 !default;\n$warm-gray-90-hover: #343232 !default;\n$warm-gray-100-hover: #2c2626 !default;\n$yellow-10-hover: #f8e6a0 !default;\n$yellow-20-hover: #fccd27 !default;\n$yellow-30-hover: #ddb00e !default;\n$yellow-40-hover: #bc9005 !default;\n$yellow-50-hover: #9e7700 !default;\n$yellow-60-hover: #755800 !default;\n$yellow-70-hover: #806000 !default;\n$yellow-80-hover: #5c4600 !default;\n$yellow-90-hover: #3d2e00 !default;\n$yellow-100-hover: #332600 !default;\n\n/// Colors from the IBM Design Language\n/// @access public\n/// @group @carbon/colors\n$colors: (\n black: (\n 100: #000000,\n ),\n blue: (\n 10: #edf5ff,\n 20: #d0e2ff,\n 30: #a6c8ff,\n 40: #78a9ff,\n 50: #4589ff,\n 60: #0f62fe,\n 70: #0043ce,\n 80: #002d9c,\n 90: #001d6c,\n 100: #001141,\n ),\n cool-gray: (\n 10: #f2f4f8,\n 20: #dde1e6,\n 30: #c1c7cd,\n 40: #a2a9b0,\n 50: #878d96,\n 60: #697077,\n 70: #4d5358,\n 80: #343a3f,\n 90: #21272a,\n 100: #121619,\n ),\n cyan: (\n 10: #e5f6ff,\n 20: #bae6ff,\n 30: #82cfff,\n 40: #33b1ff,\n 50: #1192e8,\n 60: #0072c3,\n 70: #00539a,\n 80: #003a6d,\n 90: #012749,\n 100: #061727,\n ),\n gray: (\n 10: #f4f4f4,\n 20: #e0e0e0,\n 30: #c6c6c6,\n 40: #a8a8a8,\n 50: #8d8d8d,\n 60: #6f6f6f,\n 70: #525252,\n 80: #393939,\n 90: #262626,\n 100: #161616,\n ),\n green: (\n 10: #defbe6,\n 20: #a7f0ba,\n 30: #6fdc8c,\n 40: #42be65,\n 50: #24a148,\n 60: #198038,\n 70: #0e6027,\n 80: #044317,\n 90: #022d0d,\n 100: #071908,\n ),\n magenta: (\n 10: #fff0f7,\n 20: #ffd6e8,\n 30: #ffafd2,\n 40: #ff7eb6,\n 50: #ee5396,\n 60: #d02670,\n 70: #9f1853,\n 80: #740937,\n 90: #510224,\n 100: #2a0a18,\n ),\n orange: (\n 10: #fff2e8,\n 20: #ffd9be,\n 30: #ffb784,\n 40: #ff832b,\n 50: #eb6200,\n 60: #ba4e00,\n 70: #8a3800,\n 80: #5e2900,\n 90: #3e1a00,\n 100: #231000,\n ),\n purple: (\n 10: #f6f2ff,\n 20: #e8daff,\n 30: #d4bbff,\n 40: #be95ff,\n 50: #a56eff,\n 60: #8a3ffc,\n 70: #6929c4,\n 80: #491d8b,\n 90: #31135e,\n 100: #1c0f30,\n ),\n red: (\n 10: #fff1f1,\n 20: #ffd7d9,\n 30: #ffb3b8,\n 40: #ff8389,\n 50: #fa4d56,\n 60: #da1e28,\n 70: #a2191f,\n 80: #750e13,\n 90: #520408,\n 100: #2d0709,\n ),\n teal: (\n 10: #d9fbfb,\n 20: #9ef0f0,\n 30: #3ddbd9,\n 40: #08bdba,\n 50: #009d9a,\n 60: #007d79,\n 70: #005d5d,\n 80: #004144,\n 90: #022b30,\n 100: #081a1c,\n ),\n warm-gray: (\n 10: #f7f3f2,\n 20: #e5e0df,\n 30: #cac5c4,\n 40: #ada8a8,\n 50: #8f8b8b,\n 60: #726e6e,\n 70: #565151,\n 80: #3c3838,\n 90: #272525,\n 100: #171414,\n ),\n white: (\n 0: #ffffff,\n ),\n yellow: (\n 10: #fcf4d6,\n 20: #fddc69,\n 30: #f1c21b,\n 40: #d2a106,\n 50: #b28600,\n 60: #8e6a00,\n 70: #684e00,\n 80: #483700,\n 90: #302400,\n 100: #1c1500,\n ),\n) !default;\n"],sourceRoot:""}]),l.locals={testOrder:"-esm-patient-orders__test-order__testOrder___aPMZ+",testCell:"-esm-patient-orders__test-order__testCell___DFyHu",testType:"-esm-patient-orders__test-order__testType___GB2A+"};const i=l},82768:(e,n,t)=>{"use strict";function a(e,n){var t,a,r,o,l,i,d,s,c,u,f,p;return{display:null===(t=e.drug)||void 0===t?void 0:t.display,previousOrder:"NEW"!==n?e.uuid:null,action:n,drug:e.drug,dosage:e.dose,unit:{value:null===(a=e.doseUnits)||void 0===a?void 0:a.display,valueCoded:null===(r=e.doseUnits)||void 0===r?void 0:r.uuid},frequency:{valueCoded:null===(o=e.frequency)||void 0===o?void 0:o.uuid,value:null===(l=e.frequency)||void 0===l?void 0:l.display},route:{valueCoded:null===(i=e.route)||void 0===i?void 0:i.uuid,value:null===(d=e.route)||void 0===d?void 0:d.display},commonMedicationName:null===(s=e.drug)||void 0===s?void 0:s.display,isFreeTextDosage:"org.openmrs.FreeTextDosingInstructions"===e.dosingType,freeTextDosage:"org.openmrs.FreeTextDosingInstructions"===e.dosingType?e.dosingInstructions:"",patientInstructions:"org.openmrs.FreeTextDosingInstructions"!==e.dosingType?e.dosingInstructions:"",asNeeded:e.asNeeded,asNeededCondition:e.asNeededCondition,startDate:"DISCONTINUE"===n?e.dateActivated:new Date,duration:e.duration,durationUnit:{valueCoded:null===(c=e.durationUnits)||void 0===c?void 0:c.uuid,value:null===(u=e.durationUnits)||void 0===u?void 0:u.display},pillsDispensed:e.quantity,numRefills:e.numRefills,indication:e.orderReasonNonCoded,orderer:e.orderer.uuid,careSetting:e.careSetting.uuid,quantityUnits:{value:null===(f=e.quantityUnits)||void 0===f?void 0:f.display,valueCoded:null===(p=e.quantityUnits)||void 0===p?void 0:p.uuid}}}function r(e,n){return{action:n,display:e.display,previousOrder:"NEW"!==n?e.uuid:null,orderer:e.orderer.uuid,careSetting:e.careSetting.uuid,instructions:e.instructions,urgency:e.urgency,accessionNumber:e.accessionNumber,testType:{label:e.concept.display,conceptUuid:e.concept.uuid},orderNumber:e.orderNumber,concept:e.concept,orderType:e.orderType.uuid,specimenSource:null,scheduledDate:e.scheduledDate?new Date(e.scheduledDate):null}}function o(e,n){return{action:n,display:e.display,previousOrder:"NEW"!==n?e.uuid:null,orderer:e.orderer.uuid,careSetting:e.careSetting.uuid,instructions:e.instructions,urgency:e.urgency,accessionNumber:e.accessionNumber,concept:e.concept,orderNumber:e.orderNumber,orderType:e.orderType.uuid,scheduledDate:e.scheduledDate?new Date(e.scheduledDate):null}}t.d(n,{CZ:()=>r,Qp:()=>a,bW:()=>o,or:()=>l});var l=function(e){return e?"string"==typeof e?e:"number"==typeof e?e.toString():e&&"object"==(void 0===e?"undefined":(n=e)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)&&"display"in e?e.display:"--":"--";var n}},84767:(e,n,t)=>{var a={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879]};function r(e){if(!t.o(a,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=a[e],r=n[0];return t.e(n[1]).then((()=>t(r)))}r.keys=()=>Object.keys(a),r.id=84767,e.exports=r},90901:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var a=t(30977),r=t.n(a),o=t(95924),l=t.n(o)()(r());l.push([e.id,".-esm-patient-orders__general-order-table__order___RSSzZ{display:flex;flex-direction:column;justify-content:space-between;border:1px solid #e0e0e0;border-bottom:none}.-esm-patient-orders__general-order-table__order___RSSzZ .cds--data-table th{padding:.5rem !important}.-esm-patient-orders__general-order-table__cell___Sg6v4{padding-left:1.5rem !important}.-esm-patient-orders__general-order-table__type___meZmh{color:#0f62fe}","",{version:3,sources:["webpack://./src/components/general-order-table.scss","webpack://./../../node_modules/@carbon/colors/index.scss"],names:[],mappings:"AAGA,yDACE,YAAA,CACA,qBAAA,CACA,6BAAA,CACA,wBAAA,CACA,kBAAA,CACA,6EACE,wBAAA,CAIJ,wDACE,8BAAA,CAGF,wDACE,aCFQ",sourcesContent:["@use '@carbon/colors';\n@use '@carbon/layout';\n\n.order {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n border: 1px solid colors.$gray-20;\n border-bottom: none;\n :global(.cds--data-table th) {\n padding: layout.$spacing-03 !important;\n }\n}\n\n.cell {\n padding-left: layout.$spacing-06 !important;\n}\n\n.type {\n color: colors.$blue-60;\n}\n","// Code generated by @carbon/colors. 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$black: #000000 !default;\n$white: #ffffff !default;\n\n$black-100: #000000 !default;\n$blue-10: #edf5ff !default;\n$blue-20: #d0e2ff !default;\n$blue-30: #a6c8ff !default;\n$blue-40: #78a9ff !default;\n$blue-50: #4589ff !default;\n$blue-60: #0f62fe !default;\n$blue-70: #0043ce !default;\n$blue-80: #002d9c !default;\n$blue-90: #001d6c !default;\n$blue-100: #001141 !default;\n$cool-gray-10: #f2f4f8 !default;\n$cool-gray-20: #dde1e6 !default;\n$cool-gray-30: #c1c7cd !default;\n$cool-gray-40: #a2a9b0 !default;\n$cool-gray-50: #878d96 !default;\n$cool-gray-60: #697077 !default;\n$cool-gray-70: #4d5358 !default;\n$cool-gray-80: #343a3f !default;\n$cool-gray-90: #21272a !default;\n$cool-gray-100: #121619 !default;\n$cyan-10: #e5f6ff !default;\n$cyan-20: #bae6ff !default;\n$cyan-30: #82cfff !default;\n$cyan-40: #33b1ff !default;\n$cyan-50: #1192e8 !default;\n$cyan-60: #0072c3 !default;\n$cyan-70: #00539a !default;\n$cyan-80: #003a6d !default;\n$cyan-90: #012749 !default;\n$cyan-100: #061727 !default;\n$gray-10: #f4f4f4 !default;\n$gray-20: #e0e0e0 !default;\n$gray-30: #c6c6c6 !default;\n$gray-40: #a8a8a8 !default;\n$gray-50: #8d8d8d !default;\n$gray-60: #6f6f6f !default;\n$gray-70: #525252 !default;\n$gray-80: #393939 !default;\n$gray-90: #262626 !default;\n$gray-100: #161616 !default;\n$green-10: #defbe6 !default;\n$green-20: #a7f0ba !default;\n$green-30: #6fdc8c !default;\n$green-40: #42be65 !default;\n$green-50: #24a148 !default;\n$green-60: #198038 !default;\n$green-70: #0e6027 !default;\n$green-80: #044317 !default;\n$green-90: #022d0d !default;\n$green-100: #071908 !default;\n$magenta-10: #fff0f7 !default;\n$magenta-20: #ffd6e8 !default;\n$magenta-30: #ffafd2 !default;\n$magenta-40: #ff7eb6 !default;\n$magenta-50: #ee5396 !default;\n$magenta-60: #d02670 !default;\n$magenta-70: #9f1853 !default;\n$magenta-80: #740937 !default;\n$magenta-90: #510224 !default;\n$magenta-100: #2a0a18 !default;\n$orange-10: #fff2e8 !default;\n$orange-20: #ffd9be !default;\n$orange-30: #ffb784 !default;\n$orange-40: #ff832b !default;\n$orange-50: #eb6200 !default;\n$orange-60: #ba4e00 !default;\n$orange-70: #8a3800 !default;\n$orange-80: #5e2900 !default;\n$orange-90: #3e1a00 !default;\n$orange-100: #231000 !default;\n$purple-10: #f6f2ff !default;\n$purple-20: #e8daff !default;\n$purple-30: #d4bbff !default;\n$purple-40: #be95ff !default;\n$purple-50: #a56eff !default;\n$purple-60: #8a3ffc !default;\n$purple-70: #6929c4 !default;\n$purple-80: #491d8b !default;\n$purple-90: #31135e !default;\n$purple-100: #1c0f30 !default;\n$red-10: #fff1f1 !default;\n$red-20: #ffd7d9 !default;\n$red-30: #ffb3b8 !default;\n$red-40: #ff8389 !default;\n$red-50: #fa4d56 !default;\n$red-60: #da1e28 !default;\n$red-70: #a2191f !default;\n$red-80: #750e13 !default;\n$red-90: #520408 !default;\n$red-100: #2d0709 !default;\n$teal-10: #d9fbfb !default;\n$teal-20: #9ef0f0 !default;\n$teal-30: #3ddbd9 !default;\n$teal-40: #08bdba !default;\n$teal-50: #009d9a !default;\n$teal-60: #007d79 !default;\n$teal-70: #005d5d !default;\n$teal-80: #004144 !default;\n$teal-90: #022b30 !default;\n$teal-100: #081a1c !default;\n$warm-gray-10: #f7f3f2 !default;\n$warm-gray-20: #e5e0df !default;\n$warm-gray-30: #cac5c4 !default;\n$warm-gray-40: #ada8a8 !default;\n$warm-gray-50: #8f8b8b !default;\n$warm-gray-60: #726e6e !default;\n$warm-gray-70: #565151 !default;\n$warm-gray-80: #3c3838 !default;\n$warm-gray-90: #272525 !default;\n$warm-gray-100: #171414 !default;\n$white-0: #ffffff !default;\n$yellow-10: #fcf4d6 !default;\n$yellow-20: #fddc69 !default;\n$yellow-30: #f1c21b !default;\n$yellow-40: #d2a106 !default;\n$yellow-50: #b28600 !default;\n$yellow-60: #8e6a00 !default;\n$yellow-70: #684e00 !default;\n$yellow-80: #483700 !default;\n$yellow-90: #302400 !default;\n$yellow-100: #1c1500 !default;\n\n$white-hover: #e8e8e8 !default;\n$black-hover: #212121 !default;\n$blue-10-hover: #dbebff !default;\n$blue-20-hover: #b8d3ff !default;\n$blue-30-hover: #8ab6ff !default;\n$blue-40-hover: #5c97ff !default;\n$blue-50-hover: #1f70ff !default;\n$blue-60-hover: #0050e6 !default;\n$blue-70-hover: #0053ff !default;\n$blue-80-hover: #0039c7 !default;\n$blue-90-hover: #00258a !default;\n$blue-100-hover: #001f75 !default;\n$cool-gray-10-hover: #e4e9f1 !default;\n$cool-gray-20-hover: #cdd3da !default;\n$cool-gray-30-hover: #adb5bd !default;\n$cool-gray-40-hover: #9199a1 !default;\n$cool-gray-50-hover: #757b85 !default;\n$cool-gray-60-hover: #585e64 !default;\n$cool-gray-70-hover: #5d646a !default;\n$cool-gray-80-hover: #434a51 !default;\n$cool-gray-90-hover: #2b3236 !default;\n$cool-gray-100-hover: #222a2f !default;\n$cyan-10-hover: #cceeff !default;\n$cyan-20-hover: #99daff !default;\n$cyan-30-hover: #57beff !default;\n$cyan-40-hover: #059fff !default;\n$cyan-50-hover: #0f7ec8 !default;\n$cyan-60-hover: #005fa3 !default;\n$cyan-70-hover: #0066bd !default;\n$cyan-80-hover: #00498a !default;\n$cyan-90-hover: #013360 !default;\n$cyan-100-hover: #0b2947 !default;\n$gray-10-hover: #e8e8e8 !default;\n$gray-20-hover: #d1d1d1 !default;\n$gray-30-hover: #b5b5b5 !default;\n$gray-40-hover: #999999 !default;\n$gray-50-hover: #7a7a7a !default;\n$gray-60-hover: #5e5e5e !default;\n$gray-70-hover: #636363 !default;\n$gray-80-hover: #474747 !default;\n$gray-90-hover: #333333 !default;\n$gray-100-hover: #292929 !default;\n$green-10-hover: #b6f6c8 !default;\n$green-20-hover: #74e792 !default;\n$green-30-hover: #36ce5e !default;\n$green-40-hover: #3bab5a !default;\n$green-50-hover: #208e3f !default;\n$green-60-hover: #166f31 !default;\n$green-70-hover: #11742f !default;\n$green-80-hover: #05521c !default;\n$green-90-hover: #033b11 !default;\n$green-100-hover: #0d300f !default;\n$magenta-10-hover: #ffe0ef !default;\n$magenta-20-hover: #ffbdda !default;\n$magenta-30-hover: #ff94c3 !default;\n$magenta-40-hover: #ff57a0 !default;\n$magenta-50-hover: #e3176f !default;\n$magenta-60-hover: #b0215f !default;\n$magenta-70-hover: #bf1d63 !default;\n$magenta-80-hover: #8e0b43 !default;\n$magenta-90-hover: #68032e !default;\n$magenta-100-hover: #53142f !default;\n$orange-10-hover: #ffe2cc !default;\n$orange-20-hover: #ffc69e !default;\n$orange-30-hover: #ff9d57 !default;\n$orange-40-hover: #fa6800 !default;\n$orange-50-hover: #cc5500 !default;\n$orange-60-hover: #9e4200 !default;\n$orange-70-hover: #a84400 !default;\n$orange-80-hover: #753300 !default;\n$orange-90-hover: #522200 !default;\n$orange-100-hover: #421e00 !default;\n$purple-10-hover: #ede5ff !default;\n$purple-20-hover: #dcc7ff !default;\n$purple-30-hover: #c5a3ff !default;\n$purple-40-hover: #ae7aff !default;\n$purple-50-hover: #9352ff !default;\n$purple-60-hover: #7822fb !default;\n$purple-70-hover: #7c3dd6 !default;\n$purple-80-hover: #5b24ad !default;\n$purple-90-hover: #40197b !default;\n$purple-100-hover: #341c59 !default;\n$red-10-hover: #ffe0e0 !default;\n$red-20-hover: #ffc2c5 !default;\n$red-30-hover: #ff99a0 !default;\n$red-40-hover: #ff6168 !default;\n$red-50-hover: #ee0713 !default;\n$red-60-hover: #b81922 !default;\n$red-70-hover: #c21e25 !default;\n$red-80-hover: #921118 !default;\n$red-90-hover: #66050a !default;\n$red-100-hover: #540d11 !default;\n$teal-10-hover: #acf6f6 !default;\n$teal-20-hover: #57e5e5 !default;\n$teal-30-hover: #25cac8 !default;\n$teal-40-hover: #07aba9 !default;\n$teal-50-hover: #008a87 !default;\n$teal-60-hover: #006b68 !default;\n$teal-70-hover: #007070 !default;\n$teal-80-hover: #005357 !default;\n$teal-90-hover: #033940 !default;\n$teal-100-hover: #0f3034 !default;\n$warm-gray-10-hover: #f0e8e6 !default;\n$warm-gray-20-hover: #d8d0cf !default;\n$warm-gray-30-hover: #b9b3b1 !default;\n$warm-gray-40-hover: #9c9696 !default;\n$warm-gray-50-hover: #7f7b7b !default;\n$warm-gray-60-hover: #605d5d !default;\n$warm-gray-70-hover: #696363 !default;\n$warm-gray-80-hover: #4c4848 !default;\n$warm-gray-90-hover: #343232 !default;\n$warm-gray-100-hover: #2c2626 !default;\n$yellow-10-hover: #f8e6a0 !default;\n$yellow-20-hover: #fccd27 !default;\n$yellow-30-hover: #ddb00e !default;\n$yellow-40-hover: #bc9005 !default;\n$yellow-50-hover: #9e7700 !default;\n$yellow-60-hover: #755800 !default;\n$yellow-70-hover: #806000 !default;\n$yellow-80-hover: #5c4600 !default;\n$yellow-90-hover: #3d2e00 !default;\n$yellow-100-hover: #332600 !default;\n\n/// Colors from the IBM Design Language\n/// @access public\n/// @group @carbon/colors\n$colors: (\n black: (\n 100: #000000,\n ),\n blue: (\n 10: #edf5ff,\n 20: #d0e2ff,\n 30: #a6c8ff,\n 40: #78a9ff,\n 50: #4589ff,\n 60: #0f62fe,\n 70: #0043ce,\n 80: #002d9c,\n 90: #001d6c,\n 100: #001141,\n ),\n cool-gray: (\n 10: #f2f4f8,\n 20: #dde1e6,\n 30: #c1c7cd,\n 40: #a2a9b0,\n 50: #878d96,\n 60: #697077,\n 70: #4d5358,\n 80: #343a3f,\n 90: #21272a,\n 100: #121619,\n ),\n cyan: (\n 10: #e5f6ff,\n 20: #bae6ff,\n 30: #82cfff,\n 40: #33b1ff,\n 50: #1192e8,\n 60: #0072c3,\n 70: #00539a,\n 80: #003a6d,\n 90: #012749,\n 100: #061727,\n ),\n gray: (\n 10: #f4f4f4,\n 20: #e0e0e0,\n 30: #c6c6c6,\n 40: #a8a8a8,\n 50: #8d8d8d,\n 60: #6f6f6f,\n 70: #525252,\n 80: #393939,\n 90: #262626,\n 100: #161616,\n ),\n green: (\n 10: #defbe6,\n 20: #a7f0ba,\n 30: #6fdc8c,\n 40: #42be65,\n 50: #24a148,\n 60: #198038,\n 70: #0e6027,\n 80: #044317,\n 90: #022d0d,\n 100: #071908,\n ),\n magenta: (\n 10: #fff0f7,\n 20: #ffd6e8,\n 30: #ffafd2,\n 40: #ff7eb6,\n 50: #ee5396,\n 60: #d02670,\n 70: #9f1853,\n 80: #740937,\n 90: #510224,\n 100: #2a0a18,\n ),\n orange: (\n 10: #fff2e8,\n 20: #ffd9be,\n 30: #ffb784,\n 40: #ff832b,\n 50: #eb6200,\n 60: #ba4e00,\n 70: #8a3800,\n 80: #5e2900,\n 90: #3e1a00,\n 100: #231000,\n ),\n purple: (\n 10: #f6f2ff,\n 20: #e8daff,\n 30: #d4bbff,\n 40: #be95ff,\n 50: #a56eff,\n 60: #8a3ffc,\n 70: #6929c4,\n 80: #491d8b,\n 90: #31135e,\n 100: #1c0f30,\n ),\n red: (\n 10: #fff1f1,\n 20: #ffd7d9,\n 30: #ffb3b8,\n 40: #ff8389,\n 50: #fa4d56,\n 60: #da1e28,\n 70: #a2191f,\n 80: #750e13,\n 90: #520408,\n 100: #2d0709,\n ),\n teal: (\n 10: #d9fbfb,\n 20: #9ef0f0,\n 30: #3ddbd9,\n 40: #08bdba,\n 50: #009d9a,\n 60: #007d79,\n 70: #005d5d,\n 80: #004144,\n 90: #022b30,\n 100: #081a1c,\n ),\n warm-gray: (\n 10: #f7f3f2,\n 20: #e5e0df,\n 30: #cac5c4,\n 40: #ada8a8,\n 50: #8f8b8b,\n 60: #726e6e,\n 70: #565151,\n 80: #3c3838,\n 90: #272525,\n 100: #171414,\n ),\n white: (\n 0: #ffffff,\n ),\n yellow: (\n 10: #fcf4d6,\n 20: #fddc69,\n 30: #f1c21b,\n 40: #d2a106,\n 50: #b28600,\n 60: #8e6a00,\n 70: #684e00,\n 80: #483700,\n 90: #302400,\n 100: #1c1500,\n ),\n) !default;\n"],sourceRoot:""}]),l.locals={order:"-esm-patient-orders__general-order-table__order___RSSzZ",cell:"-esm-patient-orders__general-order-table__cell___Sg6v4",type:"-esm-patient-orders__general-order-table__type___meZmh"};const i=l},94414:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var a=t(30977),r=t.n(a),o=t(95924),l=t.n(o)()(r());l.push([e.id,".-esm-patient-orders__medication-record__medicationContainer___T97AK{display:flex;flex-direction:row;justify-content:flex-start;padding:.5rem;border-bottom:none}.-esm-patient-orders__medication-record__widgetCard___449Do{border:1px solid #e0e0e0;border-bottom:none}.-esm-patient-orders__medication-record__row___2iilR span{margin:auto}.-esm-patient-orders__medication-record__row___2iilR p{padding:.25rem 0}.-esm-patient-orders__medication-record__medicationRecord___cXhDg{display:flex;flex-direction:column;justify-content:space-between}.-esm-patient-orders__medication-record__medicationRecord___cXhDg p:not(:first-of-type,:last-of-type){padding:.25rem 0}.-esm-patient-orders__medication-record__startDateColumn___9NUC7{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:5rem;padding-bottom:.25rem;margin-right:2rem}.-esm-patient-orders__medication-record__startDateColumn___9NUC7 span{margin:0}.-esm-patient-orders__medication-record__dosage___tFNGY{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-patient-orders__medication-record__bodyLong01___NFiTl{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-patient-orders__medication-record__label01___bBejN{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px)}","",{version:3,sources:["webpack://./src/components/medication-record.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAIA,qEACE,YAAA,CACA,kBAAA,CACA,0BAAA,CACA,aCaW,CDZX,kBAAA,CAGF,4DACE,wBAAA,CACA,kBAAA,CAIA,0DACE,WAAA,CAGF,uDACE,gBAAA,CAIJ,kEACE,YAAA,CACA,qBAAA,CACA,6BAAA,CAEA,sGACE,gBAAA,CAIJ,iEE6zBI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CF3zBF,YAAA,CACA,qBAAA,CACA,sBAAA,CACA,6BAAA,CACA,eCkBW,CDjBX,qBC5BW,CD6BX,iBCJW,CDMX,sEACE,QAAA,CAIJ,wDE8yBI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CF1yBJ,4DE0yBI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CFtyBJ,yDEsyBI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA",sourcesContent:["@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@carbon/type';\n\n.medicationContainer {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n padding: layout.$spacing-03;\n border-bottom: none;\n}\n\n.widgetCard {\n border: 1px solid colors.$gray-20;\n border-bottom: none;\n}\n\n.row {\n span {\n margin: auto;\n }\n\n p {\n padding: layout.$spacing-02 0;\n }\n}\n\n.medicationRecord {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n p:not(:first-of-type, :last-of-type) {\n padding: layout.$spacing-02 0;\n }\n}\n\n.startDateColumn {\n @include type.type-style('body-compact-01');\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n min-height: layout.$spacing-11;\n padding-bottom: layout.$spacing-02;\n margin-right: layout.$spacing-07;\n\n span {\n margin: 0;\n }\n}\n\n.dosage {\n @include type.type-style('heading-compact-01');\n}\n\n.bodyLong01 {\n @include type.type-style('body-01');\n}\n\n.label01 {\n @include type.type-style('label-01');\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","//\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// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),l.locals={medicationContainer:"-esm-patient-orders__medication-record__medicationContainer___T97AK",widgetCard:"-esm-patient-orders__medication-record__widgetCard___449Do",row:"-esm-patient-orders__medication-record__row___2iilR",medicationRecord:"-esm-patient-orders__medication-record__medicationRecord___cXhDg",startDateColumn:"-esm-patient-orders__medication-record__startDateColumn___9NUC7",dosage:"-esm-patient-orders__medication-record__dosage___tFNGY",bodyLong01:"-esm-patient-orders__medication-record__bodyLong01___NFiTl",label01:"-esm-patient-orders__medication-record__label01___bBejN"};const i=l}}]);
|