@kenyaemr/esm-morgue-app 5.3.6-pre.1282 → 5.3.6-pre.1285

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 (42) hide show
  1. package/.turbo/turbo-build.log +15 -29
  2. package/dist/20.js +1 -0
  3. package/dist/20.js.map +1 -0
  4. package/dist/214.js +1 -0
  5. package/dist/214.js.map +1 -0
  6. package/dist/300.js +1 -1
  7. package/dist/385.js +1 -1
  8. package/dist/385.js.map +1 -1
  9. package/dist/870.js +1 -1
  10. package/dist/870.js.map +1 -1
  11. package/dist/926.js +1 -0
  12. package/dist/926.js.map +1 -0
  13. package/dist/kenyaemr-esm-morgue-app.js +1 -1
  14. package/dist/kenyaemr-esm-morgue-app.js.buildmanifest.json +84 -84
  15. package/dist/kenyaemr-esm-morgue-app.js.map +1 -1
  16. package/dist/main.js +1 -1
  17. package/dist/main.js.map +1 -1
  18. package/dist/routes.json +1 -1
  19. package/package.json +1 -1
  20. package/src/card/avail-compartment.compartment.tsx +8 -14
  21. package/src/card/compartment.scss +6 -0
  22. package/src/hook/useMorgue.resource.ts +2 -2
  23. package/src/index.ts +0 -3
  24. package/src/root.component.tsx +0 -2
  25. package/src/tabs/tabs.scss +0 -8
  26. package/src/types/index.ts +0 -26
  27. package/translations/en.json +0 -16
  28. package/dist/323.js +0 -1
  29. package/dist/323.js.map +0 -1
  30. package/dist/473.js +0 -1
  31. package/dist/473.js.map +0 -1
  32. package/dist/909.js +0 -1
  33. package/dist/909.js.map +0 -1
  34. package/src/details/deceased-details.component.tsx +0 -88
  35. package/src/details/deceased-details.scss +0 -39
  36. package/src/panels/attachments.component.tsx +0 -23
  37. package/src/panels/autopsy.component.tsx +0 -37
  38. package/src/panels/billing-history.component.tsx +0 -17
  39. package/src/panels/encounter-obs.component.tsx +0 -63
  40. package/src/panels/medical-history.component.tsx +0 -203
  41. package/src/panels/panels.scss +0 -46
  42. package/src/workspaces/formEntry.workspace.tsx +0 -57
@@ -12,8 +12,6 @@
12
12
  }
13
13
 
14
14
  .serviceContainer {
15
- // background-color: $ui-02;
16
- // border: 1px solid $ui-03;
17
15
  width: 100%;
18
16
  margin: 0 auto;
19
17
  max-width: 95vw;
@@ -129,7 +127,6 @@
129
127
 
130
128
  .content {
131
129
  @include type.type-style('heading-compact-01');
132
- // color: $text-02;
133
130
  margin-top: layout.$spacing-05;
134
131
  margin-bottom: layout.$spacing-03;
135
132
  }
@@ -142,7 +139,6 @@
142
139
 
143
140
  h4 {
144
141
  @include type.type-style('heading-compact-02');
145
- // color: $text-02;
146
142
 
147
143
  &:after {
148
144
  content: '';
@@ -150,14 +146,12 @@
150
146
  width: 2rem;
151
147
  padding-top: 3px;
152
148
  border-bottom: 0.375rem solid;
153
- // @include brand-03(border-bottom-color);
154
149
  }
155
150
  }
156
151
  }
157
152
 
158
153
  .tile {
159
154
  text-align: center;
160
- // border: 1px solid $ui-03;
161
155
  }
162
156
 
163
157
  .menuitem {
@@ -179,13 +173,11 @@
179
173
 
180
174
  .filterEmptyStateContent {
181
175
  @include type.type-style('heading-compact-02');
182
- // color: $text-02;
183
176
  margin-bottom: 0.5rem;
184
177
  }
185
178
 
186
179
  .filterEmptyStateHelper {
187
180
  @include type.type-style('body-compact-01');
188
- // color: $text-02;
189
181
  }
190
182
 
191
183
  .actionBtn {
@@ -34,32 +34,6 @@ export interface DeceasedPatientResponse {
34
34
  results: Patient[];
35
35
  }
36
36
 
37
- export interface Observation {
38
- uuid: string;
39
- concept: {
40
- uuid: string;
41
- display: string;
42
- conceptClass: {
43
- uuid: string;
44
- display: string;
45
- };
46
- };
47
- display: string;
48
- groupMembers: null | Array<{
49
- uuid: string;
50
- concept: {
51
- uuid: string;
52
- display: string;
53
- };
54
- value: {
55
- uuid: string;
56
- display: string;
57
- };
58
- display: string;
59
- }>;
60
- value: any;
61
- obsDatetime?: string;
62
- }
63
37
  export interface DeceasedInfo {
64
38
  uuid: string;
65
39
  display: string;
@@ -3,31 +3,15 @@
3
3
  "admit": "Admit",
4
4
  "admitted": "Admitted Bodies",
5
5
  "admittedOnes": "Admitted",
6
- "all": "All",
7
6
  "allocation": "Allocation",
8
7
  "amountCollected": "Amount(s)",
9
- "attachments": "Attachments",
10
- "autopsyRecord": "Autopsy summary",
11
- "autopsyRecords": "Autopsy records",
12
8
  "awaiting": "Awaiting",
13
- "billingHistory": "Billing history",
14
- "date": "Date",
15
9
  "discharged": "Discharged",
16
10
  "discharges": "Discharges",
17
11
  "empty": "Empty",
18
- "encounterType": "Encounter Type",
19
- "formName": "Form Name",
20
12
  "fromHosp": "From Hospital",
21
- "home": "Home View",
22
- "medicalHistory": "Medical history",
23
- "MedicalHistory": "Medical history",
24
13
  "morgue": "Morgue Management",
25
- "noObservationsFound": "No observations found",
26
- "overview": "Overview panel",
27
14
  "pullingCompartment": "Pulling compartments data.....",
28
- "releaseBody": "Release Body",
29
- "searchThisList": "Search this list",
30
- "visitType": "Visit Type",
31
15
  "waitingQueue": "Waiting queue",
32
16
  "waitQueue": "Waiting queue"
33
17
  }
package/dist/323.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_morgue_app=globalThis.webpackChunk_kenyaemr_esm_morgue_app||[]).push([[323],{1895:(e,t,r)=>{r.d(t,{aZ:()=>c});var l,n,a=r(380),h=r.n(a),w=r(9247);const c=h().forwardRef((function(e,t){let{children:r,size:a=16,...c}=e;return h().createElement(w.A,{width:a,height:a,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...c},l||(l=h().createElement("path",{d:"M16,18a5,5,0,1,1,5-5A5.0057,5.0057,0,0,1,16,18Zm0-8a3,3,0,1,0,3,3A3.0033,3.0033,0,0,0,16,10Z"})),n||(n=h().createElement("path",{d:"M16,30,7.5645,20.0513c-.0479-.0571-.3482-.4515-.3482-.4515A10.8888,10.8888,0,0,1,5,13a11,11,0,0,1,22,0,10.8844,10.8844,0,0,1-2.2148,6.5973l-.0015.0025s-.3.3944-.3447.4474ZM8.8125,18.395c.001.0007.2334.3082.2866.3744L16,26.9079l6.91-8.15c.0439-.0552.2783-.3649.2788-.3657A8.901,8.901,0,0,0,25,13,9,9,0,1,0,7,13a8.9054,8.9054,0,0,0,1.8125,5.395Z"})),r)}))},4240:(e,t,r)=>{r.d(t,{yG:()=>w});var l,n=r(380),a=r.n(n),h=r(9247);const w=a().forwardRef((function(e,t){let{children:r,size:n=16,...w}=e;return a().createElement(h.A,{width:n,height:n,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...w},l||(l=a().createElement("path",{d:"M24,20l-1.41,1.41L26.17,25H10a4,4,0,0,1,0-8H22A6,6,0,0,0,22,5H5.83L9.41,1.41,8,0,2,6l6,6,1.41-1.41L5.83,7H22a4,4,0,0,1,0,8H10a6,6,0,0,0,0,12H26.17l-3.58,3.59L24,32l6-6Z"})),r)}))},8282:(e,t,r)=>{r.d(t,{LK:()=>o,pl:()=>i});var l,n,a,h=r(380),w=r.n(h),c=r(9247);const i=w().forwardRef((function(e,t){let{children:r,size:a=16,...h}=e;return w().createElement(c.A,{width:a,height:a,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...h},l||(l=w().createElement("path",{d:"M10 18H18V20H10zM10 13H22V15H10zM10 23H15V25H10z"})),n||(n=w().createElement("path",{d:"M25,5H22V4a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V5H7A2,2,0,0,0,5,7V28a2,2,0,0,0,2,2H25a2,2,0,0,0,2-2V7A2,2,0,0,0,25,5ZM12,4h8V8H12ZM25,28H7V7h3v3H22V7h3Z"})),r)})),o=w().forwardRef((function(e,t){let{children:r,size:l=16,...n}=e;return w().createElement(c.A,{width:l,height:l,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...n},a||(a=w().createElement("path",{d:"m22,8v2c2.2061,0,4,1.7944,4,4s-1.7939,4-4,4h-12v-5l-6,6,6,6v-5h12c3.3086,0,6-2.6914,6-6s-2.6914-6-6-6Z"})),r)}))},8285:(e,t,r)=>{r.d(t,{W5:()=>o,ww:()=>i});var l,n,a,h=r(380),w=r.n(h),c=r(9247);const i=w().forwardRef((function(e,t){let{children:r,size:n=16,...a}=e;return w().createElement(c.A,{width:n,height:n,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},l||(l=w().createElement("path",{d:"M16.6123,2.2138a1.01,1.01,0,0,0-1.2427,0L1,13.4194l1.2427,1.5717L4,13.6209V26a2.0041,2.0041,0,0,0,2,2H26a2.0037,2.0037,0,0,0,2-2V13.63L29.7573,15,31,13.4282ZM18,26H14V18h4Zm2,0V18a2.0023,2.0023,0,0,0-2-2H14a2.002,2.002,0,0,0-2,2v8H6V12.0615l10-7.79,10,7.8005V26Z"})),r)})),o=w().forwardRef((function(e,t){let{children:r,size:l=16,...h}=e;return w().createElement(c.A,{width:l,height:l,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...h},n||(n=w().createElement("path",{d:"M25,16H17a2.0023,2.0023,0,0,0-2,2v6H4V14H2V30H4V26H28v4h2V21A5.0059,5.0059,0,0,0,25,16Zm3,8H17V18h8a3.0033,3.0033,0,0,1,3,3Z"})),a||(a=w().createElement("path",{d:"M9.5 17A1.5 1.5 0 118 18.5 1.5017 1.5017 0 019.5 17m0-2A3.5 3.5 0 1013 18.5 3.5 3.5 0 009.5 15zM21 6L17 6 17 2 15 2 15 6 11 6 11 8 15 8 15 12 17 12 17 8 21 8 21 6z"})),r)}))}}]);
package/dist/323.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"323.js","mappings":"qKAc2EA,EAASC,E,4BA+LpF,MAAMC,EAAwB,gBAAiB,SAAkBC,EAAQC,GACvE,IAAI,SACFC,EAAQ,KACRC,EAAO,MACJC,GACDJ,EACJ,OAAoB,kBAAoB,IAAM,CAC5C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EAAO,MACJC,GACDqB,EACJ,OAAoB,kBAAoB,IAAM,CAC5CpB,MAAOF,EACPG,OAAQH,EACRF,IAAKA,EACLM,MAAO,6BACPC,QAAS,YACTC,KAAM,kBACHL,GACFiB,IAAaA,EAAwB,kBAAoB,OAAQ,CAClEX,EAAG,4QACAR,EACP,IAgDMwB,EAA2B,gBAAiB,SAAqBC,EAAQ1B,GAC7E,IAAI,SACFC,EAAQ,KACRC,EAAO,MACJC,GACDuB,EACJ,OAAoB,kBAAoB,IAAM,CAC5CtB,MAAOF,EACPG,OAAQH,EACRF,IAAKA,EACLM,MAAO,6BACPC,QAAS,YACTC,KAAM,kBACHL,GACFkB,IAAaA,EAAwB,kBAAoB,OAAQ,CAClEZ,EAAG,kIACAa,IAAaA,EAAwB,kBAAoB,OAAQ,CACpEb,EAAG,yKACAR,EACP,G","sources":["webpack://@kenyaemr/esm-morgue-app/../../node_modules/@carbon/icons-react/es/generated/bucket-10.js","webpack://@kenyaemr/esm-morgue-app/../../node_modules/@carbon/icons-react/es/generated/bucket-11.js","webpack://@kenyaemr/esm-morgue-app/../../node_modules/@carbon/icons-react/es/generated/bucket-13.js","webpack://@kenyaemr/esm-morgue-app/../../node_modules/@carbon/icons-react/es/generated/bucket-7.js"],"names":["_path10","_path11","Location","_ref10","ref","children","size","rest","width","height","xmlns","viewBox","fill","d","_path51","Movement","_ref31","_path130","_path131","_path158","Report","_ref71","Return","_ref86","_path123","_path127","_path128","Home","_ref77","HospitalBed","_ref80"],"sourceRoot":""}