@kenyaemr/esm-morgue-app 5.4.3-pre.2921 → 5.4.3-pre.2925

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.
Files changed (163) hide show
  1. package/.turbo/turbo-build.log +4 -4
  2. package/dist/1008.js +1 -0
  3. package/dist/1008.js.map +1 -0
  4. package/dist/1072.js +1 -0
  5. package/dist/1072.js.map +1 -0
  6. package/dist/1091.js +1 -0
  7. package/dist/1091.js.map +1 -0
  8. package/dist/1729.js +17 -0
  9. package/dist/1729.js.map +1 -0
  10. package/dist/{920.js → 1920.js} +1 -1
  11. package/dist/1920.js.map +1 -0
  12. package/dist/1935.js +1 -0
  13. package/dist/1935.js.map +1 -0
  14. package/dist/1977.js +1 -0
  15. package/dist/1977.js.map +1 -0
  16. package/dist/2267.js +1 -0
  17. package/dist/2267.js.map +1 -0
  18. package/dist/2299.js +1 -0
  19. package/dist/2299.js.map +1 -0
  20. package/dist/2519.js +1 -0
  21. package/dist/2519.js.map +1 -0
  22. package/dist/2566.js +1 -0
  23. package/dist/2566.js.map +1 -0
  24. package/dist/2586.js +1 -0
  25. package/dist/2586.js.map +1 -0
  26. package/dist/2782.js +1 -0
  27. package/dist/2782.js.map +1 -0
  28. package/dist/2802.js +1 -0
  29. package/dist/2802.js.map +1 -0
  30. package/dist/3040.js +1 -0
  31. package/dist/3472.js +1 -0
  32. package/dist/3472.js.map +1 -0
  33. package/dist/4224.js +1 -0
  34. package/dist/4224.js.map +1 -0
  35. package/dist/4478.js +1 -0
  36. package/dist/4478.js.map +1 -0
  37. package/dist/466.js +1 -1
  38. package/dist/466.js.map +1 -1
  39. package/dist/5253.js +1 -0
  40. package/dist/5253.js.map +1 -0
  41. package/dist/5283.js +1 -0
  42. package/dist/5283.js.map +1 -0
  43. package/dist/5361.js +1 -0
  44. package/dist/5361.js.map +1 -0
  45. package/dist/5466.js +1 -0
  46. package/dist/5466.js.map +1 -0
  47. package/dist/5882.js +1 -0
  48. package/dist/5887.js +1 -0
  49. package/dist/5887.js.map +1 -0
  50. package/dist/6424.js +1 -0
  51. package/dist/6424.js.map +1 -0
  52. package/dist/6479.js +1 -0
  53. package/dist/6479.js.map +1 -0
  54. package/dist/6942.js +1 -0
  55. package/dist/6942.js.map +1 -0
  56. package/dist/7085.js +1 -0
  57. package/dist/7085.js.map +1 -0
  58. package/dist/7127.js +1 -0
  59. package/dist/7198.js +1 -0
  60. package/dist/7198.js.map +1 -0
  61. package/dist/7290.js +1 -0
  62. package/dist/7290.js.map +1 -0
  63. package/dist/7329.js +1 -0
  64. package/dist/7329.js.map +1 -0
  65. package/dist/8000.js +1 -0
  66. package/dist/8000.js.map +1 -0
  67. package/dist/8592.js +1 -0
  68. package/dist/8592.js.map +1 -0
  69. package/dist/8834.js +1 -0
  70. package/dist/8834.js.map +1 -0
  71. package/dist/9337.js +1 -0
  72. package/dist/9337.js.map +1 -0
  73. package/dist/9466.js +1 -0
  74. package/dist/9466.js.map +1 -0
  75. package/dist/9706.js +27 -0
  76. package/dist/9706.js.map +1 -0
  77. package/dist/9849.js +1 -0
  78. package/dist/9849.js.map +1 -0
  79. package/dist/9945.js +1 -0
  80. package/dist/9945.js.map +1 -0
  81. package/dist/kenyaemr-esm-morgue-app.js +3 -3
  82. package/dist/kenyaemr-esm-morgue-app.js.buildmanifest.json +360 -338
  83. package/dist/kenyaemr-esm-morgue-app.js.map +1 -1
  84. package/dist/main.js +3 -3
  85. package/dist/main.js.map +1 -1
  86. package/dist/routes.json +1 -1
  87. package/package.json +1 -1
  88. package/translations/fr.json +100 -0
  89. package/dist/0.js +0 -1
  90. package/dist/0.js.map +0 -1
  91. package/dist/127.js +0 -1
  92. package/dist/198.js +0 -1
  93. package/dist/198.js.map +0 -1
  94. package/dist/224.js +0 -1
  95. package/dist/224.js.map +0 -1
  96. package/dist/228.js +0 -1
  97. package/dist/228.js.map +0 -1
  98. package/dist/253.js +0 -1
  99. package/dist/253.js.map +0 -1
  100. package/dist/267.js +0 -1
  101. package/dist/267.js.map +0 -1
  102. package/dist/283.js +0 -1
  103. package/dist/283.js.map +0 -1
  104. package/dist/290.js +0 -1
  105. package/dist/290.js.map +0 -1
  106. package/dist/299.js +0 -1
  107. package/dist/299.js.map +0 -1
  108. package/dist/329.js +0 -1
  109. package/dist/329.js.map +0 -1
  110. package/dist/337.js +0 -1
  111. package/dist/337.js.map +0 -1
  112. package/dist/361.js +0 -1
  113. package/dist/361.js.map +0 -1
  114. package/dist/40.js +0 -1
  115. package/dist/424.js +0 -1
  116. package/dist/424.js.map +0 -1
  117. package/dist/472.js +0 -1
  118. package/dist/472.js.map +0 -1
  119. package/dist/478.js +0 -1
  120. package/dist/478.js.map +0 -1
  121. package/dist/479.js +0 -1
  122. package/dist/479.js.map +0 -1
  123. package/dist/519.js +0 -1
  124. package/dist/519.js.map +0 -1
  125. package/dist/566.js +0 -1
  126. package/dist/566.js.map +0 -1
  127. package/dist/586.js +0 -1
  128. package/dist/586.js.map +0 -1
  129. package/dist/592.js +0 -1
  130. package/dist/592.js.map +0 -1
  131. package/dist/706.js +0 -27
  132. package/dist/706.js.map +0 -1
  133. package/dist/72.js +0 -1
  134. package/dist/72.js.map +0 -1
  135. package/dist/729.js +0 -17
  136. package/dist/729.js.map +0 -1
  137. package/dist/782.js +0 -1
  138. package/dist/782.js.map +0 -1
  139. package/dist/8.js +0 -1
  140. package/dist/8.js.map +0 -1
  141. package/dist/802.js +0 -1
  142. package/dist/802.js.map +0 -1
  143. package/dist/834.js +0 -1
  144. package/dist/834.js.map +0 -1
  145. package/dist/847.js +0 -1
  146. package/dist/847.js.map +0 -1
  147. package/dist/849.js +0 -1
  148. package/dist/849.js.map +0 -1
  149. package/dist/85.js +0 -1
  150. package/dist/85.js.map +0 -1
  151. package/dist/887.js +0 -1
  152. package/dist/887.js.map +0 -1
  153. package/dist/91.js +0 -1
  154. package/dist/91.js.map +0 -1
  155. package/dist/920.js.map +0 -1
  156. package/dist/935.js +0 -1
  157. package/dist/935.js.map +0 -1
  158. package/dist/942.js +0 -1
  159. package/dist/942.js.map +0 -1
  160. package/dist/945.js +0 -1
  161. package/dist/945.js.map +0 -1
  162. package/dist/977.js +0 -1
  163. package/dist/977.js.map +0 -1
package/dist/2519.js ADDED
@@ -0,0 +1 @@
1
+ (globalThis.webpackChunk_kenyaemr_esm_morgue_app=globalThis.webpackChunk_kenyaemr_esm_morgue_app||[]).push([["2519"],{91690:function(e,A,t){"use strict";t.r(A),t.d(A,{actionBarButtons:()=>v,root:()=>g,startupApp:()=>b,autopsyReportModal:()=>L,mortuaryFormEntry:()=>I,importTranslation:()=>m,dischargeBodyForm:()=>S,morgueDashboard:()=>O,bannerInfo:()=>h,admitDeceasedPersonForm:()=>T,printConfirmationModal:()=>w,printPostMortemOverflowMenuItem:()=>k,mortuaryChartView:()=>P,swapForm:()=>D,mortuaryDashboardLink:()=>U,morgueDashboardLink:()=>_});var n=t(42722),r={mortuaryLocationTagUuid:{_type:n.Type.String,_description:"UUID for mortuary location tag",_default:"1dbbfe22-d21f-499c-bf33-cc9f75b6c7e8"},morgueVisitTypeUuid:{_type:n.Type.String,_description:" UUID for morgue visit",_default:"02b67c47-6071-4091-953d-ad21452e830c"},morgueDepartmentServiceTypeUuid:{_type:n.Type.String,_description:" UUID for morgue department service type",_default:"5b9e6cd1-f836-4144-91e4-401c58dd62af"},insurancepaymentModeUuid:{_type:n.Type.String,_description:" UUID for insurance payment mode",_default:"beac329b-f1dc-4a33-9e7c-d95821a137a6"},tagNumberUuid:{_type:n.Type.String,_description:"UUID for tag number concept",_default:"f2b35679-7ba9-4619-92cb-6872b0c6bf57"},morgueAdmissionEncounterTypeUuid:{_type:n.Type.String,_description:"Encounter type for morgue admission",_default:"3d2df845-6f3c-45e7-b91a-d828a1f9c2e8"},morgueDischargeEncounterTypeUuid:{_type:n.Type.String,_description:"Encounter type for morgue discharge",_default:"3d618f40b-b5a3-4f17-81c8-2f04e2aad58e"},nextOfKinNameUuid:{_type:n.Type.String,_description:"UUID for next of kin name concept",_default:"830bef6d-b01f-449d-9f8d-ac0fede8dbd3"},nextOfKinRelationshipUuid:{_type:n.Type.String,_description:"UUID for next of kin relationship concept",_default:"d0aa9fd1-2ac5-45d8-9c5e-4317c622c8f5"},nextOfKinNationalIdUuid:{_type:n.Type.String,_description:"UUID for next of kin national ID concept",_default:"73d34479-2f9e-4de3-a5e6-1f79a17459bb"},nextOfKinPhoneUuid:{_type:n.Type.String,_description:"UUID for next of kin phone concept",_default:"342a1d39-c541-4b29-8818-930916f4c2dc"},visitPaymentMethodAttributeUuid:{_type:n.Type.String,_description:"UUID for visit payment method attribute",_default:"e6cb0c3b-04b0-4117-9bc6-ce24adbda802"},obNumberUuid:{_type:n.Type.String,_description:"UUID for ob number concept",_default:"0dffecb3-2dc4-4d56-8cd4-56ba38579c69"},policeNameUuid:{_type:n.Type.String,_description:"UUID for police name concept",_default:"d889f05b-0d9b-462f-ae8e-2e9be79fd954"},burialPermitNumberUuid:{_type:n.Type.String,_description:"UUID for burial permit number concept",_default:"da524812-5600-4677-ba26-eb61eb925eef"},policeIDNumber:{_type:n.Type.String,_description:"UUID for police id number concept",_default:"163084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},encounterProviderRoleUuid:{_type:n.Type.UUID,_default:"a0b03050-c99b-11e0-9572-0800200c9a66",_description:"The provider role to use for the registration encounter. Default is 'Unkown'."},dischargeAreaUuid:{_type:n.Type.String,_description:"UUID for discharge area concept",_default:"89ebccf1-4cca-4195-aeff-3e75fdf976b4"},adminUuid:{_type:n.Type.String,_description:"UUID for admin user",_default:"e02c40e5-04e7-11e5-ae3c-a0b3cc4f922f"},autopsyFormUuid:{_type:n.Type.String,_description:"UUID for autopsy form",_default:"2b61a73-4971-4fc0-b20b-9a30176317e2"},autopsyEncounterFormUuid:{_type:n.Type.String,_description:"Encounter UUID for autopsy",_default:"465a92f2-baf8-42e9-9612-53064be868e8"},courtOrderCaseNumberUuid:{_type:n.Type.String,_description:"UUID for court order case number concept",_default:"26e0da6c-3e53-4f7d-9a3a-1c2f634450f7"},serialNumberUuid:{_type:n.Type.String,_description:"UUID for serial number concept",_default:"1646AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},receivingAreaUuid:{_type:n.Type.String,_description:"UUID for receiving area concept",_default:"159495AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},reasonForTransferUuid:{_type:n.Type.String,_description:"UUID for reason for transfer concept",_default:"162720AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},locationOfDeathQuestionUuid:{_type:n.Type.String,_description:"UUID for location of death question concept",_default:"1541AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},locationOfDeathTypesList:{_type:n.Type.Array,_description:"List of location of death types",_default:[{concept:"1589AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"InPatient"},{concept:"160473AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Outpatient"},{concept:"1601AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Dead on arrival"},{concept:"1536AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Home"},{concept:"1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Unknown (Police case)"}]},deathConfirmationTypes:{_type:n.Type.Array,_description:"List of death confirmation types",_default:[{concept:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Yes"},{concept:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"No"}]},deathConfirmationQuestionUuid:{_type:n.Type.String,_description:"UUID for death confirmation question concept",_default:"165793AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},deathNotificationUuid:{_type:n.Type.String,_description:"UUID for death notification concept",_default:"162727AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},attendingClinicianUuid:{_type:n.Type.String,_description:"UUID for attending clinician concept",_default:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},doctorRemarksUuid:{_type:n.Type.String,_description:"UUID for doctor remarks concept",_default:"161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},causeOfDeathUuid:{_type:n.Type.String,_description:"UUID for cause of death concept",_default:"160218AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},deadBodyPreservationTypeUuid:{_type:n.Type.Array,_description:"List of dead body preservation types",_default:[{concept:"bb78fcee-99c8-4073-9224-69c668917405",label:"Body embalment"},{concept:"167231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Cold storage"}]},deadBodyPreservationQuestionUuid:{_type:n.Type.String,_description:"UUID for dead body preservation question concept",_default:"c67be9a5-f497-4082-af81-11753f65ed4b"},bodyEmbalmmentTypesUuid:{_type:n.Type.Array,_description:"List of body embalmment types",_default:[{concept:"166402AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Arterial"},{concept:"160494AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Cavity"},{concept:"151870AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Hypodermic"}]},autopsyPermissionUuid:{_type:n.Type.String,_description:"UUID for autopsy permission concept",_default:"1707AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},i=t(35400),o=t.n(i),a=t(6561),c=t(75721);function u(e){var A,t=e.config,r=t.name,u=t.title,d=(0,c.useLocation)(),p=window.getOpenmrsSpaBase()+"home",s=(0,i.useMemo)(function(){return decodeURIComponent((0,a.A)(d.pathname.split("/")))},[d.pathname]);return A=s,/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(A)&&(s=d.pathname.split("/").at(-3)),o().createElement(n.ConfigurableLink,{to:p+"/"+r,className:"cds--side-nav__link ".concat(r===s&&"active-left-nav-link")},u)}var d=function(e){return function(){return o().createElement(c.BrowserRouter,null,o().createElement(u,{config:e}))}},p=t(70438),s=t(58088),f=t(80603),l="@kenyaemr/esm-morgue-app",y={featureName:"esm-morgue-app",moduleName:l},m=t(31437);function b(){var e="".concat(window.spaBase,"/home/morgue");(0,n.defineConfigSchema)(l,r),(0,n.registerBreadcrumbs)([{title:"morgue",path:e,parent:"".concat(window.spaBase,"/home")}])}var g=(0,n.getAsyncLifecycle)(function(){return Promise.all([t.e("689"),t.e("4478"),t.e("1977"),t.e("9706"),t.e("1072"),t.e("4224"),t.e("5361"),t.e("6479"),t.e("5253"),t.e("1155"),t.e("1865"),t.e("8000"),t.e("7198"),t.e("1935"),t.e("5283"),t.e("2782")]).then(t.bind(t,99293))},y),_=(0,n.getSyncLifecycle)(d({name:"morgue",title:"Mortuary"}),y),U=(0,n.getSyncLifecycle)(d(function(e){for(var A=1;A<arguments.length;A++){var t=null!=arguments[A]?arguments[A]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(A){var n;n=t[A],A in e?Object.defineProperty(e,A,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[A]=n})}return e}({},{name:"mortuary",title:"Mortuary",path:"mortuary"})),y),v=(0,n.getAsyncLifecycle)(function(){return Promise.all([t.e("1072"),t.e("2299"),t.e("5466")]).then(t.bind(t,44113))},y),h=(0,n.getAsyncLifecycle)(function(){return Promise.all([t.e("8000"),t.e("9337")]).then(t.bind(t,87219))},y),T=(0,n.getAsyncLifecycle)(function(){return Promise.all([t.e("8834"),t.e("1155"),t.e("6942"),t.e("1008")]).then(t.bind(t,64202))},y),D=(0,n.getAsyncLifecycle)(function(){return Promise.all([t.e("689"),t.e("4478"),t.e("1977"),t.e("9706"),t.e("4224"),t.e("8834"),t.e("1155"),t.e("1865"),t.e("6942"),t.e("2566"),t.e("2802")]).then(t.bind(t,20649))},y),S=(0,n.getAsyncLifecycle)(function(){return Promise.all([t.e("1977"),t.e("8834"),t.e("8592"),t.e("1155"),t.e("6942"),t.e("7198"),t.e("2566"),t.e("9849")]).then(t.bind(t,90656))},y),O=(0,n.getAsyncLifecycle)(function(){return Promise.all([t.e("689"),t.e("4478"),t.e("1977"),t.e("9706"),t.e("1072"),t.e("4224"),t.e("6479"),t.e("5253"),t.e("1155"),t.e("1865"),t.e("7198"),t.e("1935"),t.e("6424")]).then(t.bind(t,34130))},y),I=(0,n.getSyncLifecycle)(function(e){var A=e.formUuid,t=e.patientUuid,r=e.encounterUuid,a=e.mutateForm,c=e.closeWorkspace,u=e.closeWorkspaceWithSavedChanges,d=(0,n.usePatient)(t),s=d.patient,f=d.isLoading,l=(0,n.useConnectivity)(),y=(0,i.useMemo)(function(){var n,i;return n=function(e){for(var A=1;A<arguments.length;A++){var t=null!=arguments[A]?arguments[A]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(A){var n;n=t[A],A in e?Object.defineProperty(e,A,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[A]=n})}return e}({},e),i=i={view:"form",formUuid:null!=A?A:null,visitUuid:"",visitTypeUuid:"",visitStartDatetime:null,visitStopDatetime:null,isOffline:!l,patientUuid:null!=t?t:null,patient:s,encounterUuid:null!=r?r:null,closeWorkspace:function(){"function"==typeof a&&a(),c()},closeWorkspaceWithSavedChanges:function(){"function"==typeof a&&a(),u()}},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):(function(e,A){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(i)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))}),n},[s,t,r,A,l,e,c,u,a]);return f?o().createElement("div",null,o().createElement(p.InlineLoading,{status:"active",iconDescription:"Loading",description:"Loading form..."})):o().createElement(n.ExtensionSlot,{name:"form-widget-slot",state:y})},y),P=(0,n.getAsyncLifecycle)(function(){return Promise.all([t.e("689"),t.e("4478"),t.e("1977"),t.e("9706"),t.e("4224"),t.e("5361"),t.e("1155"),t.e("1865"),t.e("8000"),t.e("5283")]).then(t.bind(t,64270))},y),w=(0,n.getAsyncLifecycle)(function(){return Promise.all([t.e("689"),t.e("5887"),t.e("9945")]).then(t.bind(t,97088))},y),L=(0,n.getAsyncLifecycle)(function(){return Promise.all([t.e("689"),t.e("682"),t.e("5887"),t.e("2586")]).then(t.bind(t,30170))},y),k=(0,n.getSyncLifecycle)(function(e){var A=e.patientUuid,t=(0,s.useTranslation)().t,r=(0,n.useConfig)().autopsyEncounterFormUuid,i=(0,f.SE)(A,r),a=i.encounters,c=i.isLoading;i.error,i.mutate,i.isValidating;var u=function(){var e=(0,n.showModal)("autopsy-report-modal",{onClose:function(){return e()},encounters:a,patientUuid:A})};return o().createElement(o().Fragment,null,o().createElement(p.OverflowMenuItem,{onClick:function(){return u()},itemText:t("printPostMortemReport","Postmortem Report"),disabled:c||!(null==a?void 0:a.length)}))},y)},80603:function(e,A,t){"use strict";t.d(A,{Q2:()=>o,SE:()=>i});var n=t(42722),r=t(13624);function i(e,A){var t,i="/ws/rest/v1/encounter?encounterType=".concat(A,"&patient=").concat(e,"&v=").concat("custom:(uuid,encounterDatetime,encounterType,location:(uuid,name),patient:(uuid,display),encounterProviders:(uuid,provider:(uuid,name)),obs:(uuid,obsDatetime,voided,groupMembers,concept:(uuid,name:(uuid,name)),value:(uuid,name:(uuid,name),names:(uuid,conceptNameType,name))),form:(uuid,name),visit:(visitType:(uuid,display)))"),o=(0,r.Ay)(i,n.openmrsFetch),a=o.data,c=o.error,u=o.isLoading,d=o.isValidating,p=o.mutate;return{encounters:(null==a?void 0:a.data)?null==a||null==(t=a.data)?void 0:t.results:[],isLoading:u,isValidating:d,error:c,mutate:p}}var o=function(e){var A,t=(0,n.useConfig)().morgueVisitTypeUuid,i="".concat(n.restBaseUrl,"/visit?v=full&includeInactive=false&totalCount=true&visitType=").concat(t,"&q=").concat(e),o=(0,r.Ay)(i,n.openmrsFetch),a=o.data,c=o.error,u=o.isLoading;return{activeVisit:null==a||null==(A=a.data)?void 0:A.results[0],error:c,isLoading:u}}},31437:function(e,A,t){var n={"./en.json":["41066","7127"],"./sw.json":["23987","3040"],"./am.json":["82735","916"],"./fr.json":["68961","5882"]};function r(e){if(!t.o(n,e))return Promise.resolve().then(function(){var A=Error("Cannot find module '"+e+"'");throw A.code="MODULE_NOT_FOUND",A});var A=n[e],r=A[0];return t.e(A[1]).then(function(){return t(r)})}r.keys=()=>Object.keys(n),r.id=31437,e.exports=r},6561:function(e,A,t){"use strict";t.d(A,{A:()=>n});let n=function(e){var A=null==e?0:e.length;return A?e[A-1]:void 0}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2519.js","sources":["webpack://@kenyaemr/esm-morgue-app/./src/config-schema.ts","webpack://@kenyaemr/esm-morgue-app/./src/left-panel/morgue-left-panel-link.component.tsx","webpack://@kenyaemr/esm-morgue-app/./src/index.ts","webpack://@kenyaemr/esm-morgue-app/./src/dashboard.meta.ts","webpack://@kenyaemr/esm-morgue-app/./src/forms/form-entry-workspace/form-entry-workspace.workspace.tsx","webpack://@kenyaemr/esm-morgue-app/./src/extension/overflow-menu-item-postmortem/print-postmorterm-report.component.tsx","webpack://@kenyaemr/esm-morgue-app/./src/view-details/view-details.resource.ts","webpack://@kenyaemr/esm-morgue-app//home/runner/work/kenyaemr-esm-3.x/kenyaemr-esm-3.x/packages/esm-morgue-app/translationslazynonrecursive/.json$/","webpack://@kenyaemr/esm-morgue-app/../../node_modules/lodash-es/last.js"],"names":["configSchema","mortuaryLocationTagUuid","_type","Type","_description","_default","morgueVisitTypeUuid","morgueDepartmentServiceTypeUuid","insurancepaymentModeUuid","tagNumberUuid","morgueAdmissionEncounterTypeUuid","morgueDischargeEncounterTypeUuid","nextOfKinNameUuid","nextOfKinRelationshipUuid","nextOfKinNationalIdUuid","nextOfKinPhoneUuid","visitPaymentMethodAttributeUuid","obNumberUuid","policeNameUuid","burialPermitNumberUuid","policeIDNumber","encounterProviderRoleUuid","dischargeAreaUuid","adminUuid","autopsyFormUuid","autopsyEncounterFormUuid","courtOrderCaseNumberUuid","serialNumberUuid","receivingAreaUuid","reasonForTransferUuid","locationOfDeathQuestionUuid","locationOfDeathTypesList","concept","label","deathConfirmationTypes","deathConfirmationQuestionUuid","deathNotificationUuid","attendingClinicianUuid","doctorRemarksUuid","causeOfDeathUuid","deadBodyPreservationTypeUuid","deadBodyPreservationQuestionUuid","bodyEmbalmmentTypesUuid","autopsyPermissionUuid","LinkExtension","value","config","name","title","location","useLocation","spaBasePath","window","getOpenmrsSpaBase","urlSegment","useMemo","decodeURIComponent","last","pathname","split","regex","test","at","ConfigurableLink","to","className","createLeftPanelLink","BrowserRouter","moduleName","options","featureName","importTranslation","require","startupApp","morgueBasepath","spaBase","defineConfigSchema","registerBreadcrumbs","path","parent","root","getAsyncLifecycle","morgueDashboardLink","getSyncLifecycle","mortuaryDashboardLink","actionBarButtons","bannerInfo","admitDeceasedPersonForm","swapForm","dischargeBodyForm","morgueDashboard","mortuaryFormEntry","props","formUuid","patientUuid","encounterUuid","mutateForm","closeWorkspace","closeWorkspaceWithSavedChanges","usePatient","patient","isLoading","isOnline","useConnectivity","state","view","visitUuid","visitTypeUuid","visitStartDatetime","visitStopDatetime","isOffline","div","InlineLoading","status","iconDescription","description","ExtensionSlot","mortuaryChartView","printConfirmationModal","autopsyReportModal","printPostMortemOverflowMenuItem","t","useTranslation","useConfig","useAutospyEncounter","encounters","error","mutate","isValidating","handlePrintPostmortem","dispose","showModal","onClose","OverflowMenuItem","onClick","itemText","disabled","length","encounterType","data","url","encounterRepresentation","useSWR","openmrsFetch","results","useActiveMorgueVisit","uuid","restBaseUrl","activeVisit","Promise","Error","Object"],"mappings":"ijBAGaA,EAAe,CAC1BC,wBAAyB,CACvBC,MAAOC,EAAAA,IAAAA,CAAAA,MAAW,CAClBC,aAAc,iCACdC,SAAU,sCACZ,EACAC,oBA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-0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_morgue_app=globalThis.webpackChunk_kenyaemr_esm_morgue_app||[]).push([["2566"],{4266:function(e,n,t){t.d(n,{A:()=>p});var a=t(71452),i=t.n(a),s=t(34567),o=t.n(s)()(i());o.push([e.id,".-esm-morgue__deceased-info__patientInfo___cLRug{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem}.-esm-morgue__deceased-info__patientAvatar___EbQqG{width:5rem;height:5rem;margin:.5rem 0 .5rem 1rem;border-radius:1px;font-weight:unset;line-height:unset}.-esm-morgue__deceased-info__patientDetails___VKM1J{flex:1}.-esm-morgue__deceased-info__patientName___lPWWP{font-size:var(--cds-heading-02-font-size, 1rem);font-weight:var(--cds-heading-02-font-weight, 600);line-height:var(--cds-heading-02-line-height, 1.5);letter-spacing:var(--cds-heading-02-letter-spacing, 0);margin-bottom:.25rem}.-esm-morgue__deceased-info__demographics___6yayR{display:flex;align-items:center;margin-bottom:.25rem;text-transform:uppercase}.-esm-morgue__deceased-info__identifiers___VPc1M{display:flex;flex-direction:column}.-esm-morgue__deceased-info__middot___MjrSA{margin:0 .25rem}.-esm-morgue__deceased-info__causeDisplay___dIlmO{font-size:.875rem}","",{version:3,sources:["webpack://./src/deceased-patient-header/deceasedInfo/deceased-info.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAIA,iDACE,YAAA,CACA,6BAAA,CACA,sBAAA,CACA,QCiCW,CD9Bb,mDACE,UCiDW,CDhDX,WCgDW,CD/CX,yBAAA,CACA,iBAAA,CACA,iBAAA,CACA,iBAAA,CAGF,oDACE,MAAA,CAGF,iDE00BI,+CAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CFx0BF,oBCVW,CDab,kDACE,YAAA,CACA,kBAAA,CACA,oBChBW,CDiBX,wBAAA,CAGF,iDACE,YAAA,CACA,qBAAA,CAGF,4CACE,eAAA,CAEF,kDACE,iBAAA",sourcesContent:["@use '@carbon/layout';\n@use '@carbon/type';\n@use '@carbon/colors';\n\n.patientInfo {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n gap: layout.$spacing-07;\n}\n\n.patientAvatar {\n width: layout.$spacing-11;\n height: layout.$spacing-11;\n margin: layout.$spacing-03 0 layout.$spacing-03 layout.$spacing-05;\n border-radius: 1px;\n font-weight: unset;\n line-height: unset;\n}\n\n.patientDetails {\n flex: 1;\n}\n\n.patientName {\n @include type.type-style('heading-02');\n margin-bottom: layout.$spacing-02;\n}\n\n.demographics {\n display: flex;\n align-items: center;\n margin-bottom: layout.$spacing-02;\n text-transform: uppercase;\n}\n\n.identifiers {\n display: flex;\n flex-direction: column;\n}\n\n.middot {\n margin: 0 0.25rem;\n}\n.causeDisplay {\n font-size: type.type-scale(2);\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={patientInfo:"-esm-morgue__deceased-info__patientInfo___cLRug",patientAvatar:"-esm-morgue__deceased-info__patientAvatar___EbQqG",patientDetails:"-esm-morgue__deceased-info__patientDetails___VKM1J",patientName:"-esm-morgue__deceased-info__patientName___lPWWP",demographics:"-esm-morgue__deceased-info__demographics___6yayR",identifiers:"-esm-morgue__deceased-info__identifiers___VPc1M",middot:"-esm-morgue__deceased-info__middot___MjrSA",causeDisplay:"-esm-morgue__deceased-info__causeDisplay___dIlmO"};let p=o},63093:function(e,n,t){t.d(n,{A:()=>A});var a=t(70438),i=t(42722),s=t(35400),o=t.n(s),p=t(72591),l=t.n(p),c=t(1740),r=t.n(c),g=t(88128),u=t.n(g),d=t(30855),f=t.n(d),h=t(93051),y=t.n(h),m=t(73656),b=t.n(m),$=t(4266),v={};v.styleTagTransform=b(),v.setAttributes=f(),v.insert=u().bind(null,"head"),v.domAPI=r(),v.insertStyleElement=y(),l()($.A,v);let x=$.A&&$.A.locals?$.A.locals:void 0;var w=t(16891),k=t(58088),_=t(73957);let A=function(e){var n,t=e.patientUuid,s=(0,i.usePatient)(t),p=s.isLoading,l=s.patient,c=s.error,r=(0,_.r)(t),g=r.isLoading,u=r.error,d=r.person,f=(0,w.b6)(l),h=(0,k.useTranslation)().t;return p||g?o().createElement(a.InlineLoading,{status:"active",iconDescription:"Loading",description:"Loading deceased data ..."}):c||u?o().createElement(i.ErrorState,{error:c,headerTitle:h("errorMessage","Error")}):o().createElement(a.Tile,{className:x.patientInfo},o().createElement("div",{className:x.patientAvatar,role:"img"},o().createElement(i.PatientPhoto,{patientUuid:l.id,patientName:f})),o().createElement("div",{className:x.patientDetails},o().createElement("h2",{className:x.patientName},f),o().createElement("div",{className:x.demographics},null==l?void 0:l.gender,o().createElement("span",{className:x.middot},"\xb7")," ",null==d?void 0:d.age," Yrs"),o().createElement("div",{className:x.causeDisplay},h("causeOfDeath","Cause of death: "),null==d||null==(n=d.causeOfDeath)?void 0:n.display)))}},73957:function(e,n,t){t.d(n,{r:()=>s});var a=t(42722),i=t(13624),s=function(e){var n="".concat(a.restBaseUrl,"/person/").concat(e,"?v=").concat("custom:(uuid,display,gender,birthdate,dead,age,deathDate,causeOfDeath:(uuid,display))"),t=(0,i.Ay)(n,a.openmrsFetch),s=t.isLoading,o=t.error,p=t.data;return{isLoading:s,error:o,person:null==p?void 0:p.data}}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2566.js","sources":["webpack://@kenyaemr/esm-morgue-app/./src/deceased-patient-header/deceasedInfo/deceased-info.scss","webpack://@kenyaemr/esm-morgue-app/./src/deceased-patient-header/deceasedInfo/deceased-info.scss?5dd5","webpack://@kenyaemr/esm-morgue-app/./src/deceased-patient-header/deceasedInfo/deceased-info.component.tsx","webpack://@kenyaemr/esm-morgue-app/./src/deceased-patient-header/deceasedInfo/deceased-info.resource.ts"],"names":["person","patientUuid","usePatient","isLoading","patient","error","usePerson","isdeceasedDataLoading","deceasedError","formattedName","formatDeceasedName","t","useTranslation","InlineLoading","status","iconDescription","description","ErrorState","headerTitle","Tile","className","styles","div","role","PatientPhoto","id","patientName","h2","gender","span","age","causeOfDeath","display","uuid","url","restBaseUrl","customRepresentation","useSWR","openmrsFetch","data"],"mappings":"4MAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,27BAA47B,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,0EAA0E,6EAA6E,gEAAgE,CAAC,MAAQ,EAAE,CAAC,SAAW,8TAA8T,eAAiB,CAAC,u1BAAu1B,05DAA05D,u8uBAAu8uB,CAAC,WAAa,EAAE,EAAE,EAExw3B,EAAwB,MAAM,CAAG,CAChC,YAAe,kDACf,cAAiB,oDACjB,eAAkB,qDAClB,YAAe,kDACf,aAAgB,mDAChB,YAAe,kDACf,OAAU,6CACV,aAAgB,kDACjB,EACA,MAAe,C,wNCNX,EAAU,CAAC,CAEf,GAAQ,iBAAiB,CAAG,IAC5B,EAAQ,aAAa,CAAG,IAElB,EAAQ,MAAM,CAAG,QAAa,CAAC,KAAM,QAE3C,EAAQ,MAAM,CAAG,IACjB,EAAQ,kBAAkB,CAAG,IAEhB,IAAI,GAAO,CAAE,GAKnB,MAAe,GAAO,EAAI,UAAc,CAAG,UAAc,CAAG,O,qCCiBnE,MAnCwD,Y,IA4B7CA,EA5BgDC,EAAAA,EAAAA,WAAW,CAC9BC,EAAAA,AAAAA,GAAAA,EAAAA,UAAAA,AAAAA,EAAWD,GAAzCE,EAA8BD,EAA9BC,SAAS,CAAEC,EAAmBF,EAAnBE,OAAO,CAAEC,EAAUH,EAAVG,KAAK,CAC0CC,EAAAA,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,EAAUL,GAAlEM,EAAwDD,EAAnEH,SAAS,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0B,OADvC,yFAEMI,EAAAA,AAAAA,GAAAA,EAAAA,EAAAA,AAAAA,EAAyCH,EAAKI,EAAAA,YAAYA,EAArFnC,EAA2BkC,EAA3BlC,SAAS,CAAEE,EAAgBgC,EAAhBhC,KAAK,CAAEkC,EAASF,EAATE,IAAI,CAE9B,MAAO,CAAEpC,UAAAA,EAAWE,MAAAA,EAAOL,OADZuC,MAAAA,EAAAA,KAAAA,EAAAA,EAAMA,IAAI,AACS,CACpC,C"}
package/dist/2586.js ADDED
@@ -0,0 +1 @@
1
+ (globalThis.webpackChunk_kenyaemr_esm_morgue_app=globalThis.webpackChunk_kenyaemr_esm_morgue_app||[]).push([["2586"],{43174:function(e,n,t){"use strict";function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}function i(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach(function(n){var a,i;a=n,i=t[n],(a=function(e){var n=function(e,n){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,n);if("object"!=typeof a)return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==typeof n?n:n+""}(a))in e?Object.defineProperty(e,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function r(e,n){if(null==e)return{};var t,a,i=function(e,n){if(null==e)return{};var t={};for(var a in e)if(({}).hasOwnProperty.call(e,a)){if(-1!==n.indexOf(a))continue;t[a]=e[a]}return t}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)t=r[a],-1===n.indexOf(t)&&({}).propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}t.d(n,{gu:()=>s});var o=["width","height","viewBox"],l=["tabindex"],m={focusable:"false",preserveAspectRatio:"xMidYMid meet"};function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width,t=e.height,a=e.viewBox,s=void 0===a?"0 0 ".concat(n," ").concat(t):a,p=r(e,o),c=p.tabindex,A=r(p,l),d=i(i(i({},m),A),{},{width:n,height:t,viewBox:s});return d["aria-label"]||d["aria-labelledby"]||d.title?(d.role="img",null!=c&&(d.focusable="true",d.tabindex=c)):d["aria-hidden"]=!0,d}},28200:function(e,n,t){"use strict";t.d(n,{A:()=>m});var a=t(43174),i=t(39067),r=t.n(i),o=t(35400),l=t.n(o);let m=l().forwardRef(function({className:e,children:n,tabIndex:t,xmlns:i="http://www.w3.org/2000/svg",preserveAspectRatio:r="xMidYMid meet",...o},m){let{tabindex:s,...p}=(0,a.gu)({...o,tabindex:t});return e&&(p.className=e),null!=s&&("number"==typeof s?p.tabIndex=s:p.tabIndex=Number(t)),m&&(p.ref=m),i&&(p.xmlns=i),r&&(p.preserveAspectRatio=r),l().createElement("svg",p,n)});m.displayName="Icon",m.propTypes={"aria-hidden":r().oneOfType([r().bool,r().oneOf(["true","false"])]),"aria-label":r().string,"aria-labelledby":r().string,children:r().node,className:r().string,height:r().oneOfType([r().number,r().string]),preserveAspectRatio:r().string,tabIndex:r().oneOfType([r().number,r().string]),viewBox:r().string,width:r().oneOfType([r().number,r().string]),xmlns:r().string}},27873:function(e,n,t){"use strict";t.d(n,{A:()=>l});var a=t(71452),i=t.n(a),r=t(34567),o=t.n(r)()(i());o.push([e.id,'.-esm-morgue__autopsy-print-preview-confirmation__container___US9wN{padding:1.5rem;margin-bottom:1rem;background-color:#fff}@media print{.-esm-morgue__autopsy-print-preview-confirmation__container___US9wN{padding:0;margin:0;background-color:#fff}}.-esm-morgue__autopsy-print-preview-confirmation__encounterSelection___NkSiS{margin-bottom:1rem}@media print{.-esm-morgue__autopsy-print-preview-confirmation__encounterSelection___NkSiS{display:none}}@media print{.-esm-morgue__autopsy-print-preview-confirmation__noPrint___O5q7D{display:none !important}}.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8{background-color:#fff;width:210mm;min-height:297mm;margin:0 auto;padding:20mm;box-sizing:border-box;font-family:"Times New Roman",serif;font-size:11px;line-height:1.4;color:#000;box-shadow:0 0 10px rgba(0,0,0,.1)}@media print{.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8{width:100%;height:100%;padding:15mm;margin:0;box-shadow:none;border:none;page-break-after:avoid;page-break-before:avoid}}.-esm-morgue__autopsy-print-preview-confirmation__printableHeader___Bc--k{text-align:center;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:3px double #000}@media print{.-esm-morgue__autopsy-print-preview-confirmation__printableHeader___Bc--k{border-bottom:3px double #000}}.-esm-morgue__autopsy-print-preview-confirmation__facilityDetails___SC4Fn{display:flex;flex-direction:column;align-items:center;gap:.25rem}.-esm-morgue__autopsy-print-preview-confirmation__facilityName___ACMPp{font-weight:700;color:#000;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:.25rem;font-size:16px;font-family:"Times New Roman",serif}@media print{.-esm-morgue__autopsy-print-preview-confirmation__facilityName___ACMPp{color:#000}}.-esm-morgue__autopsy-print-preview-confirmation__heading___fnPz8{font-weight:700;color:#000;text-transform:uppercase;letter-spacing:1px;font-size:14px;margin-bottom:.25rem;text-decoration:underline}@media print{.-esm-morgue__autopsy-print-preview-confirmation__heading___fnPz8{color:#000}}.-esm-morgue__autopsy-print-preview-confirmation__subheading___\\+cLQu{font-weight:500;color:#000;font-size:12px;font-style:italic}.-esm-morgue__autopsy-print-preview-confirmation__printableBody___bVmJ-{display:flex;flex-direction:column;gap:1rem}.-esm-morgue__autopsy-print-preview-confirmation__formSection___Xo3aJ{margin-bottom:1rem;page-break-inside:avoid}.-esm-morgue__autopsy-print-preview-confirmation__sectionTitle___7Scrr{font-weight:700;color:#000;font-size:12px;margin-bottom:.75rem;padding:.25rem 0;border-bottom:2px solid #000;text-transform:uppercase;letter-spacing:.5px}@media print{.-esm-morgue__autopsy-print-preview-confirmation__sectionTitle___7Scrr{color:#000;border-bottom:2px solid #000}}.-esm-morgue__autopsy-print-preview-confirmation__sectionSubtitle___b-QAw{font-size:10px;color:#000;margin-bottom:.5rem;font-style:italic;line-height:1.3}.-esm-morgue__autopsy-print-preview-confirmation__fieldGroup___bNrXB{display:flex;flex-direction:column;gap:.75rem}.-esm-morgue__autopsy-print-preview-confirmation__fieldRow___VM57O{display:flex;gap:1rem;align-items:flex-start;margin-bottom:.5rem}.-esm-morgue__autopsy-print-preview-confirmation__field___adTeY{flex:1;display:flex;flex-direction:column;gap:.25rem}.-esm-morgue__autopsy-print-preview-confirmation__fieldWide___\\+yjzF{width:100%;display:flex;flex-direction:column;gap:.25rem;margin-bottom:.5rem}.-esm-morgue__autopsy-print-preview-confirmation__systemRow___iuBIJ{margin-bottom:.75rem;page-break-inside:avoid}.-esm-morgue__autopsy-print-preview-confirmation__systemField___Pbl5N{display:flex;flex-direction:column;gap:.25rem}.-esm-morgue__autopsy-print-preview-confirmation__label___tbkv\\+{font-weight:600;color:#000;font-size:11px;line-height:1.2;margin-bottom:.125rem}.-esm-morgue__autopsy-print-preview-confirmation__required___kk6X\\+{color:#da1e28;margin-left:2px}.-esm-morgue__autopsy-print-preview-confirmation__value___MuAL-{color:#000;font-size:11px;padding:.25rem;border-bottom:1px solid #000;min-height:1rem;display:flex;align-items:center;background-color:#fff}.-esm-morgue__autopsy-print-preview-confirmation__textArea___b0EVv{color:#000;font-size:11px;padding:.5rem;border:1px solid #000;min-height:2rem;background-color:#fff;line-height:1.4}.-esm-morgue__autopsy-print-preview-confirmation__largeTextArea___0wFiC{color:#000;font-size:11px;padding:.5rem;border:1px solid #000;min-height:60px;background-color:#fff;line-height:1.4}.-esm-morgue__autopsy-print-preview-confirmation__systemTextArea___Okbbm{color:#000;font-size:11px;padding:.5rem;border:1px solid #000;min-height:40px;background-color:#fff;line-height:1.4}.-esm-morgue__autopsy-print-preview-confirmation__underlineField___GThue{border-bottom:1px solid #000;min-height:1rem;width:100%}.-esm-morgue__autopsy-print-preview-confirmation__checkboxGroup___JgS9k{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:.25rem}.-esm-morgue__autopsy-print-preview-confirmation__checkboxOption___2Y-68{display:flex;align-items:center;gap:.25rem;margin-right:.75rem}.-esm-morgue__autopsy-print-preview-confirmation__checkbox___9jujU{width:16px;height:16px;display:flex;align-items:center;justify-content:center}.-esm-morgue__autopsy-print-preview-confirmation__checkbox___9jujU svg{width:16px;height:16px;fill:#000}.-esm-morgue__autopsy-print-preview-confirmation__optionLabel___LIC-q{color:#000;font-size:11px;font-weight:500}.-esm-morgue__autopsy-print-preview-confirmation__specimenGrid___54Hb1{display:grid;grid-template-columns:repeat(2, 1fr);gap:.75rem;margin-top:.5rem}.-esm-morgue__autopsy-print-preview-confirmation__specimenOption___-9gxT{display:flex;align-items:flex-start;gap:.25rem;padding:.25rem 0}.-esm-morgue__autopsy-print-preview-confirmation__specimenOption___-9gxT .-esm-morgue__autopsy-print-preview-confirmation__field___adTeY{margin-top:.25rem}.-esm-morgue__autopsy-print-preview-confirmation__signaturesSection___EMYZ4{margin-top:2rem;padding-top:1rem;border-top:2px solid #000;page-break-inside:avoid}.-esm-morgue__autopsy-print-preview-confirmation__signatureBlock___vhISp{margin-bottom:1.5rem;page-break-inside:avoid}.-esm-morgue__autopsy-print-preview-confirmation__signatureRow___o1WDT{display:grid;grid-template-columns:2fr 1.5fr 1fr;gap:1rem;align-items:end;padding:.5rem 0}.-esm-morgue__autopsy-print-preview-confirmation__nameField___yfJt6,.-esm-morgue__autopsy-print-preview-confirmation__signField___PRp0h,.-esm-morgue__autopsy-print-preview-confirmation__dateField___QFAqK{display:flex;flex-direction:column;gap:.25rem}.-esm-morgue__autopsy-print-preview-confirmation__signatureLine___qZsFK{border-bottom:1px solid #000;height:1rem;width:100%;margin-top:.25rem}.-esm-morgue__autopsy-print-preview-confirmation__qualificationRow___-zkFe{display:flex;align-items:center;gap:.5rem;margin-top:.5rem}.-esm-morgue__autopsy-print-preview-confirmation__qualificationLine___L3Gqx{border-bottom:1px solid #000;height:1rem;flex:1}.-esm-morgue__autopsy-print-preview-confirmation__nameValue___hY4Vt{color:#000;border-bottom:1px solid #000;padding:.25rem;min-height:1rem;display:flex;align-items:center;font-size:11px;font-weight:500}.-esm-morgue__autopsy-print-preview-confirmation__btnSet___RDkdc{width:100%;margin-top:1rem}.-esm-morgue__autopsy-print-preview-confirmation__footer___DoNTk{margin-top:2rem;padding-top:1rem;border-top:1px solid #000;text-align:center;page-break-inside:avoid}.-esm-morgue__autopsy-print-preview-confirmation__footerText___x5bSs{font-size:10px;color:#000;font-style:italic;line-height:1.4;margin-bottom:.75rem}.-esm-morgue__autopsy-print-preview-confirmation__footerDetails___y55IW{margin-top:.75rem;padding-top:.5rem;border-top:1px solid #c6c6c6;font-size:9px;color:#525252;text-align:center;line-height:1.3}.-esm-morgue__autopsy-print-preview-confirmation__footerDetails___y55IW div{margin-bottom:.25rem}.-esm-morgue__autopsy-print-preview-confirmation__footerDetails___y55IW div:last-child{margin-bottom:0}.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 h1,.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 h2,.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 h3,.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 h4,.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 h5,.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 h6{font-family:"Times New Roman",serif;font-weight:700}.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 p,.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 span,.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 div{font-family:"Times New Roman",serif}.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 .-esm-morgue__autopsy-print-preview-confirmation__referenceNumber___lmi7P{font-weight:700;text-transform:uppercase}.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 .-esm-morgue__autopsy-print-preview-confirmation__sealPlaceholder___7JAQs{width:60px;height:60px;border:2px solid #000;border-radius:50%;margin:0 auto .5rem;display:flex;align-items:center;justify-content:center;font-size:8px;text-align:center}@media print{@page{size:A4;margin:15mm 20mm 20mm 20mm;@top-center{content:""}@bottom-center{content:""}}*{-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important}body{margin:0;padding:0;background:#fff !important}body *{visibility:hidden}.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8,.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 *{visibility:visible}.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8{position:absolute;left:0;top:0;width:100% !important;height:auto !important;margin:0 !important;padding:0 !important;box-shadow:none !important;border:none !important;background:#fff !important;font-size:11pt !important;line-height:1.3 !important}.-esm-morgue__autopsy-print-preview-confirmation__printableHeader___Bc--k{margin-bottom:8mm !important;padding-bottom:3mm !important;page-break-after:avoid}.-esm-morgue__autopsy-print-preview-confirmation__facilityName___ACMPp{font-size:14pt !important;margin-bottom:2mm !important}.-esm-morgue__autopsy-print-preview-confirmation__heading___fnPz8{font-size:12pt !important;margin-bottom:2mm !important}.-esm-morgue__autopsy-print-preview-confirmation__subheading___\\+cLQu{font-size:10pt !important}.-esm-morgue__autopsy-print-preview-confirmation__formSection___Xo3aJ{page-break-inside:avoid;margin-bottom:6mm !important}.-esm-morgue__autopsy-print-preview-confirmation__formSection___Xo3aJ:last-of-type{margin-bottom:0 !important}.-esm-morgue__autopsy-print-preview-confirmation__sectionTitle___7Scrr{page-break-after:avoid;font-size:11pt !important;margin-bottom:3mm !important;padding:1mm 0 !important}.-esm-morgue__autopsy-print-preview-confirmation__sectionSubtitle___b-QAw{font-size:9pt !important;margin-bottom:2mm !important}.-esm-morgue__autopsy-print-preview-confirmation__fieldRow___VM57O{page-break-inside:avoid;margin-bottom:2mm !important}.-esm-morgue__autopsy-print-preview-confirmation__field___adTeY,.-esm-morgue__autopsy-print-preview-confirmation__fieldWide___\\+yjzF{margin-bottom:1mm !important}.-esm-morgue__autopsy-print-preview-confirmation__label___tbkv\\+{font-size:10pt !important;font-weight:600 !important;margin-bottom:.5mm !important}.-esm-morgue__autopsy-print-preview-confirmation__value___MuAL-{font-size:10pt !important;padding:1mm 2mm !important;min-height:4mm !important;border-bottom:1pt solid #000 !important}.-esm-morgue__autopsy-print-preview-confirmation__textArea___b0EVv,.-esm-morgue__autopsy-print-preview-confirmation__largeTextArea___0wFiC{min-height:12mm !important;padding:2mm !important;border:1pt solid #000 !important;font-size:10pt !important;line-height:1.2 !important}.-esm-morgue__autopsy-print-preview-confirmation__systemTextArea___Okbbm{min-height:10mm !important;padding:2mm !important;border:1pt solid #000 !important;font-size:10pt !important;line-height:1.2 !important}.-esm-morgue__autopsy-print-preview-confirmation__systemRow___iuBIJ{page-break-inside:avoid;margin-bottom:3mm !important}.-esm-morgue__autopsy-print-preview-confirmation__specimenGrid___54Hb1{display:block !important}.-esm-morgue__autopsy-print-preview-confirmation__specimenGrid___54Hb1 .-esm-morgue__autopsy-print-preview-confirmation__specimenOption___-9gxT{display:block !important;margin-bottom:2mm !important;page-break-inside:avoid}.-esm-morgue__autopsy-print-preview-confirmation__specimenGrid___54Hb1 .-esm-morgue__autopsy-print-preview-confirmation__specimenOption___-9gxT .-esm-morgue__autopsy-print-preview-confirmation__checkbox___9jujU{display:inline-block !important;width:3mm !important;height:3mm !important;margin-right:2mm !important;vertical-align:middle}.-esm-morgue__autopsy-print-preview-confirmation__specimenGrid___54Hb1 .-esm-morgue__autopsy-print-preview-confirmation__specimenOption___-9gxT .-esm-morgue__autopsy-print-preview-confirmation__checkbox___9jujU svg{width:3mm !important;height:3mm !important}.-esm-morgue__autopsy-print-preview-confirmation__specimenGrid___54Hb1 .-esm-morgue__autopsy-print-preview-confirmation__specimenOption___-9gxT .-esm-morgue__autopsy-print-preview-confirmation__optionLabel___LIC-q{font-size:10pt !important;display:inline !important;vertical-align:middle}.-esm-morgue__autopsy-print-preview-confirmation__specimenGrid___54Hb1 .-esm-morgue__autopsy-print-preview-confirmation__specimenOption___-9gxT .-esm-morgue__autopsy-print-preview-confirmation__field___adTeY{margin-left:5mm !important;margin-top:1mm !important}.-esm-morgue__autopsy-print-preview-confirmation__signaturesSection___EMYZ4{page-break-before:avoid;page-break-inside:avoid;margin-top:10mm !important;padding-top:5mm !important;border-top:2pt solid #000 !important}.-esm-morgue__autopsy-print-preview-confirmation__signatureBlock___vhISp{page-break-inside:avoid;margin-bottom:8mm !important}.-esm-morgue__autopsy-print-preview-confirmation__signatureRow___o1WDT{display:block !important}.-esm-morgue__autopsy-print-preview-confirmation__signatureRow___o1WDT .-esm-morgue__autopsy-print-preview-confirmation__nameField___yfJt6,.-esm-morgue__autopsy-print-preview-confirmation__signatureRow___o1WDT .-esm-morgue__autopsy-print-preview-confirmation__signField___PRp0h,.-esm-morgue__autopsy-print-preview-confirmation__signatureRow___o1WDT .-esm-morgue__autopsy-print-preview-confirmation__dateField___QFAqK{display:inline-block !important;width:30% !important;margin-right:3% !important;vertical-align:bottom}.-esm-morgue__autopsy-print-preview-confirmation__signatureRow___o1WDT .-esm-morgue__autopsy-print-preview-confirmation__nameField___yfJt6:last-child,.-esm-morgue__autopsy-print-preview-confirmation__signatureRow___o1WDT .-esm-morgue__autopsy-print-preview-confirmation__signField___PRp0h:last-child,.-esm-morgue__autopsy-print-preview-confirmation__signatureRow___o1WDT .-esm-morgue__autopsy-print-preview-confirmation__dateField___QFAqK:last-child{margin-right:0 !important}.-esm-morgue__autopsy-print-preview-confirmation__nameValue___hY4Vt{font-size:10pt !important;padding:1mm 2mm !important;min-height:4mm !important;border-bottom:1pt solid #000 !important}.-esm-morgue__autopsy-print-preview-confirmation__signatureLine___qZsFK{border-bottom:1pt solid #000 !important;height:4mm !important;margin-top:1mm !important}.-esm-morgue__autopsy-print-preview-confirmation__qualificationRow___-zkFe{margin-top:2mm !important;font-size:10pt !important}.-esm-morgue__autopsy-print-preview-confirmation__footer___DoNTk{position:fixed;bottom:0;left:0;right:0;padding:3mm 0 !important;margin-top:8mm !important;border-top:1pt solid #000 !important;background:#fff !important;page-break-inside:avoid}.-esm-morgue__autopsy-print-preview-confirmation__footerText___x5bSs{font-size:9pt !important;line-height:1.2 !important;margin-bottom:2mm !important;color:#000 !important}.-esm-morgue__autopsy-print-preview-confirmation__footerDetails___y55IW{font-size:8pt !important;color:#000 !important;line-height:1.1 !important;padding-top:1mm !important;border-top:.5pt solid #666 !important}.-esm-morgue__autopsy-print-preview-confirmation__footerDetails___y55IW div{margin-bottom:1mm !important}.-esm-morgue__autopsy-print-preview-confirmation__footerDetails___y55IW div:last-child{margin-bottom:0 !important}.-esm-morgue__autopsy-print-preview-confirmation__encounterSelection___NkSiS,.-esm-morgue__autopsy-print-preview-confirmation__btnSet___RDkdc,.-esm-morgue__autopsy-print-preview-confirmation__noPrint___O5q7D{display:none !important}.-esm-morgue__autopsy-print-preview-confirmation__printableBody___bVmJ->.-esm-morgue__autopsy-print-preview-confirmation__formSection___Xo3aJ:nth-child(n+8){page-break-before:auto}.-esm-morgue__autopsy-print-preview-confirmation__signaturesSection___EMYZ4{break-before:auto}}@media(prefers-contrast: high){.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 .-esm-morgue__autopsy-print-preview-confirmation__value___MuAL-,.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 .-esm-morgue__autopsy-print-preview-confirmation__textArea___b0EVv,.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 .-esm-morgue__autopsy-print-preview-confirmation__largeTextArea___0wFiC,.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 .-esm-morgue__autopsy-print-preview-confirmation__systemTextArea___Okbbm,.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 .-esm-morgue__autopsy-print-preview-confirmation__nameValue___hY4Vt{border:2px solid #000;background-color:#fff}.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 .-esm-morgue__autopsy-print-preview-confirmation__checkbox___9jujU{border:3px solid #000}.-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8 .-esm-morgue__autopsy-print-preview-confirmation__footerDetails___y55IW{color:#000;border-top:2px solid #000}}',"",{version:3,sources:["webpack://./src/modals/autopsy-report/autopsy-print-preview-confirmation.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/colors/index.scss"],names:[],mappings:"AAIA,oEACE,cC+BW,CD9BX,kBCyBW,CDxBX,qBEEM,CAAA,aFLR,oEAMI,SAAA,CACA,QAAA,CACA,qBEHI,CAAA,CFOR,6EACE,kBCcW,CDZX,aAHF,6EAII,YAAA,CAAA,CAKF,aADF,kEAEI,uBAAA,CAAA,CAIJ,2EACE,qBEtBM,CFuBN,WAAA,CACA,gBAAA,CACA,aAAA,CACA,YAAA,CACA,qBAAA,CACA,mCAAA,CACA,cAAA,CACA,eAAA,CACA,UEhCM,CFiCN,kCAAA,CAEA,aAbF,2EAcI,UAAA,CACA,WAAA,CACA,YAAA,CACA,QAAA,CACA,eAAA,CACA,WAAA,CACA,sBAAA,CACA,uBAAA,CAAA,CAIJ,0EACE,iBAAA,CACA,oBCrBW,CDsBX,qBChCW,CDiCX,6BAAA,CAEA,aANF,0EAOI,6BAAA,CAAA,CAIJ,0EACE,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,UCtDW,CDyDb,uEACE,eAAA,CACA,UEnEM,CFoEN,wBAAA,CACA,oBAAA,CACA,oBC9DW,CD+DX,cAAA,CACA,mCAAA,CAEA,aATF,uEAUI,UE3EI,CAAA,CF+ER,kEACE,eAAA,CACA,UEjFM,CFkFN,wBAAA,CACA,kBAAA,CACA,cAAA,C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qBAAA,CAEA,uNACE,oBAAA,CACA,qBAAA,CAIJ,sNACE,yBAAA,CACA,yBAAA,CACA,qBAAA,CAGF,gNACE,0BAAA,CACA,yBAAA,CAKN,4EACE,uBAAA,CACA,uBAAA,CACA,0BAAA,CACA,0BAAA,CACA,oCAAA,CAGF,yEACE,uBAAA,CACA,4BAAA,CAGF,uEACE,wBAAA,CAEA,iaAGE,+BAAA,CACA,oBAAA,CACA,0BAAA,CACA,qBAAA,CAEA,kcACE,yBAAA,CAKN,oEACE,yBAAA,CACA,0BAAA,CACA,yBAAA,CACA,uCAAA,CAGF,wEACE,uCAAA,CACA,qBAAA,CACA,yBAAA,CAGF,2EACE,yBAAA,CACA,yBAAA,CAGF,iEACE,cAAA,CACA,QAAA,CACA,MAAA,CACA,OAAA,CACA,wBAAA,CACA,yBAAA,CACA,oCAAA,CACA,0BAAA,CACA,uBAAA,CAGF,qEACE,wBAAA,CACA,0BAAA,CACA,4BAAA,CACA,qBAAA,CAGF,wEACE,wBAAA,CACA,qBAAA,CACA,0BAAA,CACA,0BAAA,CACA,qCAAA,CAEA,4EACE,4BAAA,CAEA,uFACE,0BAAA,CAKN,gNAGE,uBAAA,CAGF,6JACE,sBAAA,CAGF,4EACE,iBAAA,CAAA,CAGJ,+BAEI,+sBAKE,qBAAA,CACA,qBErrBE,CFwrBJ,8IACE,qBAAA,CAGF,mJACE,UE9rBE,CF+rBF,yBAAA,CAAA",sourcesContent:["@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@carbon/type';\n\n.container {\n padding: layout.$spacing-06;\n margin-bottom: layout.$spacing-05;\n background-color: colors.$white;\n\n @media print {\n padding: 0;\n margin: 0;\n background-color: colors.$white;\n }\n}\n\n.encounterSelection {\n margin-bottom: layout.$spacing-05;\n\n @media print {\n display: none;\n }\n}\n\n.noPrint {\n @media print {\n display: none !important;\n }\n}\n\n.printableContent {\n background-color: colors.$white;\n width: 210mm;\n min-height: 297mm;\n margin: 0 auto;\n padding: 20mm;\n box-sizing: border-box;\n font-family: 'Times New Roman', serif;\n font-size: 11px;\n line-height: 1.4;\n color: colors.$black;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n\n @media print {\n width: 100%;\n height: 100%;\n padding: 15mm;\n margin: 0;\n box-shadow: none;\n border: none;\n page-break-after: avoid;\n page-break-before: avoid;\n }\n}\n\n.printableHeader {\n text-align: center;\n margin-bottom: layout.$spacing-06;\n padding-bottom: layout.$spacing-04;\n border-bottom: 3px double colors.$black;\n\n @media print {\n border-bottom: 3px double colors.$black;\n }\n}\n\n.facilityDetails {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: layout.$spacing-02;\n}\n\n.facilityName {\n font-weight: 700;\n color: colors.$black;\n text-transform: uppercase;\n letter-spacing: 1.5px;\n margin-bottom: layout.$spacing-02;\n font-size: 16px;\n font-family: 'Times New Roman', serif;\n\n @media print {\n color: colors.$black;\n }\n}\n\n.heading {\n font-weight: 700;\n color: colors.$black;\n text-transform: uppercase;\n letter-spacing: 1px;\n font-size: 14px;\n margin-bottom: layout.$spacing-02;\n text-decoration: underline;\n\n @media print {\n color: colors.$black;\n }\n}\n\n.subheading {\n font-weight: 500;\n color: colors.$black;\n font-size: 12px;\n font-style: italic;\n}\n\n.printableBody {\n display: flex;\n flex-direction: column;\n gap: layout.$spacing-05;\n}\n\n.formSection {\n margin-bottom: layout.$spacing-05;\n page-break-inside: avoid;\n}\n\n.sectionTitle {\n font-weight: 700;\n color: colors.$black;\n font-size: 12px;\n margin-bottom: layout.$spacing-04;\n padding: layout.$spacing-02 0;\n border-bottom: 2px solid colors.$black;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n\n @media print {\n color: colors.$black;\n border-bottom: 2px solid colors.$black;\n }\n}\n\n.sectionSubtitle {\n font-size: 10px;\n color: colors.$black;\n margin-bottom: layout.$spacing-03;\n font-style: italic;\n line-height: 1.3;\n}\n\n.fieldGroup {\n display: flex;\n flex-direction: column;\n gap: layout.$spacing-04;\n}\n\n.fieldRow {\n display: flex;\n gap: layout.$spacing-05;\n align-items: flex-start;\n margin-bottom: layout.$spacing-03;\n}\n\n.field {\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: layout.$spacing-02;\n}\n\n.fieldWide {\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: layout.$spacing-02;\n margin-bottom: layout.$spacing-03;\n}\n\n.systemRow {\n margin-bottom: layout.$spacing-04;\n page-break-inside: avoid;\n}\n\n.systemField {\n display: flex;\n flex-direction: column;\n gap: layout.$spacing-02;\n}\n\n.label {\n font-weight: 600;\n color: colors.$black;\n font-size: 11px;\n line-height: 1.2;\n margin-bottom: layout.$spacing-01;\n}\n\n.required {\n color: colors.$red-60;\n margin-left: 2px;\n}\n\n.value {\n color: colors.$black;\n font-size: 11px;\n padding: layout.$spacing-02;\n border-bottom: 1px solid colors.$black;\n min-height: layout.$spacing-05;\n display: flex;\n align-items: center;\n background-color: colors.$white;\n}\n\n.textArea {\n color: colors.$black;\n font-size: 11px;\n padding: layout.$spacing-03;\n border: 1px solid colors.$black;\n min-height: layout.$spacing-07;\n background-color: colors.$white;\n line-height: 1.4;\n}\n\n.largeTextArea {\n color: colors.$black;\n font-size: 11px;\n padding: layout.$spacing-03;\n border: 1px solid colors.$black;\n min-height: 60px;\n background-color: colors.$white;\n line-height: 1.4;\n}\n\n.systemTextArea {\n color: colors.$black;\n font-size: 11px;\n padding: layout.$spacing-03;\n border: 1px solid colors.$black;\n min-height: 40px;\n background-color: colors.$white;\n line-height: 1.4;\n}\n\n.underlineField {\n border-bottom: 1px solid colors.$black;\n min-height: layout.$spacing-05;\n width: 100%;\n}\n\n.checkboxGroup {\n display: flex;\n gap: layout.$spacing-04;\n flex-wrap: wrap;\n margin-top: layout.$spacing-02;\n}\n\n.checkboxOption {\n display: flex;\n align-items: center;\n gap: layout.$spacing-02;\n margin-right: layout.$spacing-04;\n}\n\n.checkbox {\n width: 16px;\n height: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n width: 16px;\n height: 16px;\n fill: colors.$black;\n }\n}\n\n.optionLabel {\n color: colors.$black;\n font-size: 11px;\n font-weight: 500;\n}\n\n.specimenGrid {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: layout.$spacing-04;\n margin-top: layout.$spacing-03;\n}\n\n.specimenOption {\n display: flex;\n align-items: flex-start;\n gap: layout.$spacing-02;\n padding: layout.$spacing-02 0;\n\n .field {\n margin-top: layout.$spacing-02;\n }\n}\n\n.signaturesSection {\n margin-top: layout.$spacing-07;\n padding-top: layout.$spacing-05;\n border-top: 2px solid colors.$black;\n page-break-inside: avoid;\n}\n\n.signatureBlock {\n margin-bottom: layout.$spacing-06;\n page-break-inside: avoid;\n}\n\n.signatureRow {\n display: grid;\n grid-template-columns: 2fr 1.5fr 1fr;\n gap: layout.$spacing-05;\n align-items: end;\n padding: layout.$spacing-03 0;\n}\n\n.nameField,\n.signField,\n.dateField {\n display: flex;\n flex-direction: column;\n gap: layout.$spacing-02;\n}\n\n.signatureLine {\n border-bottom: 1px solid colors.$black;\n height: layout.$spacing-05;\n width: 100%;\n margin-top: layout.$spacing-02;\n}\n\n.qualificationRow {\n display: flex;\n align-items: center;\n gap: layout.$spacing-03;\n margin-top: layout.$spacing-03;\n}\n\n.qualificationLine {\n border-bottom: 1px solid colors.$black;\n height: layout.$spacing-05;\n flex: 1;\n}\n\n.nameValue {\n color: colors.$black;\n border-bottom: 1px solid colors.$black;\n padding: layout.$spacing-02;\n min-height: layout.$spacing-05;\n display: flex;\n align-items: center;\n font-size: 11px;\n font-weight: 500;\n}\n\n.btnSet {\n width: 100%;\n margin-top: layout.$spacing-05;\n}\n\n.footer {\n margin-top: layout.$spacing-07;\n padding-top: layout.$spacing-05;\n border-top: 1px solid colors.$black;\n text-align: center;\n page-break-inside: avoid;\n}\n\n.footerText {\n font-size: 10px;\n color: colors.$black;\n font-style: italic;\n line-height: 1.4;\n margin-bottom: layout.$spacing-04;\n}\n\n.footerDetails {\n margin-top: layout.$spacing-04;\n padding-top: layout.$spacing-03;\n border-top: 1px solid colors.$gray-30;\n font-size: 9px;\n color: colors.$gray-70;\n text-align: center;\n line-height: 1.3;\n\n div {\n margin-bottom: layout.$spacing-02;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n}\n\n.printableContent {\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-family: 'Times New Roman', serif;\n font-weight: 700;\n }\n\n p,\n span,\n div {\n font-family: 'Times New Roman', serif;\n }\n\n .referenceNumber {\n font-weight: 700;\n text-transform: uppercase;\n }\n\n .sealPlaceholder {\n width: 60px;\n height: 60px;\n border: 2px solid colors.$black;\n border-radius: 50%;\n margin: 0 auto layout.$spacing-03;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 8px;\n text-align: center;\n }\n}\n\n@media print {\n @page {\n size: A4;\n margin: 15mm 20mm 20mm 20mm;\n\n @top-center {\n content: '';\n }\n\n @bottom-center {\n content: '';\n }\n }\n\n * {\n -webkit-print-color-adjust: exact !important;\n print-color-adjust: exact !important;\n }\n\n body {\n margin: 0;\n padding: 0;\n background: white !important;\n }\n\n body * {\n visibility: hidden;\n }\n\n .printableContent,\n .printableContent * {\n visibility: visible;\n }\n\n .printableContent {\n position: absolute;\n left: 0;\n top: 0;\n width: 100% !important;\n height: auto !important;\n margin: 0 !important;\n padding: 0 !important;\n box-shadow: none !important;\n border: none !important;\n background: white !important;\n font-size: 11pt !important;\n line-height: 1.3 !important;\n }\n\n .printableHeader {\n margin-bottom: 8mm !important;\n padding-bottom: 3mm !important;\n page-break-after: avoid;\n }\n\n .facilityName {\n font-size: 14pt !important;\n margin-bottom: 2mm !important;\n }\n\n .heading {\n font-size: 12pt !important;\n margin-bottom: 2mm !important;\n }\n\n .subheading {\n font-size: 10pt !important;\n }\n\n .formSection {\n page-break-inside: avoid;\n margin-bottom: 6mm !important;\n\n &:last-of-type {\n margin-bottom: 0 !important;\n }\n }\n\n .sectionTitle {\n page-break-after: avoid;\n font-size: 11pt !important;\n margin-bottom: 3mm !important;\n padding: 1mm 0 !important;\n }\n\n .sectionSubtitle {\n font-size: 9pt !important;\n margin-bottom: 2mm !important;\n }\n\n .fieldRow {\n page-break-inside: avoid;\n margin-bottom: 2mm !important;\n }\n\n .field,\n .fieldWide {\n margin-bottom: 1mm !important;\n }\n\n .label {\n font-size: 10pt !important;\n font-weight: 600 !important;\n margin-bottom: 0.5mm !important;\n }\n\n .value {\n font-size: 10pt !important;\n padding: 1mm 2mm !important;\n min-height: 4mm !important;\n border-bottom: 1pt solid black !important;\n }\n\n .textArea,\n .largeTextArea {\n min-height: 12mm !important;\n padding: 2mm !important;\n border: 1pt solid black !important;\n font-size: 10pt !important;\n line-height: 1.2 !important;\n }\n\n .systemTextArea {\n min-height: 10mm !important;\n padding: 2mm !important;\n border: 1pt solid black !important;\n font-size: 10pt !important;\n line-height: 1.2 !important;\n }\n\n .systemRow {\n page-break-inside: avoid;\n margin-bottom: 3mm !important;\n }\n\n .specimenGrid {\n display: block !important;\n\n .specimenOption {\n display: block !important;\n margin-bottom: 2mm !important;\n page-break-inside: avoid;\n\n .checkbox {\n display: inline-block !important;\n width: 3mm !important;\n height: 3mm !important;\n margin-right: 2mm !important;\n vertical-align: middle;\n\n svg {\n width: 3mm !important;\n height: 3mm !important;\n }\n }\n\n .optionLabel {\n font-size: 10pt !important;\n display: inline !important;\n vertical-align: middle;\n }\n\n .field {\n margin-left: 5mm !important;\n margin-top: 1mm !important;\n }\n }\n }\n\n .signaturesSection {\n page-break-before: avoid;\n page-break-inside: avoid;\n margin-top: 10mm !important;\n padding-top: 5mm !important;\n border-top: 2pt solid black !important;\n }\n\n .signatureBlock {\n page-break-inside: avoid;\n margin-bottom: 8mm !important;\n }\n\n .signatureRow {\n display: block !important;\n\n .nameField,\n .signField,\n .dateField {\n display: inline-block !important;\n width: 30% !important;\n margin-right: 3% !important;\n vertical-align: bottom;\n\n &:last-child {\n margin-right: 0 !important;\n }\n }\n }\n\n .nameValue {\n font-size: 10pt !important;\n padding: 1mm 2mm !important;\n min-height: 4mm !important;\n border-bottom: 1pt solid black !important;\n }\n\n .signatureLine {\n border-bottom: 1pt solid black !important;\n height: 4mm !important;\n margin-top: 1mm !important;\n }\n\n .qualificationRow {\n margin-top: 2mm !important;\n font-size: 10pt !important;\n }\n\n .footer {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n padding: 3mm 0 !important;\n margin-top: 8mm !important;\n border-top: 1pt solid black !important;\n background: white !important;\n page-break-inside: avoid;\n }\n\n .footerText {\n font-size: 9pt !important;\n line-height: 1.2 !important;\n margin-bottom: 2mm !important;\n color: black !important;\n }\n\n .footerDetails {\n font-size: 8pt !important;\n color: black !important;\n line-height: 1.1 !important;\n padding-top: 1mm !important;\n border-top: 0.5pt solid #666 !important;\n\n div {\n margin-bottom: 1mm !important;\n\n &:last-child {\n margin-bottom: 0 !important;\n }\n }\n }\n\n .encounterSelection,\n .btnSet,\n .noPrint {\n display: none !important;\n }\n\n .printableBody > .formSection:nth-child(n + 8) {\n page-break-before: auto;\n }\n\n .signaturesSection {\n break-before: auto;\n }\n}\n@media (prefers-contrast: high) {\n .printableContent {\n .value,\n .textArea,\n .largeTextArea,\n .systemTextArea,\n .nameValue {\n border: 2px solid colors.$black;\n background-color: colors.$white;\n }\n\n .checkbox {\n border: 3px solid colors.$black;\n }\n\n .footerDetails {\n color: colors.$black;\n border-top: 2px solid colors.$black;\n }\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","// Code generated by @carbon/colors. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n$black: #000000 !default;\n$white: #ffffff !default;\n\n$black-100: #000000 !default;\n$blue-10: #edf5ff !default;\n$blue-20: #d0e2ff !default;\n$blue-30: #a6c8ff !default;\n$blue-40: #78a9ff !default;\n$blue-50: #4589ff !default;\n$blue-60: #0f62fe !default;\n$blue-70: #0043ce !default;\n$blue-80: #002d9c !default;\n$blue-90: #001d6c !default;\n$blue-100: #001141 !default;\n$cool-gray-10: #f2f4f8 !default;\n$cool-gray-20: #dde1e6 !default;\n$cool-gray-30: #c1c7cd !default;\n$cool-gray-40: #a2a9b0 !default;\n$cool-gray-50: #878d96 !default;\n$cool-gray-60: #697077 !default;\n$cool-gray-70: #4d5358 !default;\n$cool-gray-80: #343a3f !default;\n$cool-gray-90: #21272a !default;\n$cool-gray-100: #121619 !default;\n$cyan-10: #e5f6ff !default;\n$cyan-20: #bae6ff !default;\n$cyan-30: #82cfff !default;\n$cyan-40: #33b1ff !default;\n$cyan-50: #1192e8 !default;\n$cyan-60: #0072c3 !default;\n$cyan-70: #00539a !default;\n$cyan-80: #003a6d !default;\n$cyan-90: #012749 !default;\n$cyan-100: #061727 !default;\n$gray-10: #f4f4f4 !default;\n$gray-20: #e0e0e0 !default;\n$gray-30: #c6c6c6 !default;\n$gray-40: #a8a8a8 !default;\n$gray-50: #8d8d8d !default;\n$gray-60: #6f6f6f !default;\n$gray-70: #525252 !default;\n$gray-80: #393939 !default;\n$gray-90: #262626 !default;\n$gray-100: #161616 !default;\n$green-10: #defbe6 !default;\n$green-20: #a7f0ba !default;\n$green-30: #6fdc8c !default;\n$green-40: #42be65 !default;\n$green-50: #24a148 !default;\n$green-60: #198038 !default;\n$green-70: #0e6027 !default;\n$green-80: #044317 !default;\n$green-90: #022d0d !default;\n$green-100: #071908 !default;\n$magenta-10: #fff0f7 !default;\n$magenta-20: #ffd6e8 !default;\n$magenta-30: #ffafd2 !default;\n$magenta-40: #ff7eb6 !default;\n$magenta-50: #ee5396 !default;\n$magenta-60: #d02670 !default;\n$magenta-70: #9f1853 !default;\n$magenta-80: #740937 !default;\n$magenta-90: #510224 !default;\n$magenta-100: #2a0a18 !default;\n$orange-10: #fff2e8 !default;\n$orange-20: #ffd9be !default;\n$orange-30: #ffb784 !default;\n$orange-40: #ff832b !default;\n$orange-50: #eb6200 !default;\n$orange-60: #ba4e00 !default;\n$orange-70: #8a3800 !default;\n$orange-80: #5e2900 !default;\n$orange-90: #3e1a00 !default;\n$orange-100: #231000 !default;\n$purple-10: #f6f2ff !default;\n$purple-20: #e8daff !default;\n$purple-30: #d4bbff !default;\n$purple-40: #be95ff !default;\n$purple-50: #a56eff !default;\n$purple-60: #8a3ffc !default;\n$purple-70: #6929c4 !default;\n$purple-80: #491d8b !default;\n$purple-90: #31135e !default;\n$purple-100: #1c0f30 !default;\n$red-10: #fff1f1 !default;\n$red-20: #ffd7d9 !default;\n$red-30: #ffb3b8 !default;\n$red-40: #ff8389 !default;\n$red-50: #fa4d56 !default;\n$red-60: #da1e28 !default;\n$red-70: #a2191f !default;\n$red-80: #750e13 !default;\n$red-90: #520408 !default;\n$red-100: #2d0709 !default;\n$teal-10: #d9fbfb !default;\n$teal-20: #9ef0f0 !default;\n$teal-30: #3ddbd9 !default;\n$teal-40: #08bdba !default;\n$teal-50: #009d9a !default;\n$teal-60: #007d79 !default;\n$teal-70: #005d5d !default;\n$teal-80: #004144 !default;\n$teal-90: #022b30 !default;\n$teal-100: #081a1c !default;\n$warm-gray-10: #f7f3f2 !default;\n$warm-gray-20: #e5e0df !default;\n$warm-gray-30: #cac5c4 !default;\n$warm-gray-40: #ada8a8 !default;\n$warm-gray-50: #8f8b8b !default;\n$warm-gray-60: #726e6e !default;\n$warm-gray-70: #565151 !default;\n$warm-gray-80: #3c3838 !default;\n$warm-gray-90: #272525 !default;\n$warm-gray-100: #171414 !default;\n$white-0: #ffffff !default;\n$yellow-10: #fcf4d6 !default;\n$yellow-20: #fddc69 !default;\n$yellow-30: #f1c21b !default;\n$yellow-40: #d2a106 !default;\n$yellow-50: #b28600 !default;\n$yellow-60: #8e6a00 !default;\n$yellow-70: #684e00 !default;\n$yellow-80: #483700 !default;\n$yellow-90: #302400 !default;\n$yellow-100: #1c1500 !default;\n\n$white-hover: #e8e8e8 !default;\n$black-hover: #212121 !default;\n$blue-10-hover: #dbebff !default;\n$blue-20-hover: #b8d3ff !default;\n$blue-30-hover: #8ab6ff !default;\n$blue-40-hover: #5c97ff !default;\n$blue-50-hover: #1f70ff !default;\n$blue-60-hover: #0050e6 !default;\n$blue-70-hover: #0053ff !default;\n$blue-80-hover: #0039c7 !default;\n$blue-90-hover: #00258a !default;\n$blue-100-hover: #001f75 !default;\n$cool-gray-10-hover: #e4e9f1 !default;\n$cool-gray-20-hover: #cdd3da !default;\n$cool-gray-30-hover: #adb5bd !default;\n$cool-gray-40-hover: #9199a1 !default;\n$cool-gray-50-hover: #757b85 !default;\n$cool-gray-60-hover: #585e64 !default;\n$cool-gray-70-hover: #5d646a !default;\n$cool-gray-80-hover: #434a51 !default;\n$cool-gray-90-hover: #2b3236 !default;\n$cool-gray-100-hover: #222a2f !default;\n$cyan-10-hover: #cceeff !default;\n$cyan-20-hover: #99daff !default;\n$cyan-30-hover: #57beff !default;\n$cyan-40-hover: #059fff !default;\n$cyan-50-hover: #0f7ec8 !default;\n$cyan-60-hover: #005fa3 !default;\n$cyan-70-hover: #0066bd !default;\n$cyan-80-hover: #00498a !default;\n$cyan-90-hover: #013360 !default;\n$cyan-100-hover: #0b2947 !default;\n$gray-10-hover: #e8e8e8 !default;\n$gray-20-hover: #d1d1d1 !default;\n$gray-30-hover: #b5b5b5 !default;\n$gray-40-hover: #999999 !default;\n$gray-50-hover: #7a7a7a !default;\n$gray-60-hover: #5e5e5e !default;\n$gray-70-hover: #636363 !default;\n$gray-80-hover: #474747 !default;\n$gray-90-hover: #333333 !default;\n$gray-100-hover: #292929 !default;\n$green-10-hover: #b6f6c8 !default;\n$green-20-hover: #74e792 !default;\n$green-30-hover: #36ce5e !default;\n$green-40-hover: #3bab5a !default;\n$green-50-hover: #208e3f !default;\n$green-60-hover: #166f31 !default;\n$green-70-hover: #11742f !default;\n$green-80-hover: #05521c !default;\n$green-90-hover: #033b11 !default;\n$green-100-hover: #0d300f !default;\n$magenta-10-hover: #ffe0ef !default;\n$magenta-20-hover: #ffbdda !default;\n$magenta-30-hover: #ff94c3 !default;\n$magenta-40-hover: #ff57a0 !default;\n$magenta-50-hover: #e3176f !default;\n$magenta-60-hover: #b0215f !default;\n$magenta-70-hover: #bf1d63 !default;\n$magenta-80-hover: #8e0b43 !default;\n$magenta-90-hover: #68032e !default;\n$magenta-100-hover: #53142f !default;\n$orange-10-hover: #ffe2cc !default;\n$orange-20-hover: #ffc69e !default;\n$orange-30-hover: #ff9d57 !default;\n$orange-40-hover: #fa6800 !default;\n$orange-50-hover: #cc5500 !default;\n$orange-60-hover: #9e4200 !default;\n$orange-70-hover: #a84400 !default;\n$orange-80-hover: #753300 !default;\n$orange-90-hover: #522200 !default;\n$orange-100-hover: #421e00 !default;\n$purple-10-hover: #ede5ff !default;\n$purple-20-hover: #dcc7ff !default;\n$purple-30-hover: #c5a3ff !default;\n$purple-40-hover: #ae7aff !default;\n$purple-50-hover: #9352ff !default;\n$purple-60-hover: #7822fb !default;\n$purple-70-hover: #7c3dd6 !default;\n$purple-80-hover: #5b24ad !default;\n$purple-90-hover: #40197b !default;\n$purple-100-hover: #341c59 !default;\n$red-10-hover: #ffe0e0 !default;\n$red-20-hover: #ffc2c5 !default;\n$red-30-hover: #ff99a0 !default;\n$red-40-hover: #ff6168 !default;\n$red-50-hover: #ee0713 !default;\n$red-60-hover: #b81922 !default;\n$red-70-hover: #c21e25 !default;\n$red-80-hover: #921118 !default;\n$red-90-hover: #66050a !default;\n$red-100-hover: #540d11 !default;\n$teal-10-hover: #acf6f6 !default;\n$teal-20-hover: #57e5e5 !default;\n$teal-30-hover: #25cac8 !default;\n$teal-40-hover: #07aba9 !default;\n$teal-50-hover: #008a87 !default;\n$teal-60-hover: #006b68 !default;\n$teal-70-hover: #007070 !default;\n$teal-80-hover: #005357 !default;\n$teal-90-hover: #033940 !default;\n$teal-100-hover: #0f3034 !default;\n$warm-gray-10-hover: #f0e8e6 !default;\n$warm-gray-20-hover: #d8d0cf !default;\n$warm-gray-30-hover: #b9b3b1 !default;\n$warm-gray-40-hover: #9c9696 !default;\n$warm-gray-50-hover: #7f7b7b !default;\n$warm-gray-60-hover: #605d5d !default;\n$warm-gray-70-hover: #696363 !default;\n$warm-gray-80-hover: #4c4848 !default;\n$warm-gray-90-hover: #343232 !default;\n$warm-gray-100-hover: #2c2626 !default;\n$yellow-10-hover: #f8e6a0 !default;\n$yellow-20-hover: #fccd27 !default;\n$yellow-30-hover: #ddb00e !default;\n$yellow-40-hover: #bc9005 !default;\n$yellow-50-hover: #9e7700 !default;\n$yellow-60-hover: #755800 !default;\n$yellow-70-hover: #806000 !default;\n$yellow-80-hover: #5c4600 !default;\n$yellow-90-hover: #3d2e00 !default;\n$yellow-100-hover: #332600 !default;\n\n/// Colors from the IBM Design Language\n/// @access public\n/// @group @carbon/colors\n$colors: (\n black: (\n 100: #000000,\n ),\n blue: (\n 10: #edf5ff,\n 20: #d0e2ff,\n 30: #a6c8ff,\n 40: #78a9ff,\n 50: #4589ff,\n 60: #0f62fe,\n 70: #0043ce,\n 80: #002d9c,\n 90: #001d6c,\n 100: #001141,\n ),\n cool-gray: (\n 10: #f2f4f8,\n 20: #dde1e6,\n 30: #c1c7cd,\n 40: #a2a9b0,\n 50: #878d96,\n 60: #697077,\n 70: #4d5358,\n 80: #343a3f,\n 90: #21272a,\n 100: #121619,\n ),\n cyan: (\n 10: #e5f6ff,\n 20: #bae6ff,\n 30: #82cfff,\n 40: #33b1ff,\n 50: #1192e8,\n 60: #0072c3,\n 70: #00539a,\n 80: #003a6d,\n 90: #012749,\n 100: #061727,\n ),\n gray: (\n 10: #f4f4f4,\n 20: #e0e0e0,\n 30: #c6c6c6,\n 40: #a8a8a8,\n 50: #8d8d8d,\n 60: #6f6f6f,\n 70: #525252,\n 80: #393939,\n 90: #262626,\n 100: #161616,\n ),\n green: (\n 10: #defbe6,\n 20: #a7f0ba,\n 30: #6fdc8c,\n 40: #42be65,\n 50: #24a148,\n 60: #198038,\n 70: #0e6027,\n 80: #044317,\n 90: #022d0d,\n 100: #071908,\n ),\n magenta: (\n 10: #fff0f7,\n 20: #ffd6e8,\n 30: #ffafd2,\n 40: #ff7eb6,\n 50: #ee5396,\n 60: #d02670,\n 70: #9f1853,\n 80: #740937,\n 90: #510224,\n 100: #2a0a18,\n ),\n orange: (\n 10: #fff2e8,\n 20: #ffd9be,\n 30: #ffb784,\n 40: #ff832b,\n 50: #eb6200,\n 60: #ba4e00,\n 70: #8a3800,\n 80: #5e2900,\n 90: #3e1a00,\n 100: #231000,\n ),\n purple: (\n 10: #f6f2ff,\n 20: #e8daff,\n 30: #d4bbff,\n 40: #be95ff,\n 50: #a56eff,\n 60: #8a3ffc,\n 70: #6929c4,\n 80: #491d8b,\n 90: #31135e,\n 100: #1c0f30,\n ),\n red: (\n 10: #fff1f1,\n 20: #ffd7d9,\n 30: #ffb3b8,\n 40: #ff8389,\n 50: #fa4d56,\n 60: #da1e28,\n 70: #a2191f,\n 80: #750e13,\n 90: #520408,\n 100: #2d0709,\n ),\n teal: (\n 10: #d9fbfb,\n 20: #9ef0f0,\n 30: #3ddbd9,\n 40: #08bdba,\n 50: #009d9a,\n 60: #007d79,\n 70: #005d5d,\n 80: #004144,\n 90: #022b30,\n 100: #081a1c,\n ),\n warm-gray: (\n 10: #f7f3f2,\n 20: #e5e0df,\n 30: #cac5c4,\n 40: #ada8a8,\n 50: #8f8b8b,\n 60: #726e6e,\n 70: #565151,\n 80: #3c3838,\n 90: #272525,\n 100: #171414,\n ),\n white: (\n 0: #ffffff,\n ),\n yellow: (\n 10: #fcf4d6,\n 20: #fddc69,\n 30: #f1c21b,\n 40: #d2a106,\n 50: #b28600,\n 60: #8e6a00,\n 70: #684e00,\n 80: #483700,\n 90: #302400,\n 100: #1c1500,\n ),\n) !default;\n"],sourceRoot:""}]),o.locals={container:"-esm-morgue__autopsy-print-preview-confirmation__container___US9wN",encounterSelection:"-esm-morgue__autopsy-print-preview-confirmation__encounterSelection___NkSiS",noPrint:"-esm-morgue__autopsy-print-preview-confirmation__noPrint___O5q7D",printableContent:"-esm-morgue__autopsy-print-preview-confirmation__printableContent___hQWj8",printableHeader:"-esm-morgue__autopsy-print-preview-confirmation__printableHeader___Bc--k",facilityDetails:"-esm-morgue__autopsy-print-preview-confirmation__facilityDetails___SC4Fn",facilityName:"-esm-morgue__autopsy-print-preview-confirmation__facilityName___ACMPp",heading:"-esm-morgue__autopsy-print-preview-confirmation__heading___fnPz8",subheading:"-esm-morgue__autopsy-print-preview-confirmation__subheading___+cLQu",printableBody:"-esm-morgue__autopsy-print-preview-confirmation__printableBody___bVmJ-",formSection:"-esm-morgue__autopsy-print-preview-confirmation__formSection___Xo3aJ",sectionTitle:"-esm-morgue__autopsy-print-preview-confirmation__sectionTitle___7Scrr",sectionSubtitle:"-esm-morgue__autopsy-print-preview-confirmation__sectionSubtitle___b-QAw",fieldGroup:"-esm-morgue__autopsy-print-preview-confirmation__fieldGroup___bNrXB",fieldRow:"-esm-morgue__autopsy-print-preview-confirmation__fieldRow___VM57O",field:"-esm-morgue__autopsy-print-preview-confirmation__field___adTeY",fieldWide:"-esm-morgue__autopsy-print-preview-confirmation__fieldWide___+yjzF",systemRow:"-esm-morgue__autopsy-print-preview-confirmation__systemRow___iuBIJ",systemField:"-esm-morgue__autopsy-print-preview-confirmation__systemField___Pbl5N",label:"-esm-morgue__autopsy-print-preview-confirmation__label___tbkv+",required:"-esm-morgue__autopsy-print-preview-confirmation__required___kk6X+",value:"-esm-morgue__autopsy-print-preview-confirmation__value___MuAL-",textArea:"-esm-morgue__autopsy-print-preview-confirmation__textArea___b0EVv",largeTextArea:"-esm-morgue__autopsy-print-preview-confirmation__largeTextArea___0wFiC",systemTextArea:"-esm-morgue__autopsy-print-preview-confirmation__systemTextArea___Okbbm",underlineField:"-esm-morgue__autopsy-print-preview-confirmation__underlineField___GThue",checkboxGroup:"-esm-morgue__autopsy-print-preview-confirmation__checkboxGroup___JgS9k",checkboxOption:"-esm-morgue__autopsy-print-preview-confirmation__checkboxOption___2Y-68",checkbox:"-esm-morgue__autopsy-print-preview-confirmation__checkbox___9jujU",optionLabel:"-esm-morgue__autopsy-print-preview-confirmation__optionLabel___LIC-q",specimenGrid:"-esm-morgue__autopsy-print-preview-confirmation__specimenGrid___54Hb1",specimenOption:"-esm-morgue__autopsy-print-preview-confirmation__specimenOption___-9gxT",signaturesSection:"-esm-morgue__autopsy-print-preview-confirmation__signaturesSection___EMYZ4",signatureBlock:"-esm-morgue__autopsy-print-preview-confirmation__signatureBlock___vhISp",signatureRow:"-esm-morgue__autopsy-print-preview-confirmation__signatureRow___o1WDT",nameField:"-esm-morgue__autopsy-print-preview-confirmation__nameField___yfJt6",signField:"-esm-morgue__autopsy-print-preview-confirmation__signField___PRp0h",dateField:"-esm-morgue__autopsy-print-preview-confirmation__dateField___QFAqK",signatureLine:"-esm-morgue__autopsy-print-preview-confirmation__signatureLine___qZsFK",qualificationRow:"-esm-morgue__autopsy-print-preview-confirmation__qualificationRow___-zkFe",qualificationLine:"-esm-morgue__autopsy-print-preview-confirmation__qualificationLine___L3Gqx",nameValue:"-esm-morgue__autopsy-print-preview-confirmation__nameValue___hY4Vt",btnSet:"-esm-morgue__autopsy-print-preview-confirmation__btnSet___RDkdc",footer:"-esm-morgue__autopsy-print-preview-confirmation__footer___DoNTk",footerText:"-esm-morgue__autopsy-print-preview-confirmation__footerText___x5bSs",footerDetails:"-esm-morgue__autopsy-print-preview-confirmation__footerDetails___y55IW",referenceNumber:"-esm-morgue__autopsy-print-preview-confirmation__referenceNumber___lmi7P",sealPlaceholder:"-esm-morgue__autopsy-print-preview-confirmation__sealPlaceholder___7JAQs"};let l=o},36999:function(e,n,t){"use strict";var a=t(36848);function i(){}function r(){}r.resetWarningCache=i,e.exports=function(){function e(e,n,t,i,r,o){if(o!==a){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:i};return t.PropTypes=t,t}},39067:function(e,n,t){e.exports=t(36999)()},36848:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},73957:function(e,n,t){"use strict";t.d(n,{r:()=>r});var a=t(42722),i=t(13624),r=function(e){var n="".concat(a.restBaseUrl,"/person/").concat(e,"?v=").concat("custom:(uuid,display,gender,birthdate,dead,age,deathDate,causeOfDeath:(uuid,display))"),t=(0,i.Ay)(n,a.openmrsFetch),r=t.isLoading,o=t.error,l=t.data;return{isLoading:r,error:o,person:null==l?void 0:l.data}}},30170:function(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>S});var a=t(35400),i=t.n(a),r=t(58088),o=t(70438),l=t(30723),m=t(42722),s=t(72591),p=t.n(s),c=t(1740),A=t.n(c),d=t(88128),u=t.n(d),f=t(30855),_=t.n(f),g=t(93051),C=t.n(g),b=t(73656),y=t.n(b),v=t(27873),h={};h.styleTagTransform=y(),h.setAttributes=_(),h.insert=u().bind(null,"head"),h.domAPI=A(),h.insertStyleElement=C(),p()(v.A,h);let E=v.A&&v.A.locals?v.A.locals:void 0;var w=t(16891),$=t(60529),x=t(73957);function N(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function B(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,a,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,l=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),!n||r.length!==n);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(l)throw a}}return r}}(e,n)||k(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,n){if(e){if("string"==typeof e)return N(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return N(e,n)}}let S=function(e){var n,t,s,p,c,A,d,u,f,_,g=e.onClose,C=e.encounters,b=e.patientUuid,y=(0,r.useTranslation)().t,v=B((0,a.useState)(null),2),h=v[0],S=v[1],F=(0,a.useRef)(null),D=(0,m.useSession)(),T=D.sessionLocation,W=D.user,O=W?W.display:"",R=(0,x.r)(b).person,G=null==R||null==(_=R.causeOfDeath)?void 0:_.display,I=(0,a.useMemo)(function(){return new Date},[]),M=(0,a.useMemo)(function(){return((function(e){if(Array.isArray(e))return N(e)})(C)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(C)||k(C)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).sort(function(e,n){return new Date(null==n?void 0:n.encounterDatetime).getTime()-new Date(null==e?void 0:e.encounterDatetime).getTime()})},[C]),j=B((0,a.useState)(M[0]),2),z=j[0],P=j[1],q=(0,a.useMemo)(function(){return null==M?void 0:M.map(function(e){var n=new Date(null==e?void 0:e.encounterDatetime);return{id:null==e?void 0:e.uuid,text:"".concat((0,m.isOmrsDateToday)(n)),encounter:e}})},[M]),L=(0,l.useReactToPrint)({content:function(){return F.current},documentTitle:"Post-Mortem Report",onAfterPrint:function(){S(null)},onPrintError:function(e,n){S((null==n?void 0:n.message)||"An error occurred while printing")},pageStyle:"\n @page {\n size: A4;\n margin: 15mm;\n }\n "}),U=function(e){var n,t,a=null==z||null==(t=z.obs)?void 0:t.find(function(n){var t,a,i,r,o;return(null==(a=n.concept)||null==(t=a.display)?void 0:t.toLowerCase().includes(e.toLowerCase()))||(null==(o=n.concept)||null==(r=o.name)||null==(i=r.name)?void 0:i.toLowerCase().includes(e.toLowerCase()))});return(null==a?void 0:a.value)?"object"==((n=a.value)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)&&a.value.name&&a.value.name.name||String(a.value):""},Q={referenceNumber:U("VERBAL AUTOPSY REFERENCE NUMBER"),policeStation:U("Program name")||"",patientName:U("first name")||U("name")||(null==z||null==(n=z.display)?void 0:n.split(" - ")[1])||(null==z?void 0:z.display)||"",patientAddress:U("address")||U("Address"),age:U("age")||U("Age at death"),gender:U("gender")||U("respondent gender")||(null==z||null==(t=z.person)?void 0:t.gender)||"",height:U("Height"),locationOfDeath:U("Location of death"),witnessedBy:U("Witnessed by"),generalExamination:U("General examination"),physicalExam:U("PHYSICAL EXAM"),nutritionalStatus:U("Nutritional plan"),externalFindings:U("Face examination finding (text)"),headExamination:U("Patient-generated history: Head, ears, eyes, nose and throat section text"),respiratorySystem:U("Respiratory System status text"),cardiovascularSystem:U("Cardiovascular System Inspection"),nervousSystem:U("Nervous system examination"),spinalExamination:U("Spinal physical examination"),spinalCord:U("Result of spinal cord imaging study"),abdominalExamination:U("Abdominal examination"),upperGI:U("Upper gastrointestinal examination"),smallIntestine:U("Small intestine examination"),liverExamination:U("Liver examination"),kidneyExamination:U("Result of kidney or ureter exam"),urologicalExamination:U("Urological examination"),bloodSample:U("Peripheral Blood Film Examination"),causeOfDeath:U("Test result free text"),deathCertificate:U("Death certificate"),dateTimeRecorded:U("Date/time recorded"),verificationDateTime:U("Datetime of verification"),healthWorkerType:U("Health worker type"),freeTextGeneral:U("Free text general"),freeTextComment:U("Free text comment"),abdominalExaminationText:U("Abdominal examination (text)"),kidneyExaminationText:U("Result of kidney or ureter exam (text)"),smallIntestineText:U("Small intestine examination (text)")};return i().createElement(i().Fragment,null,i().createElement(o.ModalBody,null,i().createElement("div",{className:E.container},q.length>1&&i().createElement("div",{className:E.encounterSelection},i().createElement(o.Dropdown,{id:"date-selector",titleText:y("selectDate","Select Date"),label:y("chooseExaminationDate","Choose examination date"),items:q,selectedItem:q.find(function(e){return e.id===z.uuid}),itemToString:function(e){return e?e.text:""},onChange:function(e){var n=e.selectedItem;n&&P(n.encounter)}})),i().createElement("div",{ref:F,className:E.printableContent},i().createElement("div",{className:E.printableHeader},i().createElement("div",{className:E.facilityDetails},i().createElement("div",{className:E.facilityName},null==T?void 0:T.display),i().createElement("div",{className:E.heading},y("postMortemExaminationReport","Post Mortem Examination Report")),i().createElement("div",{className:E.subheading},y("deathInvestigationSection","(Death Investigation - Section 386 C.P.C)")))),i().createElement("div",{className:E.printableBody},i().createElement("div",{className:E.formSection},i().createElement("div",{className:E.fieldGroup},i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("referenceNo","Reference No:")),i().createElement("span",{className:E.value},Q.referenceNumber)),i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("date","Date:")),i().createElement("span",{className:E.value},(0,w.r6)(new Date(Date.now()))))))),i().createElement("div",{className:E.formSection},i().createElement("div",{className:E.fieldGroup},i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.fieldWide},i().createElement("span",{className:E.label},y("toOfficeInCharge","To: The Officer in Charge,")),i().createElement("span",{className:E.value},Q.policeStation))),i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.fieldWide},i().createElement("span",{className:E.label},y("address","Address:")),i().createElement("span",{className:E.value},Q.patientAddress))))),i().createElement("div",{className:E.formSection},i().createElement("div",{className:E.fieldGroup},i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.fieldWide},i().createElement("span",{className:E.label},y("ReferenceBodyOf","Reference Body of:")),i().createElement("span",{className:E.value},Q.patientName))))),i().createElement("div",{className:E.formSection},i().createElement("div",{className:E.sectionTitle},y("examinationDetails","Examination Details")),i().createElement("div",{className:E.fieldGroup},i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("placeOfPostMortem","Place of Post-Mortem:")),i().createElement("span",{className:E.value},(null==Q?void 0:Q.freeTextComment)||(null==T?void 0:T.display)))),i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("dateOfPostMortem","Date of Post-Mortem:")),i().createElement("span",{className:E.value},(0,m.formatDate)(new Date(null==z?void 0:z.encounterDatetime),{mode:"standard"}))),i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("timeOfPostMortem","Time of Post-Mortem:")),i().createElement("span",{className:E.value},new Date(null==z?void 0:z.encounterDatetime).toLocaleTimeString("en-US",{hour12:!1})))),i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("locationOfDeath","Location of Death:")),i().createElement("span",{className:E.value},null==Q?void 0:Q.locationOfDeath)),i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("witnessedBy","Witnessed by:")),i().createElement("span",{className:E.value},null==Q?void 0:Q.witnessedBy))))),i().createElement("div",{className:E.formSection},i().createElement("div",{className:E.sectionTitle},y("generalObservations","GENERAL OBSERVATIONS ON THE BODY")),i().createElement("div",{className:E.fieldGroup},i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("sex","Sex:")),i().createElement("span",{className:E.value},null==Q?void 0:Q.gender)),i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("race","Race:")),i().createElement("span",{className:E.value},null==Q?void 0:Q.freeTextGeneral))),i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("age","Age:")),i().createElement("span",{className:E.value},null==Q?void 0:Q.age)),i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("height","Height:")),i().createElement("span",{className:E.value},null==Q?void 0:Q.height))),i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("nutrition","Nutrition:")),i().createElement("span",{className:E.value},null==Q?void 0:Q.nutritionalStatus)),i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("physicalExam","Physique:")),i().createElement("span",{className:E.value},null==Q?void 0:Q.physicalExam))),i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.fieldWide},i().createElement("span",{className:E.label},y("clothing","Clothing:")),i().createElement("div",{className:E.largeTextArea},null==Q?void 0:Q.generalExamination))))),i().createElement("div",{className:E.formSection},i().createElement("div",{className:E.sectionTitle},y("externalExamination","External Examination")),i().createElement("div",{className:E.sectionSubtitle},y("externalExaminationNote","(Give details of condition, presence or absence of petechiae, cyanosis, etc., and position, nature and dimensions of all external injuries)")),i().createElement("div",{className:E.fieldGroup},i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.fieldWide},i().createElement("span",{className:E.label},y("findings","Findings:")),i().createElement("div",{className:E.largeTextArea},null==Q?void 0:Q.externalFindings))))),i().createElement("div",{className:E.formSection},i().createElement("div",{className:E.sectionTitle},y("internalExamination","Internal Examination")),i().createElement("div",{className:E.fieldGroup},i().createElement("div",{className:E.systemRow},i().createElement("div",{className:E.systemField},i().createElement("span",{className:E.label},y("head","Head:")),i().createElement("div",{className:E.systemTextArea},null==Q?void 0:Q.headExamination))),i().createElement("div",{className:E.systemRow},i().createElement("div",{className:E.systemField},i().createElement("span",{className:E.label},y("respiratorySystem","Respiratory System:")),i().createElement("div",{className:E.systemTextArea},Q.respiratorySystem))),i().createElement("div",{className:E.systemRow},i().createElement("div",{className:E.systemField},i().createElement("span",{className:E.label},y("cardiovascularSystem","Cardiovascular System:")),i().createElement("div",{className:E.systemTextArea},Q.cardiovascularSystem))),i().createElement("div",{className:E.systemRow},i().createElement("div",{className:E.systemField},i().createElement("span",{className:E.label},y("digestiveSystem","Digestive System:")),i().createElement("div",{className:E.systemTextArea},Q.abdominalExaminationText))),i().createElement("div",{className:E.systemRow},i().createElement("div",{className:E.systemField},i().createElement("span",{className:E.label},y("genitourinarySystem","Genitourinary System:")),i().createElement("div",{className:E.systemTextArea},Q.urologicalExamination))),i().createElement("div",{className:E.systemRow},i().createElement("div",{className:E.systemField},i().createElement("span",{className:E.label},y("nervousSystem","Nervous System:")),i().createElement("div",{className:E.systemTextArea},Q.nervousSystem))),i().createElement("div",{className:E.systemRow},i().createElement("div",{className:E.systemField},i().createElement("span",{className:E.label},y("spinalColumn","Spinal Column:")),i().createElement("div",{className:E.systemTextArea},Q.spinalExamination))),i().createElement("div",{className:E.systemRow},i().createElement("div",{className:E.systemField},i().createElement("span",{className:E.label},y("spinalCord","Spinal Cord:")),i().createElement("div",{className:E.systemTextArea},Q.spinalCord))))),i().createElement("div",{className:E.formSection},i().createElement("div",{className:E.fieldGroup},i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.fieldWide},i().createElement("span",{className:E.label},y("causeOfDeath","Cause of Death:")),i().createElement("div",{className:E.largeTextArea},G))))),i().createElement("div",{className:E.formSection},i().createElement("div",{className:E.sectionTitle},y("specimens","Specimens Collected for Analysis")),i().createElement("div",{className:E.sectionSubtitle},y("specimensNote","The following specimens have been collected for further examination:")),i().createElement("div",{className:E.fieldGroup},i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.fieldWide},i().createElement("span",{className:E.label},y("analysis","Analysis:")),i().createElement("div",{className:E.largeTextArea},Q.causeOfDeath)))),i().createElement("div",{className:E.fieldGroup},i().createElement("div",{className:E.specimenGrid},i().createElement("div",{className:E.specimenOption},i().createElement("span",{className:E.checkbox},Q.upperGI?i().createElement($.Dj,null):i().createElement($.Sc,null)),i().createElement("span",{className:E.optionLabel},y("stomach","Complete Stomach and contents:")),i().createElement("div",{className:E.field},i().createElement("span",{className:E.value},null==Q?void 0:Q.upperGI))),i().createElement("div",{className:E.specimenOption},i().createElement("span",{className:E.checkbox},Q.liverExamination?i().createElement($.Dj,null):i().createElement($.Sc,null)),i().createElement("span",{className:E.optionLabel},y("liver","Liver")),i().createElement("div",{className:E.field},i().createElement("span",{className:E.value},null==Q?void 0:Q.liverExamination))),i().createElement("div",{className:E.specimenOption},i().createElement("span",{className:E.checkbox},Q.smallIntestineText?i().createElement($.Dj,null):i().createElement($.Sc,null)),i().createElement("span",{className:E.optionLabel},y("upperPortionOfIntenstine","Upper portion of intestine and contents:")),i().createElement("div",{className:E.field},i().createElement("span",{className:E.value},null==Q?void 0:Q.smallIntestineText))),i().createElement("div",{className:E.specimenOption},i().createElement("span",{className:E.checkbox},Q.kidneyExaminationText?i().createElement($.Dj,null):i().createElement($.Sc,null)),i().createElement("span",{className:E.optionLabel},y("kidney","Kidney")),i().createElement("div",{className:E.field},i().createElement("span",{className:E.value},null==Q?void 0:Q.kidneyExaminationText))),i().createElement("div",{className:E.specimenOption},i().createElement("span",{className:E.checkbox},Q.bloodSample?i().createElement($.Dj,null):i().createElement($.Sc,null)),i().createElement("span",{className:E.optionLabel},y("blood","Blood")),i().createElement("div",{className:E.field},i().createElement("span",{className:E.value},null==Q?void 0:Q.bloodSample))),i().createElement("div",{className:E.specimenOption},i().createElement($.Sc,null),i().createElement("span",{className:E.optionLabel},y("vomit","Vomit")),i().createElement("div",{className:E.field},i().createElement("span",{className:E.value})))))),i().createElement("div",{className:E.formSection},i().createElement("div",{className:E.fieldGroup},i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.fieldWide},i().createElement("span",{className:E.label},y("opinionConclusion","As a result of my examination, I formed the opinion that the cause of death was:")),i().createElement("div",{className:E.largeTextArea}))))),i().createElement("div",{className:E.formSection},i().createElement("div",{className:E.fieldGroup},i().createElement("div",{className:E.fieldRow},i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("deathCertificateNo","Death Certificate No:")),i().createElement("span",{className:E.value},Q.deathCertificate)),i().createElement("div",{className:E.field},i().createElement("span",{className:E.label},y("issuedDate","Date Issued:")),i().createElement("span",{className:E.value},(0,w.r6)(new Date(Date.now()))))))),i().createElement("div",{className:E.signaturesSection},i().createElement("div",{className:E.signatureBlock},i().createElement("div",{className:E.signatureRow},i().createElement("div",{className:E.nameField},i().createElement("span",{className:E.label},y("examinedBy","Examined by:")),i().createElement("span",{className:E.nameValue},(null==z||null==(A=z.encounterProviders)||null==(c=A[0])||null==(p=c.provider)||null==(s=p.person)?void 0:s.display)||(null==z||null==(f=z.encounterProviders)||null==(u=f[0])||null==(d=u.provider)?void 0:d.name)||"")),i().createElement("div",{className:E.signField},i().createElement("span",{className:E.label},y("signature","Signature:")),i().createElement("div",{className:E.signatureLine})),i().createElement("div",{className:E.dateField},i().createElement("span",{className:E.label},y("date","Date:")),i().createElement("div",{className:E.signatureLine}))),i().createElement("div",{className:E.qualificationRow},i().createElement("span",{className:E.label},y("qualification","Qualification/Title:")),i().createElement("span",{className:E.value},Q.healthWorkerType))),i().createElement("div",{className:E.signatureBlock},i().createElement("div",{className:E.signatureRow},i().createElement("div",{className:E.nameField},i().createElement("span",{className:E.label},y("witnessedBy","Witnessed by:")),i().createElement("span",{className:E.nameValue},Q.witnessedBy)),i().createElement("div",{className:E.signField},i().createElement("span",{className:E.label},y("signature","Signature:")),i().createElement("div",{className:E.signatureLine})),i().createElement("div",{className:E.dateField},i().createElement("span",{className:E.label},y("date","Date:")),i().createElement("div",{className:E.signatureLine})))),i().createElement("div",{className:E.signatureBlock},i().createElement("div",{className:E.signatureRow},i().createElement("div",{className:E.nameField},i().createElement("span",{className:E.label},y("printedBy","Printed by:")),i().createElement("span",{className:E.nameValue},O))))),i().createElement("div",{className:E.footer},i().createElement("div",{className:E.footerText},y("reportFooter","This report is issued in accordance with Section 386 of the Criminal Procedure Code (Cap 75) of the Laws of Kenya.")),i().createElement("div",{className:E.footerDetails},i().createElement("div",null,(0,w.Fs)()," | ",y("generatedBy","Generated By"),": ",O),i().createElement("div",null,y("generationTimestamp","Generated"),": ",(0,m.formatDatetime)(I)," |"," ",y("facility","Facility"),": ",null==T?void 0:T.display))))))),i().createElement(o.ModalFooter,null,i().createElement(o.ButtonSet,{className:E.btnSet},i().createElement(o.Button,{kind:"secondary",onClick:g,type:"button"},y("cancel","Cancel")),i().createElement(o.Button,{kind:"primary",type:"button",onClick:L},y("print","Print")))),h&&i().createElement(o.InlineNotification,{kind:"error",title:y("printError","Error"),subtitle:h,hideCloseButton:!0}))}},16891:function(e,n,t){"use strict";t.d(n,{$H:()=>p,Fs:()=>A,Ln:()=>s,P$:()=>c,YQ:()=>l,b6:()=>o,r6:()=>m,xD:()=>d}),t(42722);var a=t(23464),i=t.n(a);function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}var o=function(e){if(!e||!e.name||0===e.name.length)return"";var n=e.name[0],t=n.given?n.given.join(" "):"",a=n.family||"";return"".concat(t," ").concat(a).trim()};function l(e){if(!e)return 0;var n=i()(e),t=i()().diff(n,"day",!0);return 1>Math.abs(t)&&0!==t?1:Math.abs(Math.round(t))}var m=function(e){return e?i()(e).format("DD-MMM-YYYY, hh:mm A"):"--"},s=function(){var e=new Date,n=e.getHours()%12||12,t=String(e.getMinutes()).padStart(2,"0"),a=e.getHours()>=12?"PM":"AM";return{time:"".concat(n,":").concat(t),period:a}};function p(e){var n=e.match(/(.*) \(OpenMRS ID: (.*)\)/);return n&&3===n.length?{name:n[1].trim(),openmrsId:n[2].trim()}:null}var c=function(e){var n=(e.dateOfDischarge,new Date(e.dateOfDischarge));if(e.timeOfDischarge&&e.period){var t,a=(t=e.timeOfDischarge.split(":"),function(e){if(Array.isArray(e))return e}(t)||function(e,n){var t,a,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],o=!0,l=!1;try{for(i=i.call(e);!(o=(t=i.next()).done)&&(r.push(t.value),2!==r.length);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(l)throw a}}return r}}(t,2)||function(e,n){if(e){if("string"==typeof e)return r(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=a[0],o=a[1],l=parseInt(i,10);"PM"===e.period&&12!==l?l+=12:"AM"===e.period&&12===l&&(l=0),n.setHours(l,parseInt(o,10),0,0)}return n},A=function(){var e=Date.now(),n=Math.random().toString(36).substr(2,9);return"PM-".concat(e,"-").concat(n).toUpperCase()},d=function(){var e=new Date,n=m(e);if(n&&"--"!==n){var t=n.split(", ");return{date:t[0]||e.toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}),time:t[1]||e.toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"})}}return{date:e.toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}),time:e.toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"})}}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2586.js","sources":["webpack://@kenyaemr/esm-morgue-app/../../node_modules/@carbon/icon-helpers/es/index.js","webpack://@kenyaemr/esm-morgue-app/../../node_modules/@carbon/icons-react/es/Icon.js","webpack://@kenyaemr/esm-morgue-app/./src/modals/autopsy-report/autopsy-print-preview-confirmation.scss","webpack://@kenyaemr/esm-morgue-app/../../node_modules/prop-types/factoryWithThrowingShims.js","webpack://@kenyaemr/esm-morgue-app/../../node_modules/prop-types/index.js","webpack://@kenyaemr/esm-morgue-app/../../node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://@kenyaemr/esm-morgue-app/./src/deceased-patient-header/deceasedInfo/deceased-info.resource.ts","webpack://@kenyaemr/esm-morgue-app/./src/modals/autopsy-report/autopsy-print-preview-confirmation.scss?f46b","webpack://@kenyaemr/esm-morgue-app/./src/modals/autopsy-report/autopsy-print-preview-confirmation.modal.tsx","webpack://@kenyaemr/esm-morgue-app/./src/utils/utils.ts"],"names":["e","t","Object","arguments","Symbol","TypeError","String","Number","i","Error","usePerson","uuid","url","restBaseUrl","customRepresentation","useSWR","openmrsFetch","isLoading","error","data","person","patient","selectedEncounter","onClose","encounters","patientUuid","useTranslation","useState","printError","setPrintError","printRef","useRef","useSession","sessionLocation","user","userDisplay","display","causeOfDeath","generationTimestamp","useMemo","Date","sortedEncounters","sort","a","b","encounterDatetime","getTime","setSelectedEncounter","encounterDropdownItems","map","encounter","encounterDate","id","text","isOmrsDateToday","handlePrint","useReactToPrint","content","current","documentTitle","onAfterPrint","onPrintError","_","message","pageStyle","getObservationValue","conceptName","obs","find","observation","concept","toLowerCase","includes","name","value","referenceNumber","policeStation","patientName","nameFromObs","split","patientAddress","age","gender","height","locationOfDeath","witnessedBy","generalExamination","physicalExam","nutritionalStatus","externalFindings","headExamination","respiratorySystem","cardiovascularSystem","nervousSystem","spinalExamination","spinalCord","abdominalExamination","upperGI","smallIntestine","liverExamination","kidneyExamination","urologicalExamination","bloodSample","deathCertificate","dateTimeRecorded","verificationDateTime","healthWorkerType","freeTextGeneral","freeTextComment","abdominalExaminationText","kidneyExaminationText","smallIntestineText","ModalBody","div","className","styles","length","Dropdown","titleText","label","items","selectedItem","item","itemToString","onChange","ref","span","formatDateTime","now","formatDate","mode","toLocaleTimeString","hour12","CheckboxChecked","Checkbox","encounterProviders","provider","documentId","formatDatetime","ModalFooter","ButtonSet","Button","kind","onClick","type","InlineNotification","title","subtitle","hideCloseButton","formatDeceasedName","nameObj","givenNames","given","join","familyName","family","trim","convertDateToDays","startDate","start","dayjs","diff","today","Math","abs","round","date","format","getCurrentTime","hours","getHours","minutes","getMinutes","padStart","period","time","parseDisplayText","displayText","match","openmrsId","parseDischargeDateTime","dischargeDateTime","dateOfDischarge","timeOfDischarge","hour","parseInt","setHours","timestamp","random","toString","substr","toUpperCase","getAbsoluteDateTime","formatted","parts","toLocaleDateString","day","month","year","minute"],"mappings":"yJAQA,SAAS,EAAQA,CAAC,CAAE,CAAC,EACnB,IAAIC,EAAIC,OAAO,IAAI,CAACF,GACpB,GAAIE,OAAO,qBAAqB,CAAE,CAChC,IAAI,EAAIA,OAAO,qBAAqB,CAACF,EACrC,IAAM,GAAI,EAAE,MAAM,CAAC,SAAU,CAAC,EAC5B,OAAOE,OAAO,wBAAwB,CAACF,EAAG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,CAAK,CAAC,EAAE,EACRlE,EAAImE,kBAAkB,CAAC,QAAS,CAC9BC,IAAK,UACLC,MAAO,QACPC,KAAM,SACR,GACFvB,KACEmB,CAAK,CAAC,EAAE,EACRlE,EAAIG,kBAAkB,CAAC,QAAS,CAC9BC,OAAQ,GACRoD,KAAM,UACNe,OAAQ,SACV,EACJ,CACF,CACA,MAAO,CACLjC,KAAMtC,EAAImE,kBAAkB,CAAC,QAAS,CACpCC,IAAK,UACLC,MAAO,QACPC,KAAM,SACR,GACAvB,KAAM/C,EAAIG,kBAAkB,CAAC,QAAS,CACpCC,OAAQ,GACRoD,KAAM,UACNe,OAAQ,SACV,EACF,CACF,C"}
package/dist/2782.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_morgue_app=globalThis.webpackChunk_kenyaemr_esm_morgue_app||[]).push([["2782"],{99293:function(e,t,a){a.r(t),a.d(t,{default:()=>c});var r=a(35400),n=a.n(r),l=a(75721),u=a(42722),m=a(34130),o=a(64270);let c=function(){var e=window.getOpenmrsSpaBase()+"home/mortuary";return n().createElement(l.BrowserRouter,{basename:e},n().createElement(u.UserHasAccess,{privilege:"o3 : View Mortuary Dashboard"},n().createElement(l.Routes,null,n().createElement(l.Route,{path:"/",element:n().createElement(m.default,null)}),n().createElement(l.Route,{path:"/patient/:patientUuid/compartment/:bedNumber/:bedId/mortuary-chart",element:n().createElement(o.default,null)}),n().createElement(l.Route,{path:"/patient/:patientUuid/mortuary-chart",element:n().createElement(o.default,null)}))))}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"2782.js","sources":["webpack://@kenyaemr/esm-morgue-app/./src/root.component.tsx"],"names":["baseName","window","getOpenmrsSpaBase","BrowserRouter","basename","UserHasAccess","privilege","Routes","Route","path","element","MainComponent","DeceasedDetailsView"],"mappings":"2PAyBA,MAnBuB,WACrB,IAAMA,EAAWC,OAAOC,iBAAiB,GAAK,gBAE9C,OACE,kBAACC,EAAAA,aAAaA,CAAAA,CAACC,SAAUJ,C,EACvB,kBAACK,EAAAA,aAAaA,CAAAA,CAACC,UAAU,8B,EACvB,kBAACC,EAAAA,MAAMA,CAAAA,KACL,kBAACC,EAAAA,KAAKA,CAAAA,CAACC,KAAK,IAAIC,QAAS,kBAACC,EAAAA,OAAaA,CAAAA,K,GACvC,kBAACH,EAAAA,KAAKA,CAAAA,CACJC,KAAK,qEACLC,QAAS,kBAACE,EAAAA,OAAmBA,CAAAA,K,GAE/B,kBAACJ,EAAAA,KAAKA,CAAAA,CAACC,KAAK,uCAAuCC,QAAS,kBAACE,EAAAA,OAAmBA,CAAAA,K,KAK1F,C"}