@openmrs/esm-patient-notes-app 13.0.2-pre.12782 → 13.0.2-pre.12791
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/.turbo/turbo-build.log +2 -2
- package/dist/2932.js +1 -1
- package/dist/2932.js.map +1 -1
- package/dist/6742.css +1 -1
- package/dist/6742.css.map +1 -1
- package/dist/6994.css +1 -1
- package/dist/6994.css.map +1 -1
- package/dist/6994.js +1 -1
- package/dist/6994.js.map +1 -1
- package/dist/7309.css +1 -0
- package/dist/7309.css.map +1 -0
- package/dist/{3187.js → 7309.js} +3 -3
- package/dist/7309.js.map +1 -0
- package/dist/openmrs-esm-patient-notes-app.js +2 -2
- package/dist/routes.json +1 -1
- package/package.json +2 -2
- package/src/notes/exported-visit-notes-form.workspace.tsx +6 -1
- package/src/notes/visit-notes-form.component.tsx +33 -4
- package/src/notes/visit-notes-form.scss +6 -0
- package/src/notes/visit-notes-form.test.tsx +82 -2
- package/dist/3187.css +0 -1
- package/dist/3187.css.map +0 -1
- package/dist/3187.js.map +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[1m[33mWARNING[39m[22m in [33m⚠[0m asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
|
|
2
2
|
│ Assets:
|
|
3
|
-
│
|
|
3
|
+
│ 7309.js (614.396 KiB)
|
|
4
4
|
│ 5.js (638.965 KiB)
|
|
5
5
|
[0m
|
|
6
6
|
|
|
7
|
-
Rspack compiled with [1m[33m1 warning[39m[22m in
|
|
7
|
+
Rspack compiled with [1m[33m1 warning[39m[22m in 19.37 s
|
package/dist/2932.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["2932"],{8447(e,t,a){a.d(t,{A:()=>V});var s=a(5399),n=a.n(s),i=a(3373),o=a.n(i),r=a(222),l=a.n(r),m=a(3892),d=a(7807),c=a(1619),u=a(6195),_=a(4049),g=a(824),p=a(324),v=a(4632),f=a(5848),h=a(529),E=a(2664),y=a(6717),N=a(1273);let b=0;function k(){let{t:e}=(0,d.useTranslation)();return n().createElement("div",{"aria-hidden":"true",className:"-esm-patient-notes__selected-diagnosis-card__diagnosisListHeader___h-S7H"},n().createElement("span",null,e("primary","Primary")))}function C({canMarkProvisional:e,diagnosis:t,onRemove:a,onUpdate:s}){let{t:i}=(0,d.useTranslation)(),o="PROVISIONAL"===t.certainty;return n().createElement("div",{className:"-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6",role:"group","aria-label":t.display},n().createElement(p.Checkbox,{"aria-describedby":"primary-diagnosis-requirement",checked:1===t.rank,hideLabel:!0,id:`diagnosis-${t.draftId}-primary`,labelText:i("primary","Primary"),onChange:(e,{checked:a})=>s(t,{rank:a?1:2})}),n().createElement("span",{className:"-esm-patient-notes__selected-diagnosis-card__diagnosisName___MjgaG"},o&&n().createElement(n().Fragment,null,n().createElement("span",{"aria-hidden":"true",className:"-esm-patient-notes__selected-diagnosis-card__provisionalMark___pSs51"},"?"),n().createElement("span",{className:"cds--visually-hidden"},i("provisional","Provisional")," ")),t.display),n().createElement("div",{className:"-esm-patient-notes__selected-diagnosis-card__actionsCell___ugf7H"},e&&n().createElement(p.OverflowMenu,{align:"left","aria-label":i("diagnosisActions","Actions for {{diagnosis}}",{diagnosis:t.display}),flipped:!0,iconDescription:i("diagnosisActions","Actions for {{diagnosis}}",{diagnosis:t.display}),menuOptionsClass:"-esm-patient-notes__selected-diagnosis-card__diagnosisActionsMenu___8AWXe",size:"sm"},n().createElement(p.OverflowMenuItem,{itemText:o?i("markAsConfirmed","Mark as confirmed"):i("markAsProvisional","Mark as provisional"),onClick:()=>s(t,{certainty:o?"CONFIRMED":"PROVISIONAL"})}))),n().createElement(p.Button,{hasIconOnly:!0,iconDescription:i("removeDiagnosisNamed","Remove {{diagnosis}}",{diagnosis:t.display}),kind:"ghost",onClick:()=>a(t),renderIcon:e=>n().createElement(h.R9,{size:16,...e}),size:"sm",tooltipAlignment:"end"}))}let I="-esm-patient-notes__visit-notes-form__columnLabel___EwgDF",S="-esm-patient-notes__visit-notes-form__imgThumbnailContainer___6-ih6",w="-esm-patient-notes__visit-notes-form__imgThumbnail___PGisE",D="-esm-patient-notes__visit-notes-form__savedImagesLoading___06xRV",A="-esm-patient-notes__visit-notes-form__imgThumbnailItem___XkrUE",R="-esm-patient-notes__visit-notes-form__removeButton___O7iSI",T="-esm-patient-notes__visit-notes-form__button___tic-m",x="-esm-patient-notes__visit-notes-form__row___+Ncuq",B=e=>e.some(e=>1===e.rank),L=e=>!!(e.diagnosis?.coded?.uuid||e.diagnosis?.nonCoded),M=new Set(["jpg","jpeg","png","gif","webp","bmp"]);function P({name:e,control:t,labelText:a,placeholder:s,handleSearch:i,setIsSearching:o}){let r="tablet"===(0,E.useLayoutType)();return n().createElement(g.xI,{name:e,control:t,render:({field:{value:t,onChange:l,onBlur:m}})=>n().createElement(E.ResponsiveWrapper,null,n().createElement(p.Search,{size:r?"lg":"md",id:e,labelText:a,placeholder:s,onChange:e=>{o(!0),l(e),i()},onKeyDown:t=>{if("ArrowDown"===t.key||"ArrowUp"===t.key){let a=document.getElementById(`${e}-results`)?.querySelectorAll("button");a?.length&&(t.preventDefault(),a["ArrowDown"===t.key?0:a.length-1].focus())}},value:t,onBlur:m}))})}function F({isDiagnosisNotSelected:e,isLoading:t,isSearching:a,onAddDiagnosis:i,searchResults:o,t:r,value:l}){let m=(0,s.useRef)(null),d=(0,s.useCallback)(e=>{!e&&m.current?.contains(document.activeElement)&&document.getElementById("diagnosisSearch")?.focus(),m.current=e},[]);return l?a||t?n().createElement(O,null):!a&&o?.length>0?n().createElement("ul",{ref:d,id:"diagnosisSearch-results",className:"-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY","aria-label":r("diagnosisSearchResults","Diagnosis search results"),onKeyDown:e=>{if("Escape"===e.key)e.preventDefault(),document.getElementById("diagnosisSearch")?.focus();else if(["ArrowDown","ArrowUp","Home","End"].includes(e.key)){let t=Array.from(e.currentTarget.querySelectorAll("button")),a=t.findIndex(e=>e===document.activeElement);if(a<0)return;e.preventDefault();let s="Home"===e.key?0:"End"===e.key?t.length-1:(a+("ArrowDown"===e.key?1:-1)+t.length)%t.length;t[s].focus()}}},o.filter(e).map(e=>n().createElement("li",{className:"-esm-patient-notes__visit-notes-form__diagnosis___XsPGM",key:e.uuid},n().createElement("button",{type:"button",className:"-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E",onClick:()=>{i(e),document.getElementById("diagnosisSearch")?.focus()}},e.display)))):o?.length===0?n().createElement(E.ResponsiveWrapper,null,n().createElement(p.Tile,{className:"-esm-patient-notes__visit-notes-form__emptyResults___fCV44"},n().createElement("span",null,r("noMatchingDiagnoses","No diagnoses found matching")," ",n().createElement("strong",null,'"',l,'"')))):void 0:null}function O(){return n().createElement(n().Fragment,null,Array.from({length:5}).map((e,t)=>n().createElement(p.SkeletonText,{key:t,className:"-esm-patient-notes__visit-notes-form__skeleton___Wp-mM"})))}let V=({encounter:e,formContext:t,patientUuid:a,patient:i,visitContext:r,closeWorkspace:O})=>{let V=!!("editing"===t&&e?.uuid),{t:z}=(0,d.useTranslation)(),H="tablet"===(0,E.useLayoutType)(),U=(0,E.useSession)(),{isPrimaryDiagnosisRequired:W,...q}=(0,E.useConfig)(),j=(0,s.useMemo)(()=>({patientUuid:a}),[a]),G=(0,s.useMemo)(()=>({patientUuid:a,patient:i}),[a,i]),{clinicianEncounterRole:X,encounterNoteTextConceptUuid:K,encounterTypeUuid:$,formConceptUuid:J}=q.visitNoteConfig,[Z,Q]=(0,s.useState)(!1),[Y,ee]=(0,s.useState)(!1),[et,ea]=(0,s.useState)(null),[es,en]=(0,s.useState)(),[ei,eo]=(0,s.useState)([]),[er,el]=(0,s.useState)(),[em,ed]=(0,s.useState)(null),{allowedFileExtensions:ec,error:eu,isLoading:e_}=(0,y.useAllowedFileExtensions)(),eg=(0,s.useMemo)(()=>{let e=ec?.map(e=>e.trim().toLowerCase()).filter(Boolean);return e?.length?e.filter(e=>M.has(e)):[...M]},[ec]),ep=e_||!!eu||0===eg.length,ev=(0,E.useFeatureFlag)("rde"),ef=(0,s.useMemo)(()=>u.z.object({noteDate:ev?u.z.date():u.z.date().optional(),diagnosisSearch:u.z.string().optional(),diagnoses:u.z.array(u.z.custom()).refine(e=>!W||B(e),{message:z("atLeastOnePrimaryDiagnosis","At least one diagnosis must be selected as primary")}),clinicalNote:u.z.string().optional(),images:u.z.array(u.z.any()).optional(),removedImageIds:u.z.array(u.z.string())}),[z,ev,W]),[eh]=(0,s.useState)(()=>(e?.diagnoses??[]).filter(L).map(e=>({draftId:++b,patient:a,diagnosis:e.diagnosis.coded?.uuid?{coded:e.diagnosis.coded.uuid}:{nonCoded:e.diagnosis.nonCoded},certainty:"PROVISIONAL"===e.certainty?"PROVISIONAL":"CONFIRMED",rank:e.rank??2,display:e.display})).sort((e,t)=>Number(1===t.rank)-Number(1===e.rank))),{control:eE,formState:{dirtyFields:ey,isSubmitted:eN,isSubmitting:eb},getValues:ek,handleSubmit:eC,setValue:eI,watch:eS}=(0,g.mN)({mode:"onSubmit",resolver:(0,_.u)(ef),defaultValues:{images:[],removedImageIds:[],diagnosisSearch:"",diagnoses:eh,noteDate:V?new Date(e.encounterDatetime):new Date,clinicalNote:V?String(e?.obs?.find(e=>e.concept.uuid===K)?.value||""):""}}),{field:{value:ew,onChange:eD}}=(0,g.as)({name:"diagnoses",control:eE}),eA=eS("images"),eR=eS("removedImageIds"),{images:eT,isLoading:ex,error:eB}=(0,N.Vm)(a,V?e.uuid:void 0),{mutateVisitNotes:eL}=(0,N.aw)(a),{mutate:eM}=(0,c.useSWRConfig)(),eP=(0,s.useCallback)(()=>eM(e=>"string"==typeof e&&e.startsWith(`${E.restBaseUrl}/attachment`)),[eM]),eF=U?.sessionLocation?.uuid,eO=U?.currentProvider?.uuid,eV=(0,s.useMemo)(()=>(0,m.A)(e=>{e&&(Q(!0),(0,N.ph)(e,q.diagnosisConceptClass).then(e=>{ea(e),Q(!1)}).catch(e=>{ed(e),(0,E.createErrorHandler)()}))},500),[q.diagnosisConceptClass]),ez=(0,s.useCallback)(()=>{let e=eS("diagnosisSearch");e&&eV(e),ee(!1)},[eV,eS]),eH=(0,s.useCallback)(e=>({draftId:++b,display:e.display,diagnosis:{coded:e.uuid},patient:a,rank:2,certainty:"CONFIRMED",conceptClassUuid:q.diagnosisConceptClass}),[q.diagnosisConceptClass,a]),eU=(0,s.useMemo)(()=>Array.from(new Set(eh.flatMap(e=>e.diagnosis.coded?[e.diagnosis.coded]:[]))),[eh]),{conceptClassByUuid:eW,error:eq}=(0,N.J_)(eU),ej=(0,s.useCallback)(e=>{if(!e.diagnosis.coded)return!0;let t=e.conceptClassUuid??eW[e.diagnosis.coded];return void 0===t?!!eq:null===t||t===q.diagnosisConceptClass},[eW,eq,q.diagnosisConceptClass]),eG=(0,s.useCallback)(e=>{eI("diagnosisSearch","",{shouldDirty:!0}),ea([]);let t=ek("diagnoses");t.some(t=>t.diagnosis.coded===e.uuid)||eD([eH(e),...t])},[eH,ek,eD,eI]),eX=(0,s.useCallback)(e=>{eD(ek("diagnoses").filter(t=>t.draftId!==e.draftId)),document.getElementById("diagnosisSearch")?.focus()},[ek,eD]),eK=(0,s.useCallback)((e,t)=>{eD(ek("diagnoses").map(a=>a.draftId===e.draftId?{...a,...t}:a))},[ek,eD]),e$=(0,s.useCallback)(()=>{if(ep)return;let e=(0,E.showModal)("capture-photo-modal",{saveFile:t=>(t.capturedFromWebcam&&!t.fileName.includes(".")&&(t.fileName=`${t.fileName}.png`),eI("images",[...ek("images"),t],{shouldDirty:!0}),e(),Promise.resolve()),closeModal:()=>{e()},allowedExtensions:eg,collectDescription:!0,multipleFiles:!0,showUploadSnackbar:!1})},[eg,ek,ep,eI]),eJ=(0,s.useCallback)(t=>{let{noteDate:s,clinicalNote:n,images:i,removedImageIds:o,diagnoses:m}=t;el(void 0);let d=l()(s),c=new Date;30>=d.diff(c,"minute")&&(d=null);let u=e?.obs?.find(e=>e.concept.uuid===K),_={encounterDatetime:d?.format(),form:J,patient:a,location:eF,encounterProviders:[{encounterRole:X,provider:eO}],encounterType:$,obs:n?[{concept:{uuid:K,display:""},value:n,...u&&{uuid:u.uuid}}]:[],...!V&&r?.uuid&&{visit:r.uuid}},g=new AbortController;return Promise.resolve().then(async()=>{let t=!1,s=!1;try{for(let e of o)await (0,N.XH)(e),t=!0,eo(t=>[...t,e]),eI("removedImageIds",ek("removedImageIds").filter(t=>t!==e),{shouldDirty:!0});if(!V||Object.keys(ey).some(e=>"removedImageIds"!==e))return s=!0,await (V?(0,N.HE)(g,e.uuid,_):(0,N.v_)(g,_)).then(t=>{if(201===t.status||200===t.status){let a=e?.uuid||t.data.uuid,s=e?.diagnoses?.filter(L)??[];return V&&s.length?Promise.all(s.map(e=>(0,N.k7)(g,e.uuid))).then(()=>a):a}}).then(e=>Promise.all(m.map(t=>{let s={encounter:e,patient:a,condition:null,diagnosis:t.diagnosis,certainty:t.certainty,rank:t.rank};return(0,N.mN)(g,s)})).then(()=>e)).then(e=>i?.length?Promise.allSettled(i.map(t=>{let s={base64Content:t.base64Content,file:t.file,fileName:t.fileName,fileType:t.fileType,fileDescription:t.fileDescription||""};return(0,E.createAttachment)(a,s,e)})).then(e=>e.flatMap((e,t)=>"rejected"===e.status?[{image:i[t],reason:e.reason}]:[])):[])}finally{(t||s)&&((0,y.invalidateVisitAndEncounterData)(eM,a),eL(),(t||s&&i?.length)&&eP())}}).then((e=[])=>{if(O({discardUnsavedChanges:!0}),e.length){let[{reason:t}]=e,a=e.map(({image:e})=>e.fileDescription?.trim()||e.fileName?.trim()).filter(Boolean).join(", ");(0,E.showSnackbar)({isLowContrast:!1,kind:"warning",title:z("visitNoteSavedImagesFailed","Visit note saved, but {{count}} image was not uploaded",{count:e.length}),subtitle:[a,t?.responseBody?.error?.message??t?.message].filter(Boolean).join(": ").concat(" ",z("reAddImagesFromNote","Open the note to add it again.",{count:e.length}))});return}(0,E.showSnackbar)({isLowContrast:!0,subtitle:z("visitNoteNowVisible","It is now visible on the Visits page"),kind:"success",title:z("visitNoteSaved","Visit note saved")})}).catch(e=>{el(z("visitNotePartialSaveError","Could not save all changes. Some changes may already be saved. Try saving again.")),(0,E.createErrorHandler)(),(0,E.showSnackbar)({title:z("visitNoteSaveError","Error saving visit note"),kind:"error",isLowContrast:!1,subtitle:e?.responseBody?.error?.message??e.message})})},[ey,ek,eI,r?.uuid,X,O,e?.diagnoses,e?.uuid,e?.obs,K,$,J,eM,V,eF,eP,eL,a,eO,z]),eZ=(0,s.useCallback)(e=>{if(console.error(e),e.diagnoses){let e=ek("diagnoses")[0]?.draftId,t=void 0===e?document.getElementById("diagnosisSearch"):document.getElementById(`diagnosis-${e}-primary`);t?.focus()}},[ek]),eQ=Object.keys(ey).length>0,eY=W&&!B(ew)&&(ew.length>0||eN),e0=eY&&eN;return n().createElement(E.Workspace2,{title:V?z("editVisitNote","Edit visit note"):z("addVisitNote","Add visit note"),hasUnsavedChanges:eQ},n().createElement(p.Form,{className:"-esm-patient-notes__visit-notes-form__form___WXW3i",onSubmit:eC(eJ,eZ)},n().createElement(E.ExtensionSlot,{name:"visit-context-header-slot",state:j}),H&&n().createElement(p.Row,{className:"-esm-patient-notes__visit-notes-form__headerGridRow___jAAax"},n().createElement(E.ExtensionSlot,{name:"visit-form-header-slot",className:"-esm-patient-notes__visit-notes-form__dataGridRow___wKV9H",state:G})),n().createElement("div",{className:"-esm-patient-notes__visit-notes-form__formContainer___INxGb"},n().createElement(p.Stack,{gap:2},H?n().createElement("h2",{className:"-esm-patient-notes__visit-notes-form__heading___ZDibC"},V?z("editVisitNote","Edit visit note"):z("addVisitNote","Add visit note")):null,ev&&n().createElement(p.Row,{className:x},n().createElement(p.Column,{sm:1},n().createElement("span",{className:I},z("date","Date"))),n().createElement(p.Column,{sm:3},n().createElement(g.xI,{name:"noteDate",control:eE,render:({field:e,fieldState:t})=>n().createElement(E.ResponsiveWrapper,null,n().createElement(E.OpenmrsDatePicker,{...e,"data-testid":"visitDateTimePicker",id:"visitDateTimePicker",invalid:!!t?.error?.message,invalidText:t?.error?.message,isDisabled:V,labelText:z("visitDate","Visit date"),maxDate:new Date}))}))),n().createElement(p.Row,{className:x},n().createElement(p.Column,{sm:1},n().createElement("span",{className:I},z("diagnosis","Diagnosis"),W&&n().createElement("span",{title:z("required","Required"),className:"-esm-patient-notes__visit-notes-form__required___Unklu"},"*"))),n().createElement(p.Column,{sm:3},n().createElement(p.FormGroup,{legendText:""},n().createElement(P,{name:"diagnosisSearch",control:eE,labelText:z("searchForDiagnosis","Search for a diagnosis to add"),placeholder:z("diagnosisInputPlaceholder","Search for a diagnosis"),handleSearch:ez,setIsSearching:ee}),em?n().createElement(p.InlineNotification,{className:"-esm-patient-notes__visit-notes-form__errorNotification___K-xrU",lowContrast:!0,title:z("error","Error"),subtitle:z("errorFetchingConcepts","There was a problem fetching concepts")+".",onClose:()=>ed(null)}):null,n().createElement(F,{isDiagnosisNotSelected:e=>!ew.some(t=>e.uuid===t.diagnosis.coded),isLoading:Z,isSearching:Y,onAddDiagnosis:eG,searchResults:et,t:z,value:eS("diagnosisSearch")}),ew.length>0&&n().createElement(n().Fragment,null,n().createElement("p",{className:"-esm-patient-notes__visit-notes-form__diagnosisHelperText___R+a2V"},z("diagnosisCertaintyHelperText","Diagnoses are recorded as confirmed unless marked provisional.")),n().createElement(k,null),ew.map(e=>n().createElement(C,{key:e.draftId,canMarkProvisional:ej(e),diagnosis:e,onRemove:eX,onUpdate:eK}))),eY&&n().createElement("p",{id:"primary-diagnosis-requirement",className:o()("-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv",{"-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh":e0}),role:e0?"alert":"status"},e0?n().createElement(v.BF,{"aria-hidden":"true",size:16}):n().createElement(v.OR,{"aria-hidden":"true",size:16}),z("atLeastOnePrimaryDiagnosis","At least one diagnosis must be selected as primary"))))),n().createElement(p.Row,{className:x},n().createElement(p.Column,{sm:1},n().createElement("span",{className:I},z("note","Note"))),n().createElement(p.Column,{sm:3},n().createElement(g.xI,{name:"clinicalNote",control:eE,render:({field:{onChange:e,onBlur:t,value:a}})=>n().createElement(E.ResponsiveWrapper,null,n().createElement(p.TextArea,{id:"additionalNote",rows:es,labelText:z("clinicalNoteLabel","Write your notes"),placeholder:z("clinicalNotePlaceholder","Write any notes here"),value:a,onBlur:t,onChange:t=>{e(t),en(Math.ceil(t.target.scrollHeight/24))}}))}))),n().createElement(p.Row,{className:x},n().createElement(p.Column,{sm:1},n().createElement("span",{className:I},z("image","Image"))),n().createElement(p.Column,{sm:3},n().createElement(p.FormGroup,{legendText:""},n().createElement("p",{className:"-esm-patient-notes__visit-notes-form__imgUploadHelperText___+VxXT"},z("imageUploadHelperText","Upload images or use this device's camera to capture images")),n().createElement(p.Button,{className:"-esm-patient-notes__visit-notes-form__uploadButton___bTplo",disabled:ep,kind:H?"ghost":"tertiary",onClick:e$,renderIcon:e=>n().createElement(f.OM,{size:16,...e})},z("addImage","Add image")),eu&&n().createElement(p.InlineNotification,{className:D,kind:"error",lowContrast:!0,hideCloseButton:!0,title:z("allowedFileExtensionsLoadError","Couldn't load the allowed image formats"),subtitle:z("allowedFileExtensionsLoadErrorHint","Reload the page to add images to this note.")}),ex&&n().createElement(p.InlineLoading,{className:D,description:z("loadingSavedImages","Loading saved images")+"..."}),eB&&n().createElement(p.InlineNotification,{className:D,kind:"error",lowContrast:!0,hideCloseButton:!0,title:z("savedImagesLoadError","Couldn't load the images saved on this note"),subtitle:z("savedImagesLoadErrorHint","Check the Attachments page before adding them again.")}),n().createElement("div",{className:"-esm-patient-notes__visit-notes-form__imgThumbnailGrid___Tbu9Z"},eT.filter(e=>!ei.includes(e.id)).map(e=>{let t=eR.includes(e.id),a=e.description||e.filename||z("savedImage","Saved image");return n().createElement("div",{key:e.id,className:A},n().createElement("div",{className:S},n().createElement("img",{className:o()(w,{"-esm-patient-notes__visit-notes-form__pendingImage___nyrho":t}),src:e.src,alt:a})),t&&n().createElement("p",{className:"-esm-patient-notes__visit-notes-form__removalStatus___9l-fi"},z("imageMarkedForRemoval","Marked for removal")),n().createElement(p.Button,{kind:t?"ghost":"secondary",size:"sm",disabled:eb,"aria-label":t?z("undoRemoveImage","Undo removal: {{name}}",{name:a}):z("removeImage","Remove image: {{name}}",{name:a}),className:t?"-esm-patient-notes__visit-notes-form__undoButton___-74Gv":R,onClick:()=>eI("removedImageIds",t?eR.filter(t=>t!==e.id):[...eR,e.id],{shouldDirty:!0})},t?z("undo","Undo"):n().createElement(h.bm,{size:16})))}),eA?.map((e,t)=>n().createElement("div",{key:t,className:A},n().createElement("div",{className:S},n().createElement("img",{className:w,src:e.base64Content,alt:e.fileDescription||e.fileName})),n().createElement(p.Button,{kind:"secondary",size:"sm","aria-label":z("removeImage","Remove image: {{name}}",{name:e.fileDescription?.trim()||e.fileName?.trim()||t+1}),className:R,onClick:()=>{let e;(e=[...eA]).splice(t,1),eI("images",e,{shouldDirty:!0}),(0,E.showSnackbar)({title:z("imageRemoved","Image removed"),kind:"success",isLowContrast:!0})}},n().createElement(h.bm,{size:16}))))),eR.length>0&&n().createElement("p",{className:"-esm-patient-notes__visit-notes-form__removalHint___a6VpP"},z("imageRemovalSaveHint","Images marked for removal will be deleted when you save."))))))),er&&n().createElement(p.InlineNotification,{kind:"error",lowContrast:!0,hideCloseButton:!0,title:z("visitNoteSaveError","Error saving visit note"),subtitle:er}),n().createElement(p.ButtonSet,{className:o()({"-esm-patient-notes__visit-notes-form__tablet___R5OWW":H,"-esm-patient-notes__visit-notes-form__desktop___q-E7d":!H})},n().createElement(p.Button,{className:T,kind:"secondary",onClick:()=>O()},z("discard","Discard")),n().createElement(p.Button,{className:T,kind:"primary",disabled:!eQ||eb,type:"submit"},eb?n().createElement(p.InlineLoading,{className:"-esm-patient-notes__visit-notes-form__spinner___nX4VV",description:z("saving","Saving")+"..."}):n().createElement("span",null,z("saveAndClose","Save and close"))))))}}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["2932"],{8447(e,t,a){a.d(t,{A:()=>V});var s=a(5399),n=a.n(s),i=a(3373),o=a.n(i),r=a(222),l=a.n(r),m=a(3892),d=a(7807),c=a(1619),u=a(6195),_=a(4049),g=a(824),p=a(324),v=a(4632),f=a(5848),h=a(529),E=a(2664),y=a(6717),N=a(1273);let b=0;function k(){let{t:e}=(0,d.useTranslation)();return n().createElement("div",{"aria-hidden":"true",className:"-esm-patient-notes__selected-diagnosis-card__diagnosisListHeader___h-S7H"},n().createElement("span",null,e("primary","Primary")))}function C({canMarkProvisional:e,diagnosis:t,onRemove:a,onUpdate:s}){let{t:i}=(0,d.useTranslation)(),o="PROVISIONAL"===t.certainty;return n().createElement("div",{className:"-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6",role:"group","aria-label":t.display},n().createElement(p.Checkbox,{"aria-describedby":"primary-diagnosis-requirement",checked:1===t.rank,hideLabel:!0,id:`diagnosis-${t.draftId}-primary`,labelText:i("primary","Primary"),onChange:(e,{checked:a})=>s(t,{rank:a?1:2})}),n().createElement("span",{className:"-esm-patient-notes__selected-diagnosis-card__diagnosisName___MjgaG"},o&&n().createElement(n().Fragment,null,n().createElement("span",{"aria-hidden":"true",className:"-esm-patient-notes__selected-diagnosis-card__provisionalMark___pSs51"},"?"),n().createElement("span",{className:"cds--visually-hidden"},i("provisional","Provisional")," ")),t.display),n().createElement("div",{className:"-esm-patient-notes__selected-diagnosis-card__actionsCell___ugf7H"},e&&n().createElement(p.OverflowMenu,{align:"left","aria-label":i("diagnosisActions","Actions for {{diagnosis}}",{diagnosis:t.display}),flipped:!0,iconDescription:i("diagnosisActions","Actions for {{diagnosis}}",{diagnosis:t.display}),menuOptionsClass:"-esm-patient-notes__selected-diagnosis-card__diagnosisActionsMenu___8AWXe",size:"sm"},n().createElement(p.OverflowMenuItem,{itemText:o?i("markAsConfirmed","Mark as confirmed"):i("markAsProvisional","Mark as provisional"),onClick:()=>s(t,{certainty:o?"CONFIRMED":"PROVISIONAL"})}))),n().createElement(p.Button,{hasIconOnly:!0,iconDescription:i("removeDiagnosisNamed","Remove {{diagnosis}}",{diagnosis:t.display}),kind:"ghost",onClick:()=>a(t),renderIcon:e=>n().createElement(h.R9,{size:16,...e}),size:"sm",tooltipAlignment:"end"}))}let I="-esm-patient-notes__visit-notes-form__columnLabel___EwgDF",S="-esm-patient-notes__visit-notes-form__imgThumbnailContainer___6-ih6",w="-esm-patient-notes__visit-notes-form__imgThumbnail___PGisE",D="-esm-patient-notes__visit-notes-form__savedImagesLoading___06xRV",A="-esm-patient-notes__visit-notes-form__imgThumbnailItem___XkrUE",R="-esm-patient-notes__visit-notes-form__removeButton___O7iSI",T="-esm-patient-notes__visit-notes-form__button___tic-m",x="-esm-patient-notes__visit-notes-form__row___+Ncuq",B=e=>e.some(e=>1===e.rank),L=e=>!!(e.diagnosis?.coded?.uuid||e.diagnosis?.nonCoded),P=new Set(["jpg","jpeg","png","gif","webp","bmp"]);function M({name:e,control:t,labelText:a,placeholder:s,handleSearch:i,setIsSearching:o}){let r="tablet"===(0,E.useLayoutType)();return n().createElement(g.xI,{name:e,control:t,render:({field:{value:t,onChange:l,onBlur:m}})=>n().createElement(E.ResponsiveWrapper,null,n().createElement(p.Search,{size:r?"lg":"md",id:e,labelText:a,placeholder:s,onChange:e=>{o(!0),l(e),i()},onKeyDown:t=>{if("ArrowDown"===t.key||"ArrowUp"===t.key){let a=document.getElementById(`${e}-results`)?.querySelectorAll("button");a?.length&&(t.preventDefault(),a["ArrowDown"===t.key?0:a.length-1].focus())}},value:t,onBlur:m}))})}function F({isDiagnosisNotSelected:e,isLoading:t,isSearching:a,onAddDiagnosis:i,searchResults:o,t:r,value:l}){let m=(0,s.useRef)(null),d=(0,s.useCallback)(e=>{!e&&m.current?.contains(document.activeElement)&&document.getElementById("diagnosisSearch")?.focus(),m.current=e},[]);return l?a||t?n().createElement(O,null):!a&&o?.length>0?n().createElement("ul",{ref:d,id:"diagnosisSearch-results",className:"-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY","aria-label":r("diagnosisSearchResults","Diagnosis search results"),onKeyDown:e=>{if("Escape"===e.key)e.preventDefault(),document.getElementById("diagnosisSearch")?.focus();else if(["ArrowDown","ArrowUp","Home","End"].includes(e.key)){let t=Array.from(e.currentTarget.querySelectorAll("button")),a=t.findIndex(e=>e===document.activeElement);if(a<0)return;e.preventDefault();let s="Home"===e.key?0:"End"===e.key?t.length-1:(a+("ArrowDown"===e.key?1:-1)+t.length)%t.length;t[s].focus()}}},o.filter(e).map(e=>n().createElement("li",{className:"-esm-patient-notes__visit-notes-form__diagnosis___XsPGM",key:e.uuid},n().createElement("button",{type:"button",className:"-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E",onClick:()=>{i(e),document.getElementById("diagnosisSearch")?.focus()}},e.display)))):o?.length===0?n().createElement(E.ResponsiveWrapper,null,n().createElement(p.Tile,{className:"-esm-patient-notes__visit-notes-form__emptyResults___fCV44"},n().createElement("span",null,r("noMatchingDiagnoses","No diagnoses found matching")," ",n().createElement("strong",null,'"',l,'"')))):void 0:null}function O(){return n().createElement(n().Fragment,null,Array.from({length:5}).map((e,t)=>n().createElement(p.SkeletonText,{key:t,className:"-esm-patient-notes__visit-notes-form__skeleton___Wp-mM"})))}let V=({encounter:e,formContext:t,patientUuid:a,patient:i,visitContext:r,closeWorkspace:O,showPatientHeader:V=!1})=>{let z=!!("editing"===t&&e?.uuid),{t:H}=(0,d.useTranslation)(),U="tablet"===(0,E.useLayoutType)(),W=(0,E.useSession)(),{isPrimaryDiagnosisRequired:q,...j}=(0,E.useConfig)(),G=a??i?.id,X=(0,y.usePatientForBanner)(i,G),K=!!(V&&(0,y.hasPatientBannerData)(X)&&G),$=(0,s.useMemo)(()=>({patientUuid:G}),[G]),J=(0,s.useMemo)(()=>({patientUuid:G,patient:X}),[G,X]),{clinicianEncounterRole:Z,encounterNoteTextConceptUuid:Q,encounterTypeUuid:Y,formConceptUuid:ee}=j.visitNoteConfig,[et,ea]=(0,s.useState)(!1),[es,en]=(0,s.useState)(!1),[ei,eo]=(0,s.useState)(null),[er,el]=(0,s.useState)(),[em,ed]=(0,s.useState)([]),[ec,eu]=(0,s.useState)(),[e_,eg]=(0,s.useState)(null),{allowedFileExtensions:ep,error:ev,isLoading:ef}=(0,y.useAllowedFileExtensions)(),eh=(0,s.useMemo)(()=>{let e=ep?.map(e=>e.trim().toLowerCase()).filter(Boolean);return e?.length?e.filter(e=>P.has(e)):[...P]},[ep]),eE=ef||!!ev||0===eh.length,ey=(0,E.useFeatureFlag)("rde"),eN=(0,s.useMemo)(()=>u.z.object({noteDate:ey?u.z.date():u.z.date().optional(),diagnosisSearch:u.z.string().optional(),diagnoses:u.z.array(u.z.custom()).refine(e=>!q||B(e),{message:H("atLeastOnePrimaryDiagnosis","At least one diagnosis must be selected as primary")}),clinicalNote:u.z.string().optional(),images:u.z.array(u.z.any()).optional(),removedImageIds:u.z.array(u.z.string())}),[H,ey,q]),[eb]=(0,s.useState)(()=>(e?.diagnoses??[]).filter(L).map(e=>({draftId:++b,patient:G,diagnosis:e.diagnosis.coded?.uuid?{coded:e.diagnosis.coded.uuid}:{nonCoded:e.diagnosis.nonCoded},certainty:"PROVISIONAL"===e.certainty?"PROVISIONAL":"CONFIRMED",rank:e.rank??2,display:e.display})).sort((e,t)=>Number(1===t.rank)-Number(1===e.rank))),{control:ek,formState:{dirtyFields:eC,isSubmitted:eI,isSubmitting:eS},getValues:ew,handleSubmit:eD,setValue:eA,watch:eR}=(0,g.mN)({mode:"onSubmit",resolver:(0,_.u)(eN),defaultValues:{images:[],removedImageIds:[],diagnosisSearch:"",diagnoses:eb,noteDate:z?new Date(e.encounterDatetime):new Date,clinicalNote:z?String(e?.obs?.find(e=>e.concept.uuid===Q)?.value||""):""}}),{field:{value:eT,onChange:ex}}=(0,g.as)({name:"diagnoses",control:ek}),eB=eR("images"),eL=eR("removedImageIds"),{images:eP,isLoading:eM,error:eF}=(0,N.Vm)(G,z?e.uuid:void 0),{mutateVisitNotes:eO}=(0,N.aw)(G),{mutate:eV}=(0,c.useSWRConfig)(),ez=(0,s.useCallback)(()=>eV(e=>"string"==typeof e&&e.startsWith(`${E.restBaseUrl}/attachment`)),[eV]),eH=W?.sessionLocation?.uuid,eU=W?.currentProvider?.uuid,eW=(0,s.useMemo)(()=>(0,m.A)(e=>{e&&(ea(!0),(0,N.ph)(e,j.diagnosisConceptClass).then(e=>{eo(e),ea(!1)}).catch(e=>{eg(e),(0,E.createErrorHandler)()}))},500),[j.diagnosisConceptClass]),eq=(0,s.useCallback)(()=>{let e=eR("diagnosisSearch");e&&eW(e),en(!1)},[eW,eR]),ej=(0,s.useCallback)(e=>({draftId:++b,display:e.display,diagnosis:{coded:e.uuid},patient:G,rank:2,certainty:"CONFIRMED",conceptClassUuid:j.diagnosisConceptClass}),[j.diagnosisConceptClass,G]),eG=(0,s.useMemo)(()=>Array.from(new Set(eb.flatMap(e=>e.diagnosis.coded?[e.diagnosis.coded]:[]))),[eb]),{conceptClassByUuid:eX,error:eK}=(0,N.J_)(eG),e$=(0,s.useCallback)(e=>{if(!e.diagnosis.coded)return!0;let t=e.conceptClassUuid??eX[e.diagnosis.coded];return void 0===t?!!eK:null===t||t===j.diagnosisConceptClass},[eX,eK,j.diagnosisConceptClass]),eJ=(0,s.useCallback)(e=>{eA("diagnosisSearch","",{shouldDirty:!0}),eo([]);let t=ew("diagnoses");t.some(t=>t.diagnosis.coded===e.uuid)||ex([ej(e),...t])},[ej,ew,ex,eA]),eZ=(0,s.useCallback)(e=>{ex(ew("diagnoses").filter(t=>t.draftId!==e.draftId)),document.getElementById("diagnosisSearch")?.focus()},[ew,ex]),eQ=(0,s.useCallback)((e,t)=>{ex(ew("diagnoses").map(a=>a.draftId===e.draftId?{...a,...t}:a))},[ew,ex]),eY=(0,s.useCallback)(()=>{if(eE)return;let e=(0,E.showModal)("capture-photo-modal",{saveFile:t=>(t.capturedFromWebcam&&!t.fileName.includes(".")&&(t.fileName=`${t.fileName}.png`),eA("images",[...ew("images"),t],{shouldDirty:!0}),e(),Promise.resolve()),closeModal:()=>{e()},allowedExtensions:eh,collectDescription:!0,multipleFiles:!0,showUploadSnackbar:!1})},[eh,ew,eE,eA]),e0=(0,s.useCallback)(t=>{let{noteDate:a,clinicalNote:s,images:n,removedImageIds:i,diagnoses:o}=t;eu(void 0);let m=l()(a),d=new Date;30>=m.diff(d,"minute")&&(m=null);let c=e?.obs?.find(e=>e.concept.uuid===Q),u={encounterDatetime:m?.format(),form:ee,patient:G,location:eH,encounterProviders:[{encounterRole:Z,provider:eU}],encounterType:Y,obs:s?[{concept:{uuid:Q,display:""},value:s,...c&&{uuid:c.uuid}}]:[],...!z&&r?.uuid&&{visit:r.uuid}},_=new AbortController;return Promise.resolve().then(async()=>{let t=!1,a=!1;try{for(let e of i)await (0,N.XH)(e),t=!0,ed(t=>[...t,e]),eA("removedImageIds",ew("removedImageIds").filter(t=>t!==e),{shouldDirty:!0});if(!z||Object.keys(eC).some(e=>"removedImageIds"!==e))return a=!0,await (z?(0,N.HE)(_,e.uuid,u):(0,N.v_)(_,u)).then(t=>{if(201===t.status||200===t.status){let a=e?.uuid||t.data.uuid,s=e?.diagnoses?.filter(L)??[];return z&&s.length?Promise.all(s.map(e=>(0,N.k7)(_,e.uuid))).then(()=>a):a}}).then(e=>Promise.all(o.map(t=>{let a={encounter:e,patient:G,condition:null,diagnosis:t.diagnosis,certainty:t.certainty,rank:t.rank};return(0,N.mN)(_,a)})).then(()=>e)).then(e=>n?.length?Promise.allSettled(n.map(t=>{let a={base64Content:t.base64Content,file:t.file,fileName:t.fileName,fileType:t.fileType,fileDescription:t.fileDescription||""};return(0,E.createAttachment)(G,a,e)})).then(e=>e.flatMap((e,t)=>"rejected"===e.status?[{image:n[t],reason:e.reason}]:[])):[])}finally{(t||a)&&((0,y.invalidateVisitAndEncounterData)(eV,G),eO(),(t||a&&n?.length)&&ez())}}).then((e=[])=>{if(O({discardUnsavedChanges:!0}),e.length){let[{reason:t}]=e,a=e.map(({image:e})=>e.fileDescription?.trim()||e.fileName?.trim()).filter(Boolean).join(", ");(0,E.showSnackbar)({isLowContrast:!1,kind:"warning",title:H("visitNoteSavedImagesFailed","Visit note saved, but {{count}} image was not uploaded",{count:e.length}),subtitle:[a,t?.responseBody?.error?.message??t?.message].filter(Boolean).join(": ").concat(" ",H("reAddImagesFromNote","Open the note to add it again.",{count:e.length}))});return}(0,E.showSnackbar)({isLowContrast:!0,subtitle:H("visitNoteNowVisible","It is now visible on the Visits page"),kind:"success",title:H("visitNoteSaved","Visit note saved")})}).catch(e=>{eu(H("visitNotePartialSaveError","Could not save all changes. Some changes may already be saved. Try saving again.")),(0,E.createErrorHandler)(),(0,E.showSnackbar)({title:H("visitNoteSaveError","Error saving visit note"),kind:"error",isLowContrast:!1,subtitle:e?.responseBody?.error?.message??e.message})})},[eC,ew,eA,r?.uuid,Z,O,e?.diagnoses,e?.uuid,e?.obs,Q,Y,ee,eV,z,eH,ez,eO,G,eU,H]),e1=(0,s.useCallback)(e=>{if(console.error(e),e.diagnoses){let e=ew("diagnoses")[0]?.draftId,t=void 0===e?document.getElementById("diagnosisSearch"):document.getElementById(`diagnosis-${e}-primary`);t?.focus()}},[ew]),e2=Object.keys(eC).length>0,e6=q&&!B(eT)&&(eT.length>0||eI),e4=e6&&eI;return n().createElement(E.Workspace2,{title:z?H("editVisitNote","Edit visit note"):H("addVisitNote","Add visit note"),hasUnsavedChanges:e2},K&&G&&X&&n().createElement(E.ExtensionSlot,{name:"patient-header-slot",state:{patient:X,patientUuid:G,hideActionsOverflow:!0}}),n().createElement(p.Form,{className:"-esm-patient-notes__visit-notes-form__form___WXW3i",onSubmit:eD(e0,e1)},n().createElement(E.ExtensionSlot,{name:"visit-context-header-slot",state:$}),U&&n().createElement(p.Row,{className:"-esm-patient-notes__visit-notes-form__headerGridRow___jAAax"},n().createElement(E.ExtensionSlot,{name:"visit-form-header-slot",className:"-esm-patient-notes__visit-notes-form__dataGridRow___wKV9H",select:K?e=>e.filter(e=>"patient-details-tile"!==e.name):void 0,state:J})),n().createElement("div",{className:"-esm-patient-notes__visit-notes-form__formContainer___INxGb"},n().createElement(p.Stack,{gap:2},U?n().createElement("h2",{className:"-esm-patient-notes__visit-notes-form__heading___ZDibC"},z?H("editVisitNote","Edit visit note"):H("addVisitNote","Add visit note")):null,ey&&n().createElement(p.Row,{className:x},n().createElement(p.Column,{sm:1},n().createElement("span",{className:I},H("date","Date"))),n().createElement(p.Column,{sm:3},n().createElement(g.xI,{name:"noteDate",control:ek,render:({field:e,fieldState:t})=>n().createElement(E.ResponsiveWrapper,null,n().createElement(E.OpenmrsDatePicker,{...e,"data-testid":"visitDateTimePicker",id:"visitDateTimePicker",invalid:!!t?.error?.message,invalidText:t?.error?.message,isDisabled:z,labelText:H("visitDate","Visit date"),maxDate:new Date}))}))),n().createElement(p.Row,{className:x},n().createElement(p.Column,{sm:1},n().createElement("span",{className:I},H("diagnosis","Diagnosis"),q&&n().createElement("span",{title:H("required","Required"),className:"-esm-patient-notes__visit-notes-form__required___Unklu"},"*"))),n().createElement(p.Column,{sm:3},n().createElement(p.FormGroup,{legendText:""},n().createElement(M,{name:"diagnosisSearch",control:ek,labelText:H("searchForDiagnosis","Search for a diagnosis to add"),placeholder:H("diagnosisInputPlaceholder","Search for a diagnosis"),handleSearch:eq,setIsSearching:en}),e_?n().createElement(p.InlineNotification,{className:"-esm-patient-notes__visit-notes-form__errorNotification___K-xrU",lowContrast:!0,title:H("error","Error"),subtitle:H("errorFetchingConcepts","There was a problem fetching concepts")+".",onClose:()=>eg(null)}):null,n().createElement(F,{isDiagnosisNotSelected:e=>!eT.some(t=>e.uuid===t.diagnosis.coded),isLoading:et,isSearching:es,onAddDiagnosis:eJ,searchResults:ei,t:H,value:eR("diagnosisSearch")}),eT.length>0&&n().createElement(n().Fragment,null,n().createElement("p",{className:"-esm-patient-notes__visit-notes-form__diagnosisHelperText___R+a2V"},H("diagnosisCertaintyHelperText","Diagnoses are recorded as confirmed unless marked provisional.")),n().createElement(k,null),eT.map(e=>n().createElement(C,{key:e.draftId,canMarkProvisional:e$(e),diagnosis:e,onRemove:eZ,onUpdate:eQ}))),e6&&n().createElement("p",{id:"primary-diagnosis-requirement",className:o()("-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv",{"-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh":e4}),role:e4?"alert":"status"},e4?n().createElement(v.BF,{"aria-hidden":"true",size:16}):n().createElement(v.OR,{"aria-hidden":"true",size:16}),H("atLeastOnePrimaryDiagnosis","At least one diagnosis must be selected as primary"))))),n().createElement(p.Row,{className:x},n().createElement(p.Column,{sm:1},n().createElement("span",{className:I},H("note","Note"))),n().createElement(p.Column,{sm:3},n().createElement(g.xI,{name:"clinicalNote",control:ek,render:({field:{onChange:e,onBlur:t,value:a}})=>n().createElement(E.ResponsiveWrapper,null,n().createElement(p.TextArea,{id:"additionalNote",rows:er,labelText:H("clinicalNoteLabel","Write your notes"),placeholder:H("clinicalNotePlaceholder","Write any notes here"),value:a,onBlur:t,onChange:t=>{e(t),el(Math.ceil(t.target.scrollHeight/24))}}))}))),n().createElement(p.Row,{className:x},n().createElement(p.Column,{sm:1},n().createElement("span",{className:I},H("image","Image"))),n().createElement(p.Column,{sm:3},n().createElement(p.FormGroup,{legendText:""},n().createElement("p",{className:"-esm-patient-notes__visit-notes-form__imgUploadHelperText___+VxXT"},H("imageUploadHelperText","Upload images or use this device's camera to capture images")),n().createElement(p.Button,{className:"-esm-patient-notes__visit-notes-form__uploadButton___bTplo",disabled:eE,kind:U?"ghost":"tertiary",onClick:eY,renderIcon:e=>n().createElement(f.OM,{size:16,...e})},H("addImage","Add image")),ev&&n().createElement(p.InlineNotification,{className:D,kind:"error",lowContrast:!0,hideCloseButton:!0,title:H("allowedFileExtensionsLoadError","Couldn't load the allowed image formats"),subtitle:H("allowedFileExtensionsLoadErrorHint","Reload the page to add images to this note.")}),eM&&n().createElement(p.InlineLoading,{className:D,description:H("loadingSavedImages","Loading saved images")+"..."}),eF&&n().createElement(p.InlineNotification,{className:D,kind:"error",lowContrast:!0,hideCloseButton:!0,title:H("savedImagesLoadError","Couldn't load the images saved on this note"),subtitle:H("savedImagesLoadErrorHint","Check the Attachments page before adding them again.")}),n().createElement("div",{className:"-esm-patient-notes__visit-notes-form__imgThumbnailGrid___Tbu9Z"},eP.filter(e=>!em.includes(e.id)).map(e=>{let t=eL.includes(e.id),a=e.description||e.filename||H("savedImage","Saved image");return n().createElement("div",{key:e.id,className:A},n().createElement("div",{className:S},n().createElement("img",{className:o()(w,{"-esm-patient-notes__visit-notes-form__pendingImage___nyrho":t}),src:e.src,alt:a})),t&&n().createElement("p",{className:"-esm-patient-notes__visit-notes-form__removalStatus___9l-fi"},H("imageMarkedForRemoval","Marked for removal")),n().createElement(p.Button,{kind:t?"ghost":"secondary",size:"sm",disabled:eS,"aria-label":t?H("undoRemoveImage","Undo removal: {{name}}",{name:a}):H("removeImage","Remove image: {{name}}",{name:a}),className:t?"-esm-patient-notes__visit-notes-form__undoButton___-74Gv":R,onClick:()=>eA("removedImageIds",t?eL.filter(t=>t!==e.id):[...eL,e.id],{shouldDirty:!0})},t?H("undo","Undo"):n().createElement(h.bm,{size:16})))}),eB?.map((e,t)=>n().createElement("div",{key:t,className:A},n().createElement("div",{className:S},n().createElement("img",{className:w,src:e.base64Content,alt:e.fileDescription||e.fileName})),n().createElement(p.Button,{kind:"secondary",size:"sm","aria-label":H("removeImage","Remove image: {{name}}",{name:e.fileDescription?.trim()||e.fileName?.trim()||t+1}),className:R,onClick:()=>{let e;(e=[...eB]).splice(t,1),eA("images",e,{shouldDirty:!0}),(0,E.showSnackbar)({title:H("imageRemoved","Image removed"),kind:"success",isLowContrast:!0})}},n().createElement(h.bm,{size:16}))))),eL.length>0&&n().createElement("p",{className:"-esm-patient-notes__visit-notes-form__removalHint___a6VpP"},H("imageRemovalSaveHint","Images marked for removal will be deleted when you save."))))))),ec&&n().createElement(p.InlineNotification,{kind:"error",lowContrast:!0,hideCloseButton:!0,title:H("visitNoteSaveError","Error saving visit note"),subtitle:ec}),n().createElement(p.ButtonSet,{className:o()({"-esm-patient-notes__visit-notes-form__tablet___R5OWW":U,"-esm-patient-notes__visit-notes-form__desktop___q-E7d":!U})},n().createElement(p.Button,{className:T,kind:"secondary",onClick:()=>O()},H("discard","Discard")),n().createElement(p.Button,{className:T,kind:"primary",disabled:!e2||eS,type:"submit"},eS?n().createElement(p.InlineLoading,{className:"-esm-patient-notes__visit-notes-form__spinner___nX4VV",description:H("saving","Saving")+"..."}):n().createElement("span",null,H("saveAndClose","Save and close"))))))}}}]);
|
package/dist/2932.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2932.js","sources":["webpack://@openmrs/esm-patient-notes-app/./src/notes/selected-diagnosis-card.scss?4a9a","webpack://@openmrs/esm-patient-notes-app/./src/notes/selected-diagnosis-card.component.tsx","webpack://@openmrs/esm-patient-notes-app/./src/notes/visit-notes-form.scss?988c","webpack://@openmrs/esm-patient-notes-app/./src/notes/visit-notes-form.component.tsx"],"names":["lastDraftId","DiagnosisListHeader","t","useTranslation","SelectedDiagnosisCard","canMarkProvisional","diagnosis","onRemove","onUpdate","isProvisional","Checkbox","_","checked","OverflowMenu","OverflowMenuItem","Button","props","CloseFilled","hasPrimaryDiagnosis","diagnoses","hasDiagnosisContent","Boolean","imageExtensions","Set","DiagnosisSearch","name","control","labelText","placeholder","handleSearch","setIsSearching","isTablet","useLayoutType","Controller","value","onChange","onBlur","ResponsiveWrapper","Search","e","event","results","document","DiagnosesDisplay","isDiagnosisNotSelected","isLoading","isSearching","onAddDiagnosis","searchResults","resultsRef","useRef","setResultsRef","useCallback","node","Loader","Array","index","result","nextIndex","Tile","SkeletonText","encounter","formContext","patientUuid","patient","visitContext","closeWorkspace","isEditing","session","useSession","isPrimaryDiagnosisRequired","config","useConfig","visitContextHeaderState","useMemo","memoizedState","clinicianEncounterRole","encounterNoteTextConceptUuid","encounterTypeUuid","formConceptUuid","isLoadingDiagnoses","setIsLoadingDiagnoses","useState","setSearchResults","rows","setRows","removedImages","setRemovedImages","saveError","setSaveError","error","setError","allowedFileExtensions","allowedFileExtensionsError","isLoadingAllowedFileExtensions","useAllowedFileExtensions","allowedImageExtensions","extensions","extension","isImageCaptureDisabled","isRetrospectiveDataEntryEnabled","useFeatureFlag","visitNoteFormSchema","z","initialDiagnoses","d","a","b","Number","dirtyFields","isSubmitted","isSubmitting","getValues","handleSubmit","setValue","watch","useForm","zodResolver","Date","String","obs","selectedDiagnoses","setSelectedDiagnoses","useController","currentImages","removedImageIds","savedImages","isLoadingSavedImages","savedImagesError","useVisitNoteImages","undefined","mutateVisitNotes","useVisitNotes","globalMutate","useSWRConfig","mutateAttachments","key","restBaseUrl","locationUuid","providerUuid","debouncedSearch","debounce","fieldQuery","fetchDiagnosisConceptsByName","matchingConceptDiagnoses","createErrorHandler","createDiagnosis","concept","prefilledCodedConceptUuids","conceptClassByUuid","conceptClassLookupError","useDiagnosisConceptClasses","conceptClassUuid","handleAddDiagnosis","conceptDiagnosisToAdd","handleRemoveDiagnosis","diagnosisToRemove","handleUpdateDiagnosis","diagnosisToUpdate","patch","showImageCaptureModal","close","showModal","file","Promise","onSubmit","data","noteDate","clinicalNote","images","finalNoteDate","dayjs","now","existingClinicalNoteObs","visitNotePayload","abortController","AbortController","removedAny","noteSaveAttempted","imageId","removeVisitNoteImage","removed","id","Object","field","savePromise","updateVisitNote","saveVisitNote","response","encounterUuid","storedDiagnoses","deletePatientDiagnosis","diagnosesPayload","savePatientDiagnosis","image","imageToUpload","createAttachment","invalidateVisitAndEncounterData","failedUploads","reason","names","showSnackbar","err","onError","errors","console","firstDraftId","target","hasUserUnsavedChanges","showPrimaryRequiredWarning","primaryRequiredBlockedSave","Workspace2","Form","ExtensionSlot","Row","Stack","Column","fieldState","OpenmrsDatePicker","FormGroup","InlineNotification","selectedDiagnosis","classnames","WarningFilled","WarningAltFilled","TextArea","Math","Add","InlineLoading","isMarkedForRemoval","Close","updatedImages","ButtonSet"],"mappings":"uWACA,ICiBIA,EAAc,EAKX,SAASC,IACd,GAAM,CAAEC,EAAAA,CAAC,CAAE,CAAGC,AAAAA,GAAAA,EAAAA,cAAAA,AAAAA,IAEd,OACE,kBAAC,OAAI,cAAY,OAAO,UD1BU,0E,EC2BhC,kBAAC,YAAMD,EAAE,UAAW,YAG1B,CASe,SAASE,EAAsB,CAC5CC,mBAAAA,CAAkB,CAClBC,UAAAA,CAAS,CACTC,SAAAA,CAAQ,CACRC,SAAAA,CAAQ,CACmB,EAC3B,GAAM,CAAEN,EAAAA,CAAC,CAAE,CAAGC,AAAAA,GAAAA,EAAAA,cAAAA,AAAAA,IACRM,EAAgBH,AAAwB,gBAAxBA,EAAU,SAAS,CAEzC,OACE,kBAAC,OAAI,UDjDuH,oECiDvF,KAAK,QAAQ,aAAYA,EAAU,OAAO,A,EAC7E,kBAACI,EAAAA,QAAQA,CAAAA,CACP,mBAAiB,gCACjB,QAASJ,AAAmB,IAAnBA,EAAU,IAAI,CACvB,aACA,GAAI,CAAC,UAAU,EAAEA,EAAU,OAAO,CAAC,QAAQ,CAAC,CAC5C,UAAWJ,EAAE,UAAW,WACxB,SAAU,CAACS,EAAG,CAAEC,QAAAA,CAAO,CAAE,GAAKJ,EAASF,EAAW,CAAE,KAAMM,EAAU,EAAI,CAAE,E,GAE5E,kBAAC,QAAK,UD1D4X,oE,EC2D/XH,GACC,oCACE,kBAAC,QAAK,cAAY,OAAO,UD7D0b,sE,EC6DvZ,KAG5D,kBAAC,QAAK,UAAU,sB,EAAwBP,EAAE,cAAe,eAAe,MAG3EI,EAAU,OAAO,EAEpB,kBAAC,OAAI,UDrEuM,kE,ECsEzMD,GAC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SAAUsF,E,GAGd,kBAACgJ,EAAAA,SAASA,CAAAA,CAAC,UAAWV,IAAW,CDl5BosC,uDCk5BjrC/L,EDl5BkvC,wDCk5BttC,CAACA,CAAS,E,EACxF,kBAAChB,EAAAA,MAAMA,CAAAA,CAAC,SAAS,GAAiB,KAAK,YAAY,QAAS,IAAMmD,G,EAC/DhE,EAAE,UAAW,YAEhB,kBAACa,EAAAA,MAAMA,CAAAA,CACL,SAAS,GACT,KAAK,UACL,SAAU,CAACiM,IAAyBjG,GACpC,KAAK,Q,EAEJA,GACC,kBAACqH,EAAAA,aAAaA,CAAAA,CAAC,UD75B+oC,wDC65BpnC,YAAalO,EAAE,SAAU,UAAY,K,GAE/E,kBAAC,YAAMA,EAAE,eAAgB,sBAOvC,C"}
|
|
1
|
+
{"version":3,"file":"2932.js","sources":["webpack://@openmrs/esm-patient-notes-app/./src/notes/selected-diagnosis-card.scss?4a9a","webpack://@openmrs/esm-patient-notes-app/./src/notes/selected-diagnosis-card.component.tsx","webpack://@openmrs/esm-patient-notes-app/./src/notes/visit-notes-form.scss?988c","webpack://@openmrs/esm-patient-notes-app/./src/notes/visit-notes-form.component.tsx"],"names":["lastDraftId","DiagnosisListHeader","t","useTranslation","SelectedDiagnosisCard","canMarkProvisional","diagnosis","onRemove","onUpdate","isProvisional","Checkbox","_","checked","OverflowMenu","OverflowMenuItem","Button","props","CloseFilled","hasPrimaryDiagnosis","diagnoses","hasDiagnosisContent","Boolean","imageExtensions","Set","DiagnosisSearch","name","control","labelText","placeholder","handleSearch","setIsSearching","isTablet","useLayoutType","Controller","value","onChange","onBlur","ResponsiveWrapper","Search","e","event","results","document","DiagnosesDisplay","isDiagnosisNotSelected","isLoading","isSearching","onAddDiagnosis","searchResults","resultsRef","useRef","setResultsRef","useCallback","node","Loader","Array","index","result","nextIndex","Tile","SkeletonText","encounter","formContext","propPatientUuid","patientProp","visitContext","closeWorkspace","showPatientHeader","isEditing","session","useSession","isPrimaryDiagnosisRequired","config","useConfig","patientUuid","patient","usePatientForBanner","showWorkspacePatientHeader","hasPatientBannerData","visitContextHeaderState","useMemo","memoizedState","clinicianEncounterRole","encounterNoteTextConceptUuid","encounterTypeUuid","formConceptUuid","isLoadingDiagnoses","setIsLoadingDiagnoses","useState","setSearchResults","rows","setRows","removedImages","setRemovedImages","saveError","setSaveError","error","setError","allowedFileExtensions","allowedFileExtensionsError","isLoadingAllowedFileExtensions","useAllowedFileExtensions","allowedImageExtensions","extensions","extension","isImageCaptureDisabled","isRetrospectiveDataEntryEnabled","useFeatureFlag","visitNoteFormSchema","z","initialDiagnoses","d","a","b","Number","dirtyFields","isSubmitted","isSubmitting","getValues","handleSubmit","setValue","watch","useForm","zodResolver","Date","String","obs","selectedDiagnoses","setSelectedDiagnoses","useController","currentImages","removedImageIds","savedImages","isLoadingSavedImages","savedImagesError","useVisitNoteImages","undefined","mutateVisitNotes","useVisitNotes","globalMutate","useSWRConfig","mutateAttachments","key","restBaseUrl","locationUuid","providerUuid","debouncedSearch","debounce","fieldQuery","fetchDiagnosisConceptsByName","matchingConceptDiagnoses","createErrorHandler","createDiagnosis","concept","prefilledCodedConceptUuids","conceptClassByUuid","conceptClassLookupError","useDiagnosisConceptClasses","conceptClassUuid","handleAddDiagnosis","conceptDiagnosisToAdd","handleRemoveDiagnosis","diagnosisToRemove","handleUpdateDiagnosis","diagnosisToUpdate","patch","showImageCaptureModal","close","showModal","file","Promise","onSubmit","data","noteDate","clinicalNote","images","finalNoteDate","dayjs","now","existingClinicalNoteObs","visitNotePayload","abortController","AbortController","removedAny","noteSaveAttempted","imageId","removeVisitNoteImage","removed","id","Object","field","savePromise","updateVisitNote","saveVisitNote","response","encounterUuid","storedDiagnoses","deletePatientDiagnosis","diagnosesPayload","savePatientDiagnosis","image","imageToUpload","createAttachment","invalidateVisitAndEncounterData","failedUploads","reason","names","showSnackbar","err","onError","errors","console","firstDraftId","target","hasUserUnsavedChanges","showPrimaryRequiredWarning","primaryRequiredBlockedSave","Workspace2","ExtensionSlot","Form","Row","Stack","Column","fieldState","OpenmrsDatePicker","FormGroup","InlineNotification","selectedDiagnosis","classnames","WarningFilled","WarningAltFilled","TextArea","Math","Add","InlineLoading","isMarkedForRemoval","Close","updatedImages","ButtonSet"],"mappings":"uWACA,ICiBIA,EAAc,EAKX,SAASC,IACd,GAAM,CAAEC,EAAAA,CAAC,CAAE,CAAGC,AAAAA,GAAAA,EAAAA,cAAAA,AAAAA,IAEd,OACE,kBAAC,OAAI,cAAY,OAAO,UD1BU,0E,EC2BhC,kBAAC,YAAMD,EAAE,UAAW,YAG1B,CASe,SAASE,EAAsB,CAC5CC,mBAAAA,CAAkB,CAClBC,UAAAA,CAAS,CACTC,SAAAA,CAAQ,CACRC,SAAAA,CAAQ,CACmB,EAC3B,GAAM,CAAEN,EAAAA,CAAC,CAAE,CAAGC,AAAAA,GAAAA,EAAAA,cAAAA,AAAAA,IACRM,EAAgBH,AAAwB,gBAAxBA,EAAU,SAAS,CAEzC,OACE,kBAAC,OAAI,UDjDuH,oECiDvF,KAAK,QAAQ,aAAYA,EAAU,OAAO,A,EAC7E,kBAACI,EAAAA,QAAQA,CAAAA,CACP,mBAAiB,gCACjB,QAASJ,AAAmB,IAAnBA,EAAU,IAAI,CACvB,aACA,GAAI,CAAC,UAAU,EAAEA,EAAU,OAAO,CAAC,QAAQ,CAAC,CAC5C,UAAWJ,EAAE,UAAW,WACxB,SAAU,CAACS,EAAG,CAAEC,QAAAA,CAAO,CAAE,GAAKJ,EAASF,EAAW,CAAE,KAAMM,EAAU,EAAI,CAAE,E,GAE5E,kBAAC,QAAK,UD1D4X,oE,EC2D/XH,GACC,oCACE,kBAAC,QAAK,cAAY,OAAO,UD7D0b,sE,EC6DvZ,KAG5D,kBAAC,QAAK,UAAU,sB,EAAwBP,EAAE,cAAe,eAAe,MAG3EI,EAAU,OAAO,EAEpB,kBAAC,OAAI,UDrEuM,kE,ECsEzMD,GACC,kBAACQ,EAAAA,YAAYA,CAAAA,CACX,MAAM,OACN,aA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AAM,CAkhBmC1E,EAlhB3B,GAC5BgE,GAAS,SAAUqH,EAAe,CAAE,YAAa,EAAK,GAEtD9B,AAAAA,GAAAA,EAAAA,YAAAA,AAAAA,EAAa,CACX,MAAO7M,EAAE,eAAgB,iBACzB,KAAM,UACN,cAAe,EACjB,G,EA6gBsB,kBAAC0O,EAAAA,EAAKA,CAAAA,CAAC,KAAM,E,OAKpBzG,GAAgB,MAAM,CAAG,GACxB,kBAAC,KAAE,UD75Bm9E,2D,EC85Bn9EjI,EAAE,uBAAwB,kEAQxC4F,IACC,kBAACoI,EAAAA,kBAAkBA,CAAAA,CACjB,KAAK,QACL,eACA,mBACA,MAAOhO,EAAE,qBAAsB,2BAC/B,SAAU4F,E,GAGd,kBAACgJ,EAAAA,SAASA,CAAAA,CAAC,UAAWV,IAAW,CD/6BosC,uDC+6BjrCrM,ED/6BkvC,wDC+6BttC,CAACA,CAAS,E,EACxF,kBAAChB,EAAAA,MAAMA,CAAAA,CAAC,SAAS,GAAiB,KAAK,YAAY,QAAS,IAAMmD,G,EAC/DhE,EAAE,UAAW,YAEhB,kBAACa,EAAAA,MAAMA,CAAAA,CACL,SAAS,GACT,KAAK,UACL,SAAU,CAACuM,IAAyBjG,GACpC,KAAK,Q,EAEJA,GACC,kBAACqH,EAAAA,aAAaA,CAAAA,CAAC,UD17B+oC,wDC07BpnC,YAAaxO,EAAE,SAAU,UAAY,K,GAE/E,kBAAC,YAAMA,EAAE,eAAgB,sBAOvC,C"}
|
package/dist/6742.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--brand-01:#005d5d;--brand-02:#004144;--brand-03:#007d79;--bottom-nav-height:4rem;--workspace-header-height:3rem;--tablet-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-notes__selected-diagnosis-card__diagnosisListHeader___h-S7H{grid-template-columns:3rem minmax(0,1fr) 2rem 2rem;align-items:end;column-gap:.25rem;margin-top:.5rem;padding:0 .5rem;display:grid}.-esm-patient-notes__selected-diagnosis-card__diagnosisListHeader___h-S7H>span{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);color:#525252;text-align:center}.-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6{background-color:#f4f4f4;border-radius:4px;grid-template-columns:3rem minmax(0,1fr) 2rem 2rem;align-items:center;column-gap:.25rem;margin-top:.25rem;padding:.5rem;display:grid}.-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--form-item{justify-self:center;margin:0}.-esm-patient-notes__selected-diagnosis-card__actionsCell___ugf7H{justify-content:center;display:flex}.omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label{min-block-size:2rem;min-inline-size:2rem;padding-inline-start:2rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:before,.omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:after{translate:.5rem .375rem}[dir=rtl] .omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:before,[dir=rtl] .omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:after{translate:-.5rem .375rem}.-esm-patient-notes__selected-diagnosis-card__diagnosisActionsMenu___8AWXe .cds--overflow-menu-options__btn{max-inline-size:none}.-esm-patient-notes__selected-diagnosis-card__diagnosisName___MjgaG{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);overflow-wrap:anywhere;min-width:0}.-esm-patient-notes__selected-diagnosis-card__provisionalMark___pSs51{font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);color:#525252;margin-inline-end:.25rem}.-esm-patient-notes__visit-notes-form__heading___ZDibC{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);line-height:var(--cds-heading-03-line-height,1.4);letter-spacing:var(--cds-heading-03-letter-spacing,0);margin-bottom:.5rem}.-esm-patient-notes__visit-notes-form__columnLabel___EwgDF{font-size:var(--cds-heading-compact-02-font-size,1rem);font-weight:var(--cds-heading-compact-02-font-weight,600);line-height:var(--cds-heading-compact-02-line-height,1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing,0);color:#525252}.-esm-patient-notes__visit-notes-form__required___Unklu{color:#da1e28;margin-left:.125rem}.-esm-patient-notes__visit-notes-form__diagnosis___XsPGM{border-top:.0625rem solid #e0e0e0}.-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E{width:100%;color:inherit;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;padding:.75rem}.-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E:focus-visible{outline-offset:-2px;outline:2px solid #0f62fe}.-esm-patient-notes__visit-notes-form__diagnosis___XsPGM:first-of-type{border-top:none}.-esm-patient-notes__visit-notes-form__diagnosis___XsPGM:last-of-type{border-bottom:none}.-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY{background-color:#fff;border:1px solid #e0e0e0;max-height:13.5rem;overflow-y:auto}.-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY li:hover{background-color:#e0e0e0}.-esm-patient-notes__visit-notes-form__emptyResults___fCV44{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252;min-height:1rem}.-esm-patient-notes__visit-notes-form__imgUploadHelperText___\+VxXT{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252}.-esm-patient-notes__visit-notes-form__imgThumbnailContainer___6-ih6{width:7rem;height:7rem}.-esm-patient-notes__visit-notes-form__imgThumbnail___PGisE{object-fit:cover;width:100%;height:100%}.-esm-patient-notes__visit-notes-form__savedImagesLoading___06xRV{margin-top:1rem}.-esm-patient-notes__visit-notes-form__imgThumbnailGrid___Tbu9Z{grid-template-columns:repeat(auto-fill,7rem);gap:1rem;margin-top:1rem;display:grid}.-esm-patient-notes__visit-notes-form__imgThumbnailItem___XkrUE{flex-direction:column;align-items:center;display:flex;position:relative}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn{color:#262626;background-color:#fff;border:1px solid #a8a8a8;border-radius:50%;justify-content:center;align-items:center;width:1.5rem;min-width:0;height:1.5rem;min-height:0;padding:0;padding-block:0;position:absolute;top:.25rem;right:.25rem}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:hover,.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:focus,.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:active{color:#262626}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:focus{background-color:#fff}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:hover{background-color:#e0e0e0}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:active{background-color:#c6c6c6}.-esm-patient-notes__visit-notes-form__button___tic-m{align-content:flex-start;align-items:baseline;min-width:50%;height:4rem;display:flex}.-esm-patient-notes__visit-notes-form__spinner___nX4VV.cds--inline-loading{min-height:1rem}.-esm-patient-notes__visit-notes-form__tablet___R5OWW{background-color:#fff;padding:1.5rem 1rem}.-esm-patient-notes__visit-notes-form__desktop___q-E7d{padding:0}.-esm-patient-notes__visit-notes-form__headerGridRow___jAAax{border-bottom:.0625rem solid #e0e0e0;margin:0}.-esm-patient-notes__visit-notes-form__dataGridRow___wKV9H{grid-template-columns:50% 10% 1fr;margin:.5rem 1rem;display:grid}.-esm-patient-notes__visit-notes-form__formContainer___INxGb{flex:1;margin:1rem}.-esm-patient-notes__visit-notes-form__form___WXW3i{flex-direction:column;justify-content:space-between;height:100%;display:flex}.-esm-patient-notes__visit-notes-form__grid___mG3uC{margin:0;padding:0}.-esm-patient-notes__visit-notes-form__row___\+Ncuq{margin:.5rem 0 2.5rem}.-esm-patient-notes__visit-notes-form__row___\+Ncuq:has(.-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY){margin-bottom:1rem}.-esm-patient-notes__visit-notes-form__skeleton___Wp-mM{height:2rem;margin-top:.25rem}.-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#161616;align-items:center;gap:.25rem;margin-top:.5rem;display:flex}.-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv svg{fill:#f1c21b;flex-shrink:0}.-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv svg [data-icon-path=inner-path]{fill:#161616;opacity:1}.-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh{color:#da1e28}.-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh svg{fill:#da1e28}.-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh svg [data-icon-path=inner-path]{opacity:0}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__form___WXW3i{height:100%}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__row___\+Ncuq{gap:4rem;display:flex}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__row___\+Ncuq .cds--col-sm-1{text-align:left;flex-basis:30%;min-width:8rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__row___\+Ncuq .cds--col-sm-3{flex-basis:70%}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E{padding:1rem .75rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__skeleton___Wp-mM{height:2.5rem}.-esm-patient-notes__visit-notes-form__errorNotification___K-xrU{margin-top:.25rem}.-esm-patient-notes__visit-notes-form__diagnosisHelperText___R\+a2V{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);color:#525252;margin-top:.5rem}.-esm-patient-notes__visit-notes-form__uploadButton___bTplo{margin-top:1rem}.-esm-patient-notes__visit-notes-form__pendingImage___nyrho{opacity:.4}.-esm-patient-notes__visit-notes-form__removalStatus___9l-fi{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);color:#525252;text-align:center;margin-block-start:.5rem}.-esm-patient-notes__visit-notes-form__undoButton___-74Gv.cds--btn{flex-shrink:0;margin-block:.5rem 0}.-esm-patient-notes__visit-notes-form__removalHint___a6VpP{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);color:#525252;margin-block-start:.5rem}
|
|
1
|
+
:root{--brand-01:#005d5d;--brand-02:#004144;--brand-03:#007d79;--bottom-nav-height:4rem;--workspace-header-height:3rem;--tablet-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-notes__selected-diagnosis-card__diagnosisListHeader___h-S7H{grid-template-columns:3rem minmax(0,1fr) 2rem 2rem;align-items:end;column-gap:.25rem;margin-top:.5rem;padding:0 .5rem;display:grid}.-esm-patient-notes__selected-diagnosis-card__diagnosisListHeader___h-S7H>span{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);color:#525252;text-align:center}.-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6{background-color:#f4f4f4;border-radius:4px;grid-template-columns:3rem minmax(0,1fr) 2rem 2rem;align-items:center;column-gap:.25rem;margin-top:.25rem;padding:.5rem;display:grid}.-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--form-item{justify-self:center;margin:0}.-esm-patient-notes__selected-diagnosis-card__actionsCell___ugf7H{justify-content:center;display:flex}.omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label{min-block-size:2rem;min-inline-size:2rem;padding-inline-start:2rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:before,.omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:after{translate:.5rem .375rem}[dir=rtl] .omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:before,[dir=rtl] .omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:after{translate:-.5rem .375rem}.-esm-patient-notes__selected-diagnosis-card__diagnosisActionsMenu___8AWXe .cds--overflow-menu-options__btn{max-inline-size:none}.-esm-patient-notes__selected-diagnosis-card__diagnosisName___MjgaG{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);overflow-wrap:anywhere;min-width:0}.-esm-patient-notes__selected-diagnosis-card__provisionalMark___pSs51{font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);color:#525252;margin-inline-end:.25rem}.-esm-patient-notes__visit-notes-form__heading___ZDibC{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);line-height:var(--cds-heading-03-line-height,1.4);letter-spacing:var(--cds-heading-03-letter-spacing,0);margin-bottom:.5rem}.-esm-patient-notes__visit-notes-form__columnLabel___EwgDF{font-size:var(--cds-heading-compact-02-font-size,1rem);font-weight:var(--cds-heading-compact-02-font-weight,600);line-height:var(--cds-heading-compact-02-line-height,1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing,0);color:#525252}.-esm-patient-notes__visit-notes-form__required___Unklu{color:#da1e28;margin-left:.125rem}.-esm-patient-notes__visit-notes-form__diagnosis___XsPGM{border-top:.0625rem solid #e0e0e0}.-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E{width:100%;color:inherit;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;padding:.75rem}.-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E:focus-visible{outline-offset:-2px;outline:2px solid #0f62fe}.-esm-patient-notes__visit-notes-form__diagnosis___XsPGM:first-of-type{border-top:none}.-esm-patient-notes__visit-notes-form__diagnosis___XsPGM:last-of-type{border-bottom:none}.-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY{background-color:#fff;border:1px solid #e0e0e0;max-height:13.5rem;overflow-y:auto}.-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY li:hover{background-color:#e0e0e0}.-esm-patient-notes__visit-notes-form__emptyResults___fCV44{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252;min-height:1rem}.-esm-patient-notes__visit-notes-form__imgUploadHelperText___\+VxXT{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252}.-esm-patient-notes__visit-notes-form__imgThumbnailContainer___6-ih6{width:7rem;height:7rem}.-esm-patient-notes__visit-notes-form__imgThumbnail___PGisE{object-fit:cover;width:100%;height:100%}.-esm-patient-notes__visit-notes-form__savedImagesLoading___06xRV{margin-top:1rem}.-esm-patient-notes__visit-notes-form__imgThumbnailGrid___Tbu9Z{grid-template-columns:repeat(auto-fill,7rem);gap:1rem;margin-top:1rem;display:grid}.-esm-patient-notes__visit-notes-form__imgThumbnailItem___XkrUE{flex-direction:column;align-items:center;display:flex;position:relative}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn{color:#262626;background-color:#fff;border:1px solid #a8a8a8;border-radius:50%;justify-content:center;align-items:center;width:1.5rem;min-width:0;height:1.5rem;min-height:0;padding:0;padding-block:0;position:absolute;top:.25rem;right:.25rem}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:hover,.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:focus,.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:active{color:#262626}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:focus{background-color:#fff}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:hover{background-color:#e0e0e0}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:active{background-color:#c6c6c6}.-esm-patient-notes__visit-notes-form__button___tic-m{align-content:flex-start;align-items:baseline;min-width:50%;height:4rem;display:flex}.-esm-patient-notes__visit-notes-form__spinner___nX4VV.cds--inline-loading{min-height:1rem}.-esm-patient-notes__visit-notes-form__tablet___R5OWW{background-color:#fff;padding:1.5rem 1rem}.-esm-patient-notes__visit-notes-form__desktop___q-E7d{padding:0}.-esm-patient-notes__visit-notes-form__tablet___R5OWW,.-esm-patient-notes__visit-notes-form__desktop___q-E7d{position:sticky;bottom:0}.-esm-patient-notes__visit-notes-form__headerGridRow___jAAax{border-bottom:.0625rem solid #e0e0e0;margin:0}.-esm-patient-notes__visit-notes-form__dataGridRow___wKV9H{grid-template-columns:50% 10% 1fr;margin:.5rem 1rem;display:grid}.-esm-patient-notes__visit-notes-form__formContainer___INxGb{flex:1;margin:1rem}.-esm-patient-notes__visit-notes-form__form___WXW3i{flex-direction:column;justify-content:space-between;height:100%;display:flex}.-esm-patient-notes__visit-notes-form__grid___mG3uC{margin:0;padding:0}.-esm-patient-notes__visit-notes-form__row___\+Ncuq{margin:.5rem 0 2.5rem}.-esm-patient-notes__visit-notes-form__row___\+Ncuq:has(.-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY){margin-bottom:1rem}.-esm-patient-notes__visit-notes-form__skeleton___Wp-mM{height:2rem;margin-top:.25rem}.-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#161616;align-items:center;gap:.25rem;margin-top:.5rem;display:flex}.-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv svg{fill:#f1c21b;flex-shrink:0}.-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv svg [data-icon-path=inner-path]{fill:#161616;opacity:1}.-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh{color:#da1e28}.-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh svg{fill:#da1e28}.-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh svg [data-icon-path=inner-path]{opacity:0}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__form___WXW3i{height:100%}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__row___\+Ncuq{gap:4rem;display:flex}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__row___\+Ncuq .cds--col-sm-1{text-align:left;flex-basis:30%;min-width:8rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__row___\+Ncuq .cds--col-sm-3{flex-basis:70%}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E{padding:1rem .75rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__skeleton___Wp-mM{height:2.5rem}.-esm-patient-notes__visit-notes-form__errorNotification___K-xrU{margin-top:.25rem}.-esm-patient-notes__visit-notes-form__diagnosisHelperText___R\+a2V{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);color:#525252;margin-top:.5rem}.-esm-patient-notes__visit-notes-form__uploadButton___bTplo{margin-top:1rem}.-esm-patient-notes__visit-notes-form__pendingImage___nyrho{opacity:.4}.-esm-patient-notes__visit-notes-form__removalStatus___9l-fi{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);color:#525252;text-align:center;margin-block-start:.5rem}.-esm-patient-notes__visit-notes-form__undoButton___-74Gv.cds--btn{flex-shrink:0;margin-block:.5rem 0}.-esm-patient-notes__visit-notes-form__removalHint___a6VpP{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);color:#525252;margin-block-start:.5rem}
|
package/dist/6742.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"6742.css","sources":["webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://@openmrs/esm-patient-notes-app/./src/notes/selected-diagnosis-card.scss","webpack://@openmrs/esm-patient-notes-app/./src/notes/visit-notes-form.scss"],"names":[],"mappings":"AAsDA,sUC/CA,6MAQE,0TAOF,mPAYE,gHAMF,sGAQA,uLAKE,6QAQA,kSAQF,iIAIA,+UAMA,iWC3EA,uRAKA,oTAMA,0FAKA,2FAIA,4KAUE,2HAMF,uFAIA,yFAIA,+IAOA,+FAIA,kUAMA,0TAKA,4FAKA,oGAMA,kFAIA,mJAOA,wIAQE,sTAiBE,gPAMA,iGAIA,oGAIA,qGAMJ,2IASE,2FAKF,gGAKA,iEAIA,2GAKA,4HAMA,gFAKA,iIAOA,uEAKA,0EAGE,yIAKF,sFAQA,wXAQE,qGAIE,6HAOJ,kFAGE,qFAGE,8GAOF,4FAIA,sGAIE,6IAMA,8GAKF,+GAIA,kGAKF,mFAIA,gRAMA,4EAIA,uEAIA,iUAOA,sGAKA"}
|
|
1
|
+
{"version":3,"file":"6742.css","sources":["webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://@openmrs/esm-patient-notes-app/./src/notes/selected-diagnosis-card.scss","webpack://@openmrs/esm-patient-notes-app/./src/notes/visit-notes-form.scss"],"names":[],"mappings":"AAsDA,sUC/CA,6MAQE,0TAOF,mPAYE,gHAMF,sGAQA,uLAKE,6QAQA,kSAQF,iIAIA,+UAMA,iWC3EA,uRAKA,oTAMA,0FAKA,2FAIA,4KAUE,2HAMF,uFAIA,yFAIA,+IAOA,+FAIA,kUAMA,0TAKA,4FAKA,oGAMA,kFAIA,mJAOA,wIAQE,sTAiBE,gPAMA,iGAIA,oGAIA,qGAMJ,2IASE,2FAKF,gGAKA,iEAIA,sIAMA,2GAKA,4HAMA,gFAKA,iIAOA,uEAKA,0EAGE,yIAKF,sFAQA,wXAQE,qGAIE,6HAOJ,kFAGE,qFAGE,8GAOF,4FAIA,sGAIE,6IAMA,8GAKF,+GAIA,kGAKF,mFAIA,gRAMA,4EAIA,uEAIA,iUAOA,sGAKA"}
|
package/dist/6994.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--brand-01:#005d5d;--brand-02:#004144;--brand-03:#007d79;--bottom-nav-height:4rem;--workspace-header-height:3rem;--tablet-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-notes__selected-diagnosis-card__diagnosisListHeader___h-S7H{grid-template-columns:3rem minmax(0,1fr) 2rem 2rem;align-items:end;column-gap:.25rem;margin-top:.5rem;padding:0 .5rem;display:grid}.-esm-patient-notes__selected-diagnosis-card__diagnosisListHeader___h-S7H>span{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);color:#525252;text-align:center}.-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6{background-color:#f4f4f4;border-radius:4px;grid-template-columns:3rem minmax(0,1fr) 2rem 2rem;align-items:center;column-gap:.25rem;margin-top:.25rem;padding:.5rem;display:grid}.-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--form-item{justify-self:center;margin:0}.-esm-patient-notes__selected-diagnosis-card__actionsCell___ugf7H{justify-content:center;display:flex}.omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label{min-block-size:2rem;min-inline-size:2rem;padding-inline-start:2rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:before,.omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:after{translate:.5rem .375rem}[dir=rtl] .omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:before,[dir=rtl] .omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:after{translate:-.5rem .375rem}.-esm-patient-notes__selected-diagnosis-card__diagnosisActionsMenu___8AWXe .cds--overflow-menu-options__btn{max-inline-size:none}.-esm-patient-notes__selected-diagnosis-card__diagnosisName___MjgaG{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);overflow-wrap:anywhere;min-width:0}.-esm-patient-notes__selected-diagnosis-card__provisionalMark___pSs51{font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);color:#525252;margin-inline-end:.25rem}.-esm-patient-notes__visit-notes-form__heading___ZDibC{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);line-height:var(--cds-heading-03-line-height,1.4);letter-spacing:var(--cds-heading-03-letter-spacing,0);margin-bottom:.5rem}.-esm-patient-notes__visit-notes-form__columnLabel___EwgDF{font-size:var(--cds-heading-compact-02-font-size,1rem);font-weight:var(--cds-heading-compact-02-font-weight,600);line-height:var(--cds-heading-compact-02-line-height,1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing,0);color:#525252}.-esm-patient-notes__visit-notes-form__required___Unklu{color:#da1e28;margin-left:.125rem}.-esm-patient-notes__visit-notes-form__diagnosis___XsPGM{border-top:.0625rem solid #e0e0e0}.-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E{width:100%;color:inherit;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;padding:.75rem}.-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E:focus-visible{outline-offset:-2px;outline:2px solid #0f62fe}.-esm-patient-notes__visit-notes-form__diagnosis___XsPGM:first-of-type{border-top:none}.-esm-patient-notes__visit-notes-form__diagnosis___XsPGM:last-of-type{border-bottom:none}.-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY{background-color:#fff;border:1px solid #e0e0e0;max-height:13.5rem;overflow-y:auto}.-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY li:hover{background-color:#e0e0e0}.-esm-patient-notes__visit-notes-form__emptyResults___fCV44{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252;min-height:1rem}.-esm-patient-notes__visit-notes-form__imgUploadHelperText___\+VxXT{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252}.-esm-patient-notes__visit-notes-form__imgThumbnailContainer___6-ih6{width:7rem;height:7rem}.-esm-patient-notes__visit-notes-form__imgThumbnail___PGisE{object-fit:cover;width:100%;height:100%}.-esm-patient-notes__visit-notes-form__savedImagesLoading___06xRV{margin-top:1rem}.-esm-patient-notes__visit-notes-form__imgThumbnailGrid___Tbu9Z{grid-template-columns:repeat(auto-fill,7rem);gap:1rem;margin-top:1rem;display:grid}.-esm-patient-notes__visit-notes-form__imgThumbnailItem___XkrUE{flex-direction:column;align-items:center;display:flex;position:relative}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn{color:#262626;background-color:#fff;border:1px solid #a8a8a8;border-radius:50%;justify-content:center;align-items:center;width:1.5rem;min-width:0;height:1.5rem;min-height:0;padding:0;padding-block:0;position:absolute;top:.25rem;right:.25rem}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:hover,.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:focus,.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:active{color:#262626}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:focus{background-color:#fff}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:hover{background-color:#e0e0e0}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:active{background-color:#c6c6c6}.-esm-patient-notes__visit-notes-form__button___tic-m{align-content:flex-start;align-items:baseline;min-width:50%;height:4rem;display:flex}.-esm-patient-notes__visit-notes-form__spinner___nX4VV.cds--inline-loading{min-height:1rem}.-esm-patient-notes__visit-notes-form__tablet___R5OWW{background-color:#fff;padding:1.5rem 1rem}.-esm-patient-notes__visit-notes-form__desktop___q-E7d{padding:0}.-esm-patient-notes__visit-notes-form__headerGridRow___jAAax{border-bottom:.0625rem solid #e0e0e0;margin:0}.-esm-patient-notes__visit-notes-form__dataGridRow___wKV9H{grid-template-columns:50% 10% 1fr;margin:.5rem 1rem;display:grid}.-esm-patient-notes__visit-notes-form__formContainer___INxGb{flex:1;margin:1rem}.-esm-patient-notes__visit-notes-form__form___WXW3i{flex-direction:column;justify-content:space-between;height:100%;display:flex}.-esm-patient-notes__visit-notes-form__grid___mG3uC{margin:0;padding:0}.-esm-patient-notes__visit-notes-form__row___\+Ncuq{margin:.5rem 0 2.5rem}.-esm-patient-notes__visit-notes-form__row___\+Ncuq:has(.-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY){margin-bottom:1rem}.-esm-patient-notes__visit-notes-form__skeleton___Wp-mM{height:2rem;margin-top:.25rem}.-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#161616;align-items:center;gap:.25rem;margin-top:.5rem;display:flex}.-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv svg{fill:#f1c21b;flex-shrink:0}.-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv svg [data-icon-path=inner-path]{fill:#161616;opacity:1}.-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh{color:#da1e28}.-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh svg{fill:#da1e28}.-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh svg [data-icon-path=inner-path]{opacity:0}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__form___WXW3i{height:100%}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__row___\+Ncuq{gap:4rem;display:flex}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__row___\+Ncuq .cds--col-sm-1{text-align:left;flex-basis:30%;min-width:8rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__row___\+Ncuq .cds--col-sm-3{flex-basis:70%}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E{padding:1rem .75rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__skeleton___Wp-mM{height:2.5rem}.-esm-patient-notes__visit-notes-form__errorNotification___K-xrU{margin-top:.25rem}.-esm-patient-notes__visit-notes-form__diagnosisHelperText___R\+a2V{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);color:#525252;margin-top:.5rem}.-esm-patient-notes__visit-notes-form__uploadButton___bTplo{margin-top:1rem}.-esm-patient-notes__visit-notes-form__pendingImage___nyrho{opacity:.4}.-esm-patient-notes__visit-notes-form__removalStatus___9l-fi{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);color:#525252;text-align:center;margin-block-start:.5rem}.-esm-patient-notes__visit-notes-form__undoButton___-74Gv.cds--btn{flex-shrink:0;margin-block:.5rem 0}.-esm-patient-notes__visit-notes-form__removalHint___a6VpP{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);color:#525252;margin-block-start:.5rem}
|
|
1
|
+
:root{--brand-01:#005d5d;--brand-02:#004144;--brand-03:#007d79;--bottom-nav-height:4rem;--workspace-header-height:3rem;--tablet-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-notes__selected-diagnosis-card__diagnosisListHeader___h-S7H{grid-template-columns:3rem minmax(0,1fr) 2rem 2rem;align-items:end;column-gap:.25rem;margin-top:.5rem;padding:0 .5rem;display:grid}.-esm-patient-notes__selected-diagnosis-card__diagnosisListHeader___h-S7H>span{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);color:#525252;text-align:center}.-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6{background-color:#f4f4f4;border-radius:4px;grid-template-columns:3rem minmax(0,1fr) 2rem 2rem;align-items:center;column-gap:.25rem;margin-top:.25rem;padding:.5rem;display:grid}.-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--form-item{justify-self:center;margin:0}.-esm-patient-notes__selected-diagnosis-card__actionsCell___ugf7H{justify-content:center;display:flex}.omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label{min-block-size:2rem;min-inline-size:2rem;padding-inline-start:2rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:before,.omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:after{translate:.5rem .375rem}[dir=rtl] .omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:before,[dir=rtl] .omrs-breakpoint-lt-desktop .-esm-patient-notes__selected-diagnosis-card__diagnosisRow___vAKJ6 .cds--checkbox-label:after{translate:-.5rem .375rem}.-esm-patient-notes__selected-diagnosis-card__diagnosisActionsMenu___8AWXe .cds--overflow-menu-options__btn{max-inline-size:none}.-esm-patient-notes__selected-diagnosis-card__diagnosisName___MjgaG{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);overflow-wrap:anywhere;min-width:0}.-esm-patient-notes__selected-diagnosis-card__provisionalMark___pSs51{font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);color:#525252;margin-inline-end:.25rem}.-esm-patient-notes__visit-notes-form__heading___ZDibC{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);line-height:var(--cds-heading-03-line-height,1.4);letter-spacing:var(--cds-heading-03-letter-spacing,0);margin-bottom:.5rem}.-esm-patient-notes__visit-notes-form__columnLabel___EwgDF{font-size:var(--cds-heading-compact-02-font-size,1rem);font-weight:var(--cds-heading-compact-02-font-weight,600);line-height:var(--cds-heading-compact-02-line-height,1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing,0);color:#525252}.-esm-patient-notes__visit-notes-form__required___Unklu{color:#da1e28;margin-left:.125rem}.-esm-patient-notes__visit-notes-form__diagnosis___XsPGM{border-top:.0625rem solid #e0e0e0}.-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E{width:100%;color:inherit;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;padding:.75rem}.-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E:focus-visible{outline-offset:-2px;outline:2px solid #0f62fe}.-esm-patient-notes__visit-notes-form__diagnosis___XsPGM:first-of-type{border-top:none}.-esm-patient-notes__visit-notes-form__diagnosis___XsPGM:last-of-type{border-bottom:none}.-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY{background-color:#fff;border:1px solid #e0e0e0;max-height:13.5rem;overflow-y:auto}.-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY li:hover{background-color:#e0e0e0}.-esm-patient-notes__visit-notes-form__emptyResults___fCV44{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252;min-height:1rem}.-esm-patient-notes__visit-notes-form__imgUploadHelperText___\+VxXT{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252}.-esm-patient-notes__visit-notes-form__imgThumbnailContainer___6-ih6{width:7rem;height:7rem}.-esm-patient-notes__visit-notes-form__imgThumbnail___PGisE{object-fit:cover;width:100%;height:100%}.-esm-patient-notes__visit-notes-form__savedImagesLoading___06xRV{margin-top:1rem}.-esm-patient-notes__visit-notes-form__imgThumbnailGrid___Tbu9Z{grid-template-columns:repeat(auto-fill,7rem);gap:1rem;margin-top:1rem;display:grid}.-esm-patient-notes__visit-notes-form__imgThumbnailItem___XkrUE{flex-direction:column;align-items:center;display:flex;position:relative}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn{color:#262626;background-color:#fff;border:1px solid #a8a8a8;border-radius:50%;justify-content:center;align-items:center;width:1.5rem;min-width:0;height:1.5rem;min-height:0;padding:0;padding-block:0;position:absolute;top:.25rem;right:.25rem}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:hover,.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:focus,.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:active{color:#262626}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:focus{background-color:#fff}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:hover{background-color:#e0e0e0}.-esm-patient-notes__visit-notes-form__removeButton___O7iSI.cds--btn:active{background-color:#c6c6c6}.-esm-patient-notes__visit-notes-form__button___tic-m{align-content:flex-start;align-items:baseline;min-width:50%;height:4rem;display:flex}.-esm-patient-notes__visit-notes-form__spinner___nX4VV.cds--inline-loading{min-height:1rem}.-esm-patient-notes__visit-notes-form__tablet___R5OWW{background-color:#fff;padding:1.5rem 1rem}.-esm-patient-notes__visit-notes-form__desktop___q-E7d{padding:0}.-esm-patient-notes__visit-notes-form__tablet___R5OWW,.-esm-patient-notes__visit-notes-form__desktop___q-E7d{position:sticky;bottom:0}.-esm-patient-notes__visit-notes-form__headerGridRow___jAAax{border-bottom:.0625rem solid #e0e0e0;margin:0}.-esm-patient-notes__visit-notes-form__dataGridRow___wKV9H{grid-template-columns:50% 10% 1fr;margin:.5rem 1rem;display:grid}.-esm-patient-notes__visit-notes-form__formContainer___INxGb{flex:1;margin:1rem}.-esm-patient-notes__visit-notes-form__form___WXW3i{flex-direction:column;justify-content:space-between;height:100%;display:flex}.-esm-patient-notes__visit-notes-form__grid___mG3uC{margin:0;padding:0}.-esm-patient-notes__visit-notes-form__row___\+Ncuq{margin:.5rem 0 2.5rem}.-esm-patient-notes__visit-notes-form__row___\+Ncuq:has(.-esm-patient-notes__visit-notes-form__diagnosisList___KvUlY){margin-bottom:1rem}.-esm-patient-notes__visit-notes-form__skeleton___Wp-mM{height:2rem;margin-top:.25rem}.-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#161616;align-items:center;gap:.25rem;margin-top:.5rem;display:flex}.-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv svg{fill:#f1c21b;flex-shrink:0}.-esm-patient-notes__visit-notes-form__primaryRequiredWarning___nkuiv svg [data-icon-path=inner-path]{fill:#161616;opacity:1}.-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh{color:#da1e28}.-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh svg{fill:#da1e28}.-esm-patient-notes__visit-notes-form__primaryRequiredError___PFQdh svg [data-icon-path=inner-path]{opacity:0}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__form___WXW3i{height:100%}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__row___\+Ncuq{gap:4rem;display:flex}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__row___\+Ncuq .cds--col-sm-1{text-align:left;flex-basis:30%;min-width:8rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__row___\+Ncuq .cds--col-sm-3{flex-basis:70%}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__diagnosisButton___gSR4E{padding:1rem .75rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__visit-notes-form__skeleton___Wp-mM{height:2.5rem}.-esm-patient-notes__visit-notes-form__errorNotification___K-xrU{margin-top:.25rem}.-esm-patient-notes__visit-notes-form__diagnosisHelperText___R\+a2V{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);color:#525252;margin-top:.5rem}.-esm-patient-notes__visit-notes-form__uploadButton___bTplo{margin-top:1rem}.-esm-patient-notes__visit-notes-form__pendingImage___nyrho{opacity:.4}.-esm-patient-notes__visit-notes-form__removalStatus___9l-fi{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);color:#525252;text-align:center;margin-block-start:.5rem}.-esm-patient-notes__visit-notes-form__undoButton___-74Gv.cds--btn{flex-shrink:0;margin-block:.5rem 0}.-esm-patient-notes__visit-notes-form__removalHint___a6VpP{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);color:#525252;margin-block-start:.5rem}
|
package/dist/6994.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"6994.css","sources":["webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://@openmrs/esm-patient-notes-app/./src/notes/selected-diagnosis-card.scss","webpack://@openmrs/esm-patient-notes-app/./src/notes/visit-notes-form.scss"],"names":[],"mappings":"AAsDA,sUC/CA,6MAQE,0TAOF,mPAYE,gHAMF,sGAQA,uLAKE,6QAQA,kSAQF,iIAIA,+UAMA,iWC3EA,uRAKA,oTAMA,0FAKA,2FAIA,4KAUE,2HAMF,uFAIA,yFAIA,+IAOA,+FAIA,kUAMA,0TAKA,4FAKA,oGAMA,kFAIA,mJAOA,wIAQE,sTAiBE,gPAMA,iGAIA,oGAIA,qGAMJ,2IASE,2FAKF,gGAKA,iEAIA,2GAKA,4HAMA,gFAKA,iIAOA,uEAKA,0EAGE,yIAKF,sFAQA,wXAQE,qGAIE,6HAOJ,kFAGE,qFAGE,8GAOF,4FAIA,sGAIE,6IAMA,8GAKF,+GAIA,kGAKF,mFAIA,gRAMA,4EAIA,uEAIA,iUAOA,sGAKA"}
|
|
1
|
+
{"version":3,"file":"6994.css","sources":["webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://@openmrs/esm-patient-notes-app/./src/notes/selected-diagnosis-card.scss","webpack://@openmrs/esm-patient-notes-app/./src/notes/visit-notes-form.scss"],"names":[],"mappings":"AAsDA,sUC/CA,6MAQE,0TAOF,mPAYE,gHAMF,sGAQA,uLAKE,6QAQA,kSAQF,iIAIA,+UAMA,iWC3EA,uRAKA,oTAMA,0FAKA,2FAIA,4KAUE,2HAMF,uFAIA,yFAIA,+IAOA,+FAIA,kUAMA,0TAKA,4FAKA,oGAMA,kFAIA,mJAOA,wIAQE,sTAiBE,gPAMA,iGAIA,oGAIA,qGAMJ,2IASE,2FAKF,gGAKA,iEAIA,sIAMA,2GAKA,4HAMA,gFAKA,iIAOA,uEAKA,0EAGE,yIAKF,sFAQA,wXAQE,qGAIE,6HAOJ,kFAGE,qFAGE,8GAOF,4FAIA,sGAIE,6IAMA,8GAKF,+GAIA,kGAKF,mFAIA,gRAMA,4EAIA,uEAIA,iUAOA,sGAKA"}
|
package/dist/6994.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["6994"],{9615(e,t,
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([["6994"],{9615(e,t,a){a.r(t),a.d(t,{default:()=>o});var n=a(5399),s=a.n(n),p=a(8447);let o=({closeWorkspace:e,workspaceProps:{encounter:t,formContext:a,patientUuid:n,patient:o,visitContext:r,showPatientHeader:i=!0}})=>s().createElement(p.A,{encounter:t,formContext:a,patientUuid:n,patient:o,visitContext:r,closeWorkspace:e,showPatientHeader:i})}}]);
|
package/dist/6994.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"6994.js","sources":["webpack://@openmrs/esm-patient-notes-app/./src/notes/exported-visit-notes-form.workspace.tsx"],"names":["closeWorkspace","encounter","formContext","patientUuid","patient","visitContext","VisitNotesForm"],"mappings":"
|
|
1
|
+
{"version":3,"file":"6994.js","sources":["webpack://@openmrs/esm-patient-notes-app/./src/notes/exported-visit-notes-form.workspace.tsx"],"names":["closeWorkspace","encounter","formContext","patientUuid","patient","visitContext","showPatientHeader","VisitNotesForm"],"mappings":"0NAoCA,MAjBI,CAAC,CACHA,eAAAA,CAAc,CACd,eAAgB,CAAEC,UAAAA,CAAS,CAAEC,YAAAA,CAAW,CAAEC,YAAAA,CAAW,CAAEC,QAAAA,CAAO,CAAEC,aAAAA,CAAY,CAAEC,kBAAAA,EAAoB,EAAI,CAAE,CACzG,GAEG,kBAACC,EAAAA,CAAcA,CAAAA,CACb,UAAWN,EACX,YAAaC,EACb,YAAaC,EACb,QAASC,EACT,aAAcC,EACd,eAAgBL,EAChB,kBAAmBM,C"}
|
package/dist/7309.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.-esm-patient-notes__card-header-module__desktopHeader___2\+TJw,.-esm-patient-notes__card-header-module__tabletHeader___\+sVwu{background-color:#fff;justify-content:space-between;align-items:center;padding:.75rem 0 .75rem 1rem;display:flex}.-esm-patient-notes__card-header-module__desktopHeader___2\+TJw h4:after,.-esm-patient-notes__card-header-module__tabletHeader___\+sVwu h4:after{content:"";border-bottom:.375rem solid var(--brand-03);width:2rem;padding-top:.188rem;display:block}.-esm-patient-notes__card-header-module__desktopHeader___2\+TJw{height:3rem}.-esm-patient-notes__card-header-module__desktopHeader___2\+TJw h4{font-size:var(--cds-heading-compact-02-font-size,1rem);font-weight:var(--cds-heading-compact-02-font-weight,600);line-height:var(--cds-heading-compact-02-line-height,1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing,0);color:#525252}.-esm-patient-notes__card-header-module__tabletHeader___\+sVwu{height:4.5rem}.-esm-patient-notes__card-header-module__tabletHeader___\+sVwu h4{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);line-height:var(--cds-heading-03-line-height,1.4);letter-spacing:var(--cds-heading-03-letter-spacing,0);color:#525252}html[dir=rtl] .-esm-patient-notes__card-header-module__desktopHeader___2\+TJw,html[dir=rtl] .-esm-patient-notes__card-header-module__tabletHeader___\+sVwu{text-align:right;padding:.75rem 1rem .75rem 0}.-esm-patient-notes__custom-overflow-menu-module__container___8bx-O{width:auto;height:auto}.-esm-patient-notes__custom-overflow-menu-module__container___8bx-O .cds--overflow-menu__trigger{min-height:3rem}.-esm-patient-notes__custom-overflow-menu-module__menu___nr6RQ{min-width:initial;background-color:#f4f4f4;margin-right:.2rem;display:none;top:3.125rem;left:auto;right:0;box-shadow:0 6px 6px #0000004d}.-esm-patient-notes__custom-overflow-menu-module__show___uhniZ{display:block}.-esm-patient-notes__custom-overflow-menu-module__overflowMenuButton___ec5t2{color:#0f62fe;width:auto;height:auto;padding:.875rem 1rem}.-esm-patient-notes__custom-overflow-menu-module__overflowMenuButton___ec5t2:hover{background-color:#e8e8e8}[dir=rtl] .-esm-patient-notes__icons-module__icon___gvZ-E{transform:scaleX(-1)}.-esm-patient-notes__dashboard-module__menu___vNL1o{justify-content:center;align-items:center;display:flex}.-esm-patient-notes__dashboard-module__icon___1AWRZ{fill:#525252;margin-right:1.5rem}.-esm-patient-notes__datepicker-module__inputGroup___B\+yGa{background-color:var(--cds-field);border-block-end:1px solid var(--cds-border-strong);color:var(--cds-text-primary);align-items:center;display:flex;position:relative}.-esm-patient-notes__datepicker-module__inputGroup___B\+yGa:focus-within,.-esm-patient-notes__datepicker-module__inputGroup___B\+yGa.-esm-patient-notes__datepicker-module__cds--focused___M2Gzn{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.-esm-patient-notes__datepicker-module__inputGroup___B\+yGa:focus-within,.-esm-patient-notes__datepicker-module__inputGroup___B\+yGa.-esm-patient-notes__datepicker-module__cds--focused___M2Gzn{outline-style:dotted}}.-esm-patient-notes__datepicker-module__inputGroup___B\+yGa[data-invalid]{outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.-esm-patient-notes__datepicker-module__inputGroup___B\+yGa[data-invalid]{outline-style:dotted}}.-esm-patient-notes__datepicker-module__inputGroup___B\+yGa[data-invalid]{color:var(--cds-support-error,#da1e28)}.-esm-patient-notes__datepicker-module__inputGroup___B\+yGa[data-disabled]{color:var(--cds-text-disabled,#16161640);cursor:not-allowed;border-block-end:1px solid #0000}.-esm-patient-notes__datepicker-module__inputWrapper___Q3V-Y .-esm-patient-notes__datepicker-module__inputSegment___0l\+Zu,.-esm-patient-notes__datepicker-module__dateInputWrapper___l-WQn .-esm-patient-notes__datepicker-module__inputSegment___0l\+Zu{caret-color:var(--cds-text-primary)}.-esm-patient-notes__datepicker-module__inputWrapper___Q3V-Y .-esm-patient-notes__datepicker-module__inputSegment___0l\+Zu:focus,.-esm-patient-notes__datepicker-module__dateInputWrapper___l-WQn .-esm-patient-notes__datepicker-module__inputSegment___0l\+Zu:focus{outline:unset;background-color:var(--cds-layer-selected-hover)}.-esm-patient-notes__datepicker-module__inputWrapper___Q3V-Y [data-placeholder].-esm-patient-notes__datepicker-module__inputSegment___0l\+Zu,.-esm-patient-notes__datepicker-module__dateInputWrapper___l-WQn [data-placeholder].-esm-patient-notes__datepicker-module__inputSegment___0l\+Zu{color:var(--cds-text-disabled,#16161640)}.-esm-patient-notes__datepicker-module__inputWrapper___Q3V-Y [data-focused=true].-esm-patient-notes__datepicker-module__inputSegment___0l\+Zu,.-esm-patient-notes__datepicker-module__dateInputWrapper___l-WQn [data-focused=true].-esm-patient-notes__datepicker-module__inputSegment___0l\+Zu{animation:1s step-end infinite -esm-patient-notes__datepicker-module__cursor-blink___Qj1pi}[dir=rtl] .-esm-patient-notes__datepicker-module__inputWrapper___Q3V-Y [data-focused=true].-esm-patient-notes__datepicker-module__inputSegment___0l\+Zu,[dir=rtl] .-esm-patient-notes__datepicker-module__dateInputWrapper___l-WQn [data-focused=true].-esm-patient-notes__datepicker-module__inputSegment___0l\+Zu,.-esm-patient-notes__datepicker-module__inputWrapper___Q3V-Y [dir=rtl] [data-focused=true].-esm-patient-notes__datepicker-module__inputSegment___0l\+Zu,.-esm-patient-notes__datepicker-module__dateInputWrapper___l-WQn [dir=rtl] [data-focused=true].-esm-patient-notes__datepicker-module__inputSegment___0l\+Zu{animation:1s step-end infinite -esm-patient-notes__datepicker-module__cursor-blink-rtl___kH-KQ}.-esm-patient-notes__datepicker-module__inputWrapper___Q3V-Y [data-readonly]:has(+[data-placeholder]),.-esm-patient-notes__datepicker-module__dateInputWrapper___l-WQn [data-readonly]:has(+[data-placeholder]),.-esm-patient-notes__datepicker-module__inputWrapper___Q3V-Y [data-placeholder]+[data-readonly],.-esm-patient-notes__datepicker-module__dateInputWrapper___l-WQn [data-placeholder]+[data-readonly]{color:var(--cds-text-disabled,#16161640)}@keyframes -esm-patient-notes__datepicker-module__cursor-blink___Qj1pi{0%,to{border-right:1px solid #0000}50%{border-right:1px solid}}@keyframes -esm-patient-notes__datepicker-module__cursor-blink-rtl___kH-KQ{0%,to{border-left:1px solid #0000}50%{border-left:1px solid}}.-esm-patient-notes__datepicker-module__inputWrapper___Q3V-Y,.-esm-patient-notes__datepicker-module__dateInputWrapper___l-WQn{inline-size:15rem;min-width:10rem;max-width:15rem;margin-left:1rem}.-esm-patient-notes__datepicker-module__inputWrapperMd___I5X\+n{block-size:2.5rem}.-esm-patient-notes__datepicker-module__inputWrapperSm___I\+FVb{block-size:2rem}.-esm-patient-notes__datepicker-module__inputWrapperLg___VVXU0{block-size:3rem}.-esm-patient-notes__datepicker-module__inputsWrapper___efI20{min-width:10rem;max-width:15rem;inline-size:15rem;margin-inline-start:1rem;display:flex}.-esm-patient-notes__datepicker-module__inputsWrapperSm___btUyo{block-size:2rem}.-esm-patient-notes__datepicker-module__inputsWrapperMd___ZCWTb{block-size:2.5rem}.-esm-patient-notes__datepicker-module__inputsWrapperLg___cSiZb{block-size:3rem}.-esm-patient-notes__datepicker-module__dateInputWrapper___l-WQn{min-width:unset;margin:0}.-esm-patient-notes__datepicker-module__startInput___JV3Ay{flex-basis:fit-content}.-esm-patient-notes__datepicker-module__endInput___94hc-{padding-right:unset}.-esm-patient-notes__datepicker-module__separator___VMSfU{align-items:center;margin-inline:.5rem;display:flex}.-esm-patient-notes__datepicker-module__inputGroup___B\+yGa:has([data-placeholder])>.-esm-patient-notes__datepicker-module__inputsWrapper___efI20>.-esm-patient-notes__datepicker-module__separator___VMSfU>span{color:var(--cds-text-disabled,#16161640)}.-esm-patient-notes__datepicker-module__invalidText___5Hlvx{margin:.25rem 0 0;font-size:.75rem;overflow:hidden;color:var(--cds-text-error,#da1e28)!important;font-weight:400!important}@keyframes -esm-patient-notes__datepicker-module__expand-in___oJb5K{0%{opacity:0;transform:scale(.93)}to{opacity:1;transform:scale(1)}}.-esm-patient-notes__datepicker-module__popover___vZRxL{transform-origin:top}.-esm-patient-notes__datepicker-module__popover___vZRxL[data-placement=top],.-esm-patient-notes__datepicker-module__popover___vZRxL[data-placement=top-start],.-esm-patient-notes__datepicker-module__popover___vZRxL[data-placement=top-end]{transform-origin:bottom}.-esm-patient-notes__datepicker-module__popover___vZRxL[data-entering]{animation:.11s cubic-bezier(0,0,.38,.9) -esm-patient-notes__datepicker-module__expand-in___oJb5K}@media screen and (prefers-reduced-motion:reduce){.-esm-patient-notes__datepicker-module__popover___vZRxL[data-entering]{animation:none}}.-esm-patient-notes__datepicker-module__dialog___i9E1K{box-shadow:0 2px 6px var(--cds-shadow,#0000004d);background-color:var(--cds-layer-01,#f4f4f4);padding:.25rem .25rem .5rem;overflow:hidden}.-esm-patient-notes__datepicker-module__header___0Ujts{flex-flow:row;justify-content:space-between;margin-top:.5rem;margin-bottom:.5rem;display:flex}.-esm-patient-notes__datepicker-module__flatButton___VZYbu{box-sizing:border-box;vertical-align:baseline;border:0;margin:0;padding:0;font-family:inherit;font-size:100%}.-esm-patient-notes__datepicker-module__flatButton___VZYbu *,.-esm-patient-notes__datepicker-module__flatButton___VZYbu :before,.-esm-patient-notes__datepicker-module__flatButton___VZYbu :after{box-sizing:inherit}.-esm-patient-notes__datepicker-module__flatButton___VZYbu{background-color:inherit;display:inline-flex}.-esm-patient-notes__datepicker-module__flatButton___VZYbu:hover:not(:disabled){background-color:var(--cds-layer-hover)}.-esm-patient-notes__datepicker-module__flatButton___VZYbu:disabled>svg{fill:var(--cds-text-disabled,#16161640)}.-esm-patient-notes__datepicker-module__flatButton___VZYbu>svg{text-align:center;margin:auto;display:block}[data-invalid]>.-esm-patient-notes__datepicker-module__flatButton___VZYbu>svg{--omrs-icon-fill:var(--cds-support-error,#da1e28)}.-esm-patient-notes__datepicker-module__flatButtonMd___kuhZy{width:2.5rem;height:2.5rem}.-esm-patient-notes__datepicker-module__flatButtonSm___7ZG0p{width:2rem;height:2rem}.-esm-patient-notes__datepicker-module__flatButtonLg___5KWMP{width:3rem;height:3rem}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr{box-sizing:border-box;vertical-align:baseline;font-family:inherit;font-size:100%;font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);border:0;margin:0;padding:0}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr *,.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr :before,.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr :after{box-sizing:inherit}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr{margin-top:.5rem;text-align:center;margin-block-end:.125rem}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr>span{margin-left:.25rem;margin-right:.25rem}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]){display:inline}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric]{box-sizing:border-box;vertical-align:baseline;font-family:inherit;font-size:100%;font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);border:0;margin:0;padding:0}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric] *,.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric] :before,.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric] :after{box-sizing:inherit}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric]{background-color:var(--cds-field);inline-size:2.5rem;padding:.25rem 0 .25rem .25rem}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric]:focus{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric]:focus{outline-style:dotted}}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric][data-invalid]{outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric][data-invalid]{outline-style:dotted}}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric][data-disabled],.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric][data-disabled]:hover{background-color:var(--cds-layer-01,#f4f4f4);color:var(--cds-text-disabled,#16161640);pointer-events:none}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric][data-disabled]+div>button:after{border-block-end-color:var(--cds-text-disabled,#16161640);border-block-start-color:var(--cds-text-disabled,#16161640)}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric][data-disabled]+div>button:hover{opacity:0}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) div[role=group]{box-sizing:border-box;vertical-align:baseline;border:0;margin:0;padding:0;font-family:inherit;font-size:100%}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) div[role=group] *,.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) div[role=group] :before,.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) div[role=group] :after{box-sizing:inherit}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) div[role=group]{display:inline;position:relative}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]):hover button{opacity:1}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) button{box-sizing:border-box;vertical-align:baseline;border:0;margin:0;padding:0;font-family:inherit;font-size:100%}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) button *,.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) button :before,.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) button :after{box-sizing:inherit}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) button{cursor:pointer;opacity:0;border:none;block-size:50%;inline-size:.75rem;padding-block:0;padding-inline:.125rem .25rem;line-height:50%;position:absolute;inset-inline-start:2.5rem}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) button:after{content:"";border-inline:.25rem solid #0000;display:block;inset-block-start:33%}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) button:hover:after{border-block-end-color:var(--cds-button-primary,#0f62fe);border-block-start-color:var(--cds-button-primary,#0f62fe)}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) button:active:after{border-block-end-color:var(--cds-border-interactive,#0f62fe);border-block-start-color:var(--cds-border-interactive,#0f62fe)}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) button[slot=increment]{top:0;left:0}.-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric]) button[slot=decrement]{top:.75rem;left:0}.-esm-patient-notes__datepicker-module__calendarGrid___-sntk{width:17rem}.-esm-patient-notes__datepicker-module__calendarGrid___-sntk tr,.-esm-patient-notes__datepicker-module__calendarGrid___-sntk tr>th,.-esm-patient-notes__datepicker-module__calendarGrid___-sntk tr>td{width:2.428rem;height:2.428rem}.-esm-patient-notes__datepicker-module__calendarGrid___-sntk>thead>tr>th{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);cursor:default;text-align:center;vertical-align:middle}.-esm-patient-notes__datepicker-module__calendarGrid___-sntk>tbody>tr>td{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);cursor:pointer;text-align:center;vertical-align:middle}.-esm-patient-notes__datepicker-module__calendarGrid___-sntk>tbody>tr>td>div{outline:unset}.-esm-patient-notes__datepicker-module__calendarGrid___-sntk>tbody>tr>td:hover:not(:has([aria-disabled],[data-selected])){background-color:var(--cds-layer-hover)}.-esm-patient-notes__datepicker-module__calendarGrid___-sntk>tbody>tr>td:has([data-selected]){color:#fff;background-color:#0f62fe}.-esm-patient-notes__datepicker-module__calendarGrid___-sntk>tbody>tr>td[aria-disabled]{color:var(--cds-text-disabled,#16161640);cursor:default}.-esm-patient-notes__datepicker-module__today___pWGfr:not([data-selected]){color:#0f62fe;font-weight:600;font-size:var(--cds-body-compact-01-font-size,.875rem);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);cursor:pointer;justify-content:center;align-items:center;block-size:2.5rem;inline-size:2.5rem;display:flex;position:relative}.-esm-patient-notes__datepicker-module__today___pWGfr:not([data-selected]):after{content:"";block-size:.25rem;inline-size:.25rem;display:block;position:absolute;inset-block-end:.4375rem;inset-inline-start:50%;transform:translate(-50%)}.-esm-patient-notes__datepicker-module__today___pWGfr:not([data-selected])[data-disabled]:after{background-color:var(--cds-text-disabled,#16161640)}.-esm-patient-notes__datepicker-module__today___pWGfr:not([data-selected]):not([data-disabled]):after{background-color:var(--cds-link-primary,var(--cds-link-primary,#0f62fe))}[dir=rtl] .-esm-patient-notes__datepicker-module__inputWrapper___Q3V-Y,[dir=rtl] .-esm-patient-notes__datepicker-module__dateInputWrapper___l-WQn{padding-left:unset;padding-right:.75rem}[dir=rtl] .-esm-patient-notes__datepicker-module__endInput___94hc-{padding-right:0}[dir=rtl] .-esm-patient-notes__datepicker-module__monthYear___Dk-Mr div:has(input[inputmode=numeric])>input[inputmode=numeric]{padding-right:.25rem}[dir=rtl] .-esm-patient-notes__datepicker-module__monthYear___Dk-Mr button[slot=increment]{top:0;left:unset;right:0}[dir=rtl] .-esm-patient-notes__datepicker-module__monthYear___Dk-Mr button[slot=decrement]{top:.75rem;left:unset;right:0}.-esm-patient-notes__diagnosis-tags-module__container___v6gnM{flex-wrap:wrap;align-items:center;gap:.25rem;display:flex}.-esm-patient-notes__diagnosis-tags-module__diagnosisTag___hbCJx:focus-visible{outline-offset:1px;outline:2px solid #0f62fe}.-esm-patient-notes__diagnosis-tags-module__tagTooltip___XvSaD{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);overflow-wrap:anywhere;color:#fff;background-color:#393939;border-radius:2px;max-width:min(18rem,100vw - 1rem);padding:.125rem .5rem}.-esm-patient-notes__diagnosis-tags-module__provisionalMark___DiImb{flex-shrink:0;margin-inline-end:.125rem;font-weight:600}.-esm-patient-notes__empty-card-module__action___S3XIF{margin-bottom:.5rem}.-esm-patient-notes__empty-card-module__content___K1vXU{font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-patient-notes__empty-card-module__desktopHeading___9qvKX h4{font-size:var(--cds-heading-compact-02-font-size,1rem);font-weight:var(--cds-heading-compact-02-font-weight,600);line-height:var(--cds-heading-compact-02-line-height,1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing,0);color:#525252}.-esm-patient-notes__empty-card-module__tabletHeading___tdB7Q h4{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);line-height:var(--cds-heading-03-line-height,1.4);letter-spacing:var(--cds-heading-03-letter-spacing,0);color:#525252}.-esm-patient-notes__empty-card-module__desktopHeading___9qvKX,.-esm-patient-notes__empty-card-module__tabletHeading___tdB7Q{text-align:left;margin-bottom:1rem}.-esm-patient-notes__empty-card-module__desktopHeading___9qvKX h4:after,.-esm-patient-notes__empty-card-module__tabletHeading___tdB7Q h4:after{content:"";border-bottom:.375rem solid var(--brand-03);width:2rem;padding-top:.188rem;display:block}.-esm-patient-notes__empty-card-module__tile___CO6T7{text-align:center;border:1px solid #e0e0e0}.-esm-patient-notes__error-state-module__errorMessage___\+Yxpm{font-size:var(--cds-heading-compact-02-font-size,1rem);font-weight:var(--cds-heading-compact-02-font-weight,600);line-height:var(--cds-heading-compact-02-line-height,1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing,0);margin-top:2.25rem;margin-bottom:.5rem}.-esm-patient-notes__error-state-module__errorCopy___BrGfo{font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);line-height:var(--cds-body-01-line-height,1.42857);letter-spacing:var(--cds-body-01-letter-spacing,.16px);color:#525252;margin-bottom:.5rem}.-esm-patient-notes__error-state-module__desktopHeading___FHYyD h4{font-size:var(--cds-heading-compact-02-font-size,1rem);font-weight:var(--cds-heading-compact-02-font-weight,600);line-height:var(--cds-heading-compact-02-line-height,1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing,0);color:#525252}.-esm-patient-notes__error-state-module__tabletHeading___9Ra4Q h4{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);line-height:var(--cds-heading-03-line-height,1.4);letter-spacing:var(--cds-heading-03-letter-spacing,0);color:#525252}.-esm-patient-notes__error-state-module__desktopHeading___FHYyD,.-esm-patient-notes__error-state-module__tabletHeading___9Ra4Q{text-align:left;margin-bottom:1rem}.-esm-patient-notes__error-state-module__desktopHeading___FHYyD h4:after,.-esm-patient-notes__error-state-module__tabletHeading___9Ra4Q h4:after{content:"";border-bottom:.375rem solid var(--brand-03);width:2rem;padding-top:.188rem;display:block}.-esm-patient-notes__error-state-module__tile___kBlgY{text-align:center;border:1px solid #e0e0e0}.-esm-patient-notes__left-nav-module__leftNav___lh8Zf{border-inline-end:1px solid #c6c6c6;padding-top:1rem}.-esm-patient-notes__left-nav-module__leftNav___lh8Zf .cds--side-nav__link{color:#525252;font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);padding:0 1rem}.-esm-patient-notes__left-nav-module__leftNav___lh8Zf .cds--side-nav__link:focus,.-esm-patient-notes__left-nav-module__leftNav___lh8Zf .cds--side-nav__link:hover{background-color:#f4f4f4}.-esm-patient-notes__left-nav-module__leftNav___lh8Zf .cds--side-nav__link.active-left-nav-link{color:#161616;border-inline-start:.25rem solid var(--brand-01);background-color:#e0e0e0;outline:none;padding:0 .75rem}.omrs-breakpoint-gt-tablet .cds--side-nav__link{height:2rem}.omrs-breakpoint-lt-desktop .cds--side-nav__link{height:3rem}.-esm-patient-notes__location-picker-module__bodyCompact01___ibyu1,.-esm-patient-notes__location-picker-module__locationRadioButton___CrvIF{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px)}.-esm-patient-notes__location-picker-module__searchResults___zBqdf{font-size:var(--cds-body-compact-02-font-size,1rem);font-weight:var(--cds-body-compact-02-font-weight,400);line-height:var(--cds-body-compact-02-line-height,1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing,0);background-color:#f4f4f4;height:25.5rem;max-height:100%;padding:0 1.5rem;overflow-y:auto}.-esm-patient-notes__location-picker-module__locationResultsContainer___j6OS4{padding:.5rem .125rem 0;display:flex;overflow-y:auto}.-esm-patient-notes__location-picker-module__locationRadioButton___CrvIF{align-items:center;height:3rem;display:flex}.-esm-patient-notes__location-picker-module__locationNotFound___K5l0N{font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);color:#525252;margin-bottom:1rem}.-esm-patient-notes__location-picker-module__radioButtonSkeleton___F9GTo{margin-bottom:2rem;margin-right:0!important}.-esm-patient-notes__location-picker-module__radioButtonSkeleton___F9GTo span{width:100%!important}.-esm-patient-notes__location-picker-module__loadingIcon___ZKsb1{justify-content:center;align-items:center;max-width:50%;margin:1rem auto;display:flex}.-esm-patient-notes__location-picker-module__loadingIcon___ZKsb1 .cds--loading__stroke{stroke:var(--brand-03)}.-esm-patient-notes__location-picker-module__loadingContainer___sfRK7{margin-top:1.5rem}.-esm-patient-notes__location-picker-module__emptyState___wL6EJ{flex-direction:column;justify-content:center;margin:1.5rem auto 0;display:flex}.-esm-patient-notes__location-picker-module__errorNotification___TlFke{margin:.5rem 0}.-esm-patient-notes__numeric-observation-module__container___sQVgV{flex-flow:column wrap;min-inline-size:max-content;margin:.5rem 0 0;display:flex}.-esm-patient-notes__numeric-observation-module__card___\+73mQ{flex-direction:column;justify-content:center;gap:.25rem;width:fit-content;padding:.25rem;display:flex}.-esm-patient-notes__numeric-observation-module__card___\+73mQ.-esm-patient-notes__numeric-observation-module__abnormal-value___bigQ8{background-color:#fff2e8;border:1px solid #ffc69e}.-esm-patient-notes__numeric-observation-module__card___\+73mQ.-esm-patient-notes__numeric-observation-module__critical-value___pu2GE{background-color:#ffd7d9;border:1px solid #da1e28}.-esm-patient-notes__numeric-observation-module__cell___kLFBY{width:100%;height:100%;padding:.4375rem 1rem .375rem;display:block}.cds--data-table--lg .-esm-patient-notes__numeric-observation-module__cell___kLFBY{padding-top:.9375rem;padding-bottom:.9375rem}.-esm-patient-notes__numeric-observation-module__cell___kLFBY.-esm-patient-notes__numeric-observation-module__critically-high___RE8Zo,.-esm-patient-notes__numeric-observation-module__cell___kLFBY.-esm-patient-notes__numeric-observation-module__critically-low___ejkyV{background-color:#ffd7d9!important;border-top:1px solid #ffc2c5!important}.-esm-patient-notes__numeric-observation-module__cell___kLFBY.-esm-patient-notes__numeric-observation-module__high___jda1n,.-esm-patient-notes__numeric-observation-module__cell___kLFBY.-esm-patient-notes__numeric-observation-module__low___ciExU{background-color:#fff2e8!important;border-top:1px solid #ffd9be!important}.-esm-patient-notes__numeric-observation-module__label-container___DMfju,.-esm-patient-notes__numeric-observation-module__value-container___WlXIv{flex-direction:row;flex-grow:0;justify-content:flex-start;align-items:center;gap:.25rem;padding:0;display:flex}.-esm-patient-notes__numeric-observation-module__value-container___WlXIv{margin-top:.25rem}.-esm-patient-notes__numeric-observation-module__label___xweer{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);color:#525252}.-esm-patient-notes__numeric-observation-module__value___uX6Vu{font-size:var(--cds-body-compact-02-font-size,1rem);font-weight:var(--cds-body-compact-02-font-weight,400);line-height:var(--cds-body-compact-02-line-height,1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing,0)}.-esm-patient-notes__numeric-observation-module__units___xUDCU{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252}.-esm-patient-notes__numeric-observation-module__pad-right___1dQWR{margin-right:.125rem}.-esm-patient-notes__numeric-observation-module__critically-low___ejkyV,.-esm-patient-notes__numeric-observation-module__critically-high___RE8Zo,.-esm-patient-notes__numeric-observation-module__low___ciExU,.-esm-patient-notes__numeric-observation-module__high___jda1n,.-esm-patient-notes__numeric-observation-module__off-scale-low___JCLqK,.-esm-patient-notes__numeric-observation-module__off-scale-high___9m-T2{font-weight:700}.-esm-patient-notes__numeric-observation-module__critically-low___ejkyV:after,.-esm-patient-notes__numeric-observation-module__critically-high___RE8Zo:after,.-esm-patient-notes__numeric-observation-module__low___ciExU:after,.-esm-patient-notes__numeric-observation-module__high___jda1n:after,.-esm-patient-notes__numeric-observation-module__off-scale-low___JCLqK:after,.-esm-patient-notes__numeric-observation-module__off-scale-high___9m-T2:after{font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);color:#525252}.-esm-patient-notes__numeric-observation-module__arrow___h9CkD,.-esm-patient-notes__numeric-observation-module__off-scale-high___9m-T2:after,.-esm-patient-notes__numeric-observation-module__critically-high___RE8Zo:after,.-esm-patient-notes__numeric-observation-module__high___jda1n:after,.-esm-patient-notes__numeric-observation-module__off-scale-low___JCLqK:after,.-esm-patient-notes__numeric-observation-module__critically-low___ejkyV:after,.-esm-patient-notes__numeric-observation-module__low___ciExU:after{color:#161616;font-weight:700}.-esm-patient-notes__numeric-observation-module__low___ciExU:after{content:" ↓";font-weight:700}.-esm-patient-notes__numeric-observation-module__critically-low___ejkyV:after{content:" ↓↓";font-weight:700}.-esm-patient-notes__numeric-observation-module__off-scale-low___JCLqK:after{content:" ↓↓↓";font-weight:700}.-esm-patient-notes__numeric-observation-module__high___jda1n:after{content:" ↑";font-weight:700}.-esm-patient-notes__numeric-observation-module__critically-high___RE8Zo:after{content:" ↑↑";font-weight:700}.-esm-patient-notes__numeric-observation-module__off-scale-high___9m-T2:after{content:" ↑↑↑";font-weight:700}.-esm-patient-notes__page-header-module__pageHeader___S6T0F{font-size:var(--cds-body-compact-02-font-size,1rem);font-weight:var(--cds-body-compact-02-font-weight,400);line-height:var(--cds-body-compact-02-line-height,1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing,0);color:#525252;justify-content:space-between;width:100%;height:6rem;display:flex}.-esm-patient-notes__page-header-module__pageHeaderContent___lE\+2l{flex-direction:row;align-items:center;display:flex}.-esm-patient-notes__page-header-module__pageName___oF8KS{font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);line-height:var(--cds-heading-04-line-height,1.28572);letter-spacing:var(--cds-heading-04-letter-spacing,0)}.-esm-patient-notes__page-header-module__pageLabels___osNTY p:first-of-type{margin-bottom:.25rem}.-esm-patient-notes__pagination-module__bodyShort01___b778O,.-esm-patient-notes__pagination-module__configurableLink___ztAL4{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px)}.-esm-patient-notes__pagination-module__desktop___Vpt1v,.-esm-patient-notes__pagination-module__tablet___hprdE{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252;background-color:#fff;border-top:1px solid #e0e0e0;justify-content:space-between;align-items:center;padding-left:1rem;display:flex}.-esm-patient-notes__pagination-module__desktop___Vpt1v .cds--pagination{border:none;width:auto;height:2rem;min-height:0}.-esm-patient-notes__pagination-module__desktop___Vpt1v .cds--pagination .cds--select-input,.-esm-patient-notes__pagination-module__desktop___Vpt1v .cds--pagination .cds--btn,.-esm-patient-notes__pagination-module__desktop___Vpt1v .cds--pagination .cds--pagination__right{height:2rem;min-height:0}.-esm-patient-notes__pagination-module__tablet___hprdE .cds--pagination{border:none;width:auto;height:3rem;min-height:0}.-esm-patient-notes__pagination-module__tablet___hprdE .cds--pagination .cds--select-input,.-esm-patient-notes__pagination-module__tablet___hprdE .cds--pagination .cds--btn,.-esm-patient-notes__pagination-module__tablet___hprdE .cds--pagination .cds--pagination__right{height:3rem;min-height:0}.-esm-patient-notes__pagination-module__configurableLink___ztAL4{padding:0 .5rem;text-decoration:none}.-esm-patient-notes__pagination-module__pagination___X8tBL{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252;background-color:#fff;display:flex}div.-esm-patient-notes__pagination-module__pagination___X8tBL>.cds--pagination__left{display:none}.-esm-patient-notes__patient-banner-patient-info-module__container___nMBqQ{background-color:#f4f4f4;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}.-esm-patient-notes__patient-banner-patient-info-module__activePatientContainer___9jAZ9{background-color:#f4f4f4}.-esm-patient-notes__patient-banner-patient-info-module__patientBanner___0-jBB{display:flex}.-esm-patient-notes__patient-banner-patient-info-module__patientName___u-jlZ{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);line-height:var(--cds-heading-03-line-height,1.4);letter-spacing:var(--cds-heading-03-letter-spacing,0);color:#161616;margin-right:.25rem;font-weight:600}.-esm-patient-notes__patient-banner-patient-info-module__patientAvatar___yVqGI{border-radius:1px;width:3.5rem;height:3.5rem;margin:1rem}.-esm-patient-notes__patient-banner-patient-info-module__patientAvatarButton___sPnQA{cursor:pointer;background:0 0;border:none;padding:0}.-esm-patient-notes__patient-banner-patient-info-module__patientInfo___Pr\+AY{flex-direction:column;width:100%;padding:1rem .5rem 1rem 0;display:flex}.-esm-patient-notes__patient-banner-patient-info-module__demographics___bHHNq{font-size:var(--cds-body-compact-02-font-size,1rem);font-weight:var(--cds-body-compact-02-font-weight,400);line-height:var(--cds-body-compact-02-line-height,1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing,0);color:#525252;flex-wrap:wrap;align-items:center;gap:.25rem;margin-top:.25rem;display:flex}.-esm-patient-notes__patient-banner-patient-info-module__row___q2CC\+{flex-direction:row;justify-content:space-between;align-items:baseline;display:flex}.-esm-patient-notes__patient-banner-patient-info-module__flexRow___AbHs5,.-esm-patient-notes__patient-banner-patient-info-module__tagsSlot___IERpG{flex-flow:wrap;align-items:center;display:flex}.-esm-patient-notes__patient-banner-patient-info-module__tagsSlot___IERpG{margin:0 .5rem}.-esm-patient-notes__patient-banner-patient-info-module__identifiers___LXwGn{font-size:var(--cds-body-compact-02-font-size,1rem);font-weight:var(--cds-body-compact-02-font-weight,400);line-height:var(--cds-body-compact-02-line-height,1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing,0);color:#525252;flex-wrap:wrap;align-items:center;display:flex}.-esm-patient-notes__patient-banner-patient-info-module__identifier___5NWQm{align-items:center;display:flex}.-esm-patient-notes__patient-banner-patient-info-module__primaryIdentifier___TNSZr,.-esm-patient-notes__patient-banner-patient-info-module__secondaryIdentifier___KejuY{font-size:var(--cds-body-compact-02-font-size,1rem);font-weight:var(--cds-body-compact-02-font-weight,400);line-height:var(--cds-body-compact-02-line-height,1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing,0);align-items:center;gap:.25rem;display:flex}.-esm-patient-notes__patient-banner-patient-info-module__primaryIdentifier___TNSZr{color:#161616}.-esm-patient-notes__patient-banner-patient-info-module__primaryIdentifier___TNSZr .-esm-patient-notes__patient-banner-patient-info-module__value___aAujT{font-weight:700}.-esm-patient-notes__patient-banner-patient-info-module__primaryIdentifier___TNSZr .-esm-patient-notes__patient-banner-patient-info-module__tag___Ta4b5{max-inline-size:none}.-esm-patient-notes__patient-banner-patient-info-module__primaryIdentifier___TNSZr span{text-overflow:unset;overflow:visible}.-esm-patient-notes__patient-banner-patient-info-module__secondaryIdentifier___KejuY .-esm-patient-notes__patient-banner-patient-info-module__identifier___5NWQm{font-size:var(--cds-body-compact-02-font-size,1rem);font-weight:var(--cds-body-compact-02-font-weight,400);line-height:var(--cds-body-compact-02-line-height,1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing,0);align-self:baseline}.-esm-patient-notes__patient-banner-patient-info-module__gender___MPEcq{color:#525252;align-items:center;gap:.125rem;display:flex}.-esm-patient-notes__patient-banner-patient-info-module__separator___m\+zus{margin:.125rem}.-esm-patient-notes__patient-banner-patient-info-module__tag___Ta4b5{font-size:inherit!important;margin:0!important}.-esm-patient-notes__patient-banner-patient-info-module__tooltipPadding___Qztvs{padding:.25rem}.-esm-patient-notes__patient-banner-patient-info-module__tooltipSmallText___1H1eL{font-size:80%}.-esm-patient-notes__patient-banner-patient-info-module__actionsButtonText___E2uDs{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#0f62fe}html[dir=rtl] .-esm-patient-notes__patient-banner-patient-info-module__demographics___bHHNq{gap:.25rem;display:flex}html[dir=rtl] .-esm-patient-notes__patient-banner-patient-info-module__tag___Ta4b5{margin:.25rem 0 .25rem .25rem}html[dir=rtl] .-esm-patient-notes__patient-banner-patient-info-module__patientName___u-jlZ{margin-right:unset;margin-left:.25rem}.-esm-patient-notes__patient-banner-actions-menu-module__actionsButtonText___qFws0{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#0f62fe}html[dir=rtl] .-esm-patient-notes__patient-banner-actions-menu-module__overflowMenuContainer___KLhhk>div{margin-left:unset;margin-right:-1.5rem}html[dir=rtl] .-esm-patient-notes__patient-banner-actions-menu-module__overflowMenuContainer___KLhhk>div>div{left:unset;right:-6.025rem}.-esm-patient-notes__patient-photo-module__skeleton___FzmdX{width:3.5rem;height:3.5rem}.-esm-patient-notes__patient-photo-module__avatar___a6mqT{object-fit:cover;justify-content:center;align-items:center;width:3.5rem;height:3.5rem;display:flex;overflow:hidden}.-esm-patient-notes__patient-photo-module__initials___tx-ht{color:#fff;-webkit-user-select:none;user-select:none;font-size:1.75rem;line-height:1}[dir=rtl] .-esm-patient-notes__pictograms-module__pictogram___\+7cav{transform:scaleX(-1)}@keyframes -esm-patient-notes__snackbar-module__slideInFromLeft___G\+6lT{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes -esm-patient-notes__snackbar-module__slideOutToLeft___RICX6{0%{transform:translate(0)}to{transform:translate(-100%)}}.-esm-patient-notes__snackbar-module__animated___BQ\+J-{animation-duration:.25s;animation-timing-function:ease-in-out}.-esm-patient-notes__snackbar-module__slideIn___lcB99{animation-name:-esm-patient-notes__snackbar-module__slideInFromLeft___G\+6lT}.-esm-patient-notes__snackbar-module__slideOut___kqT-1{animation-name:-esm-patient-notes__snackbar-module__slideOutToLeft___RICX6}.-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5{--actionPanelOffset:0px;width:var(--workspaceWidth);display:contents}.-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5.-esm-patient-notes__workspace2-module__narrowWorkspace___v5EL6{--workspaceWidth:26.25rem}.-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5.-esm-patient-notes__workspace2-module__widerWorkspace___j2IjG{--workspaceWidth:32.25rem}.-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5.-esm-patient-notes__workspace2-module__extraWideWorkspace___lAj8X{--workspaceWidth:48.25rem}.-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5 .-esm-patient-notes__workspace2-module__workspaceMiddleContainer___QE4Sl{width:inherit;top:0;bottom:0;z-index:100;position:absolute;inset-inline-end:var(--actionPanelOffset);overflow:hidden}.-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5 .-esm-patient-notes__workspace2-module__workspaceMiddleContainer___QE4Sl.-esm-patient-notes__workspace2-module__maximized___S7H90{top:var(--omrs-navbar-height)!important;width:calc(100vw - var(--actionPanelOffset))!important;inset-inline-start:0!important;inset-inline-end:var(--actionPanelOffset)!important;will-change:auto!important;transition:none!important;position:fixed!important;bottom:0!important;transform:none!important}.-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5 .-esm-patient-notes__workspace2-module__workspaceMiddleContainer___QE4Sl.-esm-patient-notes__workspace2-module__hidden___ZDO8L{width:0}.-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5 .-esm-patient-notes__workspace2-module__workspaceInnerContainer___61YXw{height:100%;width:var(--workspaceWidth);background-color:#fff;border-inline-start:1px solid #a8a8a8;flex-direction:column;display:flex}.-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5 .-esm-patient-notes__workspace2-module__workspaceInnerContainer___61YXw.-esm-patient-notes__workspace2-module__maximized___S7H90{width:100%}.-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5 .-esm-patient-notes__workspace2-module__workspaceSpacer___u9EBn{width:inherit;height:100%}.-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5 .-esm-patient-notes__workspace2-module__workspaceSpacer___u9EBn.-esm-patient-notes__workspace2-module__hidden___ZDO8L{width:0}.-esm-patient-notes__workspace2-module__loader___RGbCn{justify-content:center;align-items:center;min-height:50%;display:flex}.-esm-patient-notes__workspace2-module__hiddenExtraWorkspace___jdYyw{display:none}.omrs-breakpoint-gt-tablet .-esm-patient-notes__workspace2-module__header___sO9dM{box-sizing:content-box;height:var(--workspace-header-height);background-color:#e0e0e0;border-bottom:1px solid #a8a8a8;position:relative}.omrs-breakpoint-gt-tablet .-esm-patient-notes__workspace2-module__header___sO9dM a{font-size:var(--cds-heading-compact-02-font-size,1rem);font-weight:var(--cds-heading-compact-02-font-weight,600);line-height:var(--cds-heading-compact-02-line-height,1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing,0)}.omrs-breakpoint-gt-tablet .-esm-patient-notes__workspace2-module__header___sO9dM a:hover{color:inherit}.omrs-breakpoint-gt-tablet .-esm-patient-notes__workspace2-module__headerButtons___bVW1e button{background-color:#fff;border-right:1px solid #e0e0e0}.omrs-breakpoint-gt-tablet .-esm-patient-notes__workspace2-module__headerButtons___bVW1e button>svg{fill:#121619!important}.omrs-breakpoint-gt-tablet .-esm-patient-notes__workspace2-module__headerButtons___bVW1e button:hover{background-color:#f4f4f4}.omrs-breakpoint-gt-tablet .-esm-patient-notes__workspace2-module__workspaceContent___dbuAd{background-color:#fff;flex-grow:1;overflow-y:auto}.omrs-breakpoint-gt-tablet .-esm-patient-notes__workspace2-module__overlayHeaderSpacer___HnAz-{flex-grow:1}.omrs-breakpoint-gt-tablet .-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5.-esm-patient-notes__workspace2-module__isActionMenuOpened___gE\+CL{--actionPanelOffset:3rem}.omrs-breakpoint-lt-desktop .-esm-patient-notes__workspace2-module__header___sO9dM{background-color:var(--brand-02);position:relative}.omrs-breakpoint-lt-desktop .-esm-patient-notes__workspace2-module__header___sO9dM a{color:#fff}.omrs-breakpoint-lt-desktop .-esm-patient-notes__workspace2-module__header___sO9dM button{color:#fff;background-color:var(--brand-02)}.omrs-breakpoint-lt-desktop .-esm-patient-notes__workspace2-module__header___sO9dM button:hover{background-color:var(--brand-03)}.omrs-breakpoint-lt-desktop .-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5{width:100vw}@supports (width:100cqw){.omrs-breakpoint-lt-desktop .-esm-patient-notes__workspace2-module__workspaceOuterContainer___IiDJ5{width:100cqw}}.omrs-breakpoint-lt-desktop .-esm-patient-notes__workspace2-module__workspaceMiddleContainer___QE4Sl{width:inherit!important}.omrs-breakpoint-lt-desktop .-esm-patient-notes__workspace2-module__workspaceMiddleContainer___QE4Sl.-esm-patient-notes__workspace2-module__hidden___ZDO8L{display:none}.omrs-breakpoint-lt-desktop .-esm-patient-notes__workspace2-module__workspaceMiddleContainer___QE4Sl.-esm-patient-notes__workspace2-module__showActionMenu___D4pO1{height:calc(100% - 4rem)}.omrs-breakpoint-lt-desktop .-esm-patient-notes__workspace2-module__workspaceInnerContainer___61YXw{width:100%!important}.omrs-breakpoint-lt-desktop .-esm-patient-notes__workspace2-module__marginWorkspaceContent___hfLqw{margin-bottom:var(--bottom-nav-height)}.omrs-breakpoint-lt-desktop .-esm-patient-notes__workspace2-module__workspaceContent___dbuAd{height:100%;overflow-y:auto}html[dir=rtl] .omrs-breakpoint-gt-tablet .-esm-patient-notes__workspace2-module__workspaceContainerWithActionMenu___8-Wm1.-esm-patient-notes__workspace2-module__workspaceFixedContainer___O7vHJ{right:unset;left:var(--actionPanelOffset)}html[dir=rtl] .omrs-breakpoint-gt-tablet .-esm-patient-notes__workspace2-module__workspaceContainerWithoutActionMenu___6fWta{height:100%}html[dir=rtl] .omrs-breakpoint-gt-tablet .-esm-patient-notes__workspace2-module__workspaceContainerWithoutActionMenu___6fWta.-esm-patient-notes__workspace2-module__workspaceFixedContainer___O7vHJ{right:unset;left:0}.-esm-patient-notes__exported-workspace-module__exportedWorkspace___zHDm5{flex-direction:column;height:100%;display:flex}.-esm-patient-notes__action-menu-button2-module__container___H0LbB{color:#161616;border-radius:50%;max-width:none;margin-top:.25rem;margin-bottom:.25rem}.-esm-patient-notes__action-menu-button2-module__container___H0LbB:hover{color:#525252;background-color:#c6c6c6}.-esm-patient-notes__action-menu-button2-module__container___H0LbB>span{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:#525252;margin-top:.25rem}.-esm-patient-notes__action-menu-button2-module__container___H0LbB svg{transform:scale(1.25)}.-esm-patient-notes__action-menu-button2-module__elementContainer___4ifaT{flex-direction:column;align-items:center;display:flex;position:relative}.-esm-patient-notes__action-menu-button2-module__elementContainer___4ifaT .-esm-patient-notes__action-menu-button2-module__countTag___Dn8em,.-esm-patient-notes__action-menu-button2-module__elementContainer___4ifaT .-esm-patient-notes__action-menu-button2-module__interruptedTag___dndHS{text-align:center;color:#f4f4f4;background-color:#da1e28;border-radius:50%;padding:0 4px;font-size:10px;position:absolute;top:-14px;right:-12px}.-esm-patient-notes__action-menu-button2-module__elementContainer___4ifaT .-esm-patient-notes__action-menu-button2-module__interruptedTag___dndHS{width:14px;height:14px;padding:0 5px;font-size:10px}.omrs-breakpoint-gt-tablet .-esm-patient-notes__action-menu-button2-module__active___7V8Eu,.omrs-breakpoint-gt-tablet .omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu-button2-module__focused___9kcO9,.omrs-breakpoint-lt-desktop .omrs-breakpoint-gt-tablet .-esm-patient-notes__action-menu-button2-module__focused___9kcO9{border:.125rem solid #007d79;border-color:var(--brand-03);background-color:#fff;border-radius:50%}.omrs-breakpoint-gt-tablet .-esm-patient-notes__action-menu-button2-module__focused___9kcO9{background-color:#fff;border:.125rem solid #0f62fe;border-radius:50%}.omrs-breakpoint-gt-tablet .-esm-patient-notes__action-menu-button2-module__container___H0LbB svg{transform:scale(1.25)}.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu-button2-module__container___H0LbB{border-radius:unset;color:#161616;flex-direction:column;align-items:center;width:100%;max-width:none;margin-top:0;margin-bottom:0;display:flex}.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu-button2-module__active___7V8Eu,.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu-button2-module__focused___9kcO9{color:#0f62fe;background-color:#edf5ff}.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu-button2-module__active___7V8Eu:hover,.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu-button2-module__focused___9kcO9:hover{color:#0f62fe}.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu-button2-module__active___7V8Eu>span,.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu-button2-module__focused___9kcO9>span{color:#0f62fe;font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px)}.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu-button2-module__active___7V8Eu svg,.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu-button2-module__focused___9kcO9 svg{fill:#0f62fe}.-esm-patient-notes__patient-banner-contact-details-module__contactDetails___Pkwy\+,.-esm-patient-notes__patient-banner-contact-details-module__deceased___PXJ06{color:#525252;border-top:1px solid #e0e0e0;width:100%}.-esm-patient-notes__patient-banner-contact-details-module__heading___z8g-D{font-size:var(--cds-heading-compact-01-font-size,.875rem);font-weight:var(--cds-heading-compact-01-font-weight,600);line-height:var(--cds-heading-compact-01-line-height,1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing,.16px);color:#525252}.-esm-patient-notes__patient-banner-contact-details-module__row___qlIr-{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);display:flex}.-esm-patient-notes__patient-banner-contact-details-module__row___qlIr-:first-child{border-bottom:1px solid #e0e0e0}.-esm-patient-notes__patient-banner-contact-details-module__row___qlIr->.-esm-patient-notes__patient-banner-contact-details-module__col___xdfFt{flex:1;padding:1rem}.-esm-patient-notes__patient-banner-contact-details-module__row___qlIr->.-esm-patient-notes__patient-banner-contact-details-module__col___xdfFt:nth-of-type(odd){border-right:1px solid #e0e0e0}.-esm-patient-notes__patient-banner-contact-details-module__row___qlIr- li{margin:.5rem 0}.-esm-patient-notes__patient-banner-contact-details-module__relationship___OxEbx{flex-flow:row;display:flex}.-esm-patient-notes__patient-banner-contact-details-module__relationship___OxEbx div{flex:1}:root{--brand-01:#005d5d;--brand-02:#004144;--brand-03:#007d79;--bottom-nav-height:4rem;--workspace-header-height:3rem;--tablet-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-notes__action-menu2-module__sideRailHidden___aI3Wt{display:none}.-esm-patient-notes__action-menu2-module__sideRailVisible___qu16C{display:flex}.omrs-breakpoint-gt-tablet .-esm-patient-notes__action-menu2-module__sideRail___ypmFT{z-index:100;width:3rem;height:100%}.omrs-breakpoint-gt-tablet .-esm-patient-notes__action-menu2-module__sideRail___ypmFT.-esm-patient-notes__action-menu2-module__overlay___D\+mPb{top:0;height:100%;position:absolute;inset-inline-end:0}.omrs-breakpoint-gt-tablet .-esm-patient-notes__action-menu2-module__sideRail___ypmFT .-esm-patient-notes__action-menu2-module__container___TgSsZ{background:#f4f4f4;border-inline-start:1px solid #c6c6c6;flex-direction:column;align-items:center;width:3rem;height:100%;display:flex}.omrs-breakpoint-gt-tablet .-esm-patient-notes__action-menu2-module__sideRail___ypmFT.-esm-patient-notes__action-menu2-module__withinWorkspace___xUDsB .-esm-patient-notes__action-menu2-module__container___TgSsZ{top:calc(var(--omrs-navbar-height) + var(--workspace-header-height))}.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu2-module__sideRail___ypmFT{z-index:8003;background-color:#fff;border-top:1px solid #c6c6c6;justify-content:stretch;width:100%;display:flex;position:fixed;bottom:0;left:0}.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu2-module__chartExtensions___isrlu{background-color:#fff;width:100%;display:flex}.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu2-module__chartExtensions___isrlu>div{cursor:pointer;flex:1}.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu2-module__container___TgSsZ{flex:1;align-items:center;width:100%;display:flex}.omrs-breakpoint-lt-desktop .-esm-patient-notes__action-menu2-module__container___TgSsZ>div{flex:1}.-esm-patient-notes__action-menu2-module__divider___QTXxZ{background-color:#a8a8a8;width:2.5rem;height:1px;margin:.75rem 0}.-esm-patient-notes__workspace-windows-and-menu-module__workspaceWindowsAndMenuContainer___YWVda{width:100%;height:100%;display:flex;position:relative}.-esm-patient-notes__workspace-windows-and-menu-module__workspaceWindowsAndMenuContainer___YWVda.-esm-patient-notes__workspace-windows-and-menu-module__hasMaximizedWindow___tOba0{contain:none!important;will-change:auto!important;transform:none!important}.-esm-patient-notes__workspace-windows-and-menu-module__workspaceWindowsAndMenuContainer___YWVda.-esm-patient-notes__workspace-windows-and-menu-module__overlay___oFsSO{contain:none;width:calc(100vw - var(--actionPanelOffset));position:absolute;top:0;bottom:0;right:0}.-esm-patient-notes__workspace-windows-and-menu-module__workspaceWindowsContainer___3ynKw{width:fit-content;display:grid}.-esm-patient-notes__workspace-windows-and-menu-module__workspaceWindowsContainer___3ynKw>*{grid-area:1/1}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"7309.css","sources":["webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/cards/card-header.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/custom-overflow-menu/custom-overflow-menu.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/icons/icons.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/dashboard-extension/dashboard.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/datepicker/datepicker.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@carbon/styles/scss/utilities/_focus-outline.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@carbon/styles/scss/utilities/_component-reset.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/diagnosis-tags/diagnosis-tags.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/empty-card/empty-card.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/error-state/error-state.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/left-nav/left-nav.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/location-picker/location-picker.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/_vars.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/numeric-observation/numeric-observation.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@carbon/colors/index.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@carbon/type/scss/_styles.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/page-header/page-header.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/pagination/pagination.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/patient-banner/patient-info/patient-banner-patient-info.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/patient-banner/actions-menu/patient-banner-actions-menu.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/patient-photo/patient-photo.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/pictograms/pictograms.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/snackbars/snackbar.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/workspaces2/workspace2.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/workspaces2/exported-workspace.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/workspaces2/action-menu2/action-menu-button2.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/patient-banner/contact-details/patient-banner-contact-details.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/workspaces2/action-menu2/action-menu2.module.scss","webpack://@openmrs/esm-patient-notes-app/../../node_modules/@openmrs/esm-framework/node_modules/@openmrs/esm-styleguide/dist/workspaces2/workspace-windows-and-menu.module.scss"],"names":[],"mappings":"AAIA,gPAQE,qPASF,4EAEE,4TAMF,6EAEE,4RAQA,yMCnCF,2FAIE,iHAKF,wMAWA,6EAIA,uIAME,4GCjCA,+ECEF,2GAMA,qFCGA,kOAQE,gQCYE,qCDZF,uNAKA,iJCyBE,qCDzBF,gGAGE,iHAKF,wKAQF,8RAGE,qUAKA,uUAIA,2XAIA,usBAQA,6bAcF,sIAUA,wIAWA,iMAaA,kFAIA,gFAIA,+EAKA,sJAQA,gFAIA,kFAIA,gFAIA,0FAMA,kFAIA,6EAIA,8GAMA,0PAIA,uLASA,uIAYA,6EAKA,sQAMA,wKAGE,kDAHF,uFAQA,iMAQA,qJASA,wKEhNE,qNFmNA,wGAKA,wHAIA,gHAIA,2GAOF,gIAIA,wFAKA,oFAKA,oFAKA,2ZE1PE,kNF8PA,sHAMA,sGAKA,2GAGE,sdE5QF,mYFgRI,yMAOA,kWAMA,sKC9RF,qCD8RE,iJAIA,0MClQF,qCDkQE,yJAIA,wXAOA,2QAKA,+JAKF,yNEtTF,wWFyTI,6IAMF,mHAIA,gNEnUF,6UFsUI,oRAcA,yLAQA,mOAKA,4OAKA,gIAKA,qIAUN,yEAGE,qOAOA,wWAOA,wWAME,2FAIA,kKAIA,kIAKA,gJAOJ,uZAcE,2OAYA,oJAIA,+KAOA,0LAKA,mFAMI,oJAMA,oHAMA,yHG3eN,wHAOA,4HAKA,4aAWA,4HCvBA,2EAIA,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