"use strict";(globalThis.webpackChunk_openmrs_esm_patient_orders_app=globalThis.webpackChunk_openmrs_esm_patient_orders_app||[]).push([[8894],{88894:(e,r,t)=>{t.r(r),t.d(r,{default:()=>i});var o=t(1343),n=t.n(o),a=t(28376);const i=function(e){var r=e.groupProps,t=r.patientUuid,i=r.patient,s=r.visitContext,d=r.mutateVisitContext,p=e.closeWorkspace,u=e.launchChildWorkspace,c=(0,o.useMemo)((function(){return{patient:i,launchDrugOrderForm:function(e){u("add-drug-order",{order:e})},launchLabOrderForm:function(e,r){u("add-lab-order",{orderTypeUuid:e,order:r})},launchGeneralOrderForm:function(e,r){u("orderable-concept-workspace",{orderTypeUuid:e,order:r})}}}),[u,i]);return n().createElement(a.A,{patientUuid:t,patient:i,visitContext:s,mutateVisitContext:d,closeWorkspace:p,orderBasketExtensionProps:c})}}}]);