"use strict";(globalThis.webpackChunk_openmrs_esm_service_queues_app=globalThis.webpackChunk_openmrs_esm_service_queues_app||[]).push([["1295"],{79154(e,t,i){i.r(t),i.d(t,{default:()=>o});var n=i(97125),a=i.n(n),s=i(86835),r=i(75921),u=i(82895);let o=function(e){var t=e.patientUuid,i=(0,r.useTranslation)().t,n=(0,u.useVisit)(t)||{},o=n.activeVisit,l=n.isLoading;return o?l?a().createElement(s.rrI,null):a().createElement(s.XSD,{itemText:i("transitionPatientAction","Transition patient"),onClick:function(){var e=(0,u.showModal)("transition-patient-to-latest-queue-modal",{closeModal:function(){return e()},activeVisit:o})}}):null}}}]);