@kenyaemr/esm-morgue-app 5.4.2-pre.2344 → 5.4.2-pre.2349

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 (122) hide show
  1. package/.turbo/turbo-build.log +21 -26
  2. package/dist/162.js +2 -0
  3. package/dist/162.js.map +1 -0
  4. package/dist/197.js +1 -1
  5. package/dist/221.js +1 -1
  6. package/dist/221.js.map +1 -1
  7. package/dist/293.js +1 -1
  8. package/dist/294.js +1 -1
  9. package/dist/300.js +1 -1
  10. package/dist/351.js +1 -0
  11. package/dist/351.js.map +1 -0
  12. package/dist/38.js +1 -1
  13. package/dist/38.js.map +1 -1
  14. package/dist/404.js +1 -0
  15. package/dist/404.js.map +1 -0
  16. package/dist/441.js +1 -0
  17. package/dist/441.js.map +1 -0
  18. package/dist/467.js +1 -1
  19. package/dist/467.js.map +1 -1
  20. package/dist/500.js +1 -0
  21. package/dist/500.js.map +1 -0
  22. package/dist/570.js +1 -0
  23. package/dist/570.js.map +1 -0
  24. package/dist/608.js +2 -0
  25. package/dist/608.js.map +1 -0
  26. package/dist/611.js +2 -0
  27. package/dist/611.js.map +1 -0
  28. package/dist/632.js +2 -1
  29. package/dist/632.js.map +1 -1
  30. package/dist/653.js +1 -1
  31. package/dist/653.js.map +1 -1
  32. package/dist/657.js +1 -0
  33. package/dist/657.js.map +1 -0
  34. package/dist/805.js +1 -1
  35. package/dist/805.js.map +1 -1
  36. package/dist/814.js +2 -0
  37. package/dist/814.js.LICENSE.txt +5 -0
  38. package/dist/814.js.map +1 -0
  39. package/dist/824.js +1 -1
  40. package/dist/824.js.map +1 -1
  41. package/dist/845.js +1 -0
  42. package/dist/845.js.map +1 -0
  43. package/dist/888.js +1 -0
  44. package/dist/888.js.map +1 -0
  45. package/dist/899.js +1 -0
  46. package/dist/899.js.map +1 -0
  47. package/dist/918.js +1 -1
  48. package/dist/918.js.map +1 -1
  49. package/dist/990.js +1 -0
  50. package/dist/990.js.map +1 -0
  51. package/dist/kenyaemr-esm-morgue-app.js +1 -1
  52. package/dist/kenyaemr-esm-morgue-app.js.buildmanifest.json +258 -184
  53. package/dist/kenyaemr-esm-morgue-app.js.map +1 -1
  54. package/dist/main.js +1 -1
  55. package/dist/main.js.LICENSE.txt +0 -6
  56. package/dist/main.js.map +1 -1
  57. package/dist/routes.json +1 -1
  58. package/package.json +1 -1
  59. package/src/bed/bed.component.tsx +63 -134
  60. package/src/bed/components/deceased-patient-card-header.component.tsx +73 -0
  61. package/src/bed/components/deceased-patient-info.component.tsx +47 -0
  62. package/src/bed/components/deceased-patient-status-footer.component.tsx +43 -0
  63. package/src/bed-layout/admitted/admitted-bed-layout.component.tsx +175 -96
  64. package/src/bed-layout/awaiting/awaiting-bed-layout.component.tsx +103 -36
  65. package/src/bed-layout/bed-layout.scss +4 -0
  66. package/src/bed-layout/discharged/discharged-bed-layout.component.tsx +131 -73
  67. package/src/bed-linelist-view/admitted/admitted-bed-linelist-view.component.tsx +182 -134
  68. package/src/bed-linelist-view/awaiting/awaiting-bed-linelist-view.component.tsx +115 -71
  69. package/src/bed-linelist-view/discharged/discharged-bed-line-view.component.tsx +181 -109
  70. package/src/config-schema.ts +140 -4
  71. package/src/context/deceased-person-context.tsx +33 -0
  72. package/src/extension/actionButton.component.tsx +1 -1
  73. package/src/forms/admit-deceased-person-workspace/admit-deceased-person.resource.ts +84 -166
  74. package/src/forms/admit-deceased-person-workspace/admit-deceased-person.scss +14 -0
  75. package/src/forms/admit-deceased-person-workspace/admit-deceased-person.workspace.tsx +504 -334
  76. package/src/forms/discharge-deceased-person-workspace/discharge-body.resource.ts +0 -1
  77. package/src/forms/discharge-deceased-person-workspace/discharge-body.scss +15 -0
  78. package/src/forms/discharge-deceased-person-workspace/discharge-body.workspace.tsx +303 -244
  79. package/src/helpers/expression-helper.ts +122 -0
  80. package/src/home/home.component.tsx +23 -4
  81. package/src/index.ts +0 -2
  82. package/src/metrics/metrics-card.component.tsx +2 -2
  83. package/src/routes.json +0 -6
  84. package/src/schemas/index.ts +243 -51
  85. package/src/summary/summary.component.tsx +16 -9
  86. package/src/switcher/content-switcher.component.tsx +61 -35
  87. package/src/switcher/content-switcher.scss +13 -0
  88. package/src/types/index.ts +43 -1
  89. package/translations/am.json +16 -6
  90. package/translations/en.json +16 -6
  91. package/translations/sw.json +16 -6
  92. package/dist/347.js +0 -1
  93. package/dist/347.js.map +0 -1
  94. package/dist/373.js +0 -2
  95. package/dist/373.js.map +0 -1
  96. package/dist/398.js +0 -1
  97. package/dist/398.js.map +0 -1
  98. package/dist/410.js +0 -1
  99. package/dist/410.js.map +0 -1
  100. package/dist/429.js +0 -2
  101. package/dist/429.js.map +0 -1
  102. package/dist/579.js +0 -2
  103. package/dist/579.js.map +0 -1
  104. package/dist/619.js +0 -1
  105. package/dist/619.js.map +0 -1
  106. package/dist/633.js +0 -1
  107. package/dist/633.js.map +0 -1
  108. package/dist/712.js +0 -1
  109. package/dist/712.js.map +0 -1
  110. package/dist/713.js +0 -1
  111. package/dist/713.js.map +0 -1
  112. package/dist/723.js +0 -1
  113. package/dist/723.js.map +0 -1
  114. package/dist/989.js +0 -2
  115. package/dist/989.js.map +0 -1
  116. package/src/forms/dispose-deceased-person-workspace/dispose-deceased-person.resource.ts +0 -18
  117. package/src/forms/dispose-deceased-person-workspace/dispose-deceased-person.scss +0 -84
  118. package/src/forms/dispose-deceased-person-workspace/dispose-deceased-person.workspace.tsx +0 -505
  119. /package/dist/{989.js.LICENSE.txt → 162.js.LICENSE.txt} +0 -0
  120. /package/dist/{373.js.LICENSE.txt → 608.js.LICENSE.txt} +0 -0
  121. /package/dist/{429.js.LICENSE.txt → 611.js.LICENSE.txt} +0 -0
  122. /package/dist/{579.js.LICENSE.txt → 632.js.LICENSE.txt} +0 -0
@@ -11,6 +11,8 @@ import {
11
11
  Search,
12
12
  ComboBox,
13
13
  SkeletonText,
14
+ RadioButtonSkeleton,
15
+ TextInputSkeleton,
14
16
  } from '@carbon/react';
15
17
  import { useTranslation } from 'react-i18next';
16
18
  import styles from './content-switcher.scss';
@@ -97,6 +99,14 @@ const CustomContentSwitcher: React.FC<CustomContentSwitcherProps> = ({
97
99
  (tabIndex: TabType) => {
98
100
  const isListView = selectedView === ViewType.LIST;
99
101
 
102
+ if (isLoading || isLoadingAdmission || (tabIndex === TabType.DISCHARGE && isLoadingDischarge)) {
103
+ return (
104
+ <div className={styles.loadingContainer}>
105
+ <DataTableSkeleton showHeader={false} showToolbar={false} />
106
+ </div>
107
+ );
108
+ }
109
+
100
110
  switch (tabIndex) {
101
111
  case TabType.AWAITING_ADMISSION:
102
112
  return isListView ? (
@@ -109,12 +119,14 @@ const CustomContentSwitcher: React.FC<CustomContentSwitcherProps> = ({
109
119
  />
110
120
  </div>
111
121
  ) : (
112
- <AwaitingBedLayout
113
- mortuaryLocation={admissionLocation}
114
- awaitingQueueDeceasedPatients={awaitingQueueDeceasedPatients}
115
- isLoading={isLoading}
116
- mutated={mutate}
117
- />
122
+ <>
123
+ <AwaitingBedLayout
124
+ mortuaryLocation={admissionLocation}
125
+ awaitingQueueDeceasedPatients={awaitingQueueDeceasedPatients}
126
+ isLoading={isLoading}
127
+ mutated={mutate}
128
+ />
129
+ </>
118
130
  );
119
131
 
120
132
  case TabType.ADMITTED:
@@ -127,7 +139,9 @@ const CustomContentSwitcher: React.FC<CustomContentSwitcherProps> = ({
127
139
  />
128
140
  </div>
129
141
  ) : (
130
- <BedLayout AdmittedDeceasedPatient={admissionLocation} isLoading={isLoadingAdmission} mutate={mutate} />
142
+ <>
143
+ <BedLayout AdmittedDeceasedPatient={admissionLocation} isLoading={isLoadingAdmission} mutate={mutate} />
144
+ </>
131
145
  );
132
146
 
133
147
  case TabType.DISCHARGE:
@@ -140,11 +154,13 @@ const CustomContentSwitcher: React.FC<CustomContentSwitcherProps> = ({
140
154
  />
141
155
  </div>
142
156
  ) : (
143
- <DischargedBedLayout
144
- AdmittedDeceasedPatient={admissionLocation}
145
- isLoading={isLoadingDischarge}
146
- mutate={mutate}
147
- />
157
+ <>
158
+ <DischargedBedLayout
159
+ AdmittedDeceasedPatient={admissionLocation}
160
+ isLoading={isLoadingDischarge}
161
+ mutate={mutate}
162
+ />
163
+ </>
148
164
  );
149
165
 
150
166
  default:
@@ -153,23 +169,22 @@ const CustomContentSwitcher: React.FC<CustomContentSwitcherProps> = ({
153
169
  },
154
170
  [
155
171
  selectedView,
156
- awaitingQueueDeceasedPatients,
157
172
  isLoading,
158
- admissionLocation,
159
173
  isLoadingAdmission,
160
174
  isLoadingDischarge,
175
+ awaitingQueueDeceasedPatients,
176
+ admissionLocation,
161
177
  dischargedPatients,
162
-
163
178
  mutate,
164
179
  ],
165
180
  );
166
181
 
167
182
  return (
168
183
  <div className={styles.switcherContainer}>
169
- <CardHeader title={t('mortuaryOperations', 'Mortuary operations')}>
184
+ <CardHeader title={isLoading ? t('loading', 'Loading...') : t('mortuaryOperations', 'Mortuary operations')}>
170
185
  {locationItems.length > 1 &&
171
186
  (isLoadingLocation ? (
172
- <SkeletonText />
187
+ <RadioButtonSkeleton />
173
188
  ) : (
174
189
  <ComboBox
175
190
  items={locationItems}
@@ -182,28 +197,39 @@ const CustomContentSwitcher: React.FC<CustomContentSwitcherProps> = ({
182
197
  ))}
183
198
 
184
199
  <ContentSwitcher size="sm" className={styles.switcher} selectedIndex={selectedView} onChange={handleViewChange}>
185
- <Switch>{t('listView', 'List')}</Switch>
186
- <Switch>{t('cardView', 'Card')}</Switch>
200
+ <Switch>{isLoading ? <RadioButtonSkeleton /> : t('listView', 'List')}</Switch>
201
+ <Switch>{isLoading ? <RadioButtonSkeleton /> : t('cardView', 'Card')}</Switch>
187
202
  </ContentSwitcher>
188
203
  </CardHeader>
204
+
189
205
  <div className={styles.tabsContainer}>
190
- <Search labelText={t('searchPatients', 'Search Patients')} />
191
206
  <Tabs selectedIndex={selectedTab} onChange={handleTabChange}>
192
- <div className={styles.tabListContainer}>
193
- <TabList scrollDebounceWait={200}>
194
- {tabs.map((tab) => (
195
- <Tab key={tab.id}>
196
- {t(tab.labelKey, tab.defaultLabel)}
197
- {tab.id === 'awaiting-admission' && ` (${awaitingQueueDeceasedPatients?.length || 0})`}
198
- {tab.id === 'admitted' &&
199
- ` (${
200
- admissionLocation?.bedLayouts?.reduce((total, bed) => total + (bed.patients?.length || 0), 0) || 0
201
- })`}
202
- {tab.id === 'discharge' && ` (${dischargedPatients?.length || 0})`}
203
- </Tab>
204
- ))}
205
- </TabList>
206
- </div>
207
+ {isLoading || isLoadingAdmission || isLoadingDischarge ? (
208
+ <div className={styles.tabSkeletonContainer}>
209
+ <div className={styles.tabListSkeleton}>
210
+ {[1, 2, 3].map((i) => (
211
+ <RadioButtonSkeleton key={i} className={styles.tabSkeleton} />
212
+ ))}
213
+ </div>
214
+ </div>
215
+ ) : (
216
+ <div className={styles.tabListContainer}>
217
+ <TabList scrollDebounceWait={200}>
218
+ {tabs.map((tab) => (
219
+ <Tab key={tab.id}>
220
+ {t(tab.labelKey, tab.defaultLabel)}
221
+ {tab.id === 'awaiting-admission' && ` (${awaitingQueueDeceasedPatients?.length || 0})`}
222
+ {tab.id === 'admitted' &&
223
+ ` (${
224
+ admissionLocation?.bedLayouts?.reduce((total, bed) => total + (bed.patients?.length || 0), 0) ||
225
+ 0
226
+ })`}
227
+ {tab.id === 'discharge' && ` (${dischargedPatients?.length || 0})`}
228
+ </Tab>
229
+ ))}
230
+ </TabList>
231
+ </div>
232
+ )}
207
233
 
208
234
  <TabPanels>
209
235
  {tabs.map((_, index) => (
@@ -28,3 +28,16 @@
28
28
  .tabsContainer {
29
29
  margin-top: layout.$spacing-04;
30
30
  }
31
+
32
+ .tabSkeletonContainer {
33
+ padding: layout.$spacing-05;
34
+
35
+ .tabListSkeleton {
36
+ display: flex;
37
+ gap: layout.$spacing-03;
38
+ margin-top: layout.$spacing-03;
39
+ }
40
+ }
41
+ .searchSkeleton {
42
+ padding: layout.$spacing-04;
43
+ }
@@ -1,4 +1,9 @@
1
- import { type OpenmrsResourceStrict, type OpenmrsResource, Concept } from '@openmrs/esm-framework';
1
+ import {
2
+ type OpenmrsResourceStrict,
3
+ type OpenmrsResource,
4
+ Concept,
5
+ type Visit as OpenmrsVisit,
6
+ } from '@openmrs/esm-framework';
2
7
 
3
8
  export interface BaseEntity {
4
9
  uuid: string;
@@ -614,3 +619,40 @@ export interface Payment {
614
619
  interface PaymentInstanceType extends BaseEntity {
615
620
  name: string;
616
621
  }
622
+ export interface EnhancedPatient {
623
+ uuid: string;
624
+ person: {
625
+ display: string;
626
+ gender: string;
627
+ age: number;
628
+ deathDate: string;
629
+ causeOfDeath?: {
630
+ display: string;
631
+ };
632
+ };
633
+ bedInfo?: {
634
+ bedNumber: string;
635
+ bedId: number;
636
+ bedType?: string;
637
+ };
638
+ visitInfo?: {
639
+ activeVisit?: OpenmrsVisit;
640
+ admissionDate?: string;
641
+ };
642
+ isDischarged?: boolean;
643
+ encounterDate?: string;
644
+ originalMortuaryPatient?: MortuaryPatient;
645
+ originalPatient?: Patient;
646
+ }
647
+
648
+ export interface PatientCardProps {
649
+ patient: EnhancedPatient;
650
+ showActions?: {
651
+ admit?: boolean;
652
+ discharge?: boolean;
653
+ postmortem?: boolean;
654
+ swapCompartment?: boolean;
655
+ printGatePass?: boolean;
656
+ viewDetails?: boolean;
657
+ };
658
+ }
@@ -9,14 +9,13 @@
9
9
  "admitted": "ገብቷል",
10
10
  "admittedHeader": "ገብቷል",
11
11
  "age": "ዕድሜ",
12
- "allocation": "የምደባ እይታ",
13
12
  "attachements": "አባሪዎች",
14
13
  "attachments": "Attachments",
15
- "autopsyDeleted": "Autopsy report deleted",
16
14
  "autopsyReport": "የአስከሬን ምርመራ ሪፖርት",
17
15
  "available": "ይገኛል",
18
16
  "awaiting": "በመጠባበቅ ላይ",
19
17
  "awaitingAdmissionHeader": "መግቢያ በመጠባበቅ ላይ",
18
+ "backToHome": "Back to Home",
20
19
  "bedType": "የአልጋ አይነት",
21
20
  "billingHistory": "የክፍያ ታሪክ",
22
21
  "cancel": "ይቅር",
@@ -41,8 +40,6 @@
41
40
  "dischargeDate": "Discharge Date",
42
41
  "dischargedHeader": "ተለቋል",
43
42
  "dischargeForm": "መልቀቅ",
44
- "dispose": "አስወግድ",
45
- "disposeForm": "አስወግድ",
46
43
  "dividerText": "የተጋራ",
47
44
  "durationOnWard": "በወረፋ የቆዩ ቀናት",
48
45
  "edit": "አስተካክል",
@@ -50,7 +47,6 @@
50
47
  "empty": "ባዶ",
51
48
  "emptyCompartment": "ባዶ ክፍል",
52
49
  "encounterType": "የግኝት አይነት",
53
- "error": "Error",
54
50
  "errorLoadingPatients": "የተለቀቁ ታካሚዎችን በመጫን ላይ ስህተት",
55
51
  "errorMessage": "ስህተት",
56
52
  "formName": "የቅጽ ስም",
@@ -59,28 +55,41 @@
59
55
  "lengthofStay": "የቆይታ ጊዜ",
60
56
  "listView": "ዝርዝር",
61
57
  "loadData": "ማጠቃለያ ዳታ በመጫን ላይ...",
58
+ "loading": "Loading...",
62
59
  "loadingPatients": "ታካሚዎችን በመጫን ላይ...",
63
60
  "mortician": "የሬሳ ክፍል ባለሙያ ስም",
64
61
  "mortuary": "የሬሳ ክፍል",
65
62
  "mortuaryOperations": "የሬሳ ክፍል ስራዎች",
66
63
  "name": "ስም",
67
64
  "nextPage": "ቀጣይ ገጽ",
68
- "noAdmittedPatients": "ምንም የገቡ ታካሚዎች አልተገኙም",
65
+ "noAdmittedPatient": "No deceased patients currently admitted",
69
66
  "noAdmittedPatientsDescription": "በአሁኑ ጊዜ ምንም የገቡ ታካሚዎች የሉም።",
70
67
  "noAwaitingPatients": "ምንም በመጠባበቅ ላይ ያሉ ታካሚዎች አልተገኙም",
71
68
  "noAwaitingPatientsDescription": "በአሁኑ ጊዜ ምንም በመጠባበቅ ላይ ያሉ ታካሚዎች የሉም።",
72
69
  "noDeceasedPatients": "መግቢያ በመጠባበቅ ላይ ያሉ የሞቱ ታካሚዎች የሉም",
70
+ "noDischargedPatient": "No deceased patients currently discharged",
73
71
  "noDischargedPatients": "ምንም የተለቀቁ ታካሚዎች አልተገኙም",
74
72
  "noDischargedPatientsDescription": "በአሁኑ ጊዜ ምንም የተለቀቁ ታካሚዎች የሉም።",
73
+ "noMatchingAwaitingPatients": "No matching awaiting patients found",
74
+ "noMatchingAwaitingPatientsDescription": "Try adjusting your search terms to find awaiting patients.",
75
+ "noMatchingDischargedPatients": "No matching discharged patients found",
76
+ "noMatchingDischargedPatientsDescription": "Try adjusting your search terms to find discharged patients.",
77
+ "noMatchingPatients": "No matching patients found",
78
+ "noMatchingPatientsDescription": "Try adjusting your search terms to find deceased patients.",
75
79
  "noObservationsFound": "ምንም ምልከታዎች አልተገኙም",
76
80
  "noPatientSelected": "No patient selected",
81
+ "noSearchDeceasedPatients": "Search deceased patients",
82
+ "noSearchResults": "We couldn’t find anything",
77
83
  "occupied": "ተይዟል",
78
84
  "patientName": "የታካሚ ስም",
85
+ "postmortem": "Postmortem",
79
86
  "postmortemForm": "የአስከሬን ምርመራ",
80
87
  "previousPage": "የቀደመ ገጽ",
81
88
  "printGatePass": "የበር ማለፊያ",
82
89
  "printPostMortemReport": "Postmortem Report",
90
+ "searchDeceasedPatients": "Search deceased patients",
83
91
  "searchPatients": "ታካሚዎችን ፈልግ",
92
+ "searchPatientsPlaceholder": "Search by name, ID number, gender, or cause of death...",
84
93
  "sharedCompartment_one": "{{count}} የሚጋራ",
85
94
  "sharedCompartment_other": "{{count}} የሚጋሩ",
86
95
  "singleOccupancy": "አንድ ተኮር",
@@ -88,6 +97,7 @@
88
97
  "swapCompartment": "ክፍል ቀይር",
89
98
  "timeSpent": "ያሳለፈው ጊዜ",
90
99
  "totalCount": "ጠቅላላ",
100
+ "tryAgain": "Try adjusting your search {{searchTerm}} and try again",
91
101
  "unknown": "የማይታወቅ",
92
102
  "viewDetails": "ዝርዝሮችን እይ",
93
103
  "visitType": "የጉብኝት አይነት",
@@ -9,14 +9,13 @@
9
9
  "admitted": "Admitted",
10
10
  "admittedHeader": "Admitted",
11
11
  "age": "Age",
12
- "allocation": "Allocation",
13
12
  "attachements": "Attachements",
14
13
  "attachments": "Attachments",
15
- "autopsyDeleted": "Autopsy report deleted",
16
14
  "autopsyReport": "Autopsy report",
17
15
  "available": "Available",
18
16
  "awaiting": "Awaiting",
19
17
  "awaitingAdmissionHeader": "Awaiting Admission",
18
+ "backToHome": "Back to Home",
20
19
  "bedType": "Bed Type",
21
20
  "billingHistory": "Billing history",
22
21
  "cancel": "Cancel",
@@ -41,8 +40,6 @@
41
40
  "dischargeDate": "Discharge Date",
42
41
  "dischargedHeader": "Discharged",
43
42
  "dischargeForm": "Discharge form",
44
- "dispose": "Dispose",
45
- "disposeForm": "Dispose",
46
43
  "dividerText": "Shared",
47
44
  "durationOnWard": "Days In Queue",
48
45
  "edit": "Edit",
@@ -50,7 +47,6 @@
50
47
  "empty": "Empty",
51
48
  "emptyCompartment": "Empty compartment",
52
49
  "encounterType": "Encounter type",
53
- "error": "Error",
54
50
  "errorLoadingPatients": "Error loading discharged patients",
55
51
  "errorMessage": "Error",
56
52
  "formName": "Form name",
@@ -59,28 +55,41 @@
59
55
  "lengthofStay": "Length of stay",
60
56
  "listView": "List",
61
57
  "loadData": "Loading summary data...",
58
+ "loading": "Loading...",
62
59
  "loadingPatients": "Loading patients...",
63
60
  "mortician": "Mortician name",
64
61
  "mortuary": "Mortuary",
65
62
  "mortuaryOperations": "Mortuary operations",
66
63
  "name": "Name",
67
64
  "nextPage": "Next page",
68
- "noAdmittedPatients": "No admitted patients found",
65
+ "noAdmittedPatient": "No deceased patients currently admitted",
69
66
  "noAdmittedPatientsDescription": "There are currently no admitted patients to display.",
70
67
  "noAwaitingPatients": "No awaiting patients found",
71
68
  "noAwaitingPatientsDescription": "There are currently no awaiting patients to display.",
72
69
  "noDeceasedPatients": "No deceased patients awaiting admission",
70
+ "noDischargedPatient": "No deceased patients currently discharged",
73
71
  "noDischargedPatients": "No discharged patients found",
74
72
  "noDischargedPatientsDescription": "There are currently no discharged patients to display.",
73
+ "noMatchingAwaitingPatients": "No matching awaiting patients found",
74
+ "noMatchingAwaitingPatientsDescription": "Try adjusting your search terms to find awaiting patients.",
75
+ "noMatchingDischargedPatients": "No matching discharged patients found",
76
+ "noMatchingDischargedPatientsDescription": "Try adjusting your search terms to find discharged patients.",
77
+ "noMatchingPatients": "No matching patients found",
78
+ "noMatchingPatientsDescription": "Try adjusting your search terms to find deceased patients.",
75
79
  "noObservationsFound": "No observations found",
76
80
  "noPatientSelected": "No patient selected",
81
+ "noSearchDeceasedPatients": "Search deceased patients",
82
+ "noSearchResults": "We couldn’t find anything",
77
83
  "occupied": "Occupied",
78
84
  "patientName": "Patient Name",
85
+ "postmortem": "Postmortem",
79
86
  "postmortemForm": "Postmortem",
80
87
  "previousPage": "Previous page",
81
88
  "printGatePass": "Gate Pass",
82
89
  "printPostMortemReport": "Postmortem Report",
90
+ "searchDeceasedPatients": "Search deceased patients",
83
91
  "searchPatients": "Search Patients",
92
+ "searchPatientsPlaceholder": "Search by name, ID number, gender, or cause of death...",
84
93
  "sharedCompartment_one": "{{count}} sharing",
85
94
  "sharedCompartment_other": "{{count}} sharing",
86
95
  "singleOccupancy": "Single",
@@ -88,6 +97,7 @@
88
97
  "swapCompartment": "Swap compartment",
89
98
  "timeSpent": "Time spent",
90
99
  "totalCount": "total",
100
+ "tryAgain": "Try adjusting your search {{searchTerm}} and try again",
91
101
  "unknown": "Unknown",
92
102
  "viewDetails": "View details",
93
103
  "visitType": "Visit type",
@@ -9,14 +9,13 @@
9
9
  "admitted": "Admitted",
10
10
  "admittedHeader": "Admitted",
11
11
  "age": "Age",
12
- "allocation": "Allocation View",
13
12
  "attachements": "Attachements",
14
13
  "attachments": "Attachments",
15
- "autopsyDeleted": "Autopsy report deleted",
16
14
  "autopsyReport": "Autopsy report",
17
15
  "available": "Available",
18
16
  "awaiting": "Awaiting",
19
17
  "awaitingAdmissionHeader": "Awaiting Admission",
18
+ "backToHome": "Back to Home",
20
19
  "bedType": "Bed Type",
21
20
  "billingHistory": "Billing history",
22
21
  "cancel": "Cancel",
@@ -41,8 +40,6 @@
41
40
  "dischargeDate": "Discharge Date",
42
41
  "dischargedHeader": "Discharged",
43
42
  "dischargeForm": "Discharge",
44
- "dispose": "Dispose",
45
- "disposeForm": "Dispose",
46
43
  "dividerText": "Shared",
47
44
  "durationOnWard": "Days In Queue",
48
45
  "edit": "Edit",
@@ -50,7 +47,6 @@
50
47
  "empty": "Empty",
51
48
  "emptyCompartment": "Empty compartment",
52
49
  "encounterType": "Encounter type",
53
- "error": "Error",
54
50
  "errorLoadingPatients": "Error loading discharged patients",
55
51
  "errorMessage": "Error",
56
52
  "formName": "Form name",
@@ -59,28 +55,41 @@
59
55
  "lengthofStay": "Length of stay",
60
56
  "listView": "List",
61
57
  "loadData": "Loading summary data...",
58
+ "loading": "Loading...",
62
59
  "loadingPatients": "Loading patients...",
63
60
  "mortician": "Mortician name",
64
61
  "mortuary": "Mortuary",
65
62
  "mortuaryOperations": "Mortuary operations",
66
63
  "name": "Name",
67
64
  "nextPage": "Next page",
68
- "noAdmittedPatients": "No admitted patients found",
65
+ "noAdmittedPatient": "No deceased patients currently admitted",
69
66
  "noAdmittedPatientsDescription": "There are currently no admitted patients to display.",
70
67
  "noAwaitingPatients": "No awaiting patients found",
71
68
  "noAwaitingPatientsDescription": "There are currently no awaiting patients to display.",
72
69
  "noDeceasedPatients": "No deceased patients awaiting admission",
70
+ "noDischargedPatient": "No deceased patients currently discharged",
73
71
  "noDischargedPatients": "No discharged patients found",
74
72
  "noDischargedPatientsDescription": "There are currently no discharged patients to display.",
73
+ "noMatchingAwaitingPatients": "No matching awaiting patients found",
74
+ "noMatchingAwaitingPatientsDescription": "Try adjusting your search terms to find awaiting patients.",
75
+ "noMatchingDischargedPatients": "No matching discharged patients found",
76
+ "noMatchingDischargedPatientsDescription": "Try adjusting your search terms to find discharged patients.",
77
+ "noMatchingPatients": "No matching patients found",
78
+ "noMatchingPatientsDescription": "Try adjusting your search terms to find deceased patients.",
75
79
  "noObservationsFound": "No observations found",
76
80
  "noPatientSelected": "No patient selected",
81
+ "noSearchDeceasedPatients": "Search deceased patients",
82
+ "noSearchResults": "We couldn’t find anything",
77
83
  "occupied": "Occupied",
78
84
  "patientName": "Patient Name",
85
+ "postmortem": "Postmortem",
79
86
  "postmortemForm": "Postmortem",
80
87
  "previousPage": "Previous page",
81
88
  "printGatePass": "Gate Pass",
82
89
  "printPostMortemReport": "Postmortem Report",
90
+ "searchDeceasedPatients": "Search deceased patients",
83
91
  "searchPatients": "Search Patients",
92
+ "searchPatientsPlaceholder": "Search by name, ID number, gender, or cause of death...",
84
93
  "sharedCompartment_one": "{{count}} sharing",
85
94
  "sharedCompartment_other": "{{count}} sharing",
86
95
  "singleOccupancy": "Single",
@@ -88,6 +97,7 @@
88
97
  "swapCompartment": "Swap Compartment",
89
98
  "timeSpent": "Time spent",
90
99
  "totalCount": "total",
100
+ "tryAgain": "Try adjusting your search {{searchTerm}} and try again",
91
101
  "unknown": "Unknown",
92
102
  "viewDetails": "View details",
93
103
  "visitType": "Visit type",