@act-registry/esm-act-app 1.0.1-pre.654 → 1.0.1-pre.660

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/1079.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_act_registry_esm_act_app=globalThis.webpackChunk_act_registry_esm_act_app||[]).push([["1079"],{9529(e,t,i){i.d(t,{bQ:()=>l,bW:()=>d,d5:()=>o});var s=i(3483),a=i.n(s),n=i(6144);let r=`${n.restBaseUrl}/form?v=custom:(uuid,name,display,retired,resources:(name))`;function d(){let{data:e,error:t,isLoading:i}=a()(r,async()=>(await (0,n.openmrsFetch)(r)).data.results.filter(e=>!e.retired&&e.resources?.some(e=>"JSON schema"===e.name)).map(({uuid:e,name:t,display:i})=>({uuid:e,name:i||t})).sort((e,t)=>e.name.localeCompare(t.name)));return{forms:e??[],error:t,isLoading:i}}function l(e){let t=e?`${n.restBaseUrl}/o3/forms/${e}`:null,{data:i,error:s,isLoading:r}=a()(t,async()=>{var e;let i,s;return e=(await (0,n.openmrsFetch)(t)).data,i=[],s=(e=[],t)=>{e.forEach(e=>{if("obsGroup"===e.type)return void s(e.questions,e.label);let a=e.questionOptions?.concept;if("obs"===e.type&&a&&!i.some(e=>e.concept===a)){let s=e.label??a;i.push({concept:a,label:t?`${t}: ${s}`:s})}})},e.pages?.forEach(e=>e.sections?.forEach(e=>s(e.questions))),i});return{fields:i??[],error:s,isLoading:r}}async function o(e){let{data:t}=await (0,n.openmrsFetch)(`${n.restBaseUrl}/actcore/download`,{method:"POST",headers:{"Content-Type":"application/json"},body:e});return t}},6695(e,t,i){i.r(t),i.d(t,{logTabPrivileges:()=>H,default:()=>$});var s=i(7858),a=i(4335),n=i(1943),r=i(6204),d=i(6144),l=i(6354),o=i(7003),c=i(6932),u=i(9529),h=i(9342),m=i(1047),p=i(5802),f=i(8087),g=i(6546),x=i(346),j=i(3571),y=i(6535);let w={saved:{type:"green",verb:"Saved"},edited:{type:"blue",verb:"Edited"},voided:{type:"red",verb:"Voided"},registered:{type:"green",verb:"Registered"},patientStatus:{type:"purple"},user:{type:"teal"},role:{type:"cyan"},clinic:{type:"cyan"},study:{type:"magenta"},flag:{type:"warm-gray"},other:{type:"gray"}},v=["user","from","to","kind","form"];function b({entry:e,label:t}){let i,{t:a}=(0,n.useTranslation)(),{adminLinks:l}=(0,d.useConfig)(),{detail:o,error:c,isLoading:u}=(0,j.OO)(e.revisionId);return i=c?(0,s.jsx)(r.InlineNotification,{kind:"error",statusIconDescription:a("errorIcon","error icon"),lowContrast:!0,hideCloseButton:!0,title:a("couldNotLoadFields","Could not load the form's fields"),subtitle:(0,m.e)(c)}):null===e.revisionId?(0,s.jsx)("p",{className:y.A.muted,children:e.summary??a("noFieldsChanged","No fields recorded")}):u||!o?(0,s.jsx)(r.InlineLoading,{description:a("loading","Loading...")}):o.fields.length?(0,s.jsx)("dl",{className:y.A.fields,children:o.fields.map(t=>(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{children:t.name}),(0,s.jsxs)("dd",{children:["edited"===e.kind&&t.previous&&(0,s.jsx)("span",{className:y.A.previous,children:t.previous}),t.current??(0,s.jsx)("span",{className:y.A.muted,children:a("cleared","cleared")})]})]},t.name))}):(0,s.jsx)("p",{className:y.A.muted,children:a("noFieldsChanged","No fields recorded")}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[o?.voidReason&&(0,s.jsx)(g.K9,{label:a("reason","Reason"),children:o.voidReason}),i]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(g.K9,{label:t,children:(0,x.HH)(e.time)}),e.encounter?.form&&(0,s.jsx)(g.K9,{label:a("form","Form"),children:e.encounter.visitDate?a("formOnVisitDate","{{form}}, visit of {{date}}",{form:e.encounter.form.name,date:e.encounter.visitDate}):e.encounter.form.name}),(e.ip||e.userAgent)&&(0,s.jsx)(g.K9,{label:a("from","From"),children:(0,x.$G)(a,e.ip,e.userAgent)}),e.target?.kind==="patient"&&e.target.uuid&&(0,s.jsx)("p",{className:y.A.detailLine,children:(0,s.jsx)(d.ConfigurableLink,{to:(0,h.z)(e.target.uuid),children:a("openPatientsChart","Open {{name}}'s chart",{name:e.target.display})})}),(0,s.jsx)("p",{className:y.A.detailLine,children:(0,s.jsx)(d.ConfigurableLink,{to:`${l.auditLogsUrl}?username=${encodeURIComponent(e.user.username)}`,children:a("revisionInAuditModule","This change in the audit module (every field, every revision)")})})]})]})}function A({filters:e,onFilters:t}){let{t:i}=(0,n.useTranslation)(),{adminLinks:l}=(0,d.useConfig)(),{forms:o}=(0,u.bW)(),c=(0,a.useMemo)(()=>({...(0,f.s1)(e),kind:e.kind||void 0,form:e.form||void 0}),[e]),[h,m]=(0,f.wI)(JSON.stringify(c)),{page:C,error:I,isLoading:T}=(0,j.v5)(c,h),N={saved:i("kindSaved","Saved"),edited:i("kindEdited","Edited"),voided:i("kindVoided","Voided"),registered:i("kindRegistered","Registered"),patientStatus:i("kindPatientStatus","Patient status"),user:i("kindUser","User"),role:i("kindRole","Role"),clinic:i("kindClinic","Clinic"),study:i("kindStudy","Study"),flag:i("kindFlag","Flag"),other:i("kindOther","Other")},S={...N,saved:i("savedAForm","Saved a form"),edited:i("editedAForm","Edited a form"),voided:i("voidedAForm","Voided a form"),registered:i("registeredAPatient","Registered a patient"),user:i("users","Users"),role:i("roles","Roles"),clinic:i("clinics","Clinics"),study:i("studies","Studies"),flag:i("flags","Flags")},k=e=>N[e.kind]??e.kind,F=(C?.results??[]).map((e,t)=>{let a;return{key:null===e.revisionId?`row-${h.startIndex+t}`:String(e.revisionId),time:(0,s.jsx)("span",{title:(0,x.HH)(e.time),children:(0,x.Mt)(i,e.time)}),user:(0,s.jsx)(g.qd,{user:e.user}),action:(0,s.jsx)(g.JN,{tag:(0,s.jsx)(r.Tag,{size:"sm",type:w[e.kind]?.type??"gray",children:k(e)}),text:(a=w[e.kind]?.verb)&&e.action.startsWith(`${a} `)?e.action.slice(a.length+1):e.action,summary:e.summary}),target:e.target?(0,s.jsx)(g.CQ,{display:e.target.display,id:e.target.actId}):"",detail:(0,s.jsx)(b,{entry:e,label:k(e)})}}),L=[i("time","Time"),i("user","User"),i("action","Action"),i("summary","Summary"),i("target","Target")],R=async()=>(await (0,j.Rc)(e=>(0,j.zX)(c,e),e=>e)).results.map(e=>[(0,x.HH)(e.time),e.user.username??"",e.action,e.summary??"",[e.target?.display,e.target?.actId].filter(Boolean).join(" ")]);return(0,s.jsxs)("div",{className:y.A.tab,children:[(0,s.jsxs)(f.yA,{filters:e,onChange:t,actions:(0,s.jsx)(p.F,{name:"logs-activity",list:"logs:activity",identifiers:!0,filters:(0,f._F)(e,v),headers:L,rows:R,disabled:!C?.results.length,size:"md"}),children:[(0,s.jsxs)(r.Select,{id:"logs-kind",labelText:i("action","Action"),value:e.kind,onChange:e=>t({kind:e.target.value}),children:[(0,s.jsx)(r.SelectItem,{value:"",text:i("any","Any")}),Object.keys(w).filter(e=>"other"!==e).map(e=>(0,s.jsx)(r.SelectItem,{value:e,text:S[e]},e))]}),(0,s.jsxs)(r.Select,{id:"logs-form",labelText:i("form","Form"),value:e.form,onChange:e=>t({form:e.target.value}),children:[(0,s.jsx)(r.SelectItem,{value:"",text:i("any","Any")}),o.map(e=>(0,s.jsx)(r.SelectItem,{value:e.uuid,text:e.name},e.uuid))]})]}),(0,s.jsx)(f.fr,{from:C?.from,filters:e}),(0,s.jsx)(g.VR,{label:i("activity","Activity"),rows:F,totalCount:C?.totalCount??0,paging:h,onPage:m,isLoading:T,error:I,filtered:v.some(t=>e[t]),emptyMessage:i("noActivity","There is no activity to display")}),(0,s.jsxs)("p",{className:y.A.explanation,children:[i("activityExplanation","Activity lists what ACT's users change: forms, patients, users, roles, clinics, studies and flags. Changes to the server's own setup (concepts, form definitions, settings) stay in the audit module, for the same privilege.")," ",(0,s.jsx)(d.ConfigurableLink,{to:l.auditLogsUrl,children:i("openAuditModule","Open the audit module")})]})]})}let C=["user","from","to","form","identifiers"],I=["with","without","research"],T=e=>e?.identifiers?"with":e?.researchOnly?"research":"without";function N({filters:e,onFilters:t}){let i,{t:l}=(0,n.useTranslation)(),{forms:c}=(0,u.bW)(),h=(0,a.useMemo)(()=>({...(0,f.s1)(e),form:e.form||void 0,identifiers:e.identifiers||void 0}),[e]),[m,w]=(0,f.wI)(JSON.stringify(h)),{page:v,error:b,isLoading:A}=(0,j.au)(h),S=v?.results??[],k={with:l("withIdentifiers","With identifiers"),without:l("withoutIdentifiers","Without identifiers"),research:l("researchParticipantsNoIdentifiers","Research participants, no identifiers")},F={with:"red",without:"gray",research:"purple"},L=e=>e.startDate||e.endDate?l("downloadPeriod","{{from}} to {{to}}",{from:e.startDate??"...",to:e.endDate??"..."}):l("allDates","All dates"),R=e=>e.list?.name??e.form?.name??"",P={downloads:S.length,withIdentifiers:S.filter(e=>e.detail?.identifiers).length,users:new Set(S.map(e=>e.user.username)).size,rows:S.reduce((e,t)=>e+(t.detail?.rows??0),0)},H=S.slice(m.startIndex,m.startIndex+m.limit).map((e,t)=>({key:`${e.date}-${m.startIndex+t}`,time:(0,s.jsx)("span",{title:(0,x.HH)(e.date),children:(0,x.Mt)(l,e.date)}),user:(0,s.jsx)(g.qd,{user:e.user}),action:(0,s.jsx)(g.JN,{text:l("downloaded","Downloaded"),summary:e.detail?e.list?l("listColumns","{{list}}, {{count}} columns",{list:e.list.name,count:e.detail.fields.length}):l("fieldsAndPeriod","{{count}} fields, {{period}}",{count:e.detail.fields.length,period:L(e.detail)}):""}),target:R(e),cells:[e.detail?.rows??"",e.detail?(0,s.jsx)(r.Tag,{size:"sm",type:F[T(e.detail)],children:k[T(e.detail)]}):""],detail:e.detail?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:y.A.detailHeading,children:l("fieldsInTheFile","Fields in the file")}),(0,s.jsx)("div",{className:y.A.tags,"data-testid":"fields-in-file",children:e.detail.fields.map(e=>(0,s.jsx)(r.Tag,{size:"sm",type:"outline",children:e},e))}),(0,s.jsx)("p",{className:y.A.detailHeading,children:l("fieldsLeftOut","Fields the user chose and the file left out")}),(0,s.jsx)("div",{className:y.A.tags,"data-testid":"fields-left-out",children:e.detail.withheld.length?e.detail.withheld.map(e=>(0,s.jsx)(r.Tag,{size:"sm",type:"outline",children:e},e)):(0,s.jsx)("span",{className:y.A.muted,children:l("none","None")})}),e.detail.identifiers&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{className:y.A.detailHeading,children:l("whyIdentifiers","Why identifiers were included")}),(0,s.jsx)("p",{"data-testid":"why-identifiers",children:l("identifiersPrivilegeHeld","The user holds {{privilege}}, so the file keeps names, birth dates, ID numbers and phones.",{privilege:o.oy})})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(g.K9,{label:l("recorded","Recorded"),children:(0,x.HH)(e.date)}),(0,s.jsx)(g.K9,{label:l("rows","Rows"),children:e.detail.rows}),!e.list&&(0,s.jsx)(g.K9,{label:l("period","Period"),children:L(e.detail)}),(0,s.jsx)(g.K9,{label:l("patients","Patients"),children:e.detail.researchOnly?l("researchParticipantsOnly","Only those who opted in to research"):l("everyPatient","Every patient on the registry")})]})]}):(0,s.jsx)("p",{className:y.A.muted,children:l("noDownloadDetail","No detail was recorded")})})),O=[l("time","Time"),l("user","User"),l("target","Target"),l("fields","Fields"),l("period","Period"),l("rows","Rows"),l("identifiers","Identifiers")];return(0,s.jsxs)("div",{className:y.A.tab,children:[(0,s.jsxs)(f.yA,{filters:e,onChange:t,actions:(0,s.jsx)(p.F,{name:"logs-downloads",list:"logs:downloads",identifiers:!1,filters:(0,f._F)(e,C),headers:O,rows:()=>S.map(e=>[(0,x.HH)(e.date),e.user.username??"",R(e),e.detail?.fields.join("; ")??"",e.detail&&!e.list?L(e.detail):"",String(e.detail?.rows??""),e.detail?k[T(e.detail)]:""]),disabled:!S.length,size:"md"}),children:[(0,s.jsxs)(r.Select,{id:"logs-download-form",labelText:l("form","Form"),value:e.form,onChange:e=>t({form:e.target.value}),children:[(0,s.jsx)(r.SelectItem,{value:"",text:l("anyForm","Any form")}),c.map(e=>(0,s.jsx)(r.SelectItem,{value:e.uuid,text:e.name},e.uuid))]}),(0,s.jsxs)(r.Select,{id:"logs-identifiers",labelText:l("identifiers","Identifiers"),value:e.identifiers,onChange:e=>t({identifiers:e.target.value}),children:[(0,s.jsx)(r.SelectItem,{value:"",text:l("any","Any")}),I.map(e=>(0,s.jsx)(r.SelectItem,{value:e,text:k[e]},e))]})]}),(0,s.jsx)(f.fr,{from:v?.from,filters:e}),S.length>0&&(0,s.jsxs)("div",{className:y.A.summaryLine,"data-testid":"downloads-summary",children:[(0,s.jsxs)("div",{className:y.A.stat,children:[(0,s.jsx)("strong",{children:P.downloads.toLocaleString()}),(0,s.jsx)("span",{children:e.from?l("downloadsSince","downloads since {{date}}",{date:(i=e.from,(0,d.formatDate)(new Date(i),{time:!1,noToday:!0}))}):l("downloadsLower","downloads")})]}),(0,s.jsxs)("div",{className:y.A.stat,children:[(0,s.jsx)("strong",{children:P.withIdentifiers.toLocaleString()}),(0,s.jsx)("span",{children:l("withIdentifiersLower","with identifiers")})]}),(0,s.jsxs)("div",{className:y.A.stat,children:[(0,s.jsx)("strong",{children:P.users.toLocaleString()}),(0,s.jsx)("span",{children:l("usersLower","users")})]}),(0,s.jsxs)("div",{className:y.A.stat,children:[(0,s.jsx)("strong",{children:P.rows.toLocaleString()}),(0,s.jsx)("span",{children:l("rowsInTotal","rows in total")})]})]}),(0,s.jsx)(g.VR,{label:l("downloads","Downloads"),columns:[l("rows","Rows"),l("identifiers","Identifiers")],rows:H,totalCount:S.length,paging:m,onPage:w,isLoading:A,error:b,filtered:C.some(t=>e[t]),emptyMessage:l("noDownloads","There are no downloads to display")}),(0,s.jsx)("p",{className:y.A.explanation,children:l("downloadsExplanation","Every CSV that leaves ACT is here: Download data, the registry and worklist lists, and these logs. A download is recorded before its first row is sent; if it cannot be recorded, it does not happen.")})]})}var S=i(8406),k=i.n(S);let F=["user","from","to","patient"],L=e=>e.patient?.primaryCareClinic??e.patient?.cardiacClinic;function R({filters:e,onFilters:t}){let{t:i}=(0,n.useTranslation)(),{adminLinks:l}=(0,d.useConfig)(),o=(0,a.useMemo)(()=>({...(0,f.s1)(e),patient:e.patient.trim()||void 0}),[e]),[c,u]=(0,f.wI)(JSON.stringify(o)),{page:h,error:m,isLoading:w}=(0,j.Ht)(o,c),v=(h?.results??[]).map(e=>({key:e.id,time:(0,s.jsx)("span",{title:(0,x.HH)(e.from),children:(0,x.rz)(i,e.from,e.to)}),user:(0,s.jsx)(g.qd,{user:e.user}),action:(0,s.jsx)(g.JN,{text:e.patient?i("openedTheChart","Opened the chart"):e.reads[0]?.description,summary:e.patient||e.reads.length>1?(e=>{let t=[];if(e.count>1){let s=Math.round(k()(e.to).diff(e.from,"second")/60);t.push(s>1?i("readTimesInMinutes","{{count}} times in {{minutes}} minutes",{count:e.count,minutes:s}):i("readTimesWithinAMinute","{{count}} times within a minute",{count:e.count}))}else e.patient&&t.push(e.reads[0]?.description??"");return!1===e.sameClinicAsUser&&t.push(i("patientAtOtherClinic","the patient is at {{clinic}}, not the user's clinic",{clinic:L(e)})),t.filter(Boolean).join("; ")})(e):void 0}),target:e.patient?(0,s.jsx)(g.CQ,{display:e.patient.display,id:e.patient.actId}):e.reads[0]?.entity,detail:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:y.A.detailHeading,children:i("whatWasRead","What was read")}),(0,s.jsx)("dl",{className:y.A.reads,children:e.reads.map((e,t)=>(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{children:k()(e.time).format("HH:mm:ss")}),(0,s.jsx)("dd",{children:e.description})]},`${e.time}-${t}`))})]}),(0,s.jsxs)("div",{children:[e.sessionId&&(0,s.jsx)(g.K9,{label:i("session","Session"),children:e.sessionId}),(e.ip||e.userAgent)&&(0,s.jsx)(g.K9,{label:i("from","From"),children:(0,x.$G)(i,e.ip,e.userAgent)}),e.patient&&null!==e.sameClinicAsUser&&(0,s.jsx)(g.K9,{label:i("patientsClinic","Patient's clinic"),children:e.sameClinicAsUser?i("sameClinicAsUser","{{clinic}}, the same as the user's: expected",{clinic:L(e)}):i("notUsersClinic","{{clinic}}, not the user's",{clinic:L(e)})}),(0,s.jsx)("p",{className:y.A.detailLine,children:(0,s.jsx)(d.ConfigurableLink,{to:l.readAuditUrl,children:i("everyReadInAuditModule","Every read in the audit module")})})]})]})})),b=[i("from","From"),i("to","To"),i("user","User"),i("action","Action"),i("target","Target"),i("reads","Reads")],A=async()=>(await (0,j.Rc)(e=>(0,j.ry)(o,e),e=>e)).results.map(e=>[(0,x.HH)(e.from),(0,x.HH)(e.to),e.user.username??"",e.patient?i("openedTheChart","Opened the chart"):e.reads[0]?.description??"",e.patient?[e.patient.display,e.patient.actId].filter(Boolean).join(" "):e.reads[0]?.entity??"",String(e.count)]);return(0,s.jsxs)("div",{className:y.A.tab,children:[(0,s.jsx)(f.yA,{filters:e,onChange:t,actions:(0,s.jsx)(p.F,{name:"logs-patients-opened",list:"logs:reads",identifiers:!0,filters:(0,f._F)(e,F),headers:b,rows:A,disabled:!h?.results.length,size:"md"}),children:(0,s.jsx)(r.TextInput,{id:"logs-patient",labelText:i("patient","Patient"),placeholder:i("nameOrActId","Name or ACT ID"),value:e.patient,onChange:e=>t({patient:e.target.value})})}),(0,s.jsx)(f.fr,{from:h?.from,filters:e}),(0,s.jsx)(g.VR,{label:i("patientsOpened","Patients opened"),rows:v,totalCount:h?.totalCount??0,paging:c,onPage:u,isLoading:w,error:m,filtered:F.some(t=>e[t]),emptyMessage:i("noReads","There are no reads to display")}),(0,s.jsx)("p",{className:y.A.explanation,children:i("readsExplanation","A user's reads of one patient within an hour are one row; expand it for each one. The row says when the patient is at another clinic than the user's.")})]})}var P=i(3995);let H={activity:o.Kp,reads:o.$N,downloads:o.$N,signIns:o.Nd},O=["activity","reads","downloads","signIns"];function $(){let{t:e}=(0,n.useTranslation)(),{user:t}=(0,d.useSession)(),[i,a]=(0,c.y)(f.hx),o=O.filter(e=>t&&(0,d.userHasAccess)(H[e],t)),u=Math.max(0,o.indexOf(i.tab)),h={activity:{label:e("activity","Activity"),hint:e("whatUsersChanged","what users changed"),content:(0,s.jsx)(A,{filters:i,onFilters:a})},reads:{label:e("patientsOpened","Patients opened"),hint:e("whatUsersRead","what users read"),content:(0,s.jsx)(R,{filters:i,onFilters:a})},downloads:{label:e("downloads","Downloads"),hint:e("whatLeftTheSystem","what left the system"),content:(0,s.jsx)(N,{filters:i,onFilters:a})},signIns:{label:e("signIns","Sign-ins"),content:(0,s.jsx)(P.b,{filters:i,onFilters:a})}};return o.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.r,{title:e("logs","Logs"),illustration:(0,s.jsx)(d.PatientDocumentsPictogram,{})}),(0,s.jsx)("div",{className:y.A.page,children:(0,s.jsxs)(r.Tabs,{selectedIndex:u,onChange:({selectedIndex:e})=>a({tab:o[e]}),children:[(0,s.jsx)(r.TabList,{"aria-label":e("logs","Logs"),children:o.map(e=>(0,s.jsxs)(r.Tab,{children:[h[e].label,h[e].hint&&(0,s.jsx)("span",{className:y.A.tabHint,children:h[e].hint})]},e))}),(0,s.jsx)(r.TabPanels,{children:o.map((e,t)=>(0,s.jsx)(r.TabPanel,{children:t===u&&h[e].content},e))})]})})]}):null}},9342(e,t,i){i.d(t,{z:()=>s});let s=e=>`\${openmrsSpaBase}/patient/${e}/chart`},6932(e,t,i){i.d(t,{j:()=>r,y:()=>d});var s=i(4335);function a(e){let t=new URLSearchParams(window.location.search);return Object.fromEntries(e.map(e=>[e,t.get(e)??""]))}let n=e=>{let t=new URLSearchParams(window.location.search);return e.every(e=>!t.has(e))};function r(e,t,i){let s=new URLSearchParams(window.location.search);return e.forEach(e=>{t[e]?s.set(e,t[e]):i.includes(e)?s.set(e,""):s.delete(e)}),`${window.location.pathname}${s.size?`?${s}`:""}`}function d(e,t={}){let i="pending"!==t,l=e=>i?{...e,...t}:e,[o,c]=(0,s.useState)(()=>n(e)?l(a(e)):a(e)),u=(0,s.useRef)(!i&&n(e)),h=i?Object.keys(t):[];return(0,s.useEffect)(()=>{i&&u.current&&(u.current=!1,c(e=>({...e,...t})))},[i]),(0,s.useEffect)(()=>{if(!i)return;let t=setTimeout(()=>{let t=r(e,o,h);t!==`${window.location.pathname}${window.location.search}`&&window.history.replaceState(window.history.state,"",t)},300);return()=>clearTimeout(t)},[o,e,i]),(0,s.useEffect)(()=>{let t=()=>c(t=>{let i=n(e)?l(a(e)):a(e);return e.every(e=>t[e]===i[e])?t:i});return window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)},[e,i]),[o,e=>c(t=>({...t,...e})),!i]}}}]);
1
+ "use strict";(globalThis.webpackChunk_act_registry_esm_act_app=globalThis.webpackChunk_act_registry_esm_act_app||[]).push([["1079"],{9529(e,t,i){i.d(t,{JW:()=>c,PS:()=>o,bQ:()=>d,bW:()=>l,bp:()=>m,c9:()=>h});var s=i(3483),a=i.n(s),n=i(6144);let r=`${n.restBaseUrl}/form?v=custom:(uuid,name,display,retired,resources:(name))`;function l(){let{data:e,error:t,isLoading:i}=a()(r,async()=>(await (0,n.openmrsFetch)(r)).data.results.filter(e=>!e.retired&&e.resources?.some(e=>"JSON schema"===e.name)).map(({uuid:e,name:t,display:i})=>({uuid:e,name:i||t})).sort((e,t)=>e.name.localeCompare(t.name)));return{forms:e??[],error:t,isLoading:i}}function d(e){let t=e?`${n.restBaseUrl}/o3/forms/${e}`:null,{data:i,error:s,isLoading:r}=a()(t,async()=>{var e;let i,s;return e=(await (0,n.openmrsFetch)(t)).data,i=[],s=(e=[],t)=>{e.forEach(e=>{if("obsGroup"===e.type)return void s(e.questions,e.label);let a=e.questionOptions?.concept;if("obs"===e.type&&a&&!i.some(e=>e.concept===a)){let s=e.label??a;i.push({concept:a,label:t?`${t}: ${s}`:s})}})},e.pages?.forEach(e=>e.sections?.forEach(e=>s(e.questions))),i});return{fields:i??[],error:s,isLoading:r}}let o=["givenName","familyName","birthDate","identifiers","phones","sex","age"],c=["givenName","familyName","birthDate","identifiers","phones"],m=e=>({givenName:e("givenName","Given name"),familyName:e("familyName","Family name"),birthDate:e("birthDate","Birth date"),identifiers:e("idNumbers","ID numbers"),phones:e("phoneNumbers","Phone numbers"),sex:e("sex","Sex"),age:e("age","Age")});async function h(e){let{data:t}=await (0,n.openmrsFetch)(`${n.restBaseUrl}/actcore/download`,{method:"POST",headers:{"Content-Type":"application/json"},body:e});return t}},6695(e,t,i){i.r(t),i.d(t,{logTabPrivileges:()=>O,default:()=>D});var s=i(7858),a=i(4335),n=i(1943),r=i(6204),l=i(6144),d=i(6354),o=i(7003),c=i(6932),m=i(9529),h=i(9342),u=i(1047),p=i(5802),f=i(8087),g=i(6546),x=i(346),j=i(3571),y=i(6535);let w={saved:{type:"green",verb:"Saved"},edited:{type:"blue",verb:"Edited"},voided:{type:"red",verb:"Voided"},registered:{type:"green",verb:"Registered"},patientStatus:{type:"purple"},user:{type:"teal"},role:{type:"cyan"},clinic:{type:"cyan"},study:{type:"magenta"},flag:{type:"warm-gray"},other:{type:"gray"}},v=["user","from","to","kind","form"];function b({entry:e,label:t}){let i,{t:a}=(0,n.useTranslation)(),{adminLinks:d}=(0,l.useConfig)(),{detail:o,error:c,isLoading:m}=(0,j.OO)(e.revisionId);return i=c?(0,s.jsx)(r.InlineNotification,{kind:"error",statusIconDescription:a("errorIcon","error icon"),lowContrast:!0,hideCloseButton:!0,title:a("couldNotLoadFields","Could not load the form's fields"),subtitle:(0,u.e)(c)}):null===e.revisionId?(0,s.jsx)("p",{className:y.A.muted,children:e.summary??a("noFieldsChanged","No fields recorded")}):m||!o?(0,s.jsx)(r.InlineLoading,{description:a("loading","Loading...")}):o.fields.length?(0,s.jsx)("dl",{className:y.A.fields,children:o.fields.map(t=>(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{children:t.name}),(0,s.jsxs)("dd",{children:["edited"===e.kind&&t.previous&&(0,s.jsx)("span",{className:y.A.previous,children:t.previous}),t.current??(0,s.jsx)("span",{className:y.A.muted,children:a("cleared","cleared")})]})]},t.name))}):(0,s.jsx)("p",{className:y.A.muted,children:a("noFieldsChanged","No fields recorded")}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[o?.voidReason&&(0,s.jsx)(g.K9,{label:a("reason","Reason"),children:o.voidReason}),i]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(g.K9,{label:t,children:(0,x.HH)(e.time)}),e.encounter?.form&&(0,s.jsx)(g.K9,{label:a("form","Form"),children:e.encounter.visitDate?a("formOnVisitDate","{{form}}, visit of {{date}}",{form:e.encounter.form.name,date:e.encounter.visitDate}):e.encounter.form.name}),(e.ip||e.userAgent)&&(0,s.jsx)(g.K9,{label:a("from","From"),children:(0,x.$G)(a,e.ip,e.userAgent)}),e.target?.kind==="patient"&&e.target.uuid&&(0,s.jsx)("p",{className:y.A.detailLine,children:(0,s.jsx)(l.ConfigurableLink,{to:(0,h.z)(e.target.uuid),children:a("openPatientsChart","Open {{name}}'s chart",{name:e.target.display})})}),(0,s.jsx)("p",{className:y.A.detailLine,children:(0,s.jsx)(l.ConfigurableLink,{to:`${d.auditLogsUrl}?username=${encodeURIComponent(e.user.username)}`,children:a("revisionInAuditModule","This change in the audit module (every field, every revision)")})})]})]})}function A({filters:e,onFilters:t}){let{t:i}=(0,n.useTranslation)(),{adminLinks:d}=(0,l.useConfig)(),{forms:o}=(0,m.bW)(),c=(0,a.useMemo)(()=>({...(0,f.s1)(e),kind:e.kind||void 0,form:e.form||void 0}),[e]),[h,u]=(0,f.wI)(JSON.stringify(c)),{page:C,error:N,isLoading:I}=(0,j.v5)(c,h),S={saved:i("kindSaved","Saved"),edited:i("kindEdited","Edited"),voided:i("kindVoided","Voided"),registered:i("kindRegistered","Registered"),patientStatus:i("kindPatientStatus","Patient status"),user:i("kindUser","User"),role:i("kindRole","Role"),clinic:i("kindClinic","Clinic"),study:i("kindStudy","Study"),flag:i("kindFlag","Flag"),other:i("kindOther","Other")},T={...S,saved:i("savedAForm","Saved a form"),edited:i("editedAForm","Edited a form"),voided:i("voidedAForm","Voided a form"),registered:i("registeredAPatient","Registered a patient"),user:i("users","Users"),role:i("roles","Roles"),clinic:i("clinics","Clinics"),study:i("studies","Studies"),flag:i("flags","Flags")},F=e=>S[e.kind]??e.kind,k=(C?.results??[]).map((e,t)=>{let a;return{key:null===e.revisionId?`row-${h.startIndex+t}`:String(e.revisionId),time:(0,s.jsx)("span",{title:(0,x.HH)(e.time),children:(0,x.Mt)(i,e.time)}),user:(0,s.jsx)(g.qd,{user:e.user}),action:(0,s.jsx)(g.JN,{tag:(0,s.jsx)(r.Tag,{size:"sm",type:w[e.kind]?.type??"gray",children:F(e)}),text:(a=w[e.kind]?.verb)&&e.action.startsWith(`${a} `)?e.action.slice(a.length+1):e.action,summary:e.summary}),target:e.target?(0,s.jsx)(g.CQ,{display:e.target.display,id:e.target.actId}):"",detail:(0,s.jsx)(b,{entry:e,label:F(e)})}}),P=[i("time","Time"),i("user","User"),i("action","Action"),i("summary","Summary"),i("target","Target")],L=async()=>(await (0,j.Rc)(e=>(0,j.zX)(c,e),e=>e)).results.map(e=>[(0,x.HH)(e.time),e.user.username??"",e.action,e.summary??"",[e.target?.display,e.target?.actId].filter(Boolean).join(" ")]);return(0,s.jsxs)("div",{className:y.A.tab,children:[(0,s.jsxs)(f.yA,{filters:e,onChange:t,actions:(0,s.jsx)(p.F,{name:"logs-activity",list:"logs:activity",identifiers:!0,filters:(0,f._F)(e,v),headers:P,rows:L,disabled:!C?.results.length,size:"md"}),children:[(0,s.jsxs)(r.Select,{id:"logs-kind",labelText:i("action","Action"),value:e.kind,onChange:e=>t({kind:e.target.value}),children:[(0,s.jsx)(r.SelectItem,{value:"",text:i("any","Any")}),Object.keys(w).filter(e=>"other"!==e).map(e=>(0,s.jsx)(r.SelectItem,{value:e,text:T[e]},e))]}),(0,s.jsxs)(r.Select,{id:"logs-form",labelText:i("form","Form"),value:e.form,onChange:e=>t({form:e.target.value}),children:[(0,s.jsx)(r.SelectItem,{value:"",text:i("any","Any")}),o.map(e=>(0,s.jsx)(r.SelectItem,{value:e.uuid,text:e.name},e.uuid))]})]}),(0,s.jsx)(f.fr,{from:C?.from,filters:e}),(0,s.jsx)(g.VR,{label:i("activity","Activity"),rows:k,totalCount:C?.totalCount??0,paging:h,onPage:u,isLoading:I,error:N,filtered:v.some(t=>e[t]),emptyMessage:i("noActivity","There is no activity to display")}),(0,s.jsxs)("p",{className:y.A.explanation,children:[i("activityExplanation","Activity lists what ACT's users change: forms, patients, users, roles, clinics, studies and flags. Changes to the server's own setup (concepts, form definitions, settings) stay in the audit module, for the same privilege.")," ",(0,s.jsx)(l.ConfigurableLink,{to:d.auditLogsUrl,children:i("openAuditModule","Open the audit module")})]})]})}let C=["user","from","to","form","identifiers"],N=["with","without","research"],I=e=>e?.identifiers?"with":e?.researchOnly?"research":"without";function S({filters:e,onFilters:t}){let i,{t:d}=(0,n.useTranslation)(),{forms:c}=(0,m.bW)(),h=(0,a.useMemo)(()=>({...(0,f.s1)(e),form:e.form||void 0,identifiers:e.identifiers||void 0}),[e]),[u,w]=(0,f.wI)(JSON.stringify(h)),{page:v,error:b,isLoading:A}=(0,j.au)(h),T=v?.results??[],F={with:d("withIdentifiers","With identifiers"),without:d("withoutIdentifiers","Without identifiers"),research:d("researchParticipantsNoIdentifiers","Research participants, no identifiers")},k={with:"red",without:"gray",research:"purple"},P=(0,m.bp)(d),L={active:d("active","Active"),inactive:d("inactive","Inactive")},R=e=>e.startDate||e.endDate?d("downloadPeriod","{{from}} to {{to}}",{from:e.startDate??"...",to:e.endDate??"..."}):d("allDates","All dates"),O=e=>e.list?.name??e.form?.name??(e.detail?.forms??[]).map(e=>e.name).join(", "),H={downloads:T.length,withIdentifiers:T.filter(e=>e.detail?.identifiers).length,users:new Set(T.map(e=>e.user.username)).size,rows:T.reduce((e,t)=>e+(t.detail?.rows??0),0)},D=T.slice(u.startIndex,u.startIndex+u.limit).map((e,t)=>{let i;return{key:`${e.date}-${u.startIndex+t}`,time:(0,s.jsx)("span",{title:(0,x.HH)(e.date),children:(0,x.Mt)(d,e.date)}),user:(0,s.jsx)(g.qd,{user:e.user}),action:(0,s.jsx)(g.JN,{text:d("downloaded","Downloaded"),summary:e.detail?e.list?d("listColumns","{{list}}, {{count}} columns",{list:e.list.name,count:e.detail.fields.length}):d("fieldsAndPeriod","{{count}} fields, {{period}}",{count:e.detail.fields.length,period:R(e.detail)}):""}),target:O(e),cells:[e.detail?.rows??"",e.detail?(0,s.jsx)(r.Tag,{size:"sm",type:k[I(e.detail)],children:F[I(e.detail)]}):""],detail:e.detail?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:y.A.detailHeading,children:d("fieldsInTheFile","Fields in the file")}),(0,s.jsx)("div",{className:y.A.tags,"data-testid":"fields-in-file",children:e.detail.fields.map(e=>(0,s.jsx)(r.Tag,{size:"sm",type:"outline",children:e},e))}),(0,s.jsx)("p",{className:y.A.detailHeading,children:d("fieldsLeftOut","Fields the user chose and the file left out")}),(0,s.jsx)("div",{className:y.A.tags,"data-testid":"fields-left-out",children:e.detail.withheld.length?e.detail.withheld.map(e=>(0,s.jsx)(r.Tag,{size:"sm",type:"outline",children:e},e)):(0,s.jsx)("span",{className:y.A.muted,children:d("none","None")})}),e.detail.identifiers&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{className:y.A.detailHeading,children:d("whyIdentifiers","Why identifiers were included")}),(0,s.jsx)("p",{"data-testid":"why-identifiers",children:d("identifyingFieldsKept","The user holds {{privilege}}, so the file keeps fields that identify the patient.",{privilege:o.oy})})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(g.K9,{label:d("recorded","Recorded"),children:(0,x.HH)(e.date)}),(0,s.jsx)(g.K9,{label:d("rows","Rows"),children:e.detail.rows}),!e.list&&(0,s.jsx)(g.K9,{label:d("period","Period"),children:R(e.detail)}),(0,s.jsx)(g.K9,{label:d("patients","Patients"),children:e.detail.researchOnly?d("researchParticipantsOnly","Only those who opted in to research"):!e.list&&(i=e.detail,i.filters?.status||i.filters?.cardiacClinic||i.filters?.primaryCareClinic)?d("patientsTheFiltersKept","Only those the filters kept"):d("everyPatient","Every patient on the registry")}),!e.list&&(0,s.jsxs)(s.Fragment,{children:[e.detail.filters?.status&&(0,s.jsx)(g.K9,{label:d("status","Status"),children:L[e.detail.filters.status]??e.detail.filters.status}),e.detail.filters?.cardiacClinic&&(0,s.jsx)(g.K9,{label:d("cardiacClinic","Cardiac clinic"),children:e.detail.filters.cardiacClinic}),e.detail.filters?.primaryCareClinic&&(0,s.jsx)(g.K9,{label:d("primaryCareClinic","Primary care clinic"),children:e.detail.filters.primaryCareClinic}),e.detail.patient&&(0,s.jsx)(g.K9,{label:d("patientFields","Patient fields"),children:[d("actId","ACT ID"),...e.detail.patient.map(e=>P[e]??e)].join(", ")}),void 0!==e.detail.rowPerPatient&&(0,s.jsx)(g.K9,{label:d("layout","Layout"),children:e.detail.rowPerPatient?d("rowPerPatient","A row per patient"):d("rowPerSavedForm","A row per saved form")})]})]})]}):(0,s.jsx)("p",{className:y.A.muted,children:d("noDownloadDetail","No detail was recorded")})}}),$=[d("time","Time"),d("user","User"),d("target","Target"),d("fields","Fields"),d("period","Period"),d("rows","Rows"),d("identifiers","Identifiers")];return(0,s.jsxs)("div",{className:y.A.tab,children:[(0,s.jsxs)(f.yA,{filters:e,onChange:t,actions:(0,s.jsx)(p.F,{name:"logs-downloads",list:"logs:downloads",identifiers:!1,filters:(0,f._F)(e,C),headers:$,rows:()=>T.map(e=>[(0,x.HH)(e.date),e.user.username??"",O(e),e.detail?.fields.join("; ")??"",e.detail&&!e.list?R(e.detail):"",String(e.detail?.rows??""),e.detail?F[I(e.detail)]:""]),disabled:!T.length,size:"md"}),children:[(0,s.jsxs)(r.Select,{id:"logs-download-form",labelText:d("form","Form"),value:e.form,onChange:e=>t({form:e.target.value}),children:[(0,s.jsx)(r.SelectItem,{value:"",text:d("anyForm","Any form")}),c.map(e=>(0,s.jsx)(r.SelectItem,{value:e.uuid,text:e.name},e.uuid))]}),(0,s.jsxs)(r.Select,{id:"logs-identifiers",labelText:d("identifiers","Identifiers"),value:e.identifiers,onChange:e=>t({identifiers:e.target.value}),children:[(0,s.jsx)(r.SelectItem,{value:"",text:d("any","Any")}),N.map(e=>(0,s.jsx)(r.SelectItem,{value:e,text:F[e]},e))]})]}),(0,s.jsx)(f.fr,{from:v?.from,filters:e}),T.length>0&&(0,s.jsxs)("div",{className:y.A.summaryLine,"data-testid":"downloads-summary",children:[(0,s.jsxs)("div",{className:y.A.stat,children:[(0,s.jsx)("strong",{children:H.downloads.toLocaleString()}),(0,s.jsx)("span",{children:e.from?d("downloadsSince","downloads since {{date}}",{date:(i=e.from,(0,l.formatDate)(new Date(i),{time:!1,noToday:!0}))}):d("downloadsLower","downloads")})]}),(0,s.jsxs)("div",{className:y.A.stat,children:[(0,s.jsx)("strong",{children:H.withIdentifiers.toLocaleString()}),(0,s.jsx)("span",{children:d("withIdentifiersLower","with identifiers")})]}),(0,s.jsxs)("div",{className:y.A.stat,children:[(0,s.jsx)("strong",{children:H.users.toLocaleString()}),(0,s.jsx)("span",{children:d("usersLower","users")})]}),(0,s.jsxs)("div",{className:y.A.stat,children:[(0,s.jsx)("strong",{children:H.rows.toLocaleString()}),(0,s.jsx)("span",{children:d("rowsInTotal","rows in total")})]})]}),(0,s.jsx)(g.VR,{label:d("downloads","Downloads"),columns:[d("rows","Rows"),d("identifiers","Identifiers")],rows:D,totalCount:T.length,paging:u,onPage:w,isLoading:A,error:b,filtered:C.some(t=>e[t]),emptyMessage:d("noDownloads","There are no downloads to display")}),(0,s.jsx)("p",{className:y.A.explanation,children:d("downloadsExplanation","Every CSV that leaves ACT is here: Download data, the registry and worklist lists, and these logs. A download is recorded before its first row is sent; if it cannot be recorded, it does not happen.")})]})}var T=i(8406),F=i.n(T);let k=["user","from","to","patient"],P=e=>e.patient?.primaryCareClinic??e.patient?.cardiacClinic;function L({filters:e,onFilters:t}){let{t:i}=(0,n.useTranslation)(),{adminLinks:d}=(0,l.useConfig)(),o=(0,a.useMemo)(()=>({...(0,f.s1)(e),patient:e.patient.trim()||void 0}),[e]),[c,m]=(0,f.wI)(JSON.stringify(o)),{page:h,error:u,isLoading:w}=(0,j.Ht)(o,c),v=(h?.results??[]).map(e=>({key:e.id,time:(0,s.jsx)("span",{title:(0,x.HH)(e.from),children:(0,x.rz)(i,e.from,e.to)}),user:(0,s.jsx)(g.qd,{user:e.user}),action:(0,s.jsx)(g.JN,{text:e.patient?i("openedTheChart","Opened the chart"):e.reads[0]?.description,summary:e.patient||e.reads.length>1?(e=>{let t=[];if(e.count>1){let s=Math.round(F()(e.to).diff(e.from,"second")/60);t.push(s>1?i("readTimesInMinutes","{{count}} times in {{minutes}} minutes",{count:e.count,minutes:s}):i("readTimesWithinAMinute","{{count}} times within a minute",{count:e.count}))}else e.patient&&t.push(e.reads[0]?.description??"");return!1===e.sameClinicAsUser&&t.push(i("patientAtOtherClinic","the patient is at {{clinic}}, not the user's clinic",{clinic:P(e)})),t.filter(Boolean).join("; ")})(e):void 0}),target:e.patient?(0,s.jsx)(g.CQ,{display:e.patient.display,id:e.patient.actId}):e.reads[0]?.entity,detail:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:y.A.detailHeading,children:i("whatWasRead","What was read")}),(0,s.jsx)("dl",{className:y.A.reads,children:e.reads.map((e,t)=>(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{children:F()(e.time).format("HH:mm:ss")}),(0,s.jsx)("dd",{children:e.description})]},`${e.time}-${t}`))})]}),(0,s.jsxs)("div",{children:[e.sessionId&&(0,s.jsx)(g.K9,{label:i("session","Session"),children:e.sessionId}),(e.ip||e.userAgent)&&(0,s.jsx)(g.K9,{label:i("from","From"),children:(0,x.$G)(i,e.ip,e.userAgent)}),e.patient&&null!==e.sameClinicAsUser&&(0,s.jsx)(g.K9,{label:i("patientsClinic","Patient's clinic"),children:e.sameClinicAsUser?i("sameClinicAsUser","{{clinic}}, the same as the user's: expected",{clinic:P(e)}):i("notUsersClinic","{{clinic}}, not the user's",{clinic:P(e)})}),(0,s.jsx)("p",{className:y.A.detailLine,children:(0,s.jsx)(l.ConfigurableLink,{to:d.readAuditUrl,children:i("everyReadInAuditModule","Every read in the audit module")})})]})]})})),b=[i("from","From"),i("to","To"),i("user","User"),i("action","Action"),i("target","Target"),i("reads","Reads")],A=async()=>(await (0,j.Rc)(e=>(0,j.ry)(o,e),e=>e)).results.map(e=>[(0,x.HH)(e.from),(0,x.HH)(e.to),e.user.username??"",e.patient?i("openedTheChart","Opened the chart"):e.reads[0]?.description??"",e.patient?[e.patient.display,e.patient.actId].filter(Boolean).join(" "):e.reads[0]?.entity??"",String(e.count)]);return(0,s.jsxs)("div",{className:y.A.tab,children:[(0,s.jsx)(f.yA,{filters:e,onChange:t,actions:(0,s.jsx)(p.F,{name:"logs-patients-opened",list:"logs:reads",identifiers:!0,filters:(0,f._F)(e,k),headers:b,rows:A,disabled:!h?.results.length,size:"md"}),children:(0,s.jsx)(r.TextInput,{id:"logs-patient",labelText:i("patient","Patient"),placeholder:i("nameOrActId","Name or ACT ID"),value:e.patient,onChange:e=>t({patient:e.target.value})})}),(0,s.jsx)(f.fr,{from:h?.from,filters:e}),(0,s.jsx)(g.VR,{label:i("patientsOpened","Patients opened"),rows:v,totalCount:h?.totalCount??0,paging:c,onPage:m,isLoading:w,error:u,filtered:k.some(t=>e[t]),emptyMessage:i("noReads","There are no reads to display")}),(0,s.jsx)("p",{className:y.A.explanation,children:i("readsExplanation","A user's reads of one patient within an hour are one row; expand it for each one. The row says when the patient is at another clinic than the user's.")})]})}var R=i(3995);let O={activity:o.Kp,reads:o.$N,downloads:o.$N,signIns:o.Nd},H=["activity","reads","downloads","signIns"];function D(){let{t:e}=(0,n.useTranslation)(),{user:t}=(0,l.useSession)(),[i,a]=(0,c.y)(f.hx),o=H.filter(e=>t&&(0,l.userHasAccess)(O[e],t)),m=Math.max(0,o.indexOf(i.tab)),h={activity:{label:e("activity","Activity"),hint:e("whatUsersChanged","what users changed"),content:(0,s.jsx)(A,{filters:i,onFilters:a})},reads:{label:e("patientsOpened","Patients opened"),hint:e("whatUsersRead","what users read"),content:(0,s.jsx)(L,{filters:i,onFilters:a})},downloads:{label:e("downloads","Downloads"),hint:e("whatLeftTheSystem","what left the system"),content:(0,s.jsx)(S,{filters:i,onFilters:a})},signIns:{label:e("signIns","Sign-ins"),content:(0,s.jsx)(R.b,{filters:i,onFilters:a})}};return o.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.r,{title:e("logs","Logs"),illustration:(0,s.jsx)(l.PatientDocumentsPictogram,{})}),(0,s.jsx)("div",{className:y.A.page,children:(0,s.jsxs)(r.Tabs,{selectedIndex:m,onChange:({selectedIndex:e})=>a({tab:o[e]}),children:[(0,s.jsx)(r.TabList,{"aria-label":e("logs","Logs"),children:o.map(e=>(0,s.jsxs)(r.Tab,{children:[h[e].label,h[e].hint&&(0,s.jsx)("span",{className:y.A.tabHint,children:h[e].hint})]},e))}),(0,s.jsx)(r.TabPanels,{children:o.map((e,t)=>(0,s.jsx)(r.TabPanel,{children:t===m&&h[e].content},e))})]})})]}):null}},9342(e,t,i){i.d(t,{z:()=>s});let s=e=>`\${openmrsSpaBase}/patient/${e}/chart`},6932(e,t,i){i.d(t,{j:()=>r,y:()=>l});var s=i(4335);function a(e){let t=new URLSearchParams(window.location.search);return Object.fromEntries(e.map(e=>[e,t.get(e)??""]))}let n=e=>{let t=new URLSearchParams(window.location.search);return e.every(e=>!t.has(e))};function r(e,t,i){let s=new URLSearchParams(window.location.search);return e.forEach(e=>{t[e]?s.set(e,t[e]):i.includes(e)?s.set(e,""):s.delete(e)}),`${window.location.pathname}${s.size?`?${s}`:""}`}function l(e,t={}){let i="pending"!==t,d=e=>i?{...e,...t}:e,[o,c]=(0,s.useState)(()=>n(e)?d(a(e)):a(e)),m=(0,s.useRef)(!i&&n(e)),h=i?Object.keys(t):[];return(0,s.useEffect)(()=>{i&&m.current&&(m.current=!1,c(e=>({...e,...t})))},[i]),(0,s.useEffect)(()=>{if(!i)return;let t=setTimeout(()=>{let t=r(e,o,h);t!==`${window.location.pathname}${window.location.search}`&&window.history.replaceState(window.history.state,"",t)},300);return()=>clearTimeout(t)},[o,e,i]),(0,s.useEffect)(()=>{let t=()=>c(t=>{let i=n(e)?d(a(e)):a(e);return e.every(e=>t[e]===i[e])?t:i});return window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)},[e,i]),[o,e=>c(t=>({...t,...e})),!i]}}}]);
package/dist/1079.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"1079.js","sources":["webpack://@act-registry/esm-act-app/./src/download/download.resource.ts","webpack://@act-registry/esm-act-app/./src/logs/activity-tab.component.tsx","webpack://@act-registry/esm-act-app/./src/logs/downloads-tab.component.tsx","webpack://@act-registry/esm-act-app/./src/logs/reads-tab.component.tsx","webpack://@act-registry/esm-act-app/./src/logs/logs.component.tsx","webpack://@act-registry/esm-act-app/./src/patient-chart-url.ts","webpack://@act-registry/esm-act-app/./src/table-filters/url-filters.ts"],"names":["formsUrl","restBaseUrl","useDownloadForms","data","error","isLoading","useSWR","openmrsFetch","form","resource","uuid","name","display","a","b","useFormFields","formUuid","url","schema","fields","walk","questions","group","question","concept","field","label","page","section","downloadForm","request","kinds","activityFilterKeys","ActivityDetailRow","entry","t","useTranslation","adminLinks","useConfig","detail","useActivityDetail","InlineNotification","restErrorMessage","styles","InlineLoading","DetailLine","fullTime","describeClient","ConfigurableLink","patientChartUrl","encodeURIComponent","ActivityTab","filters","onFilters","forms","query","useMemo","sharedQuery","undefined","paging","setPaging","useLogPaging","JSON","useActivity","kindLabels","kindFilterLabels","tagText","rows","index","verb","String","logTime","LogUserCell","LogActionCell","Tag","LogTargetCell","headers","csvRows","fetchAllLogs","p","activityUrl","Boolean","LogFilterBar","DownloadCsvButton","setFilters","Select","event","SelectItem","Object","kind","LogWindowNote","LogTable","key","downloadsFilterKeys","identifierKinds","identifierKind","DownloadsTab","iso","useAllDownloads","all","identifierLabels","identifierTag","period","targetName","stats","Set","sum","PRIVILEGE_DOWNLOAD_IDENTIFIERS","formatDate","Date","readsFilterKeys","patientClinic","ReadsTab","useReads","logTimeRange","summary","parts","minutes","Math","dayjs","read","readsUrl","TextInput","logTabPrivileges","PRIVILEGE_VIEW_AUDIT_LOGS","PRIVILEGE_VIEW_READ_AUDIT_LOGS","PRIVILEGE_VIEW_SECURITY_AUDIT_LOGS","tabOrder","Logs","user","useSession","useUrlFilters","logFilterKeys","tabs","tab","userHasAccess","selected","panels","SignInsTab","ActPageHeader","PatientDocumentsPictogram","Tabs","selectedIndex","TabList","Tab","TabPanels","TabPanel","patientUuid","fromUrl","keys","params","URLSearchParams","window","urlHasNone","urlWithFilters","defaultedKeys","defaults","ready","withDefaults","base","useState","awaitingDefaults","useRef","useEffect","current","timer","setTimeout","clearTimeout","reread","next","change"],"mappings":"sNA0CA,IAAMA,EAAW,CAAC,EAAEC,EAAAA,WAAWA,CAAC,2DAA2D,CAAC,CAGrF,SAASC,IACd,GAAM,CAAEC,KAAAA,CAAI,CAAEC,MAAAA,CAAK,CAAEC,UAAAA,CAAS,CAAE,CAAGC,IAAmCN,EAAU,SAC7E,OAAMO,AAAAA,GAAAA,EAAAA,YAAAA,AAAAA,EAA+CP,EAAQ,EAAG,IAAI,CAAC,OAAO,CAC1E,MAAM,CAAC,AAACQ,GAAS,CAACA,EAAK,OAAO,EAAIA,EAAK,SAAS,EAAE,KAAK,AAACC,GAAaA,AAAkB,gBAAlBA,EAAS,IAAI,GAElF,GAAG,CAAC,CAAC,CAAEC,KAAAA,CAAI,CAAEC,KAAAA,CAAI,CAAEC,QAAAA,CAAO,CAAE,GAAM,EAAEF,KAAAA,EAAM,KAAME,GAAWD,CAAK,IAChE,IAAI,CAAC,CAACE,EAAGC,IAAMD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A,EAAAA,SAAAA,AAAAA,EAAU,KAER,IAAMK,EAAS,IACbpF,EAAW,AAACgF,IACV,IAAMK,EAAOhB,EAAWJ,GAAQS,EAAaV,EAAQC,IAASD,EAAQC,GACtE,OAAOA,EAAK,KAAK,CAAC,AAACzD,GAAQwE,CAAO,CAACxE,EAAI,GAAK6E,CAAI,CAAC7E,EAAI,EAAIwE,EAAUK,CACrE,GAEF,OADAjB,OAAO,gBAAgB,CAAC,WAAYgB,GAC7B,IAAMhB,OAAO,mBAAmB,CAAC,WAAYgB,EAGtD,EAAG,CAACnB,EAAMQ,EAAM,EAIT,CAACzG,EAFO,AAACsH,GAAuCtF,EAAW,AAACgF,GAAa,EAAE,GAAGA,CAAO,CAAE,GAAGM,CAAM,AAAC,IAE/E,CAACb,EAAM,AAClC,C"}
1
+ {"version":3,"file":"1079.js","sources":["webpack://@act-registry/esm-act-app/./src/download/download.resource.ts","webpack://@act-registry/esm-act-app/./src/logs/activity-tab.component.tsx","webpack://@act-registry/esm-act-app/./src/logs/downloads-tab.component.tsx","webpack://@act-registry/esm-act-app/./src/logs/reads-tab.component.tsx","webpack://@act-registry/esm-act-app/./src/logs/logs.component.tsx","webpack://@act-registry/esm-act-app/./src/patient-chart-url.ts","webpack://@act-registry/esm-act-app/./src/table-filters/url-filters.ts"],"names":["formsUrl","restBaseUrl","useDownloadForms","data","error","isLoading","useSWR","openmrsFetch","form","resource","uuid","name","display","a","b","useFormFields","formUuid","url","schema","fields","walk","questions","group","question","concept","field","label","page","section","patientFields","identifyingPatientFields","patientFieldLabels","t","downloadForms","request","kinds","activityFilterKeys","ActivityDetailRow","entry","useTranslation","adminLinks","useConfig","detail","useActivityDetail","InlineNotification","restErrorMessage","styles","InlineLoading","DetailLine","fullTime","describeClient","ConfigurableLink","patientChartUrl","encodeURIComponent","ActivityTab","filters","onFilters","forms","query","useMemo","sharedQuery","undefined","paging","setPaging","useLogPaging","JSON","useActivity","kindLabels","kindFilterLabels","tagText","rows","index","verb","String","logTime","LogUserCell","LogActionCell","Tag","LogTargetCell","headers","csvRows","fetchAllLogs","p","activityUrl","Boolean","LogFilterBar","DownloadCsvButton","setFilters","Select","event","SelectItem","Object","kind","LogWindowNote","LogTable","key","downloadsFilterKeys","identifierKinds","identifierKind","DownloadsTab","iso","useAllDownloads","all","identifierLabels","identifierTag","patientLabels","statusLabels","period","targetName","stats","Set","sum","PRIVILEGE_DOWNLOAD_IDENTIFIERS","formatDate","Date","readsFilterKeys","patientClinic","ReadsTab","useReads","logTimeRange","summary","parts","minutes","Math","dayjs","read","readsUrl","TextInput","logTabPrivileges","PRIVILEGE_VIEW_AUDIT_LOGS","PRIVILEGE_VIEW_READ_AUDIT_LOGS","PRIVILEGE_VIEW_SECURITY_AUDIT_LOGS","tabOrder","Logs","user","useSession","useUrlFilters","logFilterKeys","tabs","tab","userHasAccess","selected","panels","SignInsTab","ActPageHeader","PatientDocumentsPictogram","Tabs","selectedIndex","TabList","Tab","TabPanels","TabPanel","patientUuid","fromUrl","keys","params","URLSearchParams","window","urlHasNone","urlWithFilters","defaultedKeys","defaults","ready","withDefaults","base","useState","awaitingDefaults","useRef","useEffect","current","timer","setTimeout","clearTimeout","reread","next","change"],"mappings":"iPA2CA,IAAMA,EAAW,CAAC,EAAEC,EAAAA,WAAWA,CAAC,2DAA2D,CAAC,CAGrF,SAASC,IACd,GAAM,CAAEC,KAAAA,CAAI,CAAEC,MAAAA,CAAK,CAAEC,UAAAA,CAAS,CAAE,CAAGC,IAAmCN,EAAU,SAC7E,OAAMO,AAAAA,GAAAA,EAAAA,YAAAA,AAAAA,EAA+CP,EAAQ,EAAG,IAAI,CAAC,OAAO,CAC1E,MAAM,CAAC,AAACQ,GAAS,CAACA,EAAK,OAAO,EAAIA,EAAK,SAAS,EAAE,KAAK,AAACC,GAAaA,AAAkB,gBAAlBA,EAAS,IAAI,GAElF,GAAG,CAAC,CAAC,CAAEC,KAAAA,CAAI,CAAEC,KAAAA,CAAI,CAAEC,QAAAA,CAAO,CAA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ACJN,GAASI,EAAiB,OAAO,GACnCA,EAAiB,OAAO,CAAG,GAC3B/E,EAAW,AAACkF,GAAa,EAAE,GAAGA,CAAO,CAAE,GAAGR,CAAQ,AAAC,IAIvD,EAAG,CAACC,EAAM,EAGVM,AAAAA,GAAAA,EAAAA,SAAAA,AAAAA,EAAU,KAER,GAAI,CAACN,EACH,OAEF,IAAMQ,EAAQC,WAAW,KACvB,IAAM1J,EAAM8I,EAAeL,EAAMnG,EAASyG,EACtC/I,CAAAA,IAAQ,CAAC,EAAE4I,OAAO,QAAQ,CAAC,QAAQ,CAAC,EAAEA,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,EAChEA,OAAO,OAAO,CAAC,YAAY,CAACA,OAAO,OAAO,CAAC,KAAK,CAAE,GAAI5I,EAE1D,EAAG,KACH,MAAO,IAAM2J,aAAaF,EAG5B,EAAG,CAACnH,EAASmG,EAAMQ,EAAM,EAGzBM,AAAAA,GAAAA,EAAAA,SAAAA,AAAAA,EAAU,KAER,IAAMK,EAAS,IACbtF,EAAW,AAACkF,IACV,IAAMK,EAAOhB,EAAWJ,GAAQS,EAAaV,EAAQC,IAASD,EAAQC,GACtE,OAAOA,EAAK,KAAK,CAAC,AAAC3D,GAAQ0E,CAAO,CAAC1E,EAAI,GAAK+E,CAAI,CAAC/E,EAAI,EAAI0E,EAAUK,CACrE,GAEF,OADAjB,OAAO,gBAAgB,CAAC,WAAYgB,GAC7B,IAAMhB,OAAO,mBAAmB,CAAC,WAAYgB,EAGtD,EAAG,CAACnB,EAAMQ,EAAM,EAIT,CAAC3G,EAFO,AAACwH,GAAuCxF,EAAW,AAACkF,GAAa,EAAE,GAAGA,CAAO,CAAE,GAAGM,CAAM,AAAC,IAE/E,CAACb,EAAM,AAClC,C"}
package/dist/5117.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_act_registry_esm_act_app=globalThis.webpackChunk_act_registry_esm_act_app||[]).push([["5117"],{4300(e){e.exports=JSON.parse('{"aboveRange":"Above range","aboveTarget":"above target","accountLocked":"Account locked","accountLockedNote":"account locked","acrossYourSites":"across your sites","actHome":"ACT home","actId":"ACT ID","action":"Action","actions":"Actions","active":"Active","activeCentre":"active","activeCount_one":"{{count}} active","activeCount_other":"{{count}} active","activeMedications":"Active medications","activeMedicationsLowercase":"active medications","activeParticipants":"Active participants","activePatients":"Active patients","activePatientsWithNoMissingData":"active patients with no missing data","activeRegistrants":"Active registrants","activeRegistrantsCount_one":"Active registrants: {{count}}","activeRegistrantsCount_other":"Active registrants: {{count}}","activeRegistrantsDescription":"Sex, age and disease of the patients active today","activeRegistrantsWithDiseaseDescription":"Sex, age and disease of the patients active today with {{disease}}","activeRhdNotReported":"active RHD not reported","activity":"Activity","activityExplanation":"Activity lists what ACT\'s users change: forms, patients, users, roles, clinics, studies and flags. Changes to the server\'s own setup (concepts, form definitions, settings) stay in the audit module, for the same privilege.","actLogo":"ACT logo","acuteRheumaticFever":"Acute rheumatic fever","add":"Add","addClinic":"Add clinic","addParticipation":"Add participation","addUser":"Add user","adherence":"Adherence","adherenceLastReport":"Adherence (last report)","adherencePercent":"Adherence {{percent}}%","adherenceTwelveMonths":"Adherence (12 months)","adherentEightyPercent":"Adherent (80%+)","admin":"Admin","adolescents10to19":"Adolescents 10-19","adults20plus":"Adults 20+","age":"Age","ageAtRegistration":"Age at registration","ageSex":"Age, sex","ageUnknown":"Age unknown","all":"All","allAllergies":"All allergies","allClinics":"All clinics","allDates":"All dates","allDiseases":"All diseases","allergies":"Allergies","Allergies":"Allergies","allergiesNamed":"Allergies: {{names}}","allergiesNotRecorded":"Allergies not recorded","allergiesUnavailable":"Allergies unavailable","allergyAdded":"added {{date}}","allFormsCount_one":"All forms ({{count}})","allFormsCount_other":"All forms ({{count}})","allLists":"All lists","allParticipants":"All participants","allReports":"All reports","allReportsDescription":"Open a report as a table to sort and search it, then download what you see.","alternateId":"Alternate ID","anaphylaxisAfterBpg":"Anaphylaxis after BPG: BPG on hold","any":"Any","anyForm":"Any form","anyUser":"Any user","aorticRegurgitation":"Aortic regurgitation","aorticStenosis":"Aortic stenosis","asOfDate":"As of {{date}}","backToActHome":"Back to ACT home","backToDashboardToExport":"Go back to the Dashboard to export it","backToDiagnosisToConfirm":"Back to Diagnosis to confirm","backToDueForProphylaxis":"Back to Due for prophylaxis","backToEnterProphylaxis":"Back to Enter prophylaxis","backToHome":"Back to Home","backToRegistry":"Back to Registry","backToReports":"Back to Reports","backToTheDashboard":"Back to the Dashboard","backToWaitingList":"Back to Procedural waiting list","backToWorklists":"Back to Worklists","basedOn":"Based on","belowRange":"Below range","belowTarget":"below target","benzathinePenicillinG":"Benzathine penicillin G","bpg":"BPG","bpgDoseRecorded":"BPG dose recorded","bpgEveryDays":"BPG \xb7 every {{days}} days","bpgEveryWeeks":"BPG \xb7 every {{weeks}} weeks","bpgInjections":"BPG injections","bpgOnHold":"BPG on hold","bpgOnHoldReason":"Anaphylaxis reported after BPG: a clinician must review before the next dose","bpgOnTimeRate":"BPG on-time rate","bpgOrOral":"BPG or oral","bpgStatus":"BPG status","browserOnSystem":"{{browser}} on {{system}}","byFacility":"By facility","byFacilityDescription":"Each patient\'s primary care clinic: active patients, mean adherence and data status (Duplicates: shared name and birth date, Review: open data-quality flag).","cameraUnavailable":"The camera is not available","cancel":"Cancel","cannotStartVisit":"You may not start a visit for this patient.","capabilityKeptForGetRoles":"{{role}}: {{capability}}, kept: without it you would lose Get Roles, which saving a role needs","capabilityKeptForPrivileges":"{{role}}: {{capability}}, kept: without it you would lose {{privileges}}, and could not give it back here","capabilityStillThrough":"{{role}}: {{capability}}, still had through {{through}}","capabilityThrough":"{{role}}: {{capability}}, through {{through}}","Cardiac tests":"Cardiac tests","cardiacClinic":"Cardiac clinic","cardiologyFollowUpDue":"Cardiology follow-up due","cardiologyReviewDatePassed":"Cardiology review date has passed","cardiologyVisitDueOn":"Cardiology visit due {{date}}","cardiologyVisitDueToday":"Cardiology visit due today","cardiologyVisitOverdue":"Cardiology visit overdue","careCascade":"Care cascade","careCascadeDescription":"Active RHD patients; each step is a share of the one before, Adherent of Initiated","careCascadePastDescription":"Active RHD patients; each step is a share of the one before. Coverage and adherence are left out, as ACT Core keeps them only for today.","cascade":"Cascade","cascadeReportDate":"Report date: {{date}}","caseDetectedBy":"Case detected by","categoryAtDiagnosis":"Category at diagnosis","causeOfDeath":"Cause of death","checkAll":"Check all","checkFilters":"Check the filters above","children0to9":"Children 0-9","chooseAClinic":"Choose at least one clinic","chooseAForm":"Choose a form","chooseARole":"Choose at least one role","chooseAStatus":"Choose a status","chooseAStudy":"Choose a study","chooseClinicLevel":"Choose the clinic level","chooseClinicType":"Choose the clinic type","chooseLevel":"Choose a level","chooseReason":"Choose a reason","chooseRegimen":"Choose a regimen","chooseSection":"Choose a section","chooseSex":"Choose a sex","chooseStatus":"Choose a status","chooseType":"Choose a type","chronicConditions":"Chronic health conditions","chronicConditionsLowercase":"chronic health conditions","cleared":"cleared","clearSearchInput":"Clear search input","clinic":"Clinic","clinicalDashboardsCliniciansOnly":"Clinical dashboards are only visible to clinicians.","clinicalPresentation":"Clinical presentation","clinics":"Clinics","clinicsAddedTogether":"{{clinics}} added together","clinicSaved":"Clinic saved","clinicsNote":"Clinics that come from the distribution\'s locations file return to what that file says when it is updated; clinics added here keep their changes.","close":"Close","closeNotification":"Close notification","closeSearch":"Close search","coincidentalFinding":"Coincidental finding","collapseSection":"Collapse {{section}}","community":"Community","completed":"Completed","completionDate":"Completion date","completionNotBeforeEnrollment":"The completion date cannot be before the enrollment date","configureInstance":"Configure instance","confirmatoryEchoNeeded":"Confirmatory echo needed","confirmDismissFlag":"Dismiss this flag? It stays dismissed until the data no longer raises it.","confirmPassword":"Confirm password","congenital":"Congenital","congenitalHeartDisease":"Congenital heart disease","consentBeforeEnrolling":"A patient is enrolled in a study only after giving registry consent, which is recorded at registration.","consentGiven":"Consent given","Consultation visits":"Consultation visits","consultationsCount_one":"{{count}} consultation","consultationsCount_other":"{{count}} consultations","consultationVisits":"Consultation visits","consultationVisitsLastYear":"Consultation visits in the last year","consultationVisitsLowercase":"consultation visits","contactUs":"Contact us","contraindications":"Contraindications","couldNotBuildFile":"Could not build the file","couldNotDisableUser":"Could not disable the user","couldNotDismissFlag":"Could not dismiss the flag","couldNotDownload":"Could not download the data","couldNotLoad":"could not load","couldNotLoadCareCascade":"Could not load the care cascade","couldNotLoadClinic":"Could not load this clinic","couldNotLoadClinics":"Could not load the clinics","couldNotLoadDashboard":"Could not load the dashboard","couldNotLoadDueForProphylaxis":"Could not load the patients due for prophylaxis","couldNotLoadFields":"Could not load the form\'s fields","couldNotLoadFigure":"Could not load the patients behind this figure","couldNotLoadForms":"Could not load the forms","couldNotLoadGaps":"Could not load the missing data","couldNotLoadLastRefresh":"Could not load when they were last refreshed","couldNotLoadLocationTags":"Could not load the location tags, so the clinic cannot be saved","couldNotLoadLog":"Could not load the log","couldNotLoadOverdueConsultations":"Could not load the patients overdue for consultation","couldNotLoadParticipants":"Could not load the study participants","couldNotLoadParticipation":"Could not load this participation","couldNotLoadPatientsOnProphylaxis":"Could not load the patients on prophylaxis","couldNotLoadRegistry":"Could not load the registry","couldNotLoadReports":"Could not load the report","couldNotLoadRoles":"Could not load the roles","couldNotLoadScreeningCounts":"Could not load the screening counts","couldNotLoadScreenPositive":"Could not load the screen positive list","couldNotLoadSection":"{{section}} could not load","couldNotLoadStudies":"Could not load the studies","couldNotLoadStudy":"Could not load this study","couldNotLoadUser":"Could not load this user","couldNotLoadUsers":"Could not load the users","couldNotLoadWaitingList":"Could not load the procedural waiting list","couldNotLoadWorklist":"Could not load this list","couldNotLoadWorklistPatients":"Could not load the worklist patients","couldNotMakeExport":"Could not make the export","couldNotOpenForm":"Could not open the form","couldNotRecordDownload":"Could not record the download, so no file was made","couldNotRefresh":"Could not refresh flags and adherence","couldNotResetPassword":"Could not reset the password","couldNotSaveClinic":"Could not save the clinic","couldNotSaveInr":"The INR could not be saved","couldNotSaveOptIn":"Could not save the answer","couldNotSaveParticipation":"Could not save the participation","couldNotSaveRole":"Could not save the role","couldNotSaveScreeningCounts":"Could not save the screening counts","couldNotSaveStudy":"Could not save the study","couldNotSaveUser":"Could not save the user","couldNotSearch":"Could not search for patients","countsOnlyNoPatients":"Counts only, no patient data","countsStillLoading":"The counts are still loading; export again in a moment","covered":"Covered","coveredToday":"Covered today","createStudy":"Create study","csvClinics":"Clinics","csvCount":"Count","csvGroup":"Group","csvLabel":"Label","csvSection":"Section","current":"Current","currentAllergies":"Current allergies","currentAllergiesLowercase":"current allergies","currentPrescription":"Current prescription","currentRegimen":"Current regimen","currentStatus":"Current status","dashboard":"Dashboard","data":"Data","dataComplete":"Complete","dataCompleteness":"Data completeness","dataDuplicates":"Duplicates","dataReview":"Review","date":"Date","dateAdded":"Date added","dateDaysAgo":"{{date}} ({{days}} days ago)","dateNotInFuture":"The date cannot be in the future","dateOfBirth":"Date of birth","dateOfDeath":"Date of death","dateOfStatusChange":"Date of status change","dateResolved":"Date resolved","dateStarted":"Date started","dateStopped":"Date stopped","dateTested":"Date tested","dateTestedRequired":"Enter the date tested","day":"Day","daysCount_one":"{{count}} day","daysCount_other":"{{count}} days","daysOverdue":"{{days}} days overdue","daysPending":"Days pending","deathSavedEnrolmentNot":"The death was saved but the registry status was not","deceased":"Deceased","deceasedNotEnrolled":"The patient has died, so they cannot be enrolled in a study.","deceasedOn":"Deceased{{on}}","details":"Details","diagnosed":"diagnosed","diagnoses":"Diagnoses","diagnosesLowercase":"diagnoses","diagnosis":"Diagnosis","diagnosisCategory":"Diagnosis category","diagnosisDetails":"Diagnosis details","diagnosisRecorded":"Diagnosis recorded","diagnosisToConfirm":"Diagnosis to confirm","diagnosisToConfirmDescription":"Screen-positive patients whose diagnosis has no details yet. Record diagnosis opens their form beside this list, where saved details take them off it.","diagnosisToConfirmTileDescription":"Screened positive, no diagnosis details yet","disable":"Disable","disabled":"Disabled","disableUser":"Disable user","disableUserBody":"They will no longer be able to sign in. Everything they recorded stays, and an instance administrator can enable them again.","disableUserNamed":"Disable {{name}}?","disease":"Disease","dismiss":"Dismiss","dismissFlag":"Dismiss flag","district":"District","docs":"Docs","done":"Done","doneStillWaitingOfRecommendations":"<done>{{done}}</done> done, <notDone>{{notDone}}</notDone> still waiting, of {{total}} recommendations","dose":"Dose","doseChange":"Dose change","doseChangedTo":"{{answer}}, {{dose}}","downloadCsv":"Download CSV","downloadData":"Download data","downloadDeidentifiedExplanation":"A row for each saved form, without names, birth dates, ID numbers or phones. Each download is recorded.","downloaded":"Downloaded","downloadIdentifiedExplanation":"A row for each saved form, with the patient\'s names, birth date, ID numbers and phones. Each download is recorded.","downloading":"Downloading...","downloadPeriod":"{{from}} to {{to}}","downloadResearchExplanation":"A row for each saved form of the patients who opted in to research, without names, birth dates, ID numbers or phones. Each download is recorded.","downloads":"Downloads","downloadsExplanation":"Every CSV that leaves ACT is here: Download data, the registry and worklist lists, and these logs. A download is recorded before its first row is sent; if it cannot be recorded, it does not happen.","downloadsLower":"downloads","downloadsSince":"downloads since {{date}}","dueBy":"Due by","dueForProphylaxis":"Due for prophylaxis","dueInDays":"Due in {{days}} days","dueInOneDay":"Due in 1 day","dueOn":"Due {{date}}","dueSoon":"Due soon","dueToday":"Due today","dueWithinSevenDays":"Due within 7 days","dueWithinTwoDays":"Due in the next 48 hours, due today or overdue","duration":"Duration","echocardiograms":"Echocardiograms","echocardiogramsLowercase":"echocardiograms","echoLast13Months":"Echocardiogram in the last 13 months","edit":"Edit","editAllergy":"Edit {{allergy}}","editBpgInjection":"Edit BPG injection of {{date}}","editClinic":"Edit clinic","editClinicNamed":"Edit {{name}}","editConsultation":"Edit consultation of {{date}}","editDiagnosis":"Edit {{diagnosis}}","editEchocardiogram":"Edit echocardiogram of {{date}}","editedAForm":"Edited a form","editElectrocardiogram":"Edit electrocardiogram of {{date}}","editInr":"Edit INR of {{date}}","editInrMonitoring":"Edit INR monitoring","editLastConsultation":"Edit last consultation","editListedItem":"Edit {{item}} in the consultation of {{date}}","editMedicine":"Edit {{medicine}}","editOralReport":"Edit oral adherence report of {{date}}","editParticipation":"Edit participation","editUser":"Edit user","electrocardiograms":"Electrocardiograms","electrocardiogramsLowercase":"electrocardiograms","enabled":"Enabled","endBeforeStart":"The end is before the start","endDate":"End date","ended":"Ended","enrolledAndAlive":"enrolled and alive","enrollmentDate":"Enrollment date","enterAStudyName":"Enter a name for the study","enterBpg":"Enter BPG","enterClinicName":"Enter the clinic name","enteredThisWeek":"Entered this week","enterFamilyName":"Enter a family name","enterGivenName":"Enter a given name","enterOralProphylaxis":"Enter oral prophylaxis","enterPassword":"Enter a password","enterProphylaxis":"Enter prophylaxis","enterProphylaxisBanner":"Choose the patient. The form opens in their chart and a visit starts automatically.","enterProphylaxisDescription":"Choose the patient, then record what was given today","enterResult":"Enter result","enterTheCompletionDate":"Enter the completion date for an Inactive status","enterTheEnrollmentDate":"Enter the enrollment date","enterTheStudyId":"Enter the Study ID","enterUsername":"Enter a username","errorIcon":"error icon","event":"Event","everyClinic":"every clinic","everyPatient":"Every patient on the registry","everyReadInAuditModule":"Every read in the audit module","everyStatus":"every status","everythingInLogs":"Everything in Logs","expandSection":"Expand {{section}}","export":"Export","exportCsv":"Counts (CSV): every number in the sections, for a spreadsheet","exportCsvOf_one":"Export CSV of {{count}} section","exportCsvOf_other":"Export CSV of {{count}} sections","exportDashboard":"Export the Dashboard","exportImages":"Images: a PNG of each section, in one .zip, for slides or messages","exportImagesOf_one":"Export the image of {{count}} section","exportImagesOf_other":"Export images of {{count}} sections","exportNote":"Counts only, no patient names. Each export is recorded in the download log.","exportPdf":"PDF: print, or save as a PDF; the charts stay sharp","exportPdfOf_one":"Export PDF of {{count}} section","exportPdfOf_other":"Export PDF of {{count}} sections","facility":"Facility","facilityReport":"Facility report","facilityReports":"Facility reports","failedSignInsLastWeek_one":"Failed sign-ins in the last 7 days: {{count}}","failedSignInsLastWeek_other":"Failed sign-ins in the last 7 days: {{count}}","failedSignInsLastWeekByUser_one":"Failed sign-ins by {{user}} in the last 7 days: {{count}}","failedSignInsLastWeekByUser_other":"Failed sign-ins by {{user}} in the last 7 days: {{count}}","familyName":"Family name","female":"Female","fields":"Fields","fieldsAndPeriod_one":"{{count}} fields, {{period}}","fieldsAndPeriod_other":"{{count}} fields, {{period}}","fieldsChosen":"{{chosen}} of {{total}} fields","fieldsInTheFile":"Fields in the file","fieldsLeftOut":"Fields the user chose and the file left out","figuresAsOf":"Figures as of","figuresAsOfDate":"figures as of {{date}}","findPatient":"Find a patient","firstDoseDue":"First dose due","flagCount":"{{number}} flags","flagDismissed":"Flag dismissed","flagOpenDays_one":"{{flag}} ({{count}} day)","flagOpenDays_other":"{{flag}} ({{count}} days)","flags":"Flags","flagsAndAdherence":"Flags and adherence","flagsRefreshed":"Flags and adherence refreshed","form":"Form","format":"Format","formOnVisitDate":"{{form}}, visit of {{date}}","formsAndSites":"Forms & sites","formsDatedLastSevenDays":"forms dated in the last 7 days","formsSavedLastWeek":"forms saved, 7 days","formsShowUpWhenNeeded":"Forms show up here only when {{name}} needs them","forTarget":"for {{target}}","from":"From","fromDate":"From","fromMonth":"From","given":"Given","givenName":"Given name","governedOffByDefault":"Governed \xb7 OFF by default","healthFacility":"Health facility","heartDisease":"Heart disease","hidePassword":"Hide password","hideReadings":"Hide readings","history":"History","home":"Home","identifiers":"Identifiers","identifiersPrivilegeHeld":"The user holds {{privilege}}, so the file keeps names, birth dates, ID numbers and phones.","inactive":"Inactive","indication":"Indication","infoIcon":"info icon","initiated":"Initiated","injectionDue":"Injection due","inr":"INR","INR reviews":"INR reviews","inrAboveTargetPill":"INR {{inr}} above target","inRange":"In range","inRangeWord":"in range","inrBelowTarget":"INR {{inr}} below target","inrChartDescription":"INR over time: {{readings}}. Green zone 2.0 to 3.0, orange 1.5 to 2.0 and 3.0 to 4.0, red below 1.5 and above 4.0.","inrChartEmpty":"No INR recorded","inrChartTarget":"Target {{range}}","inrDueOn":"INR due {{date}}","inrDueToday":"INR due today","inrLast90Days":"On warfarin, with an INR in the last 90 days","inrLoadError":"The INR could not be loaded","inrMonitoring":"INR Monitoring","inrNotFound":"This INR could not be found","inrOverdue":"INR overdue","inrReadingOn":"{{value}} on {{date}}","inrReviewDue":"INR review due","inrReviews":"INR reviews","inrReviewsLowercase":"INR reviews","inrSaved":"INR saved","inrTarget":"INR target","inrValue":"INR value","inrValueInvalid":"Enter an INR above 0 and up to {{highest}}","inrWithResult":"{{inr}} \xb7 {{result}}","interventions":"Interventions","ipAddress":"IP address","itemRange_one":"{{min}}–{{max}} of {{count}} item","itemRange_other":"{{min}}–{{max}} of {{count}} items","itemsPerPage":"Items per page:","jumpTo":"Jump to","keyFigures":"Key figures","kindClinic":"Clinic","kindEdited":"Edited","kindFlag":"Flag","kindOther":"Other","kindPatientStatus":"Patient status","kindRegistered":"Registered","kindRole":"Role","kindSaved":"Saved","kindStudy":"Study","kindUser":"User","kindVoided":"Voided","landscape":"Landscape","lastConsultation":"Last consultation","lastDose":"Last dose","lastInjection":"Last injection","lastRefreshedAt":"Last refreshed {{when}}","lastReport":"Last report","lastUpdated":"Last updated","late":"Late","latestRecommendationsCarriedOut":"Latest recommendations carried out","leftVentricularEjectionFraction":"Left ventricular ejection fraction","level":"Level","levelTagsNotInClinicLocationTags":"These clinic level tags are not in clinicLocationTags, so the rest of ACT does not count their clinics: {{tags}}","limitedToYourClinics":"The users of your clinics","limitedToYourClinicsBody":"You can add and change the users of the clinics on your account, with the clinician roles. An instance administrator manages the others.","listColumns_one":"{{list}}, {{count}} columns","listColumns_other":"{{list}}, {{count}} columns","loading":"Loading...","log":"Log","logs":"Logs","logTimeRange":"{{start}} to {{end}}","logToday":"Today, {{time}}","logYesterday":"Yesterday, {{time}}","lostToFollowUp":"Lost to follow-up","male":"Male","medicalOptimisation":"Medical optimisation","medicalOptimisationDescription_one":"Of the {{count}} active registrant, except the warfarin row, which counts only those on warfarin","medicalOptimisationDescription_other":"Of the {{count}} active registrants, except the warfarin row, which counts only those on warfarin","Medications":"Medications","metric":"Metric","missing":"Missing","missingData":"Missing data","missingLocationTags":"The server has no location tag named {{tags}}; ask an administrator to add it","mitralBalloonValvuloplasty":"Mitral balloon valvuloplasty","mitralRegurgitation":"Mitral regurgitation","mitralStenosis":"Mitral stenosis","month":"Month","monthlyQuarterly":"Monthly \xb7 quarterly","monthsEntered":"Months entered","monthTo":"Month to {{date}}","name":"Name","nameOrActId":"Name or ACT ID","nationalId":"National ID","needsFollowUp":"needs follow-up","needsPrescription":"Needs prescription","negative":"Negative","new":"New","newDose":"New anticoagulant dose","newestFirst":"Newest first","newPassword":"New password","newPrescription":"New prescription","nextCardiologyReview":"Next cardiology review","nextConsultation":"Next consultation","nextDoseDueInSevenDays":"Next dose due within 7 days","nextDue":"Next due","nextDueOn":"Next due {{date}}","nextInr":"Next INR","nextInrDate":"Next INR date","nextInrDue":"Next INR due","nextPage":"Next page","nextRefill":"Next refill","nextReview":"Next review","nextStepAdded":"Next step added: {{steps}}","nextStepsForThisVisit":"Next steps for this visit","no":"No","noActHomeWidgets":"No widgets have been added to ACT home yet.","noActivePatients":"There are no active patients","noActivity":"There is no activity to display","noActRoles":"There are no ACT roles to display","nobodyAtClinicToCount":"Nobody at {{clinic}} to count","nobodyDueForProphylaxis":"Nobody is due for prophylaxis","nobodyDueInThisList":"No patients in this list","nobodyWithDiseaseToCount":"Nobody with {{disease}} to count","noBpgInjections":"There are no BPG injections to display","noCareCascadeData":"No care cascade data","noClinicMatches":"No clinics to display","noClinics":"There are no clinics to display","noClinicsToCount":"There are no clinics to enter counts for.","noCommunityHomeWidgets":"No widgets have been added to Home yet.","noDiagnosisYet":"No diagnosis yet","noDoseYet":"No dose yet","noDownloadDetail":"No detail was recorded","noDownloads":"There are no downloads to display","noFieldsChanged":"No fields recorded","noFormsToDownload":"No saved forms match","noGapList":"This flag does not list its missing data.","noGapLists":"None of this patient\'s flags lists its missing data.","noKnownAllergies":"No known allergies","noLogEntries":"No entries yet","noLogEntriesMatch":"No entries match","none":"None","noOralReports":"There are no oral adherence reports to display","noOtherFindings":"No other findings recorded","noOverdueConsultations":"No patient is overdue for consultation","noParticipantMatches":"No participants to display","noParticipants":"There are no study participants to display","noParticipations":"There are no study participations to display","noPatientsFound":"Sorry, no patient charts were found","noPatientsOnProphylaxis":"No patients on prophylaxis to display","noPatientsToCount":"No patients to count","noPatientWithActId":"No patient with ACT ID {{actId}}.","noPrescription":"No prescription","noPrescriptionHistory":"There is no prescription history to display","noProceduralRecommendation":"No procedural rec.","noProphylaxisPrescription":"No prophylaxis prescription","noReads":"There are no reads to display","noRegistryMatches":"No patients to display","noRegistryPatients":"There are no registry patients to display","normal":"Normal","noRowsMatchSearch":"No rows match the search","noSavedForm":"No saved form is waiting to be completed. Record the missing data on a new form.","noScreeningCounts":"No screening counts entered in the period","noScreeningCountsAt":"No screening counts entered for {{clinic}} in the period","noScreenPositiveMatches":"No patients to display","noScreenPositivePatients":"There are no screen positive patients waiting for a diagnosis","noSignIns":"There are no sign-ins to display","noStatusRecorded":"No status recorded","noStudies":"There are no studies to display","noSuchReport":"There is no such report","notConsented":"Not consented","notConsentedLegend":"Patients marked with * have not consented to the registry","notCovered":"Not covered","notes":"Notes","notGiven":"Not given","nothingDueToday":"Nothing due for this patient today.","nothingToUpdate":"There is nothing to update for this patient.","notInRegistry":"Not in the registry","notRecorded":"Not recorded","notRefreshedYet":"Not refreshed yet","notReported":"not reported","notScreenPositive":"Not screen-positive","notScreenPositiveNote":"Patient Information asks where a patient was screened only when Screen + is Yes. Not screen-positive counts the patients never asked; Not recorded, the screen-positive with no answer.","notUsersClinic":"{{clinic}}, not the user\'s","noUsers":"There are no users to display","noWaitingListMatches":"No recommendations to display","noWaitingRecommendations":"There are no procedural recommendations to display","noWorklistMatches":"No patients to display","noWorklistPatients":"There are no patients on this list to display","noWorklists":"No worklists have been added yet.","nyhaClass":"NYHA class","off":"Off","ofPatient":"of {{patient}}","on":"On","onHold":"On hold","onListForDays_one":"On the list for {{count}} day","onListForDays_other":"On the list for {{count}} days","onOral":"On oral","onSecondaryProphylaxis":"On secondary prophylaxis","onTime":"On time","onTimeCount":"{{given}} of {{total}}","onTimeCountMonths":"{{given}} of {{total}} on time, {{months}} months","onTimeSixMonths":"On-time (6 months)","open":"Open","openAuditModule":"Open the audit module","openBpgForm":"Open BPG form","openChart":"Open chart","openClinicalForms":"Open clinical forms","openConsultation":"Open consultation","opened":"Opened","openedFromTheDashboard":"Opened from the Dashboard: {{figure}}, {{amount}}.","openedTheChart":"Opened the chart","openForDays_one":"Open for {{count}} day, since {{date}}","openForDays_other":"Open for {{count}} days, since {{date}}","openForm":"Open form","openFormFromClinicalForms":"Open the form from Clinical forms.","openFromClinicalForms":"The visit has started. Open the form from Clinical forms.","openingBpgForm":"Opening the BPG form","openingChart":"Opening their chart","openNamedForm":"Open {{form}}","openPatientsChart":"Open {{name}}\'s chart","openRecommendations_one":"{{count}} open recommendation","openRecommendations_other":"{{count}} open recommendations","openRecommendationsFigure":"Open recommendations","openRunCharts":"Open run charts","optInBeforeEnrolling":"A patient is enrolled in a study only after answering Yes above.","oral":"Oral","oralAdherence":"Oral adherence","orientation":"Orientation","other":"Other","otherClinicsKept_one":"Also at {{count}} clinic not shown here, which is kept","otherClinicsKept_other":"Also at {{count}} clinics not shown here, which are kept","otherFinding":"Other finding","otherFindings":"Other findings","otherHeartDisease":"Other heart disease","otherSecurityEvent":"Other","outcome":"Outcome","overdue":"Overdue","overdueForConsultation":"Overdue for consultation","overdueProphylaxis":"Overdue prophylaxis","overdueWasDue":"Overdue \xb7 was due {{date}}","overview":"Overview","parentClinic":"Parent clinic","participationSaved":"Participation saved","password":"Password","passwordChanged":"Password changed","passwordChangeFailed":"Password change failed","passwordReset":"Password reset","passwordResetFailed":"Password reset failed","passwordResetRequested":"Password reset requested","passwordResetRequestFailed":"Password reset request failed","passwordRule":"At least 8 characters, with an upper case letter and a number","passwordsDoNotMatch":"The passwords do not match","passwordWasReset":"Password reset","pastAllergies":"Past allergies","pastAllergiesLowercase":"past allergies","pastMedications":"Past medications","pastMedicationsLowercase":"past medications","patient":"Patient","patientAtOtherClinic":"the patient is at {{clinic}}, not the user\'s clinic","patientCount_one":"{{count}} patient","patientCount_other":"{{count}} patients","patients":"Patients","patientsClinic":"Patient\'s clinic","patientsCount_one":"{{count}} patient","patientsCount_other":"{{count}} patients","patientsEnrolledAt":"Patients enrolled at {{clinic}}","patientsOnProphylaxis":"Patients on prophylaxis","patientsOpened":"Patients opened","patientsOpenedLower":"patients opened","patientStatusUpdated":"Patient status updated","patientsWaitingForProcedure":"Patients waiting for a procedure","performedInTheYear":"Performed in the 12 months","performedInYear":"Performed in the 12 months to the date shown: mitral balloon valvuloplasty <bmv>{{bmv}}</bmv>, surgery <surgery>{{surgery}}</surgery>","performedLast12Months":"Performed in the last 12 months","period":"Period","periodDay":"day","periodDays":"days","periodLength":"Period length","periodMonth":"month","periodMonths":"months","periodRange":"{{start}} to {{end}}","periodWeek":"week","periodWeeks":"weeks","physicalRelocation":"Physical relocation","points":"Points","portrait":"Portrait","positive":"Positive","postMortem":"Post-mortem","postProceduralFollowUpDue":"RHD 30-day post-procedural follow-up due","pregnancyLabor":"Pregnancy / labor","pregnancyOutcomeDue":"RHD pregnancy outcome due","prescribed":"Prescribed","prescribedFirstDoseDue":"Prescribed, first dose due","prescription":"Prescription","prescriptionHistory":"Prescription history","previousPage":"Previous page","primaryCareClinic":"Primary care clinic","printedByOn":"Printed by {{user}} on {{date}}","privateForProfit":"Private For-Profit","privateNotForProfit":"Private Not-For-Profit","proceduralOldRecommendation":"Procedural rec. > 12 months","proceduralRecentRecommendation":"Procedural rec. < 12 months","proceduralRecommendations":"Procedural recommendations","proceduralWaitingList":"Procedural waiting list","proceduralWaitlist":"Procedural waitlist","proceduralWaitlistOfActive_one":"Procedural waitlist: {{count}} of {{active}} active patients is waiting for a procedure","proceduralWaitlistOfActive_other":"Procedural waitlist: {{count}} of {{active}} active patients are waiting for a procedure","proceduralWaitlistPatients_one":"Procedural waitlist: {{count}} patient","proceduralWaitlistPatients_other":"Procedural waitlist: {{count}} patients","procedure":"Procedure","procedureCompletesRecommendation":"A recommendation is done once Procedures and Outcomes records the same procedure, dated on or after the consultation.","procedureDoneOn":"Done {{date}}","procedureDue":"Procedure due","procedureOverdue":"Overdue","procedureType":"Type","procedureTypeFilter":"Procedure type","procedureWaiting":"Waiting","prophylaxis":"Prophylaxis","Prophylaxis":"Prophylaxis","prophylaxisDueSoon":"Prophylaxis due soon","prophylaxisDueThisWeek":"Prophylaxis due this week","prophylaxisNeedsLocation":"Choose a login location first","prophylaxisNotUpdated":"The prophylaxis could not be updated","prophylaxisOverdue":"Prophylaxis overdue","prophylaxisPlan":"Prophylaxis plan","prophylaxisRegimen":"Prophylaxis regimen","prophylaxisStopped":"Prophylaxis stopped","prophylaxisUpdated":"Prophylaxis updated","prophylaxisUpToDate":"Prophylaxis up to date","public":"Public","quarter":"Quarter","quickActions":"Quick actions","reaction":"Reaction","readCount_one":"{{count}} reads","readCount_other":"{{count}} reads","reads":"Reads","readsExplanation":"A user\'s reads of one patient within an hour are one row; expand it for each one. The row says when the patient is at another clinic than the user\'s.","readTimesInMinutes_one":"{{count}} times in {{minutes}} minutes","readTimesInMinutes_other":"{{count}} times in {{minutes}} minutes","readTimesWithinAMinute_one":"{{count}} times within a minute","readTimesWithinAMinute_other":"{{count}} times within a minute","reason":"Reason","reasonBelow80":"Reason if below 80%","reasonStopped":"Reason stopped","recentlyViewedPatients":"Recently viewed patients","recommendationOutcome":"Recommendation outcome","recommendationsCount_one":"{{count}} recommendation","recommendationsCount_other":"{{count}} recommendations","recommendedOn":"Recommended","recordAgain":"Record again","recordAllergyAgain":"Record {{allergy}} again","recordBpg":"Record BPG","recordBpgInjection":"Record BPG injection","recordDiagnosis":"Record diagnosis","recorded":"Recorded","recordedToday":"Recorded today","recordedTodayExplanation":"ACT counts only the first record of a day, so this changes today\'s record instead of adding another.","recordFollowsPrescription":"The button follows each patient\'s current prescription. Prescriptions are changed in the Consultation Visit, not here.","recordInr":"Record INR","recordOral":"Record oral","recordOralProphylaxis":"Record oral prophylaxis","recordProcedure":"Record procedure","referralNeedsLocation":"Choose a login location first","referralNotSent":"The referral could not be sent","referralSent":"Referral sent","referralSentSubtitle":"The cardiac clinic will see it on their worklist","referredToAClinician":"Referred to a clinician","refineSearch":"Showing the first {{shown}}. Add more of the name, or the ACT ID, to find the others.","refreshAlreadyRunning":"A refresh is already running","refreshAlreadyRunningDetail":"Its results show here when it finishes.","refreshExplanation":"Critical data flags, the worklists and every patient\'s prophylaxis adherence are recalculated once a day. Refresh them now to see today\'s changes.","refreshing":"Refreshing","refreshNow":"Refresh now","regimen":"Regimen","registered":"Registered","registeredAPatient":"Registered a patient","registeredCentre":"registered","registeredFrom":"Registered from","registeredTarget":", {{target}}","registeredTo":"Registered to","registerPatient":"Register patient","registrants":"registrants","registrantsByStatus_one":"The {{count}} registrant, by where their registration stands","registrantsByStatus_other":"All {{count}} registrants, by where their registration stands","registrantStatus":"Registrant status","registrationsNotScreening":"Counts registered patients, not people screened: a screen-negative child is never registered.","registry":"Registry","registryConsent":"Registry consent (recorded at registration):","registryDescription":"Patients enrolled in the RHD Registry programme","registryDescriptionAt":"Patients enrolled in the RHD Registry programme at {{clinic}}","remove":"Remove","renameStudy":"Rename study","replacedOn":"Replaced {{date}}","report":"Report","reportHasNoRows":"The report has no rows for these dates","reports":"Reports","Research participation":"Research participation","researchParticipantsNoIdentifiers":"Research participants, no identifiers","researchParticipantsOnly":"Only those who opted in to research","researchParticipation":"Research participation","resetPassword":"Reset password","resetPasswordFor":"Reset the password of {{name}}","restOfDashboardUpToDate":"The rest of the Dashboard is up to date.","result":"Result","retainedInCare":"Retained in care (seen or given prophylaxis in the last 7 months)","reviewInAllergies":"Review in Allergies","revisionInAuditModule":"This change in the audit module (every field, every revision)","rhd":"RHD","rhdCareCascade":"RHD care cascade","rhdComplications":"RHD complications","rhdComplicationsLowercase":"RHD complications","rhdDetails":"RHD details","rhdDetailsNotRecorded":"RHD, details not recorded","rhdFlag":"RHD flag","rhdScreeningDescription":"Monthly counts, {{clinic}}, {{start}} to {{end}}","role":"Role","rolePermissions":"Role permissions","rolePermissionsNote":"Each ACT role is built from these capabilities. You can give a role a capability whose privileges you hold, and take away one it has directly, unless it is how you hold one of its privileges, such as Get Roles, which saving a role needs. A capability a role has through another role shows ticked and is changed on that role. Before giving a role more, check that the administrators who assign it hold those privileges too, or OpenMRS will not let them save anyone who has that role. The roles come from the distribution\'s roles file, and an update to that file replaces changes made here.","roleReadOnly":"Read only: you need {{privileges}}","roles":"Roles","roleSaved":"Role saved","rowCount_one":"{{count}} rows","rowCount_other":"{{count}} rows","rowCountReport_one":"{{count}} row","rowCountReport_other":"{{count}} rows","rows":"Rows","rowsInTotal":"rows in total","runChartAllMetrics":"All eight metrics, {{clinic}}","runChartCalculated":"Each point is the figure on its date, worked out from the records as they are now.","runChartChangeCount":"{{change}} since {{date}}","runChartChangePoints":"{{change}} points since {{date}}","runChartChartAppears_one":"The chart appears after the second {{unit}}; a median and shifts after {{count}} {{units}}.","runChartChartAppears_other":"The chart appears after the second {{unit}}; a median and shifts after {{count}} {{units}}.","runChartCouldNotLoad":"Could not load the run chart","runChartLatest":"Latest, {{date}}: {{detail}}","runChartMedianValue":"Median {{value}}","runChartMetricActiveRegistrants":"Active registrants","runChartMetricAdherent":"Adherent 80%+, % of active registrants","runChartMetricEcho":"Consultations with an echo in 13 months, %","runChartMetricPrescribed":"Prescribed prophylaxis, % of active registrants","runChartMetricProceduresCompleted":"Procedures completed","runChartMetricRecommendation":"Consultations with a procedural recommendation, %","runChartMetricRetainedInCare":"Retained in care (seen in 7 months), % of active registrants","runChartMetricTotalRegistrants":"Total registrants","runChartNoChange":"no change","runChartNoClinic":"No clinic on your account to chart","runChartNothingToChart":"Nothing to chart for {{clinic}} in this range","runChartNothingToChartDetail":"Points appear once there is somebody to count in the range.","runChartNoValue":"No value: nobody to count","runChartOnePoint":"One point has a value in this range","runChartPercentOf":"{{value}}% \xb7 {{count}} of {{total}}","runChartPoint":"Point","runChartPointNote":"One point per {{period}}, as of its last day.","runChartPointNoteDay":"One point per day.","runCharts":"Run charts","runChartsCardDescription":"A clinic\'s figures over time, worked out from the records as they are now","runChartShiftAbove_one":"Shift: {{count}} in a row above the median","runChartShiftAbove_other":"Shift: {{count}} in a row above the median","runChartShiftBelow_one":"Shift: {{count}} in a row below the median","runChartShiftBelow_other":"Shift: {{count}} in a row below the median","runChartTileRetry":"Could not load. Try again","runChartTitle":"{{metric}}, {{clinic}}","runChartValue":"Value","sameClinicAsUser":"{{clinic}}, the same as the user\'s: expected","save":"Save","saveAgainToFinish":"Save again to finish.","savedAForm":"Saved a form","saveMonth":"Save {{month}}","saveRoleNamed":"Save {{name}}","saving":"Saving...","scanPatientCard":"Scan patient card","scanPatientCardExplanation":"Point the camera at the barcode on the patient\'s identifier sticker to open their BPG Delivery form in their chart. The ACT ID field also takes a handheld barcode scanner.","school":"School","screenDetectedRhd_one":"RHD details of the {{count}}","screenDetectedRhd_other":"RHD details of the {{count}}","screened":"Screened","screenedPositive":"Screened positive","screenedPositiveOn":"Screened positive \xb7 {{date}}","screening":"Screening","screeningAgesAddUp":"Each row\'s age groups add up to its screened total.","screeningAgesDoNotAddUp":"The age groups add up to {{ages}}, not the {{screened}} screened","screeningCascade":"Screening cascade","screeningCascadeDescription":"Registrants found by screening (Screen + Yes), and the diagnosis each was given","screeningCounts":"Screening counts","screeningCountsExplanation":"Screen-negative people are never registered, so each clinic enters its screening counts once a month. The Dashboard\'s Screening counts tab reads them.","screeningCountsSaved":"Screening counts for {{clinic}}, {{month}} saved","screeningCountsWholeNumbers":"Enter whole numbers, 0 or more","screeningFromRegistrations":"Screening, from registrations","screeningFromRegistrationsDescription":"Patients registered in the period: what the registry itself can say about screening","screeningMonthNotEntered":"Not entered yet: no counts for {{clinic}}, {{month}}","screeningMonthsAllEntered":"Counts entered for every month in the period","screeningMonthsEnteredAcross":"Counts entered for {{entered}} of {{expected}} months across {{clinics}} clinics. A month not entered adds nothing to these figures.","screeningMonthsEnteredEveryClinic_one":"Counts entered for {{count}} month across all clinics","screeningMonthsEnteredEveryClinic_other":"Counts entered for {{count}} months across all clinics","screeningMonthsEnteredOf":"Counts entered for {{entered}} of {{expected}} months. A month not entered adds nothing to these figures.","screeningMoreThanScreened":"Female and positive cannot be more than the {{screened}} screened","screeningProgrammeSites":"Screening programme sites","screeningSite":"Screening site","screenPlus":"Screen +","searchByNameOrActId":"Search by name or ACT ID","searchClinics":"Search clinics","searchClinicsPlaceholder":"Search by name, type, level or parent clinic","searchForPatient":"Search for a patient by name or ACT ID","searchRegistryWithAlternateId":"Search by name, ACT ID or alternate ID","searchReport":"Search the report","searchResultCount_one":"{{count}} search results","searchResultCount_other":"{{count}} search results","searchThisList":"Search this list","searchUsers":"Search users","searchUsersPlaceholder":"Search by name, username or role","sections":"Sections","securityRecordInAuditModule":"The full security record in the audit module","seeAll":"See all","seenBy":"Seen by","sendReferral":"Send referral","session":"Session","sessionTimedOut":"Session timed out","sessionTimeoutBody":"You have been inactive for a while. To keep your records safe you will be signed out in {{remaining}}, and anything typed into an open form will be lost.","sessionTimeoutTitle":"Still there?","setting":"Setting","sex":"Sex","sharedWithEarlier":"Shared with the earlier entries; record a new INR to change it","shareOfActiveRhd":"{{share}}% of active RHD","sharesAddUpTo100":"Shares are rounded so each group adds up to 100%.","showAllClinics":"Show all clinics","showAsAChart":"Show as a chart","showAsATable":"Show as a table","showDisabledUsers":"Show disabled users","showingSince":"Showing since {{date}}; set From to go further back","shownForInstanceAdmin":"Shown for Instance Administrator","showPassword":"Show password","showReadings":"Show readings","signedIn":"Signed in","signedInRole":"Role: {{roles}}","signedOut":"Signed out","signInFailed":"Sign-in failed","signIns":"Sign-ins","signInsExplanation":"Sign-ins, sign-outs, failed attempts and password changes, from the audit module\'s security log. Locked accounts and the full security record stay in the audit module.","signOut":"Sign out","specificProcedure":"Specific procedure","start":"Start","startConsultation":"Start consultation","startDate":"Start date","started":"Started","startScanning":"Start scanning","startSomeoneOnCare":"Start someone on care","status":"Status","statusNotLoaded":"The patient status could not be loaded","statusNotUpdated":"The patient status could not be updated","staySignedIn":"Stay signed in","stillActiveInAStudy":"Still active in a study","stillActiveInAStudyWithout":"The patient is active in a study, which needs registry consent and a Yes to research. If they have left the study, edit its status.","stillWaiting":"Still waiting","stopped":"Stopped","stopProphylaxis":"Stop prophylaxis","stopProphylaxisLabel":"Stop this prophylaxis","stopScanning":"Stop scanning","studies":"Studies","study":"Study","studyId":"Study ID","studyName":"Study name","studyParticipants":"Study participants","studySaved":"Study saved","studyStatus":"Study status","suitableForRepair":"Suitable for repair","summary":"Summary","surgery":"Surgery","target":"Target","targetRange":"Target range","tertiary":"Tertiary","time":"Time","to":"To","toDate":"To","toMonth":"To","tryAgain":"Try again","type":"Type","typeActIdInstead":"Type the ACT ID instead. {{reason}}","uncheckAll":"Uncheck all","unknownUser":"unknown","updateDiagnosis":"Update diagnosis","updatePatientStatus":"Update patient status","updateProphylaxis":"Update prophylaxis","upToDate":"Up to date","urgency":"Urgency","urgencyElective":"3: Elective (180 days)","urgencyEmergent":"1: Emergent (24 hours)","urgencyUrgent":"2: Urgent (60 days)","urgencyWithinOneMonth":"2 - within 1 month","urgencyWithinOneWeek":"1 - within 1 week","urgencyWithinSixMonths":"4 - within 6 months","urgencyWithinThreeMonths":"3 - within 3 months","user":"User","userDisabled":"User disabled","username":"Username","users":"Users","usersAndRoles":"Users and roles","userSaved":"User saved","usersLog":"{{name}}\'s log","usersLower":"users","viewChart":"View chart","visitStarted":"{{visitType}} started","visitStartedForForm":"Started automatically so the form can be saved","voidedAForm":"Voided a form","voluntaryInactivity":"Voluntary inactivity","waitingCount_one":"{{count}} waiting","waitingCount_other":"{{count}} waiting","waitingForAProcedure":"Waiting for a procedure","waitingList":"Procedural waiting list","waitingListDescription":"Open procedural recommendations from the latest consultation \xb7 red rows are past the deadline for their urgency","waitlistDescription":"Open recommendations in each active patient\'s latest consultation, by urgency","waitlistFigureCouldNotLoad":"{{figure}} could not load","warfarinDose":"Warfarin dose","warningIcon":"warning icon","wasDue":"Was due","week":"Week","weekTo":"Week to {{date}}","whatLeftTheSystem":"what left the system","whatTheDiagnosisFound":"What the diagnosis found","whatUsersChanged":"what users changed","whatUsersRead":"what users read","whatWasRead":"What was read","whoSeesWhat":"Who sees what","whyIdentifiers":"Why identifiers were included","whyOnThisList":"Why on this list","withIdentifiers":"With identifiers","withIdentifiersLower":"with identifiers","withoutIdentifiers":"Without identifiers","worklists":"Worklists","worklistsDescription":"Patients needing action, by list","wouldLikeToBeConsidered":"Would the patient like to be considered for research?","yes":"Yes","yesNoOf":"<done>{{done}}</done> yes, <notDone>{{notDone}}</notDone> no, of {{total}}","yourClinics":"your clinics"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_act_registry_esm_act_app=globalThis.webpackChunk_act_registry_esm_act_app||[]).push([["5117"],{4300(e){e.exports=JSON.parse('{"aboveRange":"Above range","aboveTarget":"above target","accountLocked":"Account locked","accountLockedNote":"account locked","acrossYourSites":"across your sites","actHome":"ACT home","actId":"ACT ID","action":"Action","actions":"Actions","active":"Active","activeCentre":"active","activeCount_one":"{{count}} active","activeCount_other":"{{count}} active","activeMedications":"Active medications","activeMedicationsLowercase":"active medications","activeParticipants":"Active participants","activePatients":"Active patients","activePatientsWithNoMissingData":"active patients with no missing data","activeRegistrants":"Active registrants","activeRegistrantsCount_one":"Active registrants: {{count}}","activeRegistrantsCount_other":"Active registrants: {{count}}","activeRegistrantsDescription":"Sex, age and disease of the patients active today","activeRegistrantsWithDiseaseDescription":"Sex, age and disease of the patients active today with {{disease}}","activeRhdNotReported":"active RHD not reported","activity":"Activity","activityExplanation":"Activity lists what ACT\'s users change: forms, patients, users, roles, clinics, studies and flags. Changes to the server\'s own setup (concepts, form definitions, settings) stay in the audit module, for the same privilege.","actLogo":"ACT logo","acuteRheumaticFever":"Acute rheumatic fever","add":"Add","addClinic":"Add clinic","addParticipation":"Add participation","addUser":"Add user","adherence":"Adherence","adherenceLastReport":"Adherence (last report)","adherencePercent":"Adherence {{percent}}%","adherenceTwelveMonths":"Adherence (12 months)","adherentEightyPercent":"Adherent (80%+)","admin":"Admin","adolescents10to19":"Adolescents 10-19","adults20plus":"Adults 20+","age":"Age","ageAtRegistration":"Age at registration","ageSex":"Age, sex","ageUnknown":"Age unknown","all":"All","allAllergies":"All allergies","allClinics":"All clinics","allDates":"All dates","allDiseases":"All diseases","allergies":"Allergies","Allergies":"Allergies","allergiesNamed":"Allergies: {{names}}","allergiesNotRecorded":"Allergies not recorded","allergiesUnavailable":"Allergies unavailable","allergyAdded":"added {{date}}","allFormsCount_one":"All forms ({{count}})","allFormsCount_other":"All forms ({{count}})","allLists":"All lists","allParticipants":"All participants","allReports":"All reports","allReportsDescription":"Open a report as a table to sort and search it, then download what you see.","alternateId":"Alternate ID","anaphylaxisAfterBpg":"Anaphylaxis after BPG: BPG on hold","any":"Any","anyForm":"Any form","anyUser":"Any user","aorticRegurgitation":"Aortic regurgitation","aorticStenosis":"Aortic stenosis","asOfDate":"As of {{date}}","backToActHome":"Back to ACT home","backToDashboardToExport":"Go back to the Dashboard to export it","backToDiagnosisToConfirm":"Back to Diagnosis to confirm","backToDueForProphylaxis":"Back to Due for prophylaxis","backToEnterProphylaxis":"Back to Enter prophylaxis","backToHome":"Back to Home","backToRegistry":"Back to Registry","backToReports":"Back to Reports","backToTheDashboard":"Back to the Dashboard","backToWaitingList":"Back to Procedural waiting list","backToWorklists":"Back to Worklists","basedOn":"Based on","belowRange":"Below range","belowTarget":"below target","benzathinePenicillinG":"Benzathine penicillin G","birthDate":"Birth date","bpg":"BPG","bpgDoseRecorded":"BPG dose recorded","bpgEveryDays":"BPG \xb7 every {{days}} days","bpgEveryWeeks":"BPG \xb7 every {{weeks}} weeks","bpgInjections":"BPG injections","bpgOnHold":"BPG on hold","bpgOnHoldReason":"Anaphylaxis reported after BPG: a clinician must review before the next dose","bpgOnTimeRate":"BPG on-time rate","bpgOrOral":"BPG or oral","bpgStatus":"BPG status","browserOnSystem":"{{browser}} on {{system}}","byFacility":"By facility","byFacilityDescription":"Each patient\'s primary care clinic: active patients, mean adherence and data status (Duplicates: shared name and birth date, Review: open data-quality flag).","cameraUnavailable":"The camera is not available","cancel":"Cancel","cannotStartVisit":"You may not start a visit for this patient.","capabilityKeptForGetRoles":"{{role}}: {{capability}}, kept: without it you would lose Get Roles, which saving a role needs","capabilityKeptForPrivileges":"{{role}}: {{capability}}, kept: without it you would lose {{privileges}}, and could not give it back here","capabilityStillThrough":"{{role}}: {{capability}}, still had through {{through}}","capabilityThrough":"{{role}}: {{capability}}, through {{through}}","Cardiac tests":"Cardiac tests","cardiacClinic":"Cardiac clinic","cardiologyFollowUpDue":"Cardiology follow-up due","cardiologyReviewDatePassed":"Cardiology review date has passed","cardiologyVisitDueOn":"Cardiology visit due {{date}}","cardiologyVisitDueToday":"Cardiology visit due today","cardiologyVisitOverdue":"Cardiology visit overdue","careCascade":"Care cascade","careCascadeDescription":"Active RHD patients; each step is a share of the one before, Adherent of Initiated","careCascadePastDescription":"Active RHD patients; each step is a share of the one before. Coverage and adherence are left out, as ACT Core keeps them only for today.","cascade":"Cascade","cascadeReportDate":"Report date: {{date}}","caseDetectedBy":"Case detected by","categoryAtDiagnosis":"Category at diagnosis","causeOfDeath":"Cause of death","checkAll":"Check all","checkFilters":"Check the filters above","children0to9":"Children 0-9","chooseAClinic":"Choose at least one clinic","chooseARole":"Choose at least one role","chooseAStatus":"Choose a status","chooseAStudy":"Choose a study","chooseClinicLevel":"Choose the clinic level","chooseClinicType":"Choose the clinic type","chooseLevel":"Choose a level","chooseReason":"Choose a reason","chooseRegimen":"Choose a regimen","chooseSection":"Choose a section","chooseSex":"Choose a sex","chooseStatus":"Choose a status","chooseType":"Choose a type","chronicConditions":"Chronic health conditions","chronicConditionsLowercase":"chronic health conditions","cleared":"cleared","clearSearchInput":"Clear search input","clinic":"Clinic","clinicalDashboardsCliniciansOnly":"Clinical dashboards are only visible to clinicians.","clinicalPresentation":"Clinical presentation","clinics":"Clinics","clinicsAddedTogether":"{{clinics}} added together","clinicSaved":"Clinic saved","clinicsNote":"Clinics that come from the distribution\'s locations file return to what that file says when it is updated; clinics added here keep their changes.","close":"Close","closeNotification":"Close notification","closeSearch":"Close search","coincidentalFinding":"Coincidental finding","collapseSection":"Collapse {{section}}","community":"Community","completed":"Completed","completionDate":"Completion date","completionNotBeforeEnrollment":"The completion date cannot be before the enrollment date","configureInstance":"Configure instance","confirmatoryEchoNeeded":"Confirmatory echo needed","confirmDismissFlag":"Dismiss this flag? It stays dismissed until the data no longer raises it.","confirmPassword":"Confirm password","congenital":"Congenital","congenitalHeartDisease":"Congenital heart disease","consentBeforeEnrolling":"A patient is enrolled in a study only after giving registry consent, which is recorded at registration.","consentGiven":"Consent given","Consultation visits":"Consultation visits","consultationsCount_one":"{{count}} consultation","consultationsCount_other":"{{count}} consultations","consultationVisits":"Consultation visits","consultationVisitsLastYear":"Consultation visits in the last year","consultationVisitsLowercase":"consultation visits","contactUs":"Contact us","contraindications":"Contraindications","couldNotBuildFile":"Could not build the file","couldNotDisableUser":"Could not disable the user","couldNotDismissFlag":"Could not dismiss the flag","couldNotDownload":"Could not download the data","couldNotLoad":"could not load","couldNotLoadCareCascade":"Could not load the care cascade","couldNotLoadClinic":"Could not load this clinic","couldNotLoadClinics":"Could not load the clinics","couldNotLoadDashboard":"Could not load the dashboard","couldNotLoadDueForProphylaxis":"Could not load the patients due for prophylaxis","couldNotLoadFields":"Could not load the form\'s fields","couldNotLoadFigure":"Could not load the patients behind this figure","couldNotLoadFormFields":"Could not load {{form}}\'s fields","couldNotLoadForms":"Could not load the forms","couldNotLoadGaps":"Could not load the missing data","couldNotLoadLastRefresh":"Could not load when they were last refreshed","couldNotLoadLocationTags":"Could not load the location tags, so the clinic cannot be saved","couldNotLoadLog":"Could not load the log","couldNotLoadOverdueConsultations":"Could not load the patients overdue for consultation","couldNotLoadParticipants":"Could not load the study participants","couldNotLoadParticipation":"Could not load this participation","couldNotLoadPatientsOnProphylaxis":"Could not load the patients on prophylaxis","couldNotLoadRegistry":"Could not load the registry","couldNotLoadReports":"Could not load the report","couldNotLoadRoles":"Could not load the roles","couldNotLoadScreeningCounts":"Could not load the screening counts","couldNotLoadScreenPositive":"Could not load the screen positive list","couldNotLoadSection":"{{section}} could not load","couldNotLoadStudies":"Could not load the studies","couldNotLoadStudy":"Could not load this study","couldNotLoadUser":"Could not load this user","couldNotLoadUsers":"Could not load the users","couldNotLoadWaitingList":"Could not load the procedural waiting list","couldNotLoadWorklist":"Could not load this list","couldNotLoadWorklistPatients":"Could not load the worklist patients","couldNotMakeExport":"Could not make the export","couldNotOpenForm":"Could not open the form","couldNotRecordDownload":"Could not record the download, so no file was made","couldNotRefresh":"Could not refresh flags and adherence","couldNotResetPassword":"Could not reset the password","couldNotSaveClinic":"Could not save the clinic","couldNotSaveInr":"The INR could not be saved","couldNotSaveOptIn":"Could not save the answer","couldNotSaveParticipation":"Could not save the participation","couldNotSaveRole":"Could not save the role","couldNotSaveScreeningCounts":"Could not save the screening counts","couldNotSaveStudy":"Could not save the study","couldNotSaveUser":"Could not save the user","couldNotSearch":"Could not search for patients","countsOnlyNoPatients":"Counts only, no patient data","countsStillLoading":"The counts are still loading; export again in a moment","covered":"Covered","coveredToday":"Covered today","createStudy":"Create study","csvClinics":"Clinics","csvCount":"Count","csvGroup":"Group","csvLabel":"Label","csvSection":"Section","current":"Current","currentAllergies":"Current allergies","currentAllergiesLowercase":"current allergies","currentPrescription":"Current prescription","currentRegimen":"Current regimen","currentStatus":"Current status","dashboard":"Dashboard","data":"Data","dataComplete":"Complete","dataCompleteness":"Data completeness","dataDuplicates":"Duplicates","dataReview":"Review","date":"Date","dateAdded":"Date added","dateDaysAgo":"{{date}} ({{days}} days ago)","dateNotInFuture":"The date cannot be in the future","dateOfBirth":"Date of birth","dateOfDeath":"Date of death","dateOfStatusChange":"Date of status change","dateResolved":"Date resolved","dateStarted":"Date started","dateStopped":"Date stopped","dateTested":"Date tested","dateTestedRequired":"Enter the date tested","day":"Day","daysCount_one":"{{count}} day","daysCount_other":"{{count}} days","daysOverdue":"{{days}} days overdue","daysPending":"Days pending","deathSavedEnrolmentNot":"The death was saved but the registry status was not","deceased":"Deceased","deceasedNotEnrolled":"The patient has died, so they cannot be enrolled in a study.","deceasedOn":"Deceased{{on}}","details":"Details","diagnosed":"diagnosed","diagnoses":"Diagnoses","diagnosesLowercase":"diagnoses","diagnosis":"Diagnosis","diagnosisCategory":"Diagnosis category","diagnosisDetails":"Diagnosis details","diagnosisRecorded":"Diagnosis recorded","diagnosisToConfirm":"Diagnosis to confirm","diagnosisToConfirmDescription":"Screen-positive patients whose diagnosis has no details yet. Record diagnosis opens their form beside this list, where saved details take them off it.","diagnosisToConfirmTileDescription":"Screened positive, no diagnosis details yet","disable":"Disable","disabled":"Disabled","disableUser":"Disable user","disableUserBody":"They will no longer be able to sign in. Everything they recorded stays, and an instance administrator can enable them again.","disableUserNamed":"Disable {{name}}?","disease":"Disease","dismiss":"Dismiss","dismissFlag":"Dismiss flag","district":"District","docs":"Docs","done":"Done","doneStillWaitingOfRecommendations":"<done>{{done}}</done> done, <notDone>{{notDone}}</notDone> still waiting, of {{total}} recommendations","dose":"Dose","doseChange":"Dose change","doseChangedTo":"{{answer}}, {{dose}}","downloadCsv":"Download CSV","downloadData":"Download data","downloadDeidentifiedExplanation":"The download comes without names, birth dates, ID numbers or phones. Each download is recorded.","downloaded":"Downloaded","downloadIdentifiedExplanation":"The download can come with the patient\'s names, birth date, ID numbers and phones, those ticked under Patient. Each download is recorded.","downloading":"Downloading...","downloadPeriod":"{{from}} to {{to}}","downloadResearchExplanation":"Only the patients who opted in to research, without names, birth dates, ID numbers or phones. Each download is recorded.","downloads":"Downloads","downloadsExplanation":"Every CSV that leaves ACT is here: Download data, the registry and worklist lists, and these logs. A download is recorded before its first row is sent; if it cannot be recorded, it does not happen.","downloadsLower":"downloads","downloadsSince":"downloads since {{date}}","dueBy":"Due by","dueForProphylaxis":"Due for prophylaxis","dueInDays":"Due in {{days}} days","dueInOneDay":"Due in 1 day","dueOn":"Due {{date}}","dueSoon":"Due soon","dueToday":"Due today","dueWithinSevenDays":"Due within 7 days","dueWithinTwoDays":"Due in the next 48 hours, due today or overdue","duration":"Duration","echocardiograms":"Echocardiograms","echocardiogramsLowercase":"echocardiograms","echoLast13Months":"Echocardiogram in the last 13 months","edit":"Edit","editAllergy":"Edit {{allergy}}","editBpgInjection":"Edit BPG injection of {{date}}","editClinic":"Edit clinic","editClinicNamed":"Edit {{name}}","editConsultation":"Edit consultation of {{date}}","editDiagnosis":"Edit {{diagnosis}}","editEchocardiogram":"Edit echocardiogram of {{date}}","editedAForm":"Edited a form","editElectrocardiogram":"Edit electrocardiogram of {{date}}","editInr":"Edit INR of {{date}}","editInrMonitoring":"Edit INR monitoring","editLastConsultation":"Edit last consultation","editListedItem":"Edit {{item}} in the consultation of {{date}}","editMedicine":"Edit {{medicine}}","editOralReport":"Edit oral adherence report of {{date}}","editParticipation":"Edit participation","editUser":"Edit user","electrocardiograms":"Electrocardiograms","electrocardiogramsLowercase":"electrocardiograms","enabled":"Enabled","endBeforeStart":"The end is before the start","endDate":"End date","ended":"Ended","enrolledAndAlive":"enrolled and alive","enrollmentDate":"Enrollment date","enterAStudyName":"Enter a name for the study","enterBpg":"Enter BPG","enterClinicName":"Enter the clinic name","enteredThisWeek":"Entered this week","enterFamilyName":"Enter a family name","enterGivenName":"Enter a given name","enterOralProphylaxis":"Enter oral prophylaxis","enterPassword":"Enter a password","enterProphylaxis":"Enter prophylaxis","enterProphylaxisBanner":"Choose the patient. The form opens in their chart and a visit starts automatically.","enterProphylaxisDescription":"Choose the patient, then record what was given today","enterResult":"Enter result","enterTheCompletionDate":"Enter the completion date for an Inactive status","enterTheEnrollmentDate":"Enter the enrollment date","enterTheStudyId":"Enter the Study ID","enterUsername":"Enter a username","errorIcon":"error icon","event":"Event","everyClinic":"every clinic","everyPatient":"Every patient on the registry","everyReadInAuditModule":"Every read in the audit module","everyStatus":"every status","everythingInLogs":"Everything in Logs","expandSection":"Expand {{section}}","export":"Export","exportCsv":"Counts (CSV): every number in the sections, for a spreadsheet","exportCsvOf_one":"Export CSV of {{count}} section","exportCsvOf_other":"Export CSV of {{count}} sections","exportDashboard":"Export the Dashboard","exportImages":"Images: a PNG of each section, in one .zip, for slides or messages","exportImagesOf_one":"Export the image of {{count}} section","exportImagesOf_other":"Export images of {{count}} sections","exportNote":"Counts only, no patient names. Each export is recorded in the download log.","exportPdf":"PDF: print, or save as a PDF; the charts stay sharp","exportPdfOf_one":"Export PDF of {{count}} section","exportPdfOf_other":"Export PDF of {{count}} sections","facility":"Facility","facilityReport":"Facility report","facilityReports":"Facility reports","failedSignInsLastWeek_one":"Failed sign-ins in the last 7 days: {{count}}","failedSignInsLastWeek_other":"Failed sign-ins in the last 7 days: {{count}}","failedSignInsLastWeekByUser_one":"Failed sign-ins by {{user}} in the last 7 days: {{count}}","failedSignInsLastWeekByUser_other":"Failed sign-ins by {{user}} in the last 7 days: {{count}}","familyName":"Family name","female":"Female","fields":"Fields","fieldsAndPeriod_one":"{{count}} fields, {{period}}","fieldsAndPeriod_other":"{{count}} fields, {{period}}","fieldsInTheFile":"Fields in the file","fieldsLeftOut":"Fields the user chose and the file left out","figuresAsOf":"Figures as of","figuresAsOfDate":"figures as of {{date}}","findPatient":"Find a patient","firstDoseDue":"First dose due","flagCount":"{{number}} flags","flagDismissed":"Flag dismissed","flagOpenDays_one":"{{flag}} ({{count}} day)","flagOpenDays_other":"{{flag}} ({{count}} days)","flags":"Flags","flagsAndAdherence":"Flags and adherence","flagsRefreshed":"Flags and adherence refreshed","form":"Form","format":"Format","formFieldsChosen":"{{form}}: {{chosen}} of {{total}} fields","formOnVisitDate":"{{form}}, visit of {{date}}","forms":"Forms","formsAndSites":"Forms & sites","formsDatedLastSevenDays":"forms dated in the last 7 days","formsSavedLastWeek":"forms saved, 7 days","formsShowUpWhenNeeded":"Forms show up here only when {{name}} needs them","forTarget":"for {{target}}","from":"From","fromDate":"From","fromMonth":"From","given":"Given","givenName":"Given name","governedOffByDefault":"Governed \xb7 OFF by default","healthFacility":"Health facility","heartDisease":"Heart disease","hidePassword":"Hide password","hideReadings":"Hide readings","history":"History","home":"Home","identifiers":"Identifiers","identifyingFieldsKept":"The user holds {{privilege}}, so the file keeps fields that identify the patient.","idNumbers":"ID numbers","inactive":"Inactive","indication":"Indication","infoIcon":"info icon","initiated":"Initiated","injectionDue":"Injection due","inr":"INR","INR reviews":"INR reviews","inrAboveTargetPill":"INR {{inr}} above target","inRange":"In range","inRangeWord":"in range","inrBelowTarget":"INR {{inr}} below target","inrChartDescription":"INR over time: {{readings}}. Green zone 2.0 to 3.0, orange 1.5 to 2.0 and 3.0 to 4.0, red below 1.5 and above 4.0.","inrChartEmpty":"No INR recorded","inrChartTarget":"Target {{range}}","inrDueOn":"INR due {{date}}","inrDueToday":"INR due today","inrLast90Days":"On warfarin, with an INR in the last 90 days","inrLoadError":"The INR could not be loaded","inrMonitoring":"INR Monitoring","inrNotFound":"This INR could not be found","inrOverdue":"INR overdue","inrReadingOn":"{{value}} on {{date}}","inrReviewDue":"INR review due","inrReviews":"INR reviews","inrReviewsLowercase":"INR reviews","inrSaved":"INR saved","inrTarget":"INR target","inrValue":"INR value","inrValueInvalid":"Enter an INR above 0 and up to {{highest}}","inrWithResult":"{{inr}} \xb7 {{result}}","interventions":"Interventions","ipAddress":"IP address","itemRange_one":"{{min}}–{{max}} of {{count}} item","itemRange_other":"{{min}}–{{max}} of {{count}} items","itemsPerPage":"Items per page:","jumpTo":"Jump to","keyFigures":"Key figures","kindClinic":"Clinic","kindEdited":"Edited","kindFlag":"Flag","kindOther":"Other","kindPatientStatus":"Patient status","kindRegistered":"Registered","kindRole":"Role","kindSaved":"Saved","kindStudy":"Study","kindUser":"User","kindVoided":"Voided","landscape":"Landscape","lastConsultation":"Last consultation","lastDose":"Last dose","lastInjection":"Last injection","lastRefreshedAt":"Last refreshed {{when}}","lastReport":"Last report","lastUpdated":"Last updated","late":"Late","latestRecommendationsCarriedOut":"Latest recommendations carried out","layout":"Layout","leftVentricularEjectionFraction":"Left ventricular ejection fraction","level":"Level","levelTagsNotInClinicLocationTags":"These clinic level tags are not in clinicLocationTags, so the rest of ACT does not count their clinics: {{tags}}","limitedToYourClinics":"The users of your clinics","limitedToYourClinicsBody":"You can add and change the users of the clinics on your account, with the clinician roles. An instance administrator manages the others.","listColumns_one":"{{list}}, {{count}} columns","listColumns_other":"{{list}}, {{count}} columns","loading":"Loading...","log":"Log","logs":"Logs","logTimeRange":"{{start}} to {{end}}","logToday":"Today, {{time}}","logYesterday":"Yesterday, {{time}}","lostToFollowUp":"Lost to follow-up","male":"Male","medicalOptimisation":"Medical optimisation","medicalOptimisationDescription_one":"Of the {{count}} active registrant, except the warfarin row, which counts only those on warfarin","medicalOptimisationDescription_other":"Of the {{count}} active registrants, except the warfarin row, which counts only those on warfarin","Medications":"Medications","metric":"Metric","missing":"Missing","missingData":"Missing data","missingLocationTags":"The server has no location tag named {{tags}}; ask an administrator to add it","mitralBalloonValvuloplasty":"Mitral balloon valvuloplasty","mitralRegurgitation":"Mitral regurgitation","mitralStenosis":"Mitral stenosis","month":"Month","monthlyQuarterly":"Monthly \xb7 quarterly","monthsEntered":"Months entered","monthTo":"Month to {{date}}","name":"Name","nameOrActId":"Name or ACT ID","nationalId":"National ID","needsFollowUp":"needs follow-up","needsPrescription":"Needs prescription","negative":"Negative","new":"New","newDose":"New anticoagulant dose","newestFirst":"Newest first","newPassword":"New password","newPrescription":"New prescription","nextCardiologyReview":"Next cardiology review","nextConsultation":"Next consultation","nextDoseDueInSevenDays":"Next dose due within 7 days","nextDue":"Next due","nextDueOn":"Next due {{date}}","nextInr":"Next INR","nextInrDate":"Next INR date","nextInrDue":"Next INR due","nextPage":"Next page","nextRefill":"Next refill","nextReview":"Next review","nextStepAdded":"Next step added: {{steps}}","nextStepsForThisVisit":"Next steps for this visit","no":"No","noActHomeWidgets":"No widgets have been added to ACT home yet.","noActivePatients":"There are no active patients","noActivity":"There is no activity to display","noActRoles":"There are no ACT roles to display","nobodyAtClinicToCount":"Nobody at {{clinic}} to count","nobodyDueForProphylaxis":"Nobody is due for prophylaxis","nobodyDueInThisList":"No patients in this list","nobodyWithDiseaseToCount":"Nobody with {{disease}} to count","noBpgInjections":"There are no BPG injections to display","noCareCascadeData":"No care cascade data","noClinicMatches":"No clinics to display","noClinics":"There are no clinics to display","noClinicsToCount":"There are no clinics to enter counts for.","noCommunityHomeWidgets":"No widgets have been added to Home yet.","noDiagnosisYet":"No diagnosis yet","noDoseYet":"No dose yet","noDownloadDetail":"No detail was recorded","noDownloads":"There are no downloads to display","noFieldsChanged":"No fields recorded","noFormsToDownload":"No saved forms match","noGapList":"This flag does not list its missing data.","noGapLists":"None of this patient\'s flags lists its missing data.","noKnownAllergies":"No known allergies","noLogEntries":"No entries yet","noLogEntriesMatch":"No entries match","none":"None","noOralReports":"There are no oral adherence reports to display","noOtherFindings":"No other findings recorded","noOverdueConsultations":"No patient is overdue for consultation","noParticipantMatches":"No participants to display","noParticipants":"There are no study participants to display","noParticipations":"There are no study participations to display","noPatientsFound":"Sorry, no patient charts were found","noPatientsOnProphylaxis":"No patients on prophylaxis to display","noPatientsToCount":"No patients to count","noPatientWithActId":"No patient with ACT ID {{actId}}.","noPrescription":"No prescription","noPrescriptionHistory":"There is no prescription history to display","noProceduralRecommendation":"No procedural rec.","noProphylaxisPrescription":"No prophylaxis prescription","noReads":"There are no reads to display","noRegistryMatches":"No patients to display","noRegistryPatients":"There are no registry patients to display","normal":"Normal","noRowsMatchSearch":"No rows match the search","noSavedForm":"No saved form is waiting to be completed. Record the missing data on a new form.","noScreeningCounts":"No screening counts entered in the period","noScreeningCountsAt":"No screening counts entered for {{clinic}} in the period","noScreenPositiveMatches":"No patients to display","noScreenPositivePatients":"There are no screen positive patients waiting for a diagnosis","noSignIns":"There are no sign-ins to display","noStatusRecorded":"No status recorded","noStudies":"There are no studies to display","noSuchReport":"There is no such report","notConsented":"Not consented","notConsentedLegend":"Patients marked with * have not consented to the registry","notCovered":"Not covered","notes":"Notes","notGiven":"Not given","nothingDueToday":"Nothing due for this patient today.","nothingToUpdate":"There is nothing to update for this patient.","notInRegistry":"Not in the registry","notRecorded":"Not recorded","notRefreshedYet":"Not refreshed yet","notReported":"not reported","notScreenPositive":"Not screen-positive","notScreenPositiveNote":"Patient Information asks where a patient was screened only when Screen + is Yes. Not screen-positive counts the patients never asked; Not recorded, the screen-positive with no answer.","notUsersClinic":"{{clinic}}, not the user\'s","noUsers":"There are no users to display","noWaitingListMatches":"No recommendations to display","noWaitingRecommendations":"There are no procedural recommendations to display","noWorklistMatches":"No patients to display","noWorklistPatients":"There are no patients on this list to display","noWorklists":"No worklists have been added yet.","nyhaClass":"NYHA class","off":"Off","ofPatient":"of {{patient}}","on":"On","onHold":"On hold","onListForDays_one":"On the list for {{count}} day","onListForDays_other":"On the list for {{count}} days","onOral":"On oral","onSecondaryProphylaxis":"On secondary prophylaxis","onTime":"On time","onTimeCount":"{{given}} of {{total}}","onTimeCountMonths":"{{given}} of {{total}} on time, {{months}} months","onTimeSixMonths":"On-time (6 months)","open":"Open","openAuditModule":"Open the audit module","openBpgForm":"Open BPG form","openChart":"Open chart","openClinicalForms":"Open clinical forms","openConsultation":"Open consultation","opened":"Opened","openedFromTheDashboard":"Opened from the Dashboard: {{figure}}, {{amount}}.","openedTheChart":"Opened the chart","openForDays_one":"Open for {{count}} day, since {{date}}","openForDays_other":"Open for {{count}} days, since {{date}}","openForm":"Open form","openFormFromClinicalForms":"Open the form from Clinical forms.","openFromClinicalForms":"The visit has started. Open the form from Clinical forms.","openingBpgForm":"Opening the BPG form","openingChart":"Opening their chart","openNamedForm":"Open {{form}}","openPatientsChart":"Open {{name}}\'s chart","openRecommendations_one":"{{count}} open recommendation","openRecommendations_other":"{{count}} open recommendations","openRecommendationsFigure":"Open recommendations","openRunCharts":"Open run charts","optInBeforeEnrolling":"A patient is enrolled in a study only after answering Yes above.","oral":"Oral","oralAdherence":"Oral adherence","orientation":"Orientation","other":"Other","otherClinicsKept_one":"Also at {{count}} clinic not shown here, which is kept","otherClinicsKept_other":"Also at {{count}} clinics not shown here, which are kept","otherFinding":"Other finding","otherFindings":"Other findings","otherHeartDisease":"Other heart disease","otherSecurityEvent":"Other","outcome":"Outcome","overdue":"Overdue","overdueForConsultation":"Overdue for consultation","overdueProphylaxis":"Overdue prophylaxis","overdueWasDue":"Overdue \xb7 was due {{date}}","overview":"Overview","parentClinic":"Parent clinic","participationSaved":"Participation saved","password":"Password","passwordChanged":"Password changed","passwordChangeFailed":"Password change failed","passwordReset":"Password reset","passwordResetFailed":"Password reset failed","passwordResetRequested":"Password reset requested","passwordResetRequestFailed":"Password reset request failed","passwordRule":"At least 8 characters, with an upper case letter and a number","passwordsDoNotMatch":"The passwords do not match","passwordWasReset":"Password reset","pastAllergies":"Past allergies","pastAllergiesLowercase":"past allergies","pastMedications":"Past medications","pastMedicationsLowercase":"past medications","patient":"Patient","patientAtOtherClinic":"the patient is at {{clinic}}, not the user\'s clinic","patientCount_one":"{{count}} patient","patientCount_other":"{{count}} patients","patientFields":"Patient fields","patientFieldsChosen":"Patient: {{chosen}} of {{total}} fields, after the ACT ID","patients":"Patients","patientsClinic":"Patient\'s clinic","patientsCount_one":"{{count}} patient","patientsCount_other":"{{count}} patients","patientsEnrolledAt":"Patients enrolled at {{clinic}}","patientsOnProphylaxis":"Patients on prophylaxis","patientsOpened":"Patients opened","patientsOpenedLower":"patients opened","patientStatusUpdated":"Patient status updated","patientsTheFiltersKept":"Only those the filters kept","patientsWaitingForProcedure":"Patients waiting for a procedure","performedInTheYear":"Performed in the 12 months","performedInYear":"Performed in the 12 months to the date shown: mitral balloon valvuloplasty <bmv>{{bmv}}</bmv>, surgery <surgery>{{surgery}}</surgery>","performedLast12Months":"Performed in the last 12 months","period":"Period","periodDay":"day","periodDays":"days","periodLength":"Period length","periodMonth":"month","periodMonths":"months","periodRange":"{{start}} to {{end}}","periodWeek":"week","periodWeeks":"weeks","phoneNumbers":"Phone numbers","physicalRelocation":"Physical relocation","points":"Points","portrait":"Portrait","positive":"Positive","postMortem":"Post-mortem","postProceduralFollowUpDue":"RHD 30-day post-procedural follow-up due","pregnancyLabor":"Pregnancy / labor","pregnancyOutcomeDue":"RHD pregnancy outcome due","prescribed":"Prescribed","prescribedFirstDoseDue":"Prescribed, first dose due","prescription":"Prescription","prescriptionHistory":"Prescription history","previousPage":"Previous page","primaryCareClinic":"Primary care clinic","printedByOn":"Printed by {{user}} on {{date}}","privateForProfit":"Private For-Profit","privateNotForProfit":"Private Not-For-Profit","proceduralOldRecommendation":"Procedural rec. > 12 months","proceduralRecentRecommendation":"Procedural rec. < 12 months","proceduralRecommendations":"Procedural recommendations","proceduralWaitingList":"Procedural waiting list","proceduralWaitlist":"Procedural waitlist","proceduralWaitlistOfActive_one":"Procedural waitlist: {{count}} of {{active}} active patients is waiting for a procedure","proceduralWaitlistOfActive_other":"Procedural waitlist: {{count}} of {{active}} active patients are waiting for a procedure","proceduralWaitlistPatients_one":"Procedural waitlist: {{count}} patient","proceduralWaitlistPatients_other":"Procedural waitlist: {{count}} patients","procedure":"Procedure","procedureCompletesRecommendation":"A recommendation is done once Procedures and Outcomes records the same procedure, dated on or after the consultation.","procedureDoneOn":"Done {{date}}","procedureDue":"Procedure due","procedureOverdue":"Overdue","procedureType":"Type","procedureTypeFilter":"Procedure type","procedureWaiting":"Waiting","prophylaxis":"Prophylaxis","Prophylaxis":"Prophylaxis","prophylaxisDueSoon":"Prophylaxis due soon","prophylaxisDueThisWeek":"Prophylaxis due this week","prophylaxisNeedsLocation":"Choose a login location first","prophylaxisNotUpdated":"The prophylaxis could not be updated","prophylaxisOverdue":"Prophylaxis overdue","prophylaxisPlan":"Prophylaxis plan","prophylaxisRegimen":"Prophylaxis regimen","prophylaxisStopped":"Prophylaxis stopped","prophylaxisUpdated":"Prophylaxis updated","prophylaxisUpToDate":"Prophylaxis up to date","public":"Public","quarter":"Quarter","quickActions":"Quick actions","reaction":"Reaction","readCount_one":"{{count}} reads","readCount_other":"{{count}} reads","reads":"Reads","readsExplanation":"A user\'s reads of one patient within an hour are one row; expand it for each one. The row says when the patient is at another clinic than the user\'s.","readTimesInMinutes_one":"{{count}} times in {{minutes}} minutes","readTimesInMinutes_other":"{{count}} times in {{minutes}} minutes","readTimesWithinAMinute_one":"{{count}} times within a minute","readTimesWithinAMinute_other":"{{count}} times within a minute","reason":"Reason","reasonBelow80":"Reason if below 80%","reasonStopped":"Reason stopped","recentlyViewedPatients":"Recently viewed patients","recommendationOutcome":"Recommendation outcome","recommendationsCount_one":"{{count}} recommendation","recommendationsCount_other":"{{count}} recommendations","recommendedOn":"Recommended","recordAgain":"Record again","recordAllergyAgain":"Record {{allergy}} again","recordBpg":"Record BPG","recordBpgInjection":"Record BPG injection","recordDiagnosis":"Record diagnosis","recorded":"Recorded","recordedToday":"Recorded today","recordedTodayExplanation":"ACT counts only the first record of a day, so this changes today\'s record instead of adding another.","recordFollowsPrescription":"The button follows each patient\'s current prescription. Prescriptions are changed in the Consultation Visit, not here.","recordInr":"Record INR","recordOral":"Record oral","recordOralProphylaxis":"Record oral prophylaxis","recordProcedure":"Record procedure","referralNeedsLocation":"Choose a login location first","referralNotSent":"The referral could not be sent","referralSent":"Referral sent","referralSentSubtitle":"The cardiac clinic will see it on their worklist","referredToAClinician":"Referred to a clinician","refineSearch":"Showing the first {{shown}}. Add more of the name, or the ACT ID, to find the others.","refreshAlreadyRunning":"A refresh is already running","refreshAlreadyRunningDetail":"Its results show here when it finishes.","refreshExplanation":"Critical data flags, the worklists and every patient\'s prophylaxis adherence are recalculated once a day. Refresh them now to see today\'s changes.","refreshing":"Refreshing","refreshNow":"Refresh now","regimen":"Regimen","registered":"Registered","registeredAPatient":"Registered a patient","registeredCentre":"registered","registeredFrom":"Registered from","registeredTarget":", {{target}}","registeredTo":"Registered to","registerPatient":"Register patient","registrants":"registrants","registrantsByStatus_one":"The {{count}} registrant, by where their registration stands","registrantsByStatus_other":"All {{count}} registrants, by where their registration stands","registrantStatus":"Registrant status","registrationsNotScreening":"Counts registered patients, not people screened: a screen-negative child is never registered.","registry":"Registry","registryConsent":"Registry consent (recorded at registration):","registryDescription":"Patients enrolled in the RHD Registry programme","registryDescriptionAt":"Patients enrolled in the RHD Registry programme at {{clinic}}","remove":"Remove","renameStudy":"Rename study","replacedOn":"Replaced {{date}}","report":"Report","reportHasNoRows":"The report has no rows for these dates","reports":"Reports","Research participation":"Research participation","researchParticipantsNoIdentifiers":"Research participants, no identifiers","researchParticipantsOnly":"Only those who opted in to research","researchParticipation":"Research participation","resetPassword":"Reset password","resetPasswordFor":"Reset the password of {{name}}","restOfDashboardUpToDate":"The rest of the Dashboard is up to date.","result":"Result","retainedInCare":"Retained in care (seen or given prophylaxis in the last 7 months)","reviewInAllergies":"Review in Allergies","revisionInAuditModule":"This change in the audit module (every field, every revision)","rhd":"RHD","rhdCareCascade":"RHD care cascade","rhdComplications":"RHD complications","rhdComplicationsLowercase":"RHD complications","rhdDetails":"RHD details","rhdDetailsNotRecorded":"RHD, details not recorded","rhdFlag":"RHD flag","rhdScreeningDescription":"Monthly counts, {{clinic}}, {{start}} to {{end}}","role":"Role","rolePermissions":"Role permissions","rolePermissionsNote":"Each ACT role is built from these capabilities. You can give a role a capability whose privileges you hold, and take away one it has directly, unless it is how you hold one of its privileges, such as Get Roles, which saving a role needs. A capability a role has through another role shows ticked and is changed on that role. Before giving a role more, check that the administrators who assign it hold those privileges too, or OpenMRS will not let them save anyone who has that role. The roles come from the distribution\'s roles file, and an update to that file replaces changes made here.","roleReadOnly":"Read only: you need {{privileges}}","roles":"Roles","roleSaved":"Role saved","rowCount_one":"{{count}} rows","rowCount_other":"{{count}} rows","rowCountReport_one":"{{count}} row","rowCountReport_other":"{{count}} rows","rowPerPatient":"A row per patient","rowPerSavedForm":"A row per saved form","rows":"Rows","rowsInTotal":"rows in total","runChartAllMetrics":"All eight metrics, {{clinic}}","runChartCalculated":"Each point is the figure on its date, worked out from the records as they are now.","runChartChangeCount":"{{change}} since {{date}}","runChartChangePoints":"{{change}} points since {{date}}","runChartChartAppears_one":"The chart appears after the second {{unit}}; a median and shifts after {{count}} {{units}}.","runChartChartAppears_other":"The chart appears after the second {{unit}}; a median and shifts after {{count}} {{units}}.","runChartCouldNotLoad":"Could not load the run chart","runChartLatest":"Latest, {{date}}: {{detail}}","runChartMedianValue":"Median {{value}}","runChartMetricActiveRegistrants":"Active registrants","runChartMetricAdherent":"Adherent 80%+, % of active registrants","runChartMetricEcho":"Consultations with an echo in 13 months, %","runChartMetricPrescribed":"Prescribed prophylaxis, % of active registrants","runChartMetricProceduresCompleted":"Procedures completed","runChartMetricRecommendation":"Consultations with a procedural recommendation, %","runChartMetricRetainedInCare":"Retained in care (seen in 7 months), % of active registrants","runChartMetricTotalRegistrants":"Total registrants","runChartNoChange":"no change","runChartNoClinic":"No clinic on your account to chart","runChartNothingToChart":"Nothing to chart for {{clinic}} in this range","runChartNothingToChartDetail":"Points appear once there is somebody to count in the range.","runChartNoValue":"No value: nobody to count","runChartOnePoint":"One point has a value in this range","runChartPercentOf":"{{value}}% \xb7 {{count}} of {{total}}","runChartPoint":"Point","runChartPointNote":"One point per {{period}}, as of its last day.","runChartPointNoteDay":"One point per day.","runCharts":"Run charts","runChartsCardDescription":"A clinic\'s figures over time, worked out from the records as they are now","runChartShiftAbove_one":"Shift: {{count}} in a row above the median","runChartShiftAbove_other":"Shift: {{count}} in a row above the median","runChartShiftBelow_one":"Shift: {{count}} in a row below the median","runChartShiftBelow_other":"Shift: {{count}} in a row below the median","runChartTileRetry":"Could not load. Try again","runChartTitle":"{{metric}}, {{clinic}}","runChartValue":"Value","sameClinicAsUser":"{{clinic}}, the same as the user\'s: expected","save":"Save","saveAgainToFinish":"Save again to finish.","savedAForm":"Saved a form","saveMonth":"Save {{month}}","saveRoleNamed":"Save {{name}}","saving":"Saving...","scanPatientCard":"Scan patient card","scanPatientCardExplanation":"Point the camera at the barcode on the patient\'s identifier sticker to open their BPG Delivery form in their chart. The ACT ID field also takes a handheld barcode scanner.","school":"School","screenDetectedRhd_one":"RHD details of the {{count}}","screenDetectedRhd_other":"RHD details of the {{count}}","screened":"Screened","screenedPositive":"Screened positive","screenedPositiveOn":"Screened positive \xb7 {{date}}","screening":"Screening","screeningAgesAddUp":"Each row\'s age groups add up to its screened total.","screeningAgesDoNotAddUp":"The age groups add up to {{ages}}, not the {{screened}} screened","screeningCascade":"Screening cascade","screeningCascadeDescription":"Registrants found by screening (Screen + Yes), and the diagnosis each was given","screeningCounts":"Screening counts","screeningCountsExplanation":"Screen-negative people are never registered, so each clinic enters its screening counts once a month. The Dashboard\'s Screening counts tab reads them.","screeningCountsSaved":"Screening counts for {{clinic}}, {{month}} saved","screeningCountsWholeNumbers":"Enter whole numbers, 0 or more","screeningFromRegistrations":"Screening, from registrations","screeningFromRegistrationsDescription":"Patients registered in the period: what the registry itself can say about screening","screeningMonthNotEntered":"Not entered yet: no counts for {{clinic}}, {{month}}","screeningMonthsAllEntered":"Counts entered for every month in the period","screeningMonthsEnteredAcross":"Counts entered for {{entered}} of {{expected}} months across {{clinics}} clinics. A month not entered adds nothing to these figures.","screeningMonthsEnteredEveryClinic_one":"Counts entered for {{count}} month across all clinics","screeningMonthsEnteredEveryClinic_other":"Counts entered for {{count}} months across all clinics","screeningMonthsEnteredOf":"Counts entered for {{entered}} of {{expected}} months. A month not entered adds nothing to these figures.","screeningMoreThanScreened":"Female and positive cannot be more than the {{screened}} screened","screeningProgrammeSites":"Screening programme sites","screeningSite":"Screening site","screenPlus":"Screen +","searchByNameOrActId":"Search by name or ACT ID","searchClinics":"Search clinics","searchClinicsPlaceholder":"Search by name, type, level or parent clinic","searchForPatient":"Search for a patient by name or ACT ID","searchRegistryWithAlternateId":"Search by name, ACT ID or alternate ID","searchReport":"Search the report","searchResultCount_one":"{{count}} search results","searchResultCount_other":"{{count}} search results","searchThisList":"Search this list","searchUsers":"Search users","searchUsersPlaceholder":"Search by name, username or role","sections":"Sections","securityRecordInAuditModule":"The full security record in the audit module","seeAll":"See all","seenBy":"Seen by","sendReferral":"Send referral","session":"Session","sessionTimedOut":"Session timed out","sessionTimeoutBody":"You have been inactive for a while. To keep your records safe you will be signed out in {{remaining}}, and anything typed into an open form will be lost.","sessionTimeoutTitle":"Still there?","setting":"Setting","severalFormsExplanation":"A row per patient, each form\'s saves numbered from the first, with its date and location.","sex":"Sex","sharedWithEarlier":"Shared with the earlier entries; record a new INR to change it","shareOfActiveRhd":"{{share}}% of active RHD","sharesAddUpTo100":"Shares are rounded so each group adds up to 100%.","showAllClinics":"Show all clinics","showAsAChart":"Show as a chart","showAsATable":"Show as a table","showDisabledUsers":"Show disabled users","showingSince":"Showing since {{date}}; set From to go further back","shownForInstanceAdmin":"Shown for Instance Administrator","showPassword":"Show password","showReadings":"Show readings","signedIn":"Signed in","signedInRole":"Role: {{roles}}","signedOut":"Signed out","signInFailed":"Sign-in failed","signIns":"Sign-ins","signInsExplanation":"Sign-ins, sign-outs, failed attempts and password changes, from the audit module\'s security log. Locked accounts and the full security record stay in the audit module.","signOut":"Sign out","specificProcedure":"Specific procedure","start":"Start","startConsultation":"Start consultation","startDate":"Start date","started":"Started","startScanning":"Start scanning","startSomeoneOnCare":"Start someone on care","status":"Status","statusNotLoaded":"The patient status could not be loaded","statusNotUpdated":"The patient status could not be updated","staySignedIn":"Stay signed in","stillActiveInAStudy":"Still active in a study","stillActiveInAStudyWithout":"The patient is active in a study, which needs registry consent and a Yes to research. If they have left the study, edit its status.","stillWaiting":"Still waiting","stopped":"Stopped","stopProphylaxis":"Stop prophylaxis","stopProphylaxisLabel":"Stop this prophylaxis","stopScanning":"Stop scanning","studies":"Studies","study":"Study","studyId":"Study ID","studyName":"Study name","studyParticipants":"Study participants","studySaved":"Study saved","studyStatus":"Study status","suitableForRepair":"Suitable for repair","summary":"Summary","surgery":"Surgery","target":"Target","targetRange":"Target range","tertiary":"Tertiary","time":"Time","to":"To","toDate":"To","toMonth":"To","tryAgain":"Try again","type":"Type","typeActIdInstead":"Type the ACT ID instead. {{reason}}","uncheckAll":"Uncheck all","unknownUser":"unknown","updateDiagnosis":"Update diagnosis","updatePatientStatus":"Update patient status","updateProphylaxis":"Update prophylaxis","upToDate":"Up to date","urgency":"Urgency","urgencyElective":"3: Elective (180 days)","urgencyEmergent":"1: Emergent (24 hours)","urgencyUrgent":"2: Urgent (60 days)","urgencyWithinOneMonth":"2 - within 1 month","urgencyWithinOneWeek":"1 - within 1 week","urgencyWithinSixMonths":"4 - within 6 months","urgencyWithinThreeMonths":"3 - within 3 months","user":"User","userDisabled":"User disabled","username":"Username","users":"Users","usersAndRoles":"Users and roles","userSaved":"User saved","usersLog":"{{name}}\'s log","usersLower":"users","viewChart":"View chart","visitStarted":"{{visitType}} started","visitStartedForForm":"Started automatically so the form can be saved","voidedAForm":"Voided a form","voluntaryInactivity":"Voluntary inactivity","waitingCount_one":"{{count}} waiting","waitingCount_other":"{{count}} waiting","waitingForAProcedure":"Waiting for a procedure","waitingList":"Procedural waiting list","waitingListDescription":"Open procedural recommendations from the latest consultation \xb7 red rows are past the deadline for their urgency","waitlistDescription":"Open recommendations in each active patient\'s latest consultation, by urgency","waitlistFigureCouldNotLoad":"{{figure}} could not load","warfarinDose":"Warfarin dose","warningIcon":"warning icon","wasDue":"Was due","week":"Week","weekTo":"Week to {{date}}","whatLeftTheSystem":"what left the system","whatTheDiagnosisFound":"What the diagnosis found","whatUsersChanged":"what users changed","whatUsersRead":"what users read","whatWasRead":"What was read","whoSeesWhat":"Who sees what","whyIdentifiers":"Why identifiers were included","whyOnThisList":"Why on this list","withIdentifiers":"With identifiers","withIdentifiersLower":"with identifiers","withoutIdentifiers":"Without identifiers","worklists":"Worklists","worklistsDescription":"Patients needing action, by list","wouldLikeToBeConsidered":"Would the patient like to be considered for research?","yes":"Yes","yesNoOf":"<done>{{done}}</done> yes, <notDone>{{notDone}}</notDone> no, of {{total}}","yourClinics":"your clinics"}')}}]);
package/dist/5117.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"5117.js","sources":["webpack://@act-registry/esm-act-app/json|/home/runner/work/openmrs-esm-act-app/openmrs-esm-act-app/translations/en.json"],"names":["JSON"],"mappings":"6IAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,qo/C"}
1
+ {"version":3,"file":"5117.js","sources":["webpack://@act-registry/esm-act-app/json|/home/runner/work/openmrs-esm-act-app/openmrs-esm-act-app/translations/en.json"],"names":["JSON"],"mappings":"6IAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,8ngD"}