"use strict";(globalThis.webpackChunk_openmrs_esm_patient_orders_app=globalThis.webpackChunk_openmrs_esm_patient_orders_app||[]).push([[7937],{57937:(e,r,t)=>{t.r(r),t.d(r,{default:()=>u});var n=t(1343),a=t.n(n),s=t(43685),o=t(72339),i=t(1347),l=t(43508);const u=function(e){var r,t=e.order,n=(0,o.useTranslation)().t,l=(0,i.oi)(t.concept.uuid),u=l.isLoading,c=l.error,p=(0,i.mV)(t),m=p.isLoading,g=p.error;return m||u?a().createElement(s.OuH,{status:"active",iconDescription:"Loading",description:n("loadinglabresults","Loading lab results")+"..."}):g||c?a().createElement(s.jeF,{kind:"error",title:n("labResultError","Error loading lab results"),subtitle:null!==(r=null==g?void 0:g.message)&&void 0!==r?r:null==c?void 0:c.message}):a().createElement(d,{order:t})};var d=function(e){var r=e.order;return a().createElement(l.A,{testOrder:r})}}}]);