PageSourceSearch

https://app2.consentic.com/js/9408.c79d623c.js

js consentic.com collected 2026-10-07 03:02:57 UTC 30,906 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkcvue"]=self["webpackChunkcvue"]||[]).push([[9408],{89616:function(e,a,l){var t=l(92360),i=l(73800),n=l(93648),s=l(9404);a.c=(0,i.kd)({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:a}){const{proxy:{$q:l}}=(0,t._S)(),i=(0,t.uU)(s.e,s.QT);if(i===s.QT)return console.error("QPage needs to be a deep child of QLayout"),s.QT;const o=(0,t.uU)(s.WM,s.QT);if(o===s.QT)return console.error("QPage needs to be child of QPageContainer"),s.QT;const d=(0,t.S6)((()=>{const a=(!0===i.header.space?i.header.size:0)+(!0===i.footer.space?i.footer.size:0);if("function"===typeof e.styleFn){const t=!0===i.isContainer.value?i.containerHeight.value:l.screen.height;return e.styleFn(a,t)}return{minHeight:!0===i.isContainer.value?i.containerHeight.value-a+"px":0===l.screen.height?0!==a?`calc(100vh - ${a}px)`:"100vh":l.screen.height-a+"px"}})),r=(0,t.S6)((()=>"q-page"+(!0===e.padding?" q-layout-padding":"")));return()=>(0,t.h)("main",{class:r.value,style:d.value},(0,n.uS)(a.default))}})},60164:function(e,a,l){l.d(a,{c:function(){return V}});var t=l(92360),i=l(22688);const n={class:"q-ma-sm"};function s(e,a,l,s,o,d){const r=(0,t.E1)("q-card-section"),u=(0,t.E1)("q-icon"),c=(0,t.E1)("q-card-actions"),m=(0,t.E1)("q-btn"),p=(0,t.E1)("TablerArchive"),b=(0,t.E1)("q-card"),f=(0,t.E1)("q-dialog"),h=(0,t.iS)("close-popup");return(0,t.Wz)(),(0,t.Az)(f,{modelValue:o.isOpen,"onUpdate:modelValue":a[0]||(a[0]=e=>o.isOpen=e),persistent:""},{default:(0,t.Ql)((()=>[(0,t.K2)(b,{style:{"max-width":"70vw","min-width":"40vw"},class:""},{default:(0,t.Ql)((()=>[(0,t.K2)(r,{class:"q-pa-none bg-primary",style:{height:"40px"}},{default:(0,t.Ql)((()=>[(0,t.mY)("   ")])),_:1}),(0,t.K2)(r,{class:"q-px-lg q-mb-sm",style:{"text-align":"center",padding:"0px"}},{default:(0,t.Ql)((()=>[(0,t.QD)("div",n,[(0,t.K2)(u,{name:"error_outline",color:"negative",size:"60px",style:{}})]),(0,t.QD)("div",null,[(0,t.QD)("span",{class:"q-ml-sm",style:(0,i.MN)([{"font-size":l.fontSize},{"font-weight":"bold"}])},(0,i.WA)(l.title),5)])])),_:1}),l.message.length>0?((0,t.Wz)(),(0,t.Az)(c,{key:0,align:"center",style:{padding:"0px"},class:"q-px-lg q-mb-md"},{default:(0,t.Ql)((()=>[(0,t.mY)((0,i.WA)(l.message),1)])),_:1})):(0,t.g1)("",!0),(0,t.K2)(c,{align:"center"},{default:(0,t.Ql)((()=>[(0,t.wt)(((0,t.Wz)(),(0,t.Az)(m,{"no-caps":"",color:"grey-6",unelevated:"",class:"q-ma-sm",size:"md",style:(0,i.MN)([d.cancelButtonStyle,{height:"36px",width:"110px"}]),onClick:d.cancel},{default:(0,t.Ql)((()=>[(0,t.mY)(" Cancel ")])),_:1},8,["style","onClick"])),[[h]]),(0,t.K2)(m,{"no-caps":"",flat:"",size:"md",class:"q-ma-sm",style:(0,i.MN)([d.confButtonStyle,{height:"36px",width:"110px"}]),onClick:d.confirm},{default:(0,t.Ql)((()=>[(0,t.K2)(p,{size:"22px",class:"q-ma-sm",style:{position:"relative",bottom:"1px"}}),(0,t.mY)(" "+(0,i.WA)(l.confLabel),1)])),_:1},8,["style","onClick"])])),_:1})])),_:1})])),_:1},8,["modelValue"])}var o=l(3980),d={name:"ConfDial",props:{message:{type:String,default:""},title:{type:String,default:"Confirmation Message"},cancelColor:{type:String,default:"#24B4BC"},confColor:{type:String,default:"#C22D3D"},fontSize:{type:String,default:"20px"},bShowConf:Boolean,confLabel:{type:String,default:"Archive"}},data(){return{isOpen:!0}},components:{TablerArchive:o.c},computed:{cancelButtonStyle(){return{backgroundColor:this.cancelColor,color:"white"}},confButtonStyle(){return{backgroundColor:this.confColor,color:"white"}}},watch:{bShowConf:function(e){console.warn("isOpen is now:",e),this.isOpen=e}},methods:{confirm(){this.$emit("confirm"),this.isOpen=!1},cancel(){this.$emit("cancel"),this.isOpen=!1}}},r=l(25552),u=l(1572),c=l(32156),m=l(784),p=l(54232),b=l(2340),f=l(18368),h=l(83520),_=l(20896),y=l.n(_);const D=(0,r.c)(d,[["render",s]]);var V=D;y()(d,"components",{QDialog:u.c,QCard:c.c,QCardSection:m.c,QIcon:p.c,QCardActions:b.c,QBtn:f.c}),y()(d,"directives",{ClosePopup:h.c})},49488:function(e,a,l){l.d(a,{c:function(){return ue}});var t=l(92360),i=l(22688);const n=e=>((0,t.ED)("data-v-6752c000"),e=e(),(0,t.ii)(),e),s={class:"text-h4 full-width q-mt-sm q-mb-sm flex justify-center text-primary",style:{}},o={class:"q-ma-sm q-mt-md",style:{"font-size":"40px"}},d={class:"row"},r={class:"col",style:{display:"flex","flex-flow":"column nowrap",width:"100%"}},u={style:{display:"flex","flex-flow":"row nowrap",width:"100%"}},c={style:{display:"flex","flex-flow":"row nowrap",width:"100%"}},m={style:{display:"flex","flex-flow":"row nowrap",width:"100%"}},p={style:{display:"flex","flex-flow":"row nowrap",width:"100%"}},b={style:{flex:"1"}},f={style:{flex:"1"}},h={style:{display:"flex","flex-flow":"row nowrap",width:"100%"}},_={key:0,style:{display:"flex","flex-flow":"row nowrap",width:"100%"}},y={key:1,class:"full-width",style:{display:"flex","flex-flow":"row wrap"}},D={class:"col q-pl-sm"},V=n((()=>(0,t.QD)("label",{class:"q-ma-sm",style:{"font-size":"14px","font-weight":"semi-bold"}},"Residential Address",-1))),x={class:"row q-mb-md"},v={class:"col",style:{display:"flex","flex-flow":"row wrap",width:"100%"}},P={style:{flex:"1"}},w={style:{flex:"1"}},g=n((()=>(0,t.QD)("label",{class:"q-ma-sm",style:{"font-size":"14px","font-weight":"semi-bold"}},"Postal Address",-1))),q={class:"row"},Q={class:"col",style:{display:"flex","flex-flow":"row wrap",width:"100%","margin-top":"20px"}},K={style:{flex:"1"}},U={style:{flex:"1"}},C={style:{display:"flex","flex-flow":"row wrap",width:"100%"}},H={style:{display:"flex","flex-flow":"row wrap",width:"100%"}},k={style:{display:"flex","flex-flow":"row wrap",width:"100%"}},M={style:{display:"flex","flex-flow":"row wrap",width:"100%"}},S={style:{display:"flex","flex-flow":"row wrap",width:"100%"}},A=n((()=>(0,t.QD)("label",{class:"q-ma-sm",style:{"font-size":"14px","font-weight":"semi-bold"}},"Emergency Contacts",-1))),E={style:{display:"flex","flex-flow":"row wrap",width:"100%"}},T=n((()=>(0,t.QD)("label",{class:"q-ma-sm",style:{"font-size":"14px","font-weight":"semi-bold"}},"Next of Kin",-1))),N={style:{display:"flex","flex-flow":"row wrap",width:"100%"}},z={style:{display:"flex","flex-flow":"row wrap",width:"100%"}},L={key:0},R={key:1};function B(e,a,l,n,B,F){const Y=(0,t.E1)("q-btn"),I=(0,t.E1)("q-card-section"),O=(0,t.E1)("q-icon"),W=(0,t.E1)("q-tab"),j=(0,t.E1)("q-tabs"),$=(0,t.E1)("q-select"),G=(0,t.E1)("q-input"),J=(0,t.E1)("q-tab-panel"),X=(0,t.E1)("q-checkbox"),Z=(0,t.E1)("q-tab-panels"),ee=(0,t.E1)("AllRequests"),ae=(0,t.E1)("q-card-actions"),le=(0,t.E1)("q-card"),te=(0,t.E1)("q-dialog");return(0,t.Wz)(),(0,t.Az)(te,{modelValue:B.patientModal,"onUpdate:modelValue":a[58]||(a[58]=e=>B.patientModal=e),persistent:"",style:{"backdrop-filter":"blur(8px)"}},{default:(0,t.Ql)((()=>
1[(0,t.K2)(le,{class:"column",style:{width:"1600px","max-width":"100vw","border-radius":"15px"}},{default:(0,t.Ql)((()=>[(0,t.K2)(I,{class:"bg-primary flex justify-end q-py-none"},{default:(0,t.Ql)((()=>[(0,t.K2)(Y,{flat:"",dense:"",class:"text-white",onClick:F.toggleModal,icon:"close"},null,8,["onClick"])])),_:1}),(0,t.K2)(I,{class:"col q-pl-none q-pr-none"},{default:(0,t.Ql)((()=>[(0,t.K2)(I,{style:{padding:"0px"}},{default:(0,t.Ql)((()=>[(0,t.QD)("div",s,[(0,t.K2)(O,{style:{"margin-top":"13px"},size:"40px",name:"visibility"}),(0,t.QD)("div",o,"Overview - "+(0,i.WA)(this.patientName),1)])])),_:1}),(0,t.K2)(I,{class:"q-pl-none q-pr-none"},{default:(0,t.Ql)((()=>[(0,t.K2)(j,{dense:"","inline-label":"","no-caps":"",align:"justify",modelValue:B.tab,"onUpdate:modelValue":a[0]||(a[0]=e=>B.tab=e),"indicator-color":"primary",class:"text-grey","active-color":"primary"},{default:(0,t.Ql)((()=>[(0,t.K2)(W,{name:"overview",label:F.patientLabel+" Details"},null,8,["label"]),(0,t.K2)(W,{name:"history",label:"Request History"})])),_:1},8,["modelValue"]),(0,t.K2)(Z,{modelValue:B.tab,"onUpdate:modelValue":a[55]||(a[55]=e=>B.tab=e),animated:""},{default:(0,t.Ql)((()=>[(0,t.K2)(J,{name:"overview",style:{"min-height":"400px"}},{default:(0,t.Ql)((()=>[(0,t.K2)(j,{dense:"","inline-label":"","no-caps":"",align:"justify",modelValue:B.patientReviewTab,"onUpdate:modelValue":a[1]||(a[1]=e=>B.patientReviewTab=e),"indicator-color":"primary",class:"text-grey","active-color":"primary"},{default:(0,t.Ql)((()=>[(0,t.K2)(W,{name:"info",label:F.patientLabel+" Info"},null,8,["label"]),(0,t.K2)(W,{name:"address",label:"Addresses"}),(0,t.K2)(W,{name:"health_funds",label:"Health Funds & Insurance"}),(0,t.K2)(W,{name:"emergency_contact",label:"Emergency Contact"}),(0,t.K2)(W,{name:"status",label:"General"})])),_:1},8,["modelValue"]),(0,t.K2)(Z,{modelValue:B.patientReviewTab,"onUpdate:modelValue":a[54]||(a[54]=e=>B.patientReviewTab=e),animated:""},{default:(0,t.Ql)((()=>[(0,t.K2)(J,{name:"info",style:{"min-height":"400px"}},{default:(0,t.Ql)((()=>[(0,t.QD)("div",d,[(0,t.QD)("div",r,[(0,t.QD)("div",u,[(0,t.K2)($,{options:B.rTitles,style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.title,"onUpdate:modelValue":a[2]||(a[2]=e=>B.localPatientData.title=e),label:"Title"},null,8,["options","modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"3"},disable:"",modelValue:B.localPatientData.first_name,"onUpdate:modelValue":a[3]||(a[3]=e=>B.localPatientData.first_name=e),label:"First Name"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"3"},disable:"",modelValue:B.localPatientData.middle_name,"onUpdate:modelValue":a[4]||(a[4]=e=>B.localPatientData.middle_name=e),label:"Middle Name"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"3"},disable:"",modelValue:B.localPatientData.last_name,"onUpdate:modelValue":a[5]||(a[5]=e=>B.localPatientData.last_name=e),label:"Last Name"},null,8,["modelValue"])]),(0,t.QD)("div",c,[(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"3"},disable:"",modelValue:B.localPatientData.preferred_name,"onUpdate:modelValue":a[6]||(a[6]=e=>B.localPatientData.preferred_name=e),label:"Preferred Name"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"3"},disable:"",modelValue:B.localPatientData.maiden_name,"onUpdate:modelValue":a[7]||(a[7]=e=>B.localPatientData.maiden_name=e),label:"Maiden Name"},null,8,["modelValue"])]),(0,t.QD)("div",m,[(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"1"},disable:"",modelValue:B.localPatientData.birthday,"onUpdate:modelValue":a[8]||(a[8]=e=>B.localPatientData.birthday=e),label:"Date of Birth"},null,8,["modelValue"]),(0,t.K2)($,{options:B.rGenders,dense:"",class:"q-ma-sm",style:{flex:"1"},disable:"",modelValue:B.localPatientData.gender,"onUpdate:modelValue":a[9]||(a[9]=e=>B.localPatientData.gender=e),label:"Gender"},null,8,["options","modelValue"])]),(0,t.QD)("div",p,[(0,t.QD)("div",b,[(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"1"},disable:"",modelValue:B.localPatientData.phone_numbers.mobile,"onUpdate:modelValue":a[10]||(a[10]=e=>B.localPatientData.phone_numbers.mobile=e),label:"Mobile"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"1"},disable:"",modelValue:B.localPatientData.phone_numbers.home,"onUpdate:modelValue":a[11]||(a[11]=e=>B.localPatientData.phone_numbers.home=e),label:"Home Phone"},null,8,["modelValue"])]),(0,t.QD)("div",f,[(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"1"},disable:"",modelValue:B.localPatientData.email.address,"onUpdate:modelValue":a[12]||(a[12]=e=>B.localPatientData.email.address=e),label:"Email Address"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"1"},disable:"",modelValue:B.localPatientData.phone_numbers.work,"onUpdate:modelValue":a[13]||(a[13]=e=>B.localPatientData.phone_numbers.work=e),label:"Work Phone"},null,8,["modelValue"])])]),(0,t.QD)("div",h,[(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"1"},disable:"",modelValue:B.localPatientData.mrn,"onUpdate:modelValue":a[14]||(a[14]=e=>B.localPatientData.mrn=e),label:"MRN / HRN"},null,8,["modelValue"])]),this.isEmpty(this.getTenantCheck?.tenant_id)?(0,t.g1)("",!0):((0,t.Wz)(),(0,t.An)("div",_,[(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"1"},disable:"",modelValue:B.localPatientData.gentu_id,"onUpdate:modelValue":a[15]||(a[15]=e=>B.localPatientData.gentu_id=e),label:"Gentu Patient ID"},null,8,["modelValue"])])),this.isEmpty(this.getTeamInfo?.virtus_practice_id)?(0,t.g1)("",!0):((0,t.Wz)(),(0,t.An)("div",y,[(0,t.K2)(G,{dense:"",class:"q-ma-sm",style:{flex:"1"},disable:"",modelValue:B.localPatientData.virtus_id,"onUpdate:modelValue":a[16]||(a[16]=e=>B.localPatientData.virtus_id=e),label:"Virtus Patient ID"},null,8,["modelValue"])]))])])])),_:1}),(0,t.K2)(J,{name:"address",style:{"min-height":"400px"}},{default:(0,t.Ql)((()=>[(0,t.QD)("div",D,[V,(0,t.QD)("div",x,[(0,t.QD)("div",v,[(0,t.QD)("div",P,[(0,t.K2)(G,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.residential_address.unit,"onUpdate:modelValue":a[17]||(a[17]=e=>B.localPatientData.residential_address.unit=e),label:"Unit"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.residential_address.suburb,"onUpdate:modelValue":a[18]||(a[18]=e=>B.localPatientData.residential_address.suburb=e),label:"Suburb / City"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.residential_address.postcode,"onUpdate:modelValue":a[19]||(a[19]=e=>B.localPatientData.residential_address.postcode=e),label:"Postcode"},null,8,["modelValue"])]),(0,t.QD)("div",w,[(0,t.K2)(G,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.residential_address.line_1,"onUpdate:modelValue":a[20]||(a[20]=e=>B.localPatientData.residential_address.line_1=e),label:"Street"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.residential_address.state,"onUpdate:modelValue":a[21]||(a[21]=e=>B.localPatientData.residential_address.state=e),label:"State"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.residential_address.country,"onUpdate:modelValue":a[22]||(a[22]=e=>B.localPatientData.residential_address.country=e),label:"Country"},null,8,["modelValue"])])])]),g,(0,t.QD)("div",q,[(0,t.QD)("div",Q,[(0,t.QD)("div",K,[(0,t.K2)(G,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.postal_address.unit,"onUpdate:modelValue":a[23]||(a[23]=e=>B.localPatientData.postal_address.unit=e),label:"Unit"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.postal_address.suburb,"onUpdate:modelValue":a[24]||(a[24]=e=>B.localPatientData.postal_address.suburb=e),label:"Suburb / City"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.postal_address.postcode,"onUpdate:modelValue":a[25]||(a[25]=e=>B.localPatientData.postal_address.postcode=e),label:"Postcode"},null,8,["modelValue"])]),(0,t.QD)("div",U,[(0,t.K2)(G,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.postal_address.line_1,"onUpdate:modelValue":a[26]||(a[26]=e=>B.localPatientData.postal_address.line_1=e),label:"Street"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.postal_address.state,"onUpdate:modelValue":a[27]||(a[27]=e=>B.localPatientData.postal_address.state=e),label:"State"},null,8,["modelValue"]),(0,t.K2)(G,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.postal_address.country,"onUpdate:modelValue":a[28]||(a[28]=e=>B.localPatientData.postal_address.country=e),label:"Country"},null,8,["modelValue"])])])])])])),_:1}),(0,t.K2)(J,{name:"health_funds",style:{"min-height":"400px"}},{default:(0,t.Ql)((()=>[(0,t.QD)("div",C,[(0,t.K2)(G,{style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.identifiers.medicare_number,"onUpdate:modelValue":a[29]||(a[29]=e=>B.localPatientData.patient_details.identifiers.medicare_number=e),label:"Medicare Number"},null,8,["modelValue"]),(0,t.K2)(G,{style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.identifiers.medicare_ref,"onUpdate:modelValue":a[30]||(a[30]=e=>B.localPatientData.patient_details.identifiers.medicare_ref=e),label:"Medicare Ref"},null,8,["modelValue"]),(0,t.K2)(G,{style:{flex:"1","max-width":"150px"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.identifiers.medicare_expiration,"onUpdate:modelValue":a[31]||(a[31]=e=>B.localPatientData.patient_details.identifiers.medicare_expiration=e),mask:"##/####",placeholder:"MM/YYYY",label:"Exp. Date"},null,8,["modelValue"])]),(0,t.QD)("div",H,[(0,t.K2)($,{modelValue:B.localPatientData.patient_details.identifiers.private_insurance_fund,"onUpdate:modelValue":a[32]||(a[32]=e=>B.localPatientData.patient_details.identifiers.private_insurance_fund=e),disable:"",options:B.rProviders,label:"Private Insurance",dense:"",class:"q-ma-sm q-px-sm full-width",style:{flex:"1"}},null,8,["modelValue","options"]),(0,t.K2)(G,{modelValue:B.localPatientData.patient_details.identifiers.private_insurance_number,"onUpdate:modelValue":a[33]||(a[33]=e=>B.localPatientData.patient_details.identifiers.private_insurance_number=e),disable:"",label:"Membership/Provider Number",dense:"",class:"q-ma-sm",style:{flex:"1"}},null,8,["modelValue"]),(0,t.K2)(G,{modelValue:B.localPatientData.patient_details.identifiers.private_insurance_expiration,"onUpdate:modelValue":a[34]||(a[34]=e=>B.localPatientData.patient_details.identifiers.private_insurance_expiration=e),disable:"",mask:"##/####",label:"Exp. Date",placeholder:"MM/YYYY",dense:"",class:"q-ma-sm",style:{"max-width":"150px",flex:"1"}},null,8,["modelValue"])]),(0,t.QD)("div",k,[(0,t.K2)(G,{style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.identifiers.dva_type,"onUpdate:modelValue":a[35]||(a[35]=e=>B.localPatientData.patient_details.identifiers.dva_type=e),label:"DVA Type"},null,8,["modelValue"]),(0,t.K2)(G,{style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.identifiers.dva_number,"onUpdate:modelValue":a[36]||(a[36]=e=>B.localPatientData.patient_details.identifiers.dva_number=e),label:"DVA Number"},null,8,["modelValue"]),"White Card"==B.localPatientData.patient_details.identifiers.dva_type?((0,t.Wz)(),(0,t.Az)(G,{key:0,style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.identifiers.dva_conditions,"onUpdate:modelValue":a[37]||(a[37]=e=>B.localPatientData.patient_details.identifiers.dva_conditions=e),label:"DVA Conditions"},null,8,["modelValue"])):(0,t.g1)("",!0),(0,t.K2)(G,{style:{flex:"1","max-width":"150px"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.identifiers.dva_expiration,"onUpdate:modelValue":a[38]||(a[38]=e=>B.localPatientData.patient_details.identifiers.dva_expiration=e),mask:"##/####",placeholder:"MM/YYYY",label:"DVA Expiration"},null,8,["modelValue"])]),(0,t.QD)("div",M,[(0,t.K2)(G,{style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.identifiers.concession_health_care_number,"onUpdate:modelValue":a[39]||(a[39]=e=>B.localPatientData.patient_details.identifiers.concession_health_care_number=e),label:"Healthcare Number"},null,8,["modelValue"]),(0,t.K2)(G,{style:{flex:"1","max-width":"150px"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.identifiers.concession_health_care_expiration,"onUpdate:modelValue":a[40]||(a[40]=e=>B.localPatientData.patient_details.identifiers.concession_health_care_expiration=e),mask:"##/##/####",placeholder:"DD/MM/YYYY",label:"Exp. Date"},null,8,["modelValue"])]),(0,t.QD)("div",S,[(0,t.K2)(G,{style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.identifiers.concession_pensioner_number,"onUpdate:modelValue":a[41]||(a[41]=e=>B.localPatientData.patient_details.identifiers.concession_pensioner_number=e),label:"Pensioner Number"},null,8,["modelValue"]),(0,t.K2)(G,{style:{flex:"1","max-width":"150px"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.identifiers.concession_pensioner_expiration,"onUpdate:modelValue":a[42]||(a[42]=e=>B.localPatientData.patient_details.identifiers.concession_pensioner_expiration=e),mask:"##/##/####",placeholder:"DD/MM/YYYY",label:"Exp. Date"},null,8,["modelValue"])])])),_:1}),(0,t.K2)(J,{name:"emergency_contact",style:{"min-height":"400px"}},{default:(0,t.Ql)((()=>[A,(0,t.QD)("div",E,[(0,t.K2)(G,{style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.emergency_contact.name,"onUpdate:modelValue":a[43]||(a[43]=e=>B.localPatientData.patient_details.emergency_contact.name=e),label:"Contact"},null,8,["modelValue"]),(0,t.K2)($,{label:"Relationship",style:{flex:"1"},disable:"",modelValue:B.localPatientData.patient_details.emergency_contact.relationship,"onUpdate:modelValue":a[44]||(a[44]=e=>B.localPatientData.patient_details.emergency_contact.relationship=e),class:"q-ma-sm q-mb-lg",dense:"",options:B.rRelationships},null,8,["modelValue","options"]),(0,t.K2)(G,{style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.emergency_contact.number,"onUpdate:modelValue":a[45]||(a[45]=e=>B.localPatientData.patient_details.emergency_contact.number=e),label:"Number"},null,8,["modelValue"])]),T,(0,t.QD)("div",N,[(0,t.K2)(G,{style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.next_of_kin.name,"onUpdate:modelValue":a[46]||(a[46]=e=>B.localPatientData.patient_details.next_of_kin.name=e),label:"Contact"},null,8,["modelValue"]),(0,t.K2)($,{label:"Relationship",style:{flex:"1"},disable:"",modelValue:B.localPatientData.patient_details.next_of_kin.relationship,"onUpdate:modelValue":a[47]||
1(a[47]=e=>B.localPatientData.patient_details.next_of_kin.relationship=e),class:"q-ma-sm q-mb-lg",dense:"",options:B.rRelationships},null,8,["modelValue","options"]),(0,t.K2)(G,{style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.next_of_kin.number,"onUpdate:modelValue":a[48]||(a[48]=e=>B.localPatientData.patient_details.next_of_kin.number=e),label:"Number"},null,8,["modelValue"])])])),_:1}),(0,t.K2)(J,{name:"status",style:{"min-height":"400px"}},{default:(0,t.Ql)((()=>[(0,t.K2)(X,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.indigenous.aboriginal,"onUpdate:modelValue":a[49]||(a[49]=e=>B.localPatientData.patient_details.indigenous.aboriginal=e),label:"Aboriginal"},null,8,["modelValue"]),(0,t.K2)(X,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.indigenous.torres,"onUpdate:modelValue":a[50]||(a[50]=e=>B.localPatientData.patient_details.indigenous.torres=e),label:"Torres"},null,8,["modelValue"]),(0,t.K2)(X,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.indigenous.neither,"onUpdate:modelValue":a[51]||(a[51]=e=>B.localPatientData.patient_details.indigenous.neither=e),label:"Neither"},null,8,["modelValue"]),(0,t.K2)(X,{dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.indigenous.na,"onUpdate:modelValue":a[52]||(a[52]=e
1=>B.localPatientData.patient_details.indigenous.na=e),label:"N/A"},null,8,["modelValue"]),(0,t.QD)("div",z,[(0,t.K2)(G,{style:{flex:"1"},dense:"",class:"q-ma-sm",disable:"",modelValue:B.localPatientData.patient_details.indigenous.occupation,"onUpdate:modelValue":a[53]||(a[53]=e=>B.localPatientData.patient_details.indigenous.occupation=e),label:"Occupation"},null,8,["modelValue"])])])),_:1})])),_:1},8,["modelValue"])])),_:1}),(0,t.K2)(J,{name:"history",style:{"min-height":"400px"},onShow:F.refreshHistory},{default:(0,t.Ql)((()=>[(0,t.K2)(ee,{data:l.patientData,bShowTable:!1,bDisplayed:"history"==B.tab,onLoadRequest:F.loadRequest,consentRequests:l.patientData.consent_requests,patientId:l.patientData.id},null,8,["data","bDisplayed","onLoadRequest","consentRequests","patientId"])])),_:1},8,["onShow"])])),_:1},8,["modelValue"])])),_:1})])),_:1}),(0,t.K2)(ae,{align:"center",class:"bg-white text-teal"},{default:(0,t.Ql)((()=>["overview"===B.tab?((0,t.Wz)(),(0,t.An)("div",L,[(0,t.K2)(j,{modelValue:B.tab,"onUpdate:modelValue":a[56]||(a[56]=e=>B.tab=e),dense:"","no-caps":""},{default:(0,t.Ql)((()=>[(0,t.K2)(W,{name:"overview",class:"q-tab-btn primary previous custom-border-radius",disable:"",exact:"",replace:"",label:"Previous",style:{"border-bottom":"none"}}),(0,t.K2)(W,{name:"history",exact:"",replace:"",label:"Next",class:"q-tab-btn active custom-border-radius",style:{width:"100px","border-bottom":"none"}})])),_:1},8,["modelValue"])])):(0,t.g1)("",!0),"history"===B.tab?((0,t.Wz)(),(0,t.An)("div",R,[(0,t.K2)(j,{modelValue:B.tab,"onUpdate:modelValue":a[57]||(a[57]=e=>B.tab=e),dense:"","no-caps":""},{default:(0,t.Ql)((()=>[(0,t.K2)(W,{name:"overview",class:"q-tab-btn active custom-border-radius",style:{"border-bottom":"none"},exact:"",replace:"",label:"Previous"}),(0,t.K2)(W,{name:"history",class:"q-tab-btn previous custom-border-radius",style:{"border-bottom":"none",width:"100px"},disable:"",exact:"",replace:"",label:"Next"})])),_:1},8,["modelValue"])])):(0,t.g1)("",!0)])),_:1})])),_:1})])),_:1},8,["modelValue"])}l(7544);var F=l(40230),Y=l(98560),I={components:{AllRequests:F.c},props:{showModal:{type:Boolean,default:!0},patientData:{type:Object}},data(){return{rRelationships:[{value:"Parent",label:"Parent"},{value:"Spouse",label:"Spouse"},{value:"Sibling",label:"Sibling"},{value:"Child",label:"Child"},{value:"Friend",label:"Friend"},{value:"Other",label:"Other"}],tab:"overview",rTitles:["","Assoc. Prof.","Dr","Miss","Mr","Mrs","Ms","Master","Prof."],rProviders:[{value:"",label:"--None--"},{value:"aca",label:"ACA Health Benefits Fund"},{value:"ahb",label:"Defence Health Limited"},{value:"ahm",label:"ahm health insurance"},{value:"ama",label:"Doctors' Health Fund"},{value:"auf",label:"Australian Unity Health Limited"},{value:"bup",label:"Bupa HI Pty Ltd"},{value:"cbc",label:"CBHS Corporate Health Pty Ltd"},{value:"cbh",label:"CBHS Health Fund Limited"},{value:"cdh",label:"CDH Benefits Fund"},{value:"cps",label:"see-u by HBF"},{value:"fai",label:"GU Health"},{value:"gmh",label:"GMHBA Limited"},{value:"hbf",label:"HBF Health Limited"},{value:"hcf",label:"HCF"},{value:"hci",label:"HCi"},{value:"hif",label:"Health Insurance Fund of Australia Limited"},{value:"lhm",label:"Peoplecare Health Insurance"},{value:"lhs",label:"Latrobe Health Services"},{value:"mbp",label:"Medibank Private Limited"},{value:"mdh",label:"Mildura Health Fund"},{value:"myo",label:"AIA Health Insurance Pty Ltd"},{value:"nhb",label:"Navy Health Ltd"},{value:"nib",label:"nib Health Funds Ltd."},{value:"ntf",label:"Teachers Health"},{value:"omf",label:"National Health Benefits Australia Pty Ltd (onemedifund)"},{value:"pwa",label:"Phoenix Health Fund Limited"},{value:"qch",label:"Queensland Country Health Fund"},{value:"qtu",label:"TUH Health Fund"},{value:"rbh",label:"Reserve Bank Health Society Ltd"},{value:"rte",label:"RT Health - a division of The Hospitals Contribution Fund"},{value:"slm",label:"St Lukes"},{value:"spe",label:"Police Health"},{value:"sps",label:"Health Partners"},{value:"wfd",label:"Westfund Limited"}],rGenders:["Female","Male","Non-Binary","Other"],patientReviewTab:"info",patientName:null,patientModal:!1,patientDetails:[],localPatientData:{}}},computed:{...(0,Y.gV)("consentic",["getTeamInfo"]),...(0,Y.gV)("gentu",["getTenantCheck"]),patientLabel(){return console.log("ClinTrial?",this.getTeamInfo),"Clinical Trial"==this.getTeamInfo?.type?.name?"Participant":"Patient"}}
1,methods:{loadRequest(e){this.$router.push({name:"ConsentRequests",query:{searchBy:e?"CID:"+e:""}})},refreshHistory(){this.$refs["History"].refreshHistory()},isEmpty(e){return"undefined"==typeof e||""==e||null==e},initLocalData(){this.localPatientData=JSON.parse(JSON.stringify(this.patientData));const e={title:"",first_name:"",last_name:"",middle_name:"",preferred_name:"",maiden_name:"",gender:"",birthday:"",birthday_new:"",emergency_contact:{name:"",relationship:"",number:""},phone_numbers:{mobile:"",home:"",work:""},email:{address:""},address:{unit:"",line_1:"",suburb:"",state:"",postcode:"",country:""},residential_address:{unit:"",line_1:"",suburb:"",state:"",postcode:"",country:""},postal_address:{unit:"",line_1:"",suburb:"",state:"",postcode:"",country:""},patient_details:{emergency_contact:{name:"",relationship:"",number:""},next_of_kin:{name:"",relationship:"",number:""},identifiers:{medicare_number:"",medicare_ref:"",medicare_expiration:"",concession_health_care_expiration:"",concession_health_care_number:"",concession_pensioner_expiration:"",concession_pensioner_number:"",dva_expiration:"",dva_number:"",dva_type:"",dva_conditions:"",private_insurance_fund:{label:"",value:""},private_insurance_expiration:"",private_insurance_number:""},indigenous:{aboriginal:!1,torres:!1,neither:!1,na:!1,occupatioin:""}}};this.initializeProperties(this.localPatientData,e,this.patientData.details||[]),this.populatePhoneNumbers(this.localPatientData,this.patientData.phone_numbers||[]),console.warn("Initialized Local Patient Data",this.localPatientData)},initializeProperties(e,a,l=[]){Object.keys(a).forEach((l=>{"undefined"!==typeof e[l]&&null!==e[l]||(e[l]="object"===typeof a[l]?{}:a[l]),"object"===typeof a[l]&&this.initializeProperties(e[l],a[l])})),l.length>0&&l.forEach((a=>{const{detail_type:l,detail_subtype:t,detail_value:i}=a;e.patient_details[l]||(e.patient_details[l]={});let n=i;if("string"===typeof i&&i.trim().startsWith("{"))try{n=JSON.parse(i)}catch(s){console.error(`Failed to parse JSON for detail_value: ${i}`,s),n={}}else n="true"===i||"false"!==i&&i;e.patient_details[l][t]=n}))},populatePhoneNumbers(e,a){const l={mobile:"",home:"",work:""};a.forEach((e=>{const a=e.type;a&&Object.prototype.hasOwnProperty.call(l,a)&&(l[a]=e.number)})),e.phone_numbers=l},toggleModal(){this.patientModal=!this.patientModal,this.tab="overview",this.patientModal||this.$emit("closePatientOverview")}},watch:{showModal:function(){this.patientModal=this.showModal,this.patientModal&&(this.patientName=this.patientData.first_name+" "+this.patientData.last_name)},patientData:{handler:function(){this.initLocalData()},deep:!0}},mounted(){console.log(this.$refs.History),this.initLocalData()}},O=l(25552),W=l(1572),j=l(32156),$=l(784),G=l(18368),J=l(54232),X=l(28720),Z=l(13272),ee=l(47576),ae=l(55736),le=l(61620),te=l(108),ie=l(35968),ne=l(3060),se=l(2340),oe=l(20896),de=l.n(oe);const re=(0,O.c)(I,[["render",B],["__scopeId","data-v-6752c000"]]);var ue=re;de()(I,"components",{QDialog:W.c,QCard:j.c,QCardSection:$.c,QBtn:G.c,QIcon:J.c,QTabs:X.c,QTab:Z.c,QTabPanels:ee.c,QTabPanel:ae.c,QSelect:le.c,QInput:te.c,QCheckbox:ie.c,QMarkupTable:ne.c,QCardActions:se.c})}}]);
2//# sourceMappingURL=9408.c79d623c.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.