"use strict";(globalThis.webpackChunk_openmrs_esm_patient_orders_app=globalThis.webpackChunk_openmrs_esm_patient_orders_app||[]).push([[4558],{94558:(e,r,t)=>{t.r(r),t.d(r,{default:()=>i});var n=t(1343),a=t.n(n),o=t(28376);const i=function(e){var r=e.windowProps,t=r.patientUuid,i=r.patient,s=r.visitContext,d=r.mutateVisitContext,u=r.drugOrderWorkspaceName,p=r.labOrderWorkspaceName,c=r.generalOrderWorkspaceName,l=r.onOrderBasketSubmitted,m=e.closeWorkspace,k=e.launchChildWorkspace,h=(0,n.useMemo)((function(){return{patient:i,launchDrugOrderForm:function(e){k(u,{order:e})},launchLabOrderForm:function(e,r){k(p,{orderTypeUuid:e,order:r})},launchGeneralOrderForm:function(e,r){k(c,{orderTypeUuid:e,order:r})}}}),[k,u,p,c,i]);return a().createElement(o.A,{patientUuid:t,patient:i,visitContext:s,mutateVisitContext:d,closeWorkspace:m,orderBasketExtensionProps:h,showPatientBanner:!0,onOrderBasketSubmitted:l})}}}]);