mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 00:42:59 +08:00
1 line
2 KiB
JavaScript
1 line
2 KiB
JavaScript
import{d as u,n as v,u as b,s as f,x as n,j as e,o as h,c as E,b as r,e as P,P as D,w as g,f as p,g as T,_ as t,k as y}from"./index-e62f5c21.js";import{h as A,o as R,a as k}from"./constants-02c93bfe.js";const w={class:"col-span-12"},x={class:"my-4"},V=u({__name:"PatientDetail",setup(I){const l=e(()=>t(()=>import("./FelTabs-6d68bf11.js"),["assets/FelTabs-6d68bf11.js","assets/index-e62f5c21.js","assets/index-332ec99e.css","assets/FelTabs-e0c91a0a.css"])),_=v(),d=b(),{patient:a}=f(_);function c(o){d?.push({name:"samples-add",params:{patientUid:o?.uid??""}})}const s=n(()=>a?.value?.uid),m=n(()=>[{id:"samples",label:"samples",component:e(()=>t(()=>import("./FelAnalyisRequestListing-7535b7d3.js"),["assets/FelAnalyisRequestListing-7535b7d3.js","assets/index-e62f5c21.js","assets/index-332ec99e.css"])),props:{target:"patient-samples",targetUid:s.value}},{id:"cases",label:"cases",component:e(()=>t(()=>import("./CaseTable-1b143065.js"),["assets/CaseTable-1b143065.js","assets/index-e62f5c21.js","assets/index-332ec99e.css"])),hidden:!0},{id:"billing",label:"billing",component:e(()=>t(()=>import("./PatientBill-d0092d90.js"),["assets/PatientBill-d0092d90.js","assets/index-e62f5c21.js","assets/index-332ec99e.css","assets/billing.mutations-21fddd5d.js","assets/array-4296cccc.js","assets/PatientBill-7bdbff76.css"])),props:{patientUid:s.value}},{id:"logs",label:"logs",component:e(()=>t(()=>import("./FelAuditLog-46ebf25b.js"),["assets/FelAuditLog-46ebf25b.js","assets/index-e62f5c21.js","assets/index-332ec99e.css"])),props:{targetType:"patient",targetUid:s.value}}]);return(o,i)=>(h(),E("section",w,[r("section",x,[P(r("button",{class:"px-2 py-1 mr-2 border-sky-800 border text-sky-800 rounded-sm transition duration-300 hover:bg-sky-800 hover:text-white focus:outline-none",onClick:i[0]||(i[0]=g(U=>c(p(a)),["prevent"]))}," Add Sample ",512),[[D,A(k.UPDATE,R.PATIENT)]])]),T(p(l),{tabs:m.value,"initial-tab":"samples"},null,8,["tabs"])]))}}),S=y(V,[["__file","/home/aurthurm/Documents/Development/felicity/felicity-lims/webapp/views/patient/_id/PatientDetail.vue"]]);export{S as default};
|