@ampath/esm-reports-app 1.0.0-next.10

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 (154) hide show
  1. package/.editorconfig +12 -0
  2. package/.eslintignore +2 -0
  3. package/.eslintrc +57 -0
  4. package/.husky/pre-commit +7 -0
  5. package/.husky/pre-push +6 -0
  6. package/.prettierignore +14 -0
  7. package/.turbo.json +18 -0
  8. package/.yarn/plugins/@yarnpkg/plugin-outdated.cjs +35 -0
  9. package/LICENSE +401 -0
  10. package/README.md +9 -0
  11. package/__mocks__/react-i18next.js +50 -0
  12. package/dist/138.js +2 -0
  13. package/dist/138.js.LICENSE.txt +20 -0
  14. package/dist/138.js.map +1 -0
  15. package/dist/184.js +2 -0
  16. package/dist/184.js.LICENSE.txt +14 -0
  17. package/dist/184.js.map +1 -0
  18. package/dist/197.js +1 -0
  19. package/dist/205.js +1 -0
  20. package/dist/205.js.map +1 -0
  21. package/dist/282.js +2 -0
  22. package/dist/282.js.LICENSE.txt +32 -0
  23. package/dist/282.js.map +1 -0
  24. package/dist/300.js +1 -0
  25. package/dist/311.js +1 -0
  26. package/dist/311.js.map +1 -0
  27. package/dist/335.js +1 -0
  28. package/dist/353.js +1 -0
  29. package/dist/353.js.map +1 -0
  30. package/dist/478.js +2 -0
  31. package/dist/478.js.LICENSE.txt +9 -0
  32. package/dist/478.js.map +1 -0
  33. package/dist/540.js +2 -0
  34. package/dist/540.js.LICENSE.txt +9 -0
  35. package/dist/540.js.map +1 -0
  36. package/dist/55.js +1 -0
  37. package/dist/652.js +1 -0
  38. package/dist/677.js +1 -0
  39. package/dist/677.js.map +1 -0
  40. package/dist/812.js +1 -0
  41. package/dist/812.js.map +1 -0
  42. package/dist/961.js +2 -0
  43. package/dist/961.js.LICENSE.txt +19 -0
  44. package/dist/961.js.map +1 -0
  45. package/dist/99.js +1 -0
  46. package/dist/ampath-esm-reports-app.js +1 -0
  47. package/dist/ampath-esm-reports-app.js.buildmanifest.json +539 -0
  48. package/dist/ampath-esm-reports-app.js.map +1 -0
  49. package/dist/main.js +1 -0
  50. package/dist/main.js.map +1 -0
  51. package/dist/routes.json +1 -0
  52. package/e2e/README.md +115 -0
  53. package/e2e/core/global-setup.ts +32 -0
  54. package/e2e/core/index.ts +1 -0
  55. package/e2e/core/test.ts +20 -0
  56. package/e2e/fixtures/api.ts +26 -0
  57. package/e2e/fixtures/index.ts +1 -0
  58. package/e2e/pages/index.ts +1 -0
  59. package/e2e/pages/root-page.ts +32 -0
  60. package/e2e/specs/template-app.spec.ts +23 -0
  61. package/e2e/support/github/Dockerfile +34 -0
  62. package/e2e/support/github/docker-compose.yml +24 -0
  63. package/e2e/support/github/run-e2e-docker-env.sh +37 -0
  64. package/example.env +6 -0
  65. package/jest.config.js +33 -0
  66. package/package.json +106 -0
  67. package/playwright.config.ts +32 -0
  68. package/prettier.config.js +8 -0
  69. package/src/common/report-filters/report-filters.component.tsx +127 -0
  70. package/src/common/report-filters/report-filters.scss +49 -0
  71. package/src/config-schema.ts +12 -0
  72. package/src/createDashboardLink.tsx +9 -0
  73. package/src/dashboard/reports-dasboard.tsx +41 -0
  74. package/src/dashboard/reports-dashboard.module.scss +14 -0
  75. package/src/dashboard-meta/reports-dashboard.meta.ts +6 -0
  76. package/src/declarations.d.ts +5 -0
  77. package/src/index.ts +20 -0
  78. package/src/reports/datatable-wrapper/datatable-wrapper.component.tsx +54 -0
  79. package/src/reports/moh-240/moh-240.component.tsx +12 -0
  80. package/src/reports/moh-240/sub-reports/moh-240-register.component.tsx +42 -0
  81. package/src/reports/moh-240/sub-reports/page-summary.component.tsx +95 -0
  82. package/src/reports/moh-505/moh-505.component.tsx +234 -0
  83. package/src/reports/moh-705B/moh-705b.component.tsx +466 -0
  84. package/src/reports/moh-705B/moh-705b.scss +41 -0
  85. package/src/reports/moh-705a/moh-705a.component.tsx +473 -0
  86. package/src/reports/moh-705a/moh-705a.scss +41 -0
  87. package/src/reports/moh-706/moh-706.component.tsx +26 -0
  88. package/src/reports/moh-706/moh-706.scss +18 -0
  89. package/src/reports/moh-706/sub-reports/bacteriology/bacteriology.component.tsx +117 -0
  90. package/src/reports/moh-706/sub-reports/blood-chemistry/blood-chemistry.component.tsx +311 -0
  91. package/src/reports/moh-706/sub-reports/drug-susceptibility-testing/drug-susceptibility-testing.component.tsx +137 -0
  92. package/src/reports/moh-706/sub-reports/haematology/haematology.component.tsx +172 -0
  93. package/src/reports/moh-706/sub-reports/histology-and-cytology/histology-and-cytology.component.tsx +88 -0
  94. package/src/reports/moh-706/sub-reports/parasitology/parasitology.component.tsx +114 -0
  95. package/src/reports/moh-706/sub-reports/serology/serology.component.tsx +40 -0
  96. package/src/reports/moh-706/sub-reports/specimen-referral-to-higher-levels/specimen-referral-to-higher-levels.component.tsx +39 -0
  97. package/src/reports/moh-706/sub-reports/urine-analysis/urine-analysis.component.tsx +101 -0
  98. package/src/reports/moh-710/moh-710.component.tsx +663 -0
  99. package/src/reports/moh-710/moh-710.scss +41 -0
  100. package/src/reports/moh-711/moh-711.component.tsx +121 -0
  101. package/src/reports/moh-711/moh711.scss +71 -0
  102. package/src/reports/moh-711/sections/anc.component.tsx +134 -0
  103. package/src/reports/moh-711/sections/cervical-cancer.component.tsx +104 -0
  104. package/src/reports/moh-711/sections/chanis.component.tsx +367 -0
  105. package/src/reports/moh-711/sections/family-planning.component.tsx +221 -0
  106. package/src/reports/moh-711/sections/gbv.component.tsx +115 -0
  107. package/src/reports/moh-711/sections/maternity.component.tsx +280 -0
  108. package/src/reports/moh-711/sections/medical-social-work.component.tsx +83 -0
  109. package/src/reports/moh-711/sections/other.component.tsx +47 -0
  110. package/src/reports/moh-711/sections/physiotherapy.component.tsx +61 -0
  111. package/src/reports/moh-711/sections/pnc.component.tsx +92 -0
  112. package/src/reports/moh-711/sections/post-abortion.component.tsx +42 -0
  113. package/src/reports/moh-711/sections/rehabilitation.component.tsx +57 -0
  114. package/src/reports/moh-711/sections/report-compiled-by.component.tsx +42 -0
  115. package/src/reports/moh-711/sections/tb-screening.component.tsx +57 -0
  116. package/src/reports/moh-717/moh-717.component.tsx +152 -0
  117. package/src/reports/moh-717/moh717.scss +150 -0
  118. package/src/reports/moh-717/sections/finance.component.tsx +42 -0
  119. package/src/reports/moh-717/sections/inpatient.component.tsx +374 -0
  120. package/src/reports/moh-717/sections/maternity.component.tsx +94 -0
  121. package/src/reports/moh-717/sections/medical-records.component.tsx +35 -0
  122. package/src/reports/moh-717/sections/mortuary.component.tsx +43 -0
  123. package/src/reports/moh-717/sections/operations.component.tsx +53 -0
  124. package/src/reports/moh-717/sections/orthopaedic-trauma.component.tsx +98 -0
  125. package/src/reports/moh-717/sections/outpatient.component.tsx +489 -0
  126. package/src/reports/moh-717/sections/pharmacy.component.tsx +43 -0
  127. package/src/reports/moh-717/sections/preparedby.component.tsx +47 -0
  128. package/src/reports/moh-717/sections/special-services.component.tsx +114 -0
  129. package/src/reports/moh-745/moh-745.component.tsx +629 -0
  130. package/src/reports/moh-745/moh-745.scss +67 -0
  131. package/src/reports/table-wrapper/table-row-mapper.component.tsx +42 -0
  132. package/src/reports/table-wrapper/table-wrapper.component.tsx +21 -0
  133. package/src/reports/table-wrapper/table-wrapper.scss +31 -0
  134. package/src/resources/moh-705.resource.ts +60 -0
  135. package/src/resources/moh-710.resource.ts +34 -0
  136. package/src/resources/moh-711.resource.ts +34 -0
  137. package/src/resources/moh-717.resource.ts +35 -0
  138. package/src/resources/moh-745.resource.ts +34 -0
  139. package/src/root.component.tsx +35 -0
  140. package/src/root.scss +15 -0
  141. package/src/routes.json +27 -0
  142. package/src/utils/get-base-url.ts +12 -0
  143. package/src/utils/utils.ts +7 -0
  144. package/tools/i18next-parser.config.js +89 -0
  145. package/tools/setup-tests.ts +1 -0
  146. package/tools/update-openmrs-deps.mjs +43 -0
  147. package/translations/am.json +24 -0
  148. package/translations/en.json +24 -0
  149. package/translations/es.json +24 -0
  150. package/translations/fr.json +24 -0
  151. package/translations/he.json +24 -0
  152. package/translations/km.json +24 -0
  153. package/tsconfig.json +24 -0
  154. package/webpack.config.js +1 -0
@@ -0,0 +1,311 @@
1
+ import React, { useMemo } from "react";
2
+ import { TableRow, TableCell } from '@carbon/react';
3
+ import TableWrapper from "../../../table-wrapper/table-wrapper.component";
4
+ import styles from '../../../table-wrapper/table-wrapper.scss';
5
+ import TableRowMapper from "../../../table-wrapper/table-row-mapper.component";
6
+ import { getCell } from "../../../../utils/utils";
7
+
8
+ const BloodChemistry: React.FC = () => {
9
+ const tableRows = useMemo(() => {
10
+ return [
11
+ {
12
+ tableCells: [
13
+ getCell("", "2. BLOOD CHEMISTRY", 4, 1, true),
14
+ ]
15
+ },
16
+ {
17
+ tableCells: [
18
+ getCell("", "", 4),
19
+ ]
20
+ },
21
+ {
22
+ tableCells: [
23
+ getCell("", "Blood Sugar Test", 1, 1, true),
24
+ getCell("", "Total Exam", 1, 1, true),
25
+ getCell("", "Low", 1, 1, true),
26
+ getCell("", "High", 1, 1, true),
27
+ ]
28
+ },
29
+ {
30
+ tableCells: [
31
+ getCell("", "2.1 Blood sugar"),
32
+ getCell(),
33
+ getCell(),
34
+ getCell(),
35
+ ]
36
+ },
37
+ {
38
+ tableCells: [
39
+ getCell("", "2.2 OGTT"),
40
+ getCell(),
41
+ getCell(),
42
+ getCell(),
43
+ ]
44
+ },
45
+ {
46
+ tableCells: [
47
+ getCell("", "2.3 Renal Function Test", 1, 1, true),
48
+ getCell(),
49
+ getCell(),
50
+ getCell(),
51
+ ]
52
+ },
53
+ {
54
+ tableCells: [
55
+ getCell("", "2.4 Creatinine"),
56
+ getCell(),
57
+ getCell(),
58
+ getCell(),
59
+ ]
60
+ },
61
+ {
62
+ tableCells: [
63
+ getCell("", "1.4 Proteins"),
64
+ getCell(),
65
+ getCell(),
66
+ getCell(),
67
+ ]
68
+ },
69
+ {
70
+ tableCells: [
71
+ getCell("", "2.5 Urea"),
72
+ getCell(),
73
+ getCell(),
74
+ getCell(),
75
+ ]
76
+ },
77
+ {
78
+ tableCells: [
79
+ getCell("", "2.6 Sodium"),
80
+ getCell(),
81
+ getCell(),
82
+ getCell(),
83
+ ]
84
+ },
85
+ {
86
+ tableCells: [
87
+ getCell("", "2.7 Potassium"),
88
+ getCell(),
89
+ getCell(),
90
+ getCell(),
91
+ ]
92
+ },
93
+ {
94
+ tableCells: [
95
+ getCell("", "2.8 Chlorides"),
96
+ getCell(),
97
+ getCell(),
98
+ getCell(),
99
+ ]
100
+ },
101
+ {
102
+ tableCells: [
103
+ getCell("", "2.8 Liver Function Test", 1, 1, true),
104
+ getCell(),
105
+ getCell(),
106
+ getCell(),
107
+ ]
108
+ },
109
+ {
110
+ tableCells: [
111
+ getCell("", "2.9 Direct bilirubin"),
112
+ getCell(),
113
+ getCell(),
114
+ getCell(),
115
+ ]
116
+ },
117
+ {
118
+ tableCells: [
119
+ getCell("", "2.10 Total bilirubin"),
120
+ getCell(),
121
+ getCell(),
122
+ getCell(),
123
+ ]
124
+ },
125
+ {
126
+ tableCells: [
127
+ getCell("", "2.11 ASAT (SGOT)"),
128
+ getCell(),
129
+ getCell(),
130
+ getCell(),
131
+ ]
132
+ },
133
+ {
134
+ tableCells: [
135
+ getCell("", "2.12 ALAT (SGPT)"),
136
+ getCell(),
137
+ getCell(),
138
+ getCell(),
139
+ ]
140
+ },
141
+ {
142
+ tableCells: [
143
+ getCell("", "2.13 Serum Protein"),
144
+ getCell(),
145
+ getCell(),
146
+ getCell(),
147
+ ]
148
+ },
149
+ {
150
+ tableCells: [
151
+ getCell("", "2.14 Albumin"),
152
+ getCell(),
153
+ getCell(),
154
+ getCell(),
155
+ ]
156
+ },
157
+ {
158
+ tableCells: [
159
+ getCell("", "2.15 Alkaline Phosphatase"),
160
+ getCell(),
161
+ getCell(),
162
+ getCell(),
163
+ ]
164
+ },
165
+ {
166
+ tableCells: [
167
+ getCell("", "2.16 Lipid Profile", 1, 1, true),
168
+ getCell(),
169
+ getCell(),
170
+ getCell(),
171
+ ]
172
+ },
173
+ {
174
+ tableCells: [
175
+ getCell("", "2.17 Total cholesterol"),
176
+ getCell(),
177
+ getCell(),
178
+ getCell(),
179
+ ]
180
+ },
181
+ {
182
+ tableCells: [
183
+ getCell("", "2.18 Triglycerides"),
184
+ getCell(),
185
+ getCell(),
186
+ getCell(),
187
+ ]
188
+ },
189
+ {
190
+ tableCells: [
191
+ getCell("", "2.19 LDL"),
192
+ getCell(),
193
+ getCell(),
194
+ getCell(),
195
+ ]
196
+ },
197
+ {
198
+ tableCells: [
199
+ getCell("", "Hormonal Test", 1, 1, true),
200
+ getCell("", "Total Exam", 1, 1, true),
201
+ getCell("", "Low", 1, 1, true),
202
+ getCell("", "High", 1, 1, true),
203
+ ]
204
+ },
205
+ {
206
+ tableCells: [
207
+ getCell("", "2.20 T3"),
208
+ getCell(),
209
+ getCell(),
210
+ getCell(),
211
+ ]
212
+ },
213
+ {
214
+ tableCells: [
215
+ getCell("", "2.21 T4"),
216
+ getCell(),
217
+ getCell(),
218
+ getCell(),
219
+ ]
220
+ },
221
+ {
222
+ tableCells: [
223
+ getCell("", "2.22 TSH"),
224
+ getCell(),
225
+ getCell(),
226
+ getCell(),
227
+ ]
228
+ },
229
+ {
230
+ tableCells: [
231
+ getCell("", "Tumor Markers", 1, 1, true),
232
+ getCell("", "Total Exam", 1, 1, true),
233
+ getCell("", "Number Positive", 2, 1, true),
234
+ ]
235
+ },
236
+ {
237
+ tableCells: [
238
+ getCell("", "2.23 PSA"),
239
+ getCell(),
240
+ getCell("", "", 2),
241
+ ]
242
+ },
243
+ {
244
+ tableCells: [
245
+ getCell("", "2.24 CA 15-3"),
246
+ getCell(),
247
+ getCell("", "", 2),
248
+ ]
249
+ },
250
+ {
251
+ tableCells: [
252
+ getCell("", "2.25 CA 19-9"),
253
+ getCell(),
254
+ getCell("", "", 2),
255
+ ]
256
+ },
257
+ {
258
+ tableCells: [
259
+ getCell("", "2.26 CA 125"),
260
+ getCell(),
261
+ getCell("", "", 2),
262
+ ]
263
+ },
264
+ {
265
+ tableCells: [
266
+ getCell("", "2.27 CEA"),
267
+ getCell(),
268
+ getCell("", "", 2),
269
+ ]
270
+ },
271
+ {
272
+ tableCells: [
273
+ getCell("", "2.28 AFP"),
274
+ getCell(),
275
+ getCell("", "", 2),
276
+ ]
277
+ },
278
+ {
279
+ tableCells: [
280
+ getCell("", "CSF Chemistry", 1, 1, true),
281
+ getCell("", "Total Exam", 1, 1, true),
282
+ getCell("", "Low", 1, 1, true),
283
+ getCell("", "High", 1, 1, true),
284
+ ]
285
+ },
286
+ {
287
+ tableCells: [
288
+ getCell("", "2.29 Proteins"),
289
+ getCell(),
290
+ getCell(),
291
+ getCell(),
292
+ ]
293
+ },
294
+ {
295
+ tableCells: [
296
+ getCell("", "2.30 Glucose"),
297
+ getCell(),
298
+ getCell(),
299
+ getCell(),
300
+ ]
301
+ },
302
+ ]
303
+ }, []);
304
+
305
+
306
+ return <TableWrapper>
307
+ <TableRowMapper tableRows={tableRows} />
308
+ </TableWrapper>
309
+ }
310
+
311
+ export default BloodChemistry;
@@ -0,0 +1,137 @@
1
+ import React, { useMemo } from "react";
2
+ import TableWrapper from "../../../table-wrapper/table-wrapper.component";
3
+ import TableRowMapper from "../../../table-wrapper/table-row-mapper.component";
4
+ import { getCell } from "../../../../utils/utils";
5
+
6
+ const DrugSusceptibilityTesting: React.FC = () => {
7
+ const cells = Array.from({ length: 25 }, (_, i) => getCell());
8
+
9
+ const tableRows = useMemo(() => {
10
+ return [
11
+ {
12
+ tableCells: [getCell("", "9. DRUG SUSCEPTIBILITY TESTING", 12, 1, true)]
13
+ },
14
+ {
15
+ tableCells: [
16
+ getCell("", "Drug Resistance Pattern", 1, 1, true),
17
+ getCell("", "a. Ciprofloxacin", 1, 1, true),
18
+ getCell("", "b. Levofloxacin", 1, 1, true),
19
+ getCell("", "c. Gentamicin", 1, 1, true),
20
+ getCell("", "d. Tetracycline", 1, 1, true),
21
+ getCell("", "e. Ceftazidime", 1, 1, true),
22
+ getCell("", "f. Cefuroxime", 1, 1, true),
23
+ getCell("", "g. Cefotaxime", 1, 1, true),
24
+ getCell("", "h. Ampicillin", 1, 1, true),
25
+ getCell("", "i. Cefazolin", 1, 1, true),
26
+ getCell("", "j. Amoxillin-Clavulanate", 1, 1, true),
27
+ getCell("", "k. Amikacin", 1, 1, true),
28
+ getCell("", "m. Chloramphenicol", 1, 1, true),
29
+ getCell("", "n. Cefepime", 1, 1, true),
30
+ getCell("", "p. Piperacillin-tazobactam", 1, 1, true),
31
+ getCell("", "q. obramycin", 1, 1, true),
32
+ getCell("", "r. Ampicillin Sulbactam", 1, 1, true),
33
+ getCell("", "s. Trimethoprim Sulfamethoxazole", 1, 1, true),
34
+ getCell("", "t. Penicillin", 1, 1, true),
35
+ getCell("", "u. Vancomycin", 1, 1, true),
36
+ getCell("", "v. Meropenem", 1, 1, true),
37
+ getCell("", "w. Clindamycin", 1, 1, true),
38
+ getCell("", "x. Doxycycline/tetracyclin", 1, 1, true),
39
+ getCell("", "y. Ceftazidime-avibactam", 1, 1, true),
40
+ getCell("", "z. Erythromycin", 1, 1, true),
41
+ getCell("", "aa. Gentamicin", 1, 1, true),
42
+ ]
43
+ },
44
+ {
45
+ tableCells: [
46
+ getCell("", "9.1 E. coli O157:H7"),
47
+ ...cells
48
+ ]
49
+ },
50
+ {
51
+ tableCells: [
52
+ getCell("", "9.2 Proteus spp"),
53
+ ...cells
54
+ ]
55
+ },
56
+ {
57
+ tableCells: [
58
+ getCell("", "9.3 Salmonella spp"),
59
+ ...cells
60
+ ]
61
+ },
62
+ {
63
+ tableCells: [
64
+ getCell("", "9.4 Shigella spp"),
65
+ ...cells
66
+ ]
67
+ },
68
+ {
69
+ tableCells: [
70
+ getCell("", "9.5 Klebsiella pneumoniae"),
71
+ ...cells
72
+ ]
73
+ },
74
+ {
75
+ tableCells: [
76
+ getCell("", "9.6 Pseudomonas spp"),
77
+ ...cells
78
+ ]
79
+ },
80
+ {
81
+ tableCells: [
82
+ getCell("", "9.7 Staphylococcus aureus"),
83
+ ...cells
84
+ ]
85
+ },
86
+ {
87
+ tableCells: [
88
+ getCell("", "9.8 Vibrio cholerae spp"),
89
+ ...cells
90
+ ]
91
+ },
92
+ {
93
+ tableCells: [
94
+ getCell("", "9.9 Neisseria meningitidis"),
95
+ ...cells
96
+ ]
97
+ },
98
+ {
99
+ tableCells: [
100
+ getCell("", "9.10 Neisseria gonorrhoeae"),
101
+ ...cells
102
+ ]
103
+ },
104
+ {
105
+ tableCells: [
106
+ getCell("", "9.11 Streptococcus pneumoniae"),
107
+ ...cells
108
+ ]
109
+ },
110
+ {
111
+ tableCells: [
112
+ getCell("", "9.12 Haemophilus influenzae"),
113
+ ...cells
114
+ ]
115
+ },
116
+ {
117
+ tableCells: [
118
+ getCell("", "9.13 Haemophilus parainfluenzae"),
119
+ ...cells
120
+ ]
121
+ },
122
+ {
123
+ tableCells: [
124
+ getCell("", "9.14 Bacterial vaginosis"),
125
+ ...cells
126
+ ]
127
+ },
128
+ ]
129
+ }, []);
130
+
131
+
132
+ return <TableWrapper>
133
+ <TableRowMapper tableRows={tableRows} />
134
+ </TableWrapper>
135
+ }
136
+
137
+ export default DrugSusceptibilityTesting;
@@ -0,0 +1,172 @@
1
+ import React, { useMemo } from "react";
2
+ import TableWrapper from "../../../table-wrapper/table-wrapper.component";
3
+ import { getCell } from "../../../../utils/utils";
4
+ import TableRowMapper from "../../../table-wrapper/table-row-mapper.component";
5
+
6
+ const Haematology: React.FC = () => {
7
+ const tableRows = useMemo(() => {
8
+ return [
9
+ {
10
+ tableCells: [
11
+ getCell("", "4 HAEMATOLOGY", 4, 1, true)
12
+ ]
13
+ },
14
+ {
15
+ tableCells: [
16
+ getCell("", "Haematology tests", 1, 1, true),
17
+ getCell("", "Total Exam", 1, 1, true),
18
+ getCell("", "HB <5 g/dl", 1, 1, true),
19
+ getCell("", "HB between 5 and 10 g/dl", 1, 1, true),
20
+ ]
21
+ },
22
+ {
23
+ tableCells: [
24
+ getCell("", "4.1 Full blood count"),
25
+ getCell(),
26
+ getCell(),
27
+ getCell()
28
+ ]
29
+ },
30
+ {
31
+ tableCells: [
32
+ getCell("", "4.2 HB estimation tests (other techniques)"),
33
+ getCell(),
34
+ getCell(),
35
+ getCell()
36
+ ]
37
+ },
38
+ {
39
+ tableCells: [
40
+ getCell(),
41
+ getCell("", "Total Exam", 1, 1, true),
42
+ getCell("", "Pre-diabetes", 1, 1, true),
43
+ getCell("", "Diabetes", 1, 1, true),
44
+ ]
45
+ },
46
+ {
47
+ tableCells: [
48
+ getCell("", "Hemoglobin A1c (HbA1c)"),
49
+ getCell(),
50
+ getCell(),
51
+ getCell()
52
+ ]
53
+ },
54
+ {
55
+ tableCells: [
56
+ getCell(),
57
+ getCell("", "Total Exam", 1, 1, true),
58
+ getCell("", "Number <500", 2, 1, true),
59
+ ]
60
+ },
61
+ {
62
+ tableCells: [
63
+ getCell("", "4.4 CD4"),
64
+ getCell(),
65
+ getCell("", "", 2),
66
+ ]
67
+ },
68
+ {
69
+ tableCells: [
70
+ getCell("", "Other Haematology tests", 1, 1, true),
71
+ getCell("", "Total Exam", 1, 1, true),
72
+ getCell("", "Number Positive", 2, 1, true),
73
+ ]
74
+ },
75
+ {
76
+ tableCells: [getCell("", "4.5 Sickling test"), getCell(), getCell("", "", 2)]
77
+ },
78
+ {
79
+ tableCells: [getCell("", "4.6 Peripheral blood films"), getCell(), getCell("", "", 2)]
80
+ },
81
+ {
82
+ tableCells: [getCell("", "4.7 BMA"), getCell(), getCell("", "", 2)]
83
+ },
84
+ {
85
+ tableCells: [getCell("", "4.8 Coagulation profile"), getCell(), getCell("", "", 2)]
86
+ },
87
+ {
88
+ tableCells: [getCell("", "4.9 Reticulocyte"), getCell(), getCell("", "", 2)]
89
+ },
90
+ {
91
+ tableCells: [
92
+ getCell(),
93
+ getCell("", "Total Exam", 1, 1, true),
94
+ getCell("", "High", 2, 1, true),
95
+ ]
96
+ },
97
+ {
98
+ tableCells: [
99
+ getCell("", "4.10 Erythrocyte Sedimentation Rate"),
100
+ getCell(),
101
+ getCell("", "", 2),
102
+ ]
103
+ },
104
+ {
105
+ tableCells: [
106
+ getCell("", "Blood Grouping", 3, 1, true),
107
+ getCell("", "Number", 1, 1, true),
108
+ ]
109
+ },
110
+ {
111
+ tableCells: [
112
+ getCell("", "4.11 Total blood group tests", 3),
113
+ getCell(),
114
+ ]
115
+ },
116
+ {
117
+ tableCells: [
118
+ getCell("", "4.12 Blood units grouped", 3),
119
+ getCell(),
120
+ ]
121
+ },
122
+ {
123
+ tableCells: [
124
+ getCell("", "Blood Safety", 4, 1, true),
125
+ ]
126
+ },
127
+ {
128
+ tableCells: [getCell("", "4.13 Blood units received from blood transfusion centres", 3), getCell()]
129
+ },
130
+ {
131
+ tableCells: [getCell("", "4.14 Blood units collected at facility", 3), getCell()]
132
+ },
133
+ {
134
+ tableCells: [getCell("", "4.15 Blood units transfused", 3), getCell()]
135
+ },
136
+ {
137
+ tableCells: [getCell("", "4.16 Transfusion reactions reported and investigated", 3), getCell()]
138
+ },
139
+ {
140
+ tableCells: [getCell("", "4.17 Blood grouping and cross matched", 3), getCell()]
141
+ },
142
+ {
143
+ tableCells: [getCell("", "4.18 Blood units discarded", 3), getCell()]
144
+ },
145
+ {
146
+ tableCells: [
147
+ getCell("", "Blood Screening at facility", 3, 1, true),
148
+ getCell("", "Number Positive", 1, 1, true),
149
+ ]
150
+ },
151
+ {
152
+ tableCells: [getCell("", "4.19 HIV", 3), getCell()]
153
+ },
154
+ {
155
+ tableCells: [getCell("", "4.20 Hepatitis B", 3), getCell()]
156
+ },
157
+ {
158
+ tableCells: [getCell("", "4.21 Hepatitis C", 3), getCell()]
159
+ },
160
+ {
161
+ tableCells: [getCell("", "4.22 Syphilis", 3), getCell()]
162
+ },
163
+ ]
164
+ }, []);
165
+
166
+
167
+ return <TableWrapper>
168
+ <TableRowMapper tableRows={tableRows} />
169
+ </TableWrapper>
170
+ }
171
+
172
+ export default Haematology;