"use strict";(globalThis.webpackChunk_kenyaemr_esm_ward_app=globalThis.webpackChunk_kenyaemr_esm_ward_app||[]).push([["5659"],{76805:function(e,n,a){a.r(n),a.d(n,{default:()=>o});var r=a(31262),t=a.n(r),l=a(67631),i=a(66002),c=a(10558);let o=function(){var e=(0,i.useTranslation)().t,n=(0,c.useWorkspaces)().workspaces.filter(function(e){return"ward-patient-form-entry-workspace"===e.name}),a=n[0],r=(null==n?void 0:n.length)>=1;return t().createElement(c.ActionMenuButton,{getIcon:function(e){return t().createElement(l.BB,e)},label:e("clinicalForms","Clinical forms"),iconDescription:e("clinicalForms","Clinical forms"),handler:function(){if(r){var e;(0,c.launchWorkspace)("ward-patient-form-entry-workspace",{workspaceTitle:null==a||null==(e=a.additionalProps)?void 0:e.workspaceTitle})}else(0,c.launchWorkspace)("ward-patient-clinical-forms-workspace")},type:"ward-patient-clinical-forms"})}}}]);