PageSourceSearch

https://vitals.luscii.com/assets/v4.207.0-hotfix.1/js/4046.f602b3e43803985b.js

js luscii.com collected 2026-10-01 12:29:51 UTC 20,663 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"v4.207.0-hotfix.1"};var a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="ec89d87a-51a0-4947-9c33-0e6250e813d4",e._sentryDebugIdIdentifier="sentry-dbid-ec89d87a-51a0-4947-9c33-0e6250e813d4")}catch(e){}}();"use strict";(globalThis.rspackChunkvitals||=[]).push([[4046],{21671(e,a,t){var r=t(74848),o=t(96540),s=t(49785),l=t(19732),i=t(53515),n=t(10378),u=t(46227),d=t(69158),g=t(82703);t.d(a,{},{t:e=>{let{defaultValues:a,onChange:t,organizationId:c}=e,{register:p,watch:m,setValue:h,subscribe:f}=(0,s.mN)({defaultValues:a}),T=m("programId"),{organizationPrograms:x,isFetching:v}=(0,u.Q)({organizationId:c}),{data:R,isFetching:j}=(0,g.e2)(T?{organizationId:c,id:Number(T)}:n.hT);return(0,o.useEffect)(()=>f({formState:{values:!0},callback:({values:e})=>t(e)}),[f]),(0,r.jsxs)(l.B,{as:"fieldset",_gap:"m",width:"full",align:"stretch",children:[(0,r.jsxs)(i.A,{label:(0,d.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-program.label"),...p("programId",{onChange:()=>h("protocolUuid",""),disabled:v}),children:[(0,r.jsx)("option",{value:"",children:(0,d.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-program.select-placeholder")}),x?.map(e=>(0,r.jsx)("option",{value:e.id,children:e.name},e.id))]},v?"loading-programs":"programs"),(0,r.jsxs)(i.A,{label:(0,d.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-protocol.label"),...p("protocolUuid",{disabled:!T||j}),children:[(0,r.jsx)("option",{value:"",children:(0,d.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-protocol.select-placeholder")}),R?.protocols?.data?.map(e=>(0,r.jsx)("option",{value:e.uuid,children:e.name},e.uuid))]},j?"loading-program":"program")]})}})},81209(e,a,t){var r=t(74848),o=t(96540),s=t(49785),l=t(19732),i=t(53515),n=t(10378),u=t(46227),d=t(69158),g=t(82703);t.d(a,{},{q:e=>{let{defaultValues:a,onChange:t,organizationId:c}=e,{register:p,watch:m,setValue:h,subscribe:f}=(0,s.mN)({defaultValues:a}),T=m("programId"),{organizationPrograms:x,isFetching:v}=(0,u.Q)({organizationId:c}),{data:R,isFetching:j}=(0,g.e2)(T?{organizationId:c,id:Number(T)}:n.hT);return(0,o.useEffect)(()=>f({formState:{values:!0},callback:({values:e})=>t(e)}),[f]),(0,r.jsxs)(l.B,{as:"fieldset",_gap:"l",width:"full",align:"stretch",children:[(0,r.jsxs)(i.A,{label:(0,d.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-program.label"),...p("programId",{onChange:()=>h("protocolUuid",""),disabled:v}),children:[(0,r.jsx)("option",{value:"",children:(0,d.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-program.select-placeholder")}),x?.map(e=>(0,r.jsx)("option",{value:e.id,children:e.name},e.id))]},v?"loading-programs":"programs"),(0,r.jsxs)(i.A,{required:!0,label:(0,d.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-protocol.label"),...p("protocolUuid",{disabled:!T||j}),children:[(0,r.jsx)("option",{value:"",children:(0,d.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-protocol.select-placeholder")}),R?.protocols?.data?.map(e=>(0,r.jsx)("option",{value:e.uuid,children:e.name},e.uuid))]},j?"loading-program":"program")]})}})},70570(e,a,t){var r=t(74848),o=t(96540),s=t(49785),l=t(19732),i=t(53515),n=t(10378),u=t(69158),d=t(4319),g=t(82703);t.d(a,{},{A:e=>{let{defaultValues:a,onChange:t,organizationId:c}=e,{register:p,watch:m,setValue:h,subscribe:f}=(0,s.mN)({defaultValues:a}),T=m("groupId"),x=m("programId"),{data:v,isFetching:R}=(0,d.Pj)({organizationId:c,includeSubOrgGroups:!1}),{data:j,isFetching:b}=(0,d.rZ)(T?{groupId:T}:n.hT),{data:I,isFetching:w}=(0,g.e2)(x?{organizationId:c,id:Number(x)}:n.hT);return(0,o.useEffect)(()=>f({formState:{values:!0},callback:({values:e})=>t(e)}),[f]),(0,r.jsxs)(l.B,{as:"fieldset",_gap:"l",width:"full",align:"stretch",children:[(0,r.jsxs)(i.A,{label:(0,u.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-group.label"),...p("groupId",{onChange:()=>{h("programId",""),h("protocolUuid","")},disabled:R}),children:[(0,r.jsx)("option",{value:"",children:(0,u.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-group.select-placeholder")}),v?.map(e=>(0,r.jsx)("option",{value:e.id,children:e.name},e.id))]},R?"loading-groups":"groups"),(0,r.jsxs)(i.A,{label:(0,u.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-program.label"),...p("programId",{onChange:()=>h("protocolUuid",""),disabled:!T||b}),children:[(0,r.jsx)("option",{value:"",children:(0,u.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-program.select-placeholder")}),j?.map(e=>(0,r.jsx)("option",{value:e.id,children:e.name},e.id))]},b?"loading-programs":"programs"),(0,r.jsxs)(i.A,{required:!0,label:(0,u.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-protocol.label"),...p("protocolUuid",{disabled:!x||w,onChange:e=>h("protocolUuid",e.target.value)}),children:[(0,r.jsx)("option",{value:"",children:(0,u.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-protocol.select-placeholder")}),I?.protocols?.data?.map(e=>(0,r.jsx)("option",{value:e.uuid,children:e.name},e.uuid))]},w?"loading-program":"program")]})}})},50480(e,a,t){var r=t(74848),o=t(96540),s=t(49785),l=t(19732),i=t(39812),n=t(61028),u=t(53515),d=t(78471),g=t(57491),c=t(69158);let p=({defaultValues:e,onChange:a})=>{let{formState:{errors:t},register:i,watch:p,setValue:m,subscribe:h}=(0,s.mN)({defaultValues:e});return(0,o.useEffect)(()=>h({formState:{values:!0},callback:({values:e})=>a(e)}),[h]),(0,r.jsxs)(l.B,{as:"form",_gap:"l","aria-labelledby":"form-title",id:"status-form",width:"full",children:[(0,r.jsx)(n.c,{}),(0,r.jsxs)(u.A,{label:(0,c.Tl)("ce-integration.follow-up-task.change-status.ui.select-reason.select-label"),...i("statusChangeReason",{onChange:e=>{""===e.target.value&&m("statusChangeReason",""),m("statusChangeReasonExtra","")}}),children:[(0,r.jsx)("option",{value:"",children:(0,c.Tl)("ce-integration.follow-up-task.change-status.ui.select-reason.select-placeholder")}),[{value:(0,c.Tl)("tma.quit.reasons.admissionInCareInstitution"),text:(0,c.Tl)("tma.quit.reasons.admissionInCareInstitution")},{value:(0,c.Tl)("tma.quit.reasons.cantHandleDevices"),text:(0,c.Tl)("tma.quit.reasons.cantHandleDevices")},{value:(0,c.Tl)("tma.quit.reasons.moved"),text:(0,c.Tl)("tma.quit.reasons.moved")},{value:(0,c.Tl)("tma.quit.reasons.recovered"),text:(0,c.Tl)("tma.quit.reasons.recovered")},{value:(0,c.Tl)("tma.quit.reasons.finished"),text:(0,c.Tl)("tma.quit.reasons.finished")},{value:"customReason",text:(0,c.Tl)("tma.quit.reasons.somethingElse")}].map(e=>(0,r.jsx)("option",{value:e.value,children:e.text},e.value))]}),"customReason"===p("statusChangeReason")&&(0,r.jsx)(g.z,{label:(0,c.Tl)("ce-integration.follow-up-task.change-status.ui.select-custom-reason.select-custom-label"),errorMessage:t.statusChangeReasonExtra?.message,children:(0,r.jsx)(d.T,{rows:2,...i("statusChangeReasonExtra",{required:(0,c.Tl)("tma.fieldIsRequired")})})})]})};t.d(a,{},{Q:e=>{let{defaultValues:a,onChange:t,patientJourneyBuilderImprovedChangeStatusWorkflow:o}=e;return(0,r.jsxs)(l.B,{axis:"y",_gap:"l",width:"full",children:[(0,r.jsx)(i.EY,{variant:"strong",children:(0,c.Tl)("ce-integration.follow-up-task.change-status.ui.modal.title")}),(0,r.jsx)(i.EY,{children:(0,c.Tl)("ce-integration.follow-up-task.change-status.ui.modal.description")}),o&&(0,r.jsx)(p,{defaultValues:a,onChange:t})]})}})},38696(e,a,t){var r=t(74848),o=t(96540),s=t(49785),l=t(19732),i=t(53515),n=t(10378),u=t
1(46227),d=t(69158),g=t(82703);t.d(a,{},{N:e=>{let{defaultValues:a,onChange:t,organizationId:c}=e,{register:p,watch:m,setValue:h,subscribe:f}=(0,s.mN)({defaultValues:a}),T=m("programId"),{organizationPrograms:x,isFetching:v}=(0,u.Q)({organizationId:c}),{data:R,isFetching:j}=(0,g.e2)(T?{organizationId:c,id:Number(T)}:n.hT);return(0,o.useEffect)(()=>f({formState:{values:!0},callback:({values:e})=>t(e)}),[f]),(0,r.jsxs)(l.B,{as:"fieldset",_gap:"l",width:"full",align:"stretch",children:[(0,r.jsxs)(i.A,{label:(0,d.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-program.label"),...p("programId",{onChange:()=>h("protocolUuid",""),disabled:v}),children:[(0,r.jsx)("option",{value:"",children:(0,d.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-program.select-placeholder")}),x?.map(e=>(0,r.jsx)("option",{value:e.id,children:e.name},e.id))]},v?"loading-programs":"programs"),(0,r.jsxs)(i.A,{required:!0,label:(0,d.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-protocol.label"),...p("protocolUuid",{disabled:!T||j,onChange:e=>{h("protocolUuid",e.target.value),t({programId:T,protocolUuid:e.target.value})}}),children:[(0,r.jsx)("option",{value:"",children:(0,d.Tl)("ce-integration.follow-up-task.change-group-program.ui.select-protocol.select-placeholder")}),R?.protocols?.data?.map(e=>(0,r.jsx)("option",{value:e.uuid,children:e.name},e.uuid))]},j?"loading-program":"program")]})}})},78262(e,a,t){var r=t(74848),o=t(65908),s=t(53515),l=t(10378),i=t(69158),n=t(82703),u=t(16552);t.d(a,{},{b:e=>{let{organizationId:a,programId:t,defaultValue:d,onChange:g}=e,{data:c}=(0,n.e2)((0,u.R)(a)&&(0,u.R)(t)?{organizationId:a,id:t}:l.hT);return c?(0,r.jsxs)(s.A,{label:(0,i.Tl)("ce-integration.follow-up-task.change-protocol.ui.select-protocol.label"),onChange:e=>g(e.target.value),defaultValue:d,children:[(0,r.jsx)("option",{children:(0,i.Tl)("ce-integration.follow-up-task.change-protocol.ui.select-protocol.select-placeholder")}),c.protocols?.data?.map(e=>(0,r.jsx)("option",{value:e.uuid,children:e.name},e.uuid))]}):(0,r.jsx)(o.E,{})}})},64371(e,a,t){var r=t(74848),o=t(96540),s=t(49785),l=t(38160),i=t(65908),n=t(74822),u=t(19732),d=t(53515),g=t(59700),c=t(59634),p=t(61028),m=t(28826),h=t(35817),f=t(39812),T=t(21603),x=t(89460),v=t(64251),R=t(14871),j=t(33922),b=t(69158),I=t(89730);let w=({children:e})=>(0,r.jsx)(g.a,{backgroundColor:"blue",_p:"l",width:"full",borderRadius:"xxxs",children:e}),y=({messageTemplate:e})=>e?(0,r.jsx)(g.a,{_p:"l",width:"full",className:R._P,children:(0,r.jsx)(R.cY,{value:e.message})}):(0,r.jsx)(w,{children:(0,r.jsx)(f.EY,{color:"primary-dark",variant:"strong",children:(0,b.Tl)("ce-integration.follow-up-task.send-message.ui.message-details.none-selected")})}),S="message-template-form",P={title:"",message:"",variants:[],attachedAction:null,keywords:[]},O=({organizationUuid:e,showActions:a,popoverContainerRef:t,onCreate:o,onCancel:l,isSubmitting:i})=>{let n=(0,s.mN)({defaultValues:P}),{register:d,formState:{errors:g},handleSubmit:c}=n;return(0,r.jsx)(s.Op,{...n,children:(0,r.jsx)(j.IF,{organizationUuid:e,children:(0,r.jsxs)(u.B,{as:"form",axis:"y",align:"stretch",_gap:"xl","aria-label":(0,b.Tl)("ce-integration.follow-up-task.send-message.ui.add-message-form.title"),id:S,onSubmit:c(({title:e,message:a})=>o({title:e,message:a})),children:[(0,r.jsx)(T.o,{autoFocus:!0,fullWidth:!0,label:(0,b.Tl)("ce-integration.follow-up-task.send-message.ui.add-message-form.name-input.title"),errorText:g.title?.message,...d("title",{required:(0,b.Tl)("tma.fieldIsRequired")})}),(0,r.jsx)(R.oc,{source:"workflow",fullWidth:!0,showActions:a,popoverContainerRef:t}),(0,r.jsxs)(u.B,{axis:"x",align:"start",_gap:"base",width:"full",children:[(0,r.jsx)(m.t,{type:"submit",form:S,isPending:i,children:(0,b.Tl)("ce-integration.follow-up-task.send-message.ui.add-message-form.add-button.title")}),(0,r.jsx)(x.J,{type:"button",onClick:l,disabled:i,children:(0,b.Tl)("tma.cancel")})]})]})})})};t.d(a,{},{A:e=>{let a,{programUuid:t,organizationUuid:s,patientJourneyBuilderImprovedSendMessageWorkflow:f,patientJourneyBuilderMessageTemplateActions:T,defaultValue:x,onChange:R}=e,[j,{isLoading:S}]=(0,I.eT)(),[P,k]=(0,o.useState)(x??""),[A,q]=(0,o.useState)(!1),N=(0,o.useRef)(null),{data:G,is
1Fetching:E}=(0,I.co)({organizationUuid:s,programUuid:t}),C=(0,o.useMemo)(()=>G?.find(e=>e.uuid===P),[G,P]),U=async e=>{try{let a=await j({organizationUuid:s,programUuid:t,messageTemplate:e}).unwrap();k(a.uuid),R(a.uuid),q(!1),(0,l.o)({message:(0,b.Tl)("luscii.programMessages.messageForm.savedToaster"),type:"success"})}catch(e){(0,v.wd)("Error creating message template",{extra:{error:e,scope:"send-message.tsx"}}),(0,l.o)({type:"failure",message:(0,b.Tl)("luscii.programMessages.messageForm.notificationSaveError")})}};if(!G)return(0,r.jsx)(i.E,{});a=E?(0,r.jsx)(w,{children:(0,r.jsx)(n.I,{})}):A?(0,r.jsx)(O,{organizationUuid:s,showActions:T,popoverContainerRef:N,onCreate:U,onCancel:()=>q(!1),isSubmitting:S}):(0,r.jsx)(y,{messageTemplate:C});let _=e=>{let a=e.target.value;k(a),q(!1),R(a)},F=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("option",{value:"",children:(0,b.Tl)("ce-integration.follow-up-task.send-message.ui.select-placeholder")}),G.map(e=>(0,r.jsx)("option",{value:e.uuid,children:e.title},e.uuid))]});return(0,r.jsxs)(u.B,{ref:e=>{N.current=e?.closest("dialog")??e},axis:"y",align:"stretch",_gap:"l",width:"full",children:[f?(0,r.jsx)(d.A,{fullWidth:!0,label:(0,b.Tl)("ce-integration.follow-up-task.send-message.ui.select-label"),onChange:_,value:P,children:F}):(0,r.jsx)(g.a,{width:"full",children:(0,r.jsx)(c.I,{onChange:_,value:P,children:F})}),f&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.c,{}),a,!A&&(0,r.jsx)(u.B,{axis:"x",align:"start",children:(0,r.jsx)(m.t,{leadingIcon:(0,r.jsx)(h.A,{}),disabled:E,onClick:()=>{q(!0),k(""),R("")},children:(0,b.Tl)("ce-integration.follow-up-task.send-message.ui.add-message-button.title")})})]})]})}})},5538(e,a,t){var r=t(74848),o=t(45388),s=t(59700),l=t(8879),i=t(14100),n=t(69158),u=t(1343),d=t(23148);let g=l.euz(d.I),c=l.KCZ([l.FsL(l.YjP(),l.w1_("item_id|")),l.FsL(l.YjP(),l.w1_("instrument_id|"))]),p=l.FsL(l.Ikc({system:l.YjP(),code:l.YjP(),organizationUuid:l.FsL(l.YjP(),l.uRe()),protocolUuid:l.FsL(l.YjP(),l.uRe()),programUuid:l.FsL(l.YjP(),l.uRe())}),l.pdi(e=>({...e,itemOrInstrumentId:e.code.split("|").at(1)?.trim()})),l.Ikc({system:g,code:c,protocolUuid:l.FsL(l.YjP(),l.uRe()),organizationUuid:l.FsL(l.YjP(),l.uRe()),programUuid:l.FsL(l.YjP(),l.uRe()),itemOrInstrumentId:l.FsL(l.YjP(),l.hq())}));t.d(a,{},{C:e=>{let{protocolUuid:a,itemOrInstrumentId:t}=l.qgA(p,e),{data:d,isLoading:g,error:c}=(0,u.Sq)(e);if(c)throw Error("Unable to obtain protocol thresholds");if(g)return(0,r.jsx)(o.y,{});let m=d?.find(e=>e.item.itemId===t),h=d?.find(e=>e.instrument?.instrumentId===t),f=m?.instrument?.aggregationType==="none",T=m?.instrument?.instrumentId,x=h?.instrument?.instrumentId??T;if(!x)throw Error(`No instrument found for instrument with id ${x} in protocol ${a}`);return(0,r.jsx)(s.a,{_p:"l",children:(0,r.jsx)(i.G,{instrumentId:x,lang:(0,n.JK)(),initialOpenItemIdentifier:f?t:void 0})})}})},74991(e,a,t){var r=t(96540),o=t(50014),s=t.n(o),l=t(34838),i=t(16552),n=t(23148);t.d(a,{},{W:e=>{let{data:a,isLoading:t,isError:o,isSuccess:u}=(0,l.ZK)({...e,includes:["items","calculationStatus","visibilitySettings","items.instrument"]});return(0,r.useMemo)(()=>{if(!a)return{isLoading:t,isSuccess:u,isError:o,data:void 0};let e=a.flatMap(e=>(e.items??[]).flatMap(e=>{let a=e.instrument;return a?[...a.instrumentId?[{system:n.I,code:`instrument_id|${a.instrumentId}`}]:[],...(a.items??[]).map(e=>e.itemId).filter(i.R).map(e=>({system:n.I,code:`item_id|${e}`}))]:[]}));return{isLoading:t,isSuccess:u,isError:o,data:s()(e,e=>`${e.system}|${e.code}`)}},[t,u,o,a])}})},58198(e,a,t){var r=t(96540),o=t(94394),s=t.n(o),l=t(55378),i=t.n(l),n=t(6498),u=t.n(n),d=t(50014),g=t.n(d),c=t(34838),p=t(16552),m=t(23148),h=t(73705);let f=(e,a)=>({instrument:e,item:a});t.d(a,{},{U:e=>{let{data:a,isSuccess:t,isLoading:o,isError:l}=(0,c.ZK)({...e,includes:["items","calculationStatus","visibilitySettings","items.instrument"]});return(0,r.useMemo)(()=>a?{data:(({protocolActions:e})=>{let a=e.flatMap(e=>(e.items??[]).flatMap(a=>(0,p.R)(a.instrument)?[{action:e,instrument:a.instrument}]:[])),[t,r]=u()(a,({instrument:e})=>"none"===e.aggregationType),o=s()(t,({instrument:e})=>e.instrumentId),l=i()(o,e=>{let a=e[0]?.instrument;return a?{uuid:a.instrumentId,code:{system:m.I,code:`instrument_id|${a.instrumentId}`,display:a.name},children:(a.items??[]).filter(e=>"result"!==e.itemType).map(e=>(0,h.r)({programThreshold:f(a,e)}))}:null}).filter(p.R),n=r.map(({action:e,instrument:a})=>{let t=a.items?.find(e=>"result"===e.itemType);return t?(0,h.r)({programThreshold:f(a,t),matchingAction:e}):null}).filter(p.R);return g()([...l,...n],"uuid")})({protocolActions:a}),isSuccess:t,isLoading:o,isError:l}:{isSuccess:t,isLoading:o,isError:l,data:null},[a,t,o,l])}})},46227(e,a,t){var r=t(10034);t.d(a,{},{Q:({organizationId:e,skip:a=!1})=>{let{data:t,isLoading:o,isFetching:s}=(0,r.XO)({orgId:Number(e)},{skip:a});return{organizationPrograms:t,isLoading:o||s,isFetching:s}}})},4319(e,a,t){var r=t(91862),o=t(52926),s=t(21617);let{endpoints:l,useGetOrganizationGroupsQuery:i,useGetProgramsOfGroupQuery:n,useCreateOrganizationGroupMutation:u,useCreateOrganizationGroupProgramsMutation:d,useGetOrganizationGroupQuery:g,useUpdateOrganizationGroupMutation:c,useMigrateOrganizationGroupMutation:p}=o.W.injectEndpoints({endpoints:e=>({getOrganizationGroups:e.query({query:({organizationId:e,activeOnly:a=0,includeSubOrgGroups:t=!1})=>({url:`organization/${e}/groups`,params:{active_only:a,include_sub_org_groups:+!!t},headers:r.B.RequestRTKHeader(r.s.ORGANIZATION)}),transformResponse:e=>e.data,providesTags:[s.Sl.GROUPS]}),getProgramsOfGroup:e.query({query:({groupId:e})=>({url:`groups/${e}/programs`,headers:r.B.RequestRTKHeader(r.s.ORGANIZATION)}),transformResponse:e=>e.data,providesTags:[s.Sl.GROUPS]}),createOrganizationGroup:e.mutation({query:e=>({url:"groups",method:"POST",body:e}),transformResponse:e=>e.data?.id,invalidatesTags:[s.Sl.GROUPS]}),updateOrganizationGroup:e.mutation({query:({groupId:e,groupData:a})=>({url:`groups/${e}`,method:"PUT",body:a}),invalidatesTags:[s.Sl.GROUPS]}),migrateOrganizationGroup:e.mutation({query:({groupId:e,toOrganizationId:a})=>({url:`groups/${e}`,method:"PUT",body:{organization_id:a}}),invalidatesTags:[s.Sl.GROUPS]}),createOrganizationGroupPrograms:e.mutation({query:({groupId:e,programs:a})=>({url:`groups/${e}/programs`,method:"POST",body:{programs:a}}),invalidatesTags:[s.Sl.GROUPS]}),getOrganizationGroup:e.query({query:({groupId:e})=>({url:`groups/${e}`,headers:r.B.RequestRTKHeader(r.s.ORGANIZATION)}),transformResponse:e=>e.data,providesTags:[s.Sl.GROUPS]})}),overrideExisting:!1});t.d(a,{},{$p:u,CS:d,Pj:i,Y6:c,ck:g,kW:p,rZ:n,vZ:l})},10034(e,a,t){var r=t(69843),o=t.n(r),s=t(91862),l=t(25136),i=t(21617);let{endpoints:n,useGetProgramsQuery:u,useGetPaginatedProgramsQuery:d,useGetProgramsForDropdownQuery:g,useCreateProgramMutation:c,useUpd
1ateProgramMutation:p,useCopyProgramsMutation:m}=l.Iu.injectEndpoints({endpoints:e=>({getPrograms:e.query({query:({orgId:e})=>({url:`/organizations/${e}/programs`,headers:s.B.RequestRTKHeader(s.s.ORGANIZATION),params:{page:1,pageSize:1e3,filterAndSortByProgramName:1}}),transformResponse:e=>e.data,providesTags:[i.Rw.PROGRAMS]}),getPaginatedPrograms:e.query({query:({pageNumber:e,pageSize:a,organizationId:t,filterAndSortByProgramName:r,search:l,onlyParentLinkedToGroups:i})=>({url:`/organizations/${t}/programs`,headers:s.B.RequestRTKHeader(s.s.ORGANIZATION,"2.1"),params:{page:e,pageSize:a,filterAndSortByProgramName:Number(r),search:l,onlyParentLinkedToGroups:o()(i)?void 0:+!!i}}),providesTags:[i.Rw.PROGRAMS]}),getProgramsForDropdown:e.query({query:({organizationId:e,search:a,onlyParentLinkedToGroups:t})=>({url:`/organizations/${e}/programs`,headers:s.B.RequestRTKHeader(s.s.ORGANIZATION,"2.1"),params:{page:1,pageSize:1e3,filterAndSortByProgramName:1,search:a,onlyParentLinkedToGroups:o()(t)?void 0:+!!t}}),providesTags:[i.Rw.PROGRAMS]}),createProgram:e.mutation({query:({organizationId:e,program:a})=>({url:`/organizations/${e}/programs`,method:"POST",headers:s.B.RequestRTKHeader(s.s.ORGANIZATION,"2.1"),body:a}),transformResponse:e=>e.data,invalidatesTags:[i.Rw.PROGRAMS,i.Sl.PRACTITIONER_ROLES]}),updateProgram:e.mutation({query:({organizationId:e,programId:a,program:t})=>({url:`/organizations/${e}/programs/${a}`,method:"PUT",headers:s.B.RequestRTKHeader(s.s.ORGANIZATION,"2.1"),body:t}),transformResponse:e=>e.data,invalidatesTags:[i.Rw.PROGRAM,i.Rw.PROGRAMS,i.Sl.PRACTITIONER_ROLES]}),copyPrograms:e.mutation({query:({toGroupId:e,programUuids:a})=>({url:"/programs/copy",method:"POST",headers:s.B.RequestRTKHeader(s.s.ORGANIZATION),body:{toGroupId:e,programUuids:a}}),transformResponse:e=>e.data,invalidatesTags:[i.Rw.PROGRAMS,i.Sl.GROUPS]})}),overrideExisting:!1});t.d(a,{},{HW:m,KZ:d,PO:c,V3:g,XO:u,Yb:p,vZ:n})}}]);

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.