@ampath/esm-reports-app 1.0.0-next.76 → 1.0.0-next.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{255.css → 177.css} +1 -1
- package/dist/{255.css.map → 177.css.map} +1 -1
- package/dist/177.js +1 -0
- package/dist/177.js.map +1 -0
- package/dist/410.js +1 -1
- package/dist/ampath-esm-reports-app.js +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/registers/register-catalog.ts +74 -2
- package/src/reports/moh-706/sub-reports/bacteriology/bacteriology.component.tsx +3 -3
- package/src/reports/moh-710/registers/moh-413/moh-413.component.tsx +105 -53
- package/src/reports/moh-710/registers/moh-510/moh-510.component.tsx +158 -109
- package/src/reports/moh-711/moh-711.component.tsx +6 -1
- package/src/reports/moh-711/registers/moh-333-register.component.tsx +621 -580
- package/src/reports/moh-711/registers/moh-405-register.component.tsx +519 -475
- package/src/reports/moh-711/registers/moh-406-register.component.tsx +529 -480
- package/src/reports/moh-711/registers/moh-407-register.component.tsx +157 -0
- package/src/reports/moh-711/registers/moh-407.columns.ts +24 -0
- package/src/reports/moh-711/registers/moh-407.scss +64 -0
- package/src/reports/moh-711/registers/moh-512.component.tsx +102 -52
- package/src/reports/moh-711/registers/tb-register.component.tsx +5 -2
- package/src/reports/moh-711/sections/chanis.component.tsx +24 -1
- package/src/resources/moh-711.resource.ts +31 -31
- package/src/root.component.tsx +2 -0
- package/dist/255.js +0 -1
- package/dist/255.js.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { useLocation,
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import { useLocation, useSearchParams } from 'react-router-dom';
|
|
3
|
+
import { useSession } from '@openmrs/esm-framework';
|
|
3
4
|
|
|
4
5
|
import styles from '../../../common/report-register/register-table.scss';
|
|
5
6
|
import classNames from 'classnames';
|
|
@@ -7,17 +8,27 @@ import { getMoh406PatientList } from '../../../resources/moh-711.resource';
|
|
|
7
8
|
import { moh406Columns } from './type';
|
|
8
9
|
import { moh406ExportColumns } from './moh-406.columns';
|
|
9
10
|
import { RegisterLayout, usePatientList } from '../../../common/report-register';
|
|
11
|
+
import { ReportFiltersComponent, type ReportPeriod } from '../../../common/report-filters';
|
|
10
12
|
|
|
11
13
|
const Moh406Register: React.FC = () => {
|
|
12
|
-
const [searchParams] = useSearchParams();
|
|
14
|
+
const [searchParams, setSearchParams] = useSearchParams();
|
|
13
15
|
const location = useLocation();
|
|
16
|
+
const session = useSession();
|
|
14
17
|
|
|
15
|
-
const startDate = searchParams.get('startDate');
|
|
16
|
-
const endDate = searchParams.get('endDate');
|
|
17
|
-
const locationUuids = searchParams.get('locationUuids');
|
|
18
|
-
const indicator = searchParams.get('indicator');
|
|
19
|
-
const reportName = location.state?.reportName || '';
|
|
20
18
|
const from = searchParams.get('from');
|
|
19
|
+
const isDrilldown = Boolean(from);
|
|
20
|
+
const [generatedPeriod, setGeneratedPeriod] = useState<{ startDate: string; endDate: string } | null>(() => {
|
|
21
|
+
const startDate = searchParams.get('startDate');
|
|
22
|
+
const endDate = searchParams.get('endDate');
|
|
23
|
+
return !isDrilldown && startDate && endDate ? { startDate, endDate } : null;
|
|
24
|
+
});
|
|
25
|
+
const isGenerated = isDrilldown || Boolean(generatedPeriod);
|
|
26
|
+
|
|
27
|
+
const startDate = generatedPeriod?.startDate ?? searchParams.get('startDate');
|
|
28
|
+
const endDate = generatedPeriod?.endDate ?? searchParams.get('endDate');
|
|
29
|
+
const locationUuids = searchParams.get('locationUuids') ?? session?.sessionLocation?.uuid ?? '';
|
|
30
|
+
const indicator = searchParams.get('indicator');
|
|
31
|
+
const reportName = location.state?.reportName || 'moh711Report';
|
|
21
32
|
|
|
22
33
|
const {
|
|
23
34
|
rows: patientlist,
|
|
@@ -29,8 +40,12 @@ const Moh406Register: React.FC = () => {
|
|
|
29
40
|
onPageChange,
|
|
30
41
|
fetchAll,
|
|
31
42
|
} = usePatientList(
|
|
32
|
-
({ startIndex, limit }) =>
|
|
33
|
-
|
|
43
|
+
({ startIndex, limit }) => {
|
|
44
|
+
if (!isDrilldown && !generatedPeriod) {
|
|
45
|
+
return Promise.resolve({ results: [], total: 0, isTotalExact: true });
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
return getMoh406PatientList({
|
|
34
49
|
startDate,
|
|
35
50
|
endDate,
|
|
36
51
|
locationUuids,
|
|
@@ -39,493 +54,527 @@ const Moh406Register: React.FC = () => {
|
|
|
39
54
|
startIndex,
|
|
40
55
|
limit,
|
|
41
56
|
from,
|
|
42
|
-
})
|
|
43
|
-
|
|
57
|
+
});
|
|
58
|
+
},
|
|
59
|
+
[startDate, endDate, locationUuids, indicator, reportName, from, isDrilldown, generatedPeriod],
|
|
44
60
|
);
|
|
61
|
+
|
|
62
|
+
const generate = ({ startDate, endDate }: ReportPeriod) => {
|
|
63
|
+
setGeneratedPeriod({ startDate, endDate });
|
|
64
|
+
setSearchParams((currentParams) => {
|
|
65
|
+
const nextParams = new URLSearchParams(currentParams);
|
|
66
|
+
nextParams.set('startDate', startDate);
|
|
67
|
+
nextParams.set('endDate', endDate);
|
|
68
|
+
if (!nextParams.has('locationUuids') && locationUuids) {
|
|
69
|
+
nextParams.set('locationUuids', locationUuids);
|
|
70
|
+
}
|
|
71
|
+
return nextParams;
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
|
|
45
75
|
return (
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
<
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
<
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
76
|
+
<>
|
|
77
|
+
{!isDrilldown && (
|
|
78
|
+
<ReportFiltersComponent
|
|
79
|
+
reportName="MOH 406 Register"
|
|
80
|
+
mode="range"
|
|
81
|
+
onGenerate={generate}
|
|
82
|
+
isLoading={isLoading}
|
|
83
|
+
isReportGenerated={Boolean(generatedPeriod)}
|
|
84
|
+
generatedPeriod={generatedPeriod ?? undefined}
|
|
85
|
+
backLink={{ label: 'All registers', to: '/?tab=registers' }}
|
|
86
|
+
/>
|
|
87
|
+
)}
|
|
88
|
+
<RegisterLayout
|
|
89
|
+
parentLabel={isDrilldown ? 'MOH-711 Report' : 'All registers'}
|
|
90
|
+
parentPath={isDrilldown ? '/moh-711' : '/?tab=registers'}
|
|
91
|
+
title="MOH 406 Register"
|
|
92
|
+
isLoading={isLoading}
|
|
93
|
+
isEmpty={isGenerated && patientlist.length === 0}
|
|
94
|
+
page={page}
|
|
95
|
+
pageSize={pageSize}
|
|
96
|
+
total={total}
|
|
97
|
+
isTotalExact={isTotalExact}
|
|
98
|
+
onPageChange={onPageChange}
|
|
99
|
+
fetchAll={isGenerated ? fetchAll : undefined}
|
|
100
|
+
columns={moh406ExportColumns}
|
|
101
|
+
>
|
|
102
|
+
{isGenerated && (
|
|
103
|
+
<div className={styles.tableContainer}>
|
|
104
|
+
<table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
|
|
105
|
+
<thead>
|
|
106
|
+
<tr>
|
|
107
|
+
<th colSpan={8}>Registration Information</th>
|
|
108
|
+
<th colSpan={3}>Maternity History</th>
|
|
109
|
+
<th colSpan={2}>Postpartum Visit</th>
|
|
110
|
+
<th colSpan={3}>Vital Signs</th>
|
|
111
|
+
<th colSpan={8}>Postnatal Examinations</th>
|
|
112
|
+
<th>TB screening</th>
|
|
113
|
+
<th colSpan={6}></th>
|
|
114
|
+
<th colSpan={4}>HAART & Infant Prophylaxis and Treatment</th>
|
|
115
|
+
<th>
|
|
116
|
+
Cervical Cancer
|
|
117
|
+
<br />
|
|
118
|
+
Screening
|
|
119
|
+
<br />
|
|
120
|
+
(VIA/VILLI/PAP
|
|
121
|
+
<br />
|
|
122
|
+
Smear/ND)
|
|
123
|
+
</th>
|
|
124
|
+
<th>
|
|
125
|
+
Modern Post
|
|
126
|
+
<br />
|
|
127
|
+
Partum Family
|
|
128
|
+
<br />
|
|
129
|
+
Planning
|
|
130
|
+
<br />
|
|
131
|
+
(Y/N)
|
|
132
|
+
</th>
|
|
133
|
+
<th>
|
|
134
|
+
Other Maternal
|
|
135
|
+
<br />
|
|
136
|
+
Complications
|
|
137
|
+
</th>
|
|
138
|
+
<th>
|
|
139
|
+
Haematinics
|
|
140
|
+
<br />
|
|
141
|
+
(Y/N)
|
|
142
|
+
</th>
|
|
143
|
+
<th colSpan={3}>Refferals</th>
|
|
144
|
+
<th rowSpan={7}>Remarks</th>
|
|
145
|
+
</tr>
|
|
146
|
+
<tr>
|
|
147
|
+
<th rowSpan={6}>
|
|
148
|
+
Date of Visit
|
|
149
|
+
<br />
|
|
150
|
+
(dd/mm/yyyy)
|
|
151
|
+
</th>
|
|
152
|
+
<th>
|
|
153
|
+
PNC Number
|
|
154
|
+
<br />
|
|
155
|
+
(New Visit)
|
|
156
|
+
</th>
|
|
157
|
+
<th rowSpan={6}>
|
|
158
|
+
PNC Number/NUPI <br />
|
|
159
|
+
(Revisit)
|
|
160
|
+
</th>
|
|
161
|
+
<th rowSpan={6}>CRID</th>
|
|
162
|
+
<th rowSpan={6}>
|
|
163
|
+
Full Name(first name, middle and <br />
|
|
164
|
+
surname)
|
|
165
|
+
</th>
|
|
166
|
+
<th>
|
|
167
|
+
Date of Birth
|
|
168
|
+
<br />
|
|
169
|
+
(dd/mm/yyyy)
|
|
170
|
+
</th>
|
|
171
|
+
<th rowSpan={6}>
|
|
172
|
+
County/ <br />
|
|
173
|
+
SubCounty
|
|
174
|
+
</th>
|
|
175
|
+
<th>Village/Estate/ Landmark</th>
|
|
176
|
+
<th rowSpan={6}>
|
|
177
|
+
Date of Delivery
|
|
178
|
+
<br />
|
|
179
|
+
(dd/mm/yyyy)
|
|
180
|
+
</th>
|
|
181
|
+
<th rowSpan={6}>
|
|
182
|
+
Place of <br />
|
|
183
|
+
Delivery
|
|
184
|
+
<br />
|
|
185
|
+
1)Facility <br />
|
|
186
|
+
2) Home
|
|
187
|
+
<br />
|
|
188
|
+
3) BBA
|
|
189
|
+
</th>
|
|
190
|
+
<th rowSpan={6}>
|
|
191
|
+
Mode of
|
|
192
|
+
<br />
|
|
193
|
+
Delivery
|
|
194
|
+
<br />
|
|
195
|
+
1) SVD
|
|
196
|
+
<br />
|
|
197
|
+
2) CS
|
|
198
|
+
<br />
|
|
199
|
+
3) Breech
|
|
200
|
+
<br />
|
|
201
|
+
4) AVD
|
|
202
|
+
</th>
|
|
203
|
+
<th>
|
|
204
|
+
Timing <br />
|
|
205
|
+
Mother
|
|
206
|
+
</th>
|
|
207
|
+
<th>Timing Baby</th>
|
|
208
|
+
<th rowSpan={6}>Temp</th>
|
|
209
|
+
<th rowSpan={6}>Pulse</th>
|
|
210
|
+
<th rowSpan={6}>
|
|
211
|
+
Blood <br />
|
|
212
|
+
Pressure
|
|
213
|
+
</th>
|
|
214
|
+
<th>
|
|
215
|
+
Pallor
|
|
216
|
+
<br />
|
|
217
|
+
(Y/N)
|
|
218
|
+
</th>
|
|
219
|
+
<th rowSpan={6}>
|
|
220
|
+
Breast <br />
|
|
221
|
+
1=normal <br />
|
|
222
|
+
2= cracked
|
|
223
|
+
<br />
|
|
224
|
+
nipple
|
|
225
|
+
<br />
|
|
226
|
+
3=engorged <br />
|
|
227
|
+
4=mastitis
|
|
228
|
+
</th>
|
|
229
|
+
<th rowSpan={6}>
|
|
230
|
+
Uterus <br />
|
|
231
|
+
1=
|
|
232
|
+
<br />
|
|
233
|
+
contracte d<br />
|
|
234
|
+
2= not
|
|
235
|
+
<br />
|
|
236
|
+
contracte d <br />
|
|
237
|
+
3= Others
|
|
238
|
+
<br />
|
|
239
|
+
Specify
|
|
240
|
+
</th>
|
|
241
|
+
<th rowSpan={6}>
|
|
242
|
+
PPH <br />
|
|
243
|
+
1=present
|
|
244
|
+
<br />
|
|
245
|
+
2=Absent
|
|
246
|
+
</th>
|
|
247
|
+
<th rowSpan={6}>
|
|
248
|
+
C-Section Site <br />
|
|
249
|
+
1=Bleeding <br />
|
|
250
|
+
2=Normal <br />
|
|
251
|
+
3=Infected
|
|
252
|
+
<br />
|
|
253
|
+
4=Gapping <br />
|
|
254
|
+
5=N/A
|
|
255
|
+
</th>
|
|
256
|
+
<th rowSpan={6}>
|
|
257
|
+
Lochia <br />
|
|
258
|
+
1=Normal <br />
|
|
259
|
+
2=Foul <br />
|
|
260
|
+
smelling <br />
|
|
261
|
+
3=Excessi <br />
|
|
262
|
+
ve
|
|
263
|
+
</th>
|
|
264
|
+
<th rowSpan={6}>
|
|
265
|
+
Episiotomy <br />
|
|
266
|
+
1=Repaired <br />
|
|
267
|
+
2=Gaping <br />
|
|
268
|
+
3=Infected <br />
|
|
269
|
+
4=Healed <br />
|
|
270
|
+
5=N/
|
|
271
|
+
</th>
|
|
272
|
+
<th rowSpan={6}>
|
|
273
|
+
Fistula <br />
|
|
274
|
+
1=VVF <br />
|
|
275
|
+
2=RVF <br />
|
|
276
|
+
3=VVR <br />
|
|
277
|
+
4=Non
|
|
278
|
+
</th>
|
|
279
|
+
<th>
|
|
280
|
+
TB Screening
|
|
281
|
+
<br />
|
|
282
|
+
1: Presumed TB
|
|
283
|
+
<br />
|
|
284
|
+
2: No signs
|
|
285
|
+
<br />
|
|
286
|
+
3: On TB treatment
|
|
287
|
+
<br />
|
|
288
|
+
4: On TPT
|
|
289
|
+
<br />
|
|
290
|
+
5: Not done
|
|
291
|
+
</th>
|
|
292
|
+
<th>Tested PNC</th>
|
|
293
|
+
<th>HIV Test 1</th>
|
|
294
|
+
<th>HIV Test 2</th>
|
|
295
|
+
<th>HIV Test 3</th>
|
|
296
|
+
<th colSpan={2}>Results in PNC</th>
|
|
297
|
+
<th colSpan={2}>≤6wks</th>
|
|
298
|
+
<th colSpan={2}>>6wks</th>
|
|
299
|
+
<th>
|
|
300
|
+
Results
|
|
301
|
+
<br />
|
|
302
|
+
1=Normal,
|
|
303
|
+
<br />
|
|
304
|
+
2=Suspected,
|
|
305
|
+
<br />
|
|
306
|
+
3= Confirmed,
|
|
307
|
+
<br />
|
|
308
|
+
4= Not done
|
|
309
|
+
</th>
|
|
310
|
+
<th>
|
|
311
|
+
Counseled <br />
|
|
312
|
+
Method received
|
|
313
|
+
</th>
|
|
314
|
+
<th rowSpan={6}></th>
|
|
315
|
+
<th rowSpan={6}></th>
|
|
316
|
+
<th>From</th>
|
|
317
|
+
<th>To</th>
|
|
318
|
+
<th>
|
|
319
|
+
Reasons for <br />
|
|
320
|
+
referral <br />
|
|
321
|
+
(specify)
|
|
322
|
+
</th>
|
|
323
|
+
</tr>
|
|
324
|
+
<tr>
|
|
325
|
+
<th rowSpan={6}>NUPI</th>
|
|
326
|
+
<th rowSpan={6}>Age in Years</th>
|
|
327
|
+
<th rowSpan={6}>Telephone number</th>
|
|
328
|
+
<th rowSpan={5}>
|
|
329
|
+
1=no change, <br />
|
|
330
|
+
2=10 days to
|
|
331
|
+
<br />
|
|
332
|
+
14 days; <br />
|
|
333
|
+
3=4 to 6 <br />
|
|
334
|
+
weeks; <br />
|
|
335
|
+
4=4 to 6 <br />
|
|
336
|
+
months
|
|
337
|
+
</th>
|
|
338
|
+
<th rowSpan={5}>
|
|
339
|
+
1=no change,
|
|
340
|
+
<br />
|
|
341
|
+
2=10 days to <br />
|
|
342
|
+
14 days; <br />
|
|
343
|
+
3=4 to 6 <br />
|
|
344
|
+
weeks; <br />
|
|
345
|
+
4=4 to 6 <br />
|
|
346
|
+
months
|
|
347
|
+
</th>
|
|
348
|
+
<th rowSpan={5}>
|
|
349
|
+
1= mild;
|
|
350
|
+
<br />
|
|
351
|
+
2= moderate;
|
|
352
|
+
<br />
|
|
353
|
+
3= severe
|
|
354
|
+
</th>
|
|
355
|
+
<th rowSpan={5}></th>
|
|
356
|
+
<th rowSpan={5}>(I/R/ND/KP)</th>
|
|
357
|
+
<th>Kit Name:</th>
|
|
358
|
+
<th>Kit Name:</th>
|
|
359
|
+
<th>Kit Name:</th>
|
|
360
|
+
<th>≤6wks</th>
|
|
361
|
+
<th>>6wks</th>
|
|
362
|
+
<th>Infant</th>
|
|
363
|
+
<th>Mother</th>
|
|
364
|
+
<th>Infant</th>
|
|
365
|
+
<th>Mother</th>
|
|
366
|
+
<th rowSpan={5}></th>
|
|
367
|
+
<th rowSpan={5}></th>
|
|
368
|
+
<th>
|
|
369
|
+
1 = Community Unit
|
|
370
|
+
<br />
|
|
371
|
+
2 = Another Health
|
|
372
|
+
<br />
|
|
373
|
+
Facility
|
|
374
|
+
<br />3 = Not Applicable
|
|
375
|
+
</th>
|
|
376
|
+
<th>
|
|
377
|
+
1 = Community Unit
|
|
378
|
+
<br />
|
|
379
|
+
<br />
|
|
380
|
+
2 = Another Health
|
|
381
|
+
<br />
|
|
382
|
+
Facility
|
|
383
|
+
<br />3 = Not Applicable
|
|
384
|
+
</th>
|
|
385
|
+
<th rowSpan={5}></th>
|
|
386
|
+
</tr>
|
|
387
|
+
<tr>
|
|
388
|
+
<th>Lot No.</th>
|
|
389
|
+
<th>Lot No.</th>
|
|
390
|
+
<th>Lot No.</th>
|
|
391
|
+
<th rowSpan={4}>(N/P/Ic/NA)</th>
|
|
392
|
+
<th rowSpan={4}>(N/P/Ic/NA)</th>
|
|
393
|
+
<th>
|
|
394
|
+
NVP +AZT
|
|
395
|
+
<br />
|
|
396
|
+
+CTX
|
|
397
|
+
<br />
|
|
398
|
+
or
|
|
399
|
+
<br />
|
|
400
|
+
NVP +CTX
|
|
401
|
+
</th>
|
|
402
|
+
<th>HAART</th>
|
|
403
|
+
<th>
|
|
404
|
+
NVP +AZT
|
|
405
|
+
<br />
|
|
406
|
+
+CTX
|
|
407
|
+
<br />
|
|
408
|
+
or
|
|
409
|
+
<br />
|
|
410
|
+
NVP +CTX
|
|
411
|
+
</th>
|
|
412
|
+
<th>HAART</th>
|
|
413
|
+
<th rowSpan={4}></th>
|
|
414
|
+
<th rowSpan={4}></th>
|
|
415
|
+
</tr>
|
|
416
|
+
<tr>
|
|
417
|
+
<th>Expiry No. / /</th>
|
|
418
|
+
<th>Expiry No. / /</th>
|
|
419
|
+
<th>Expiry No. / /</th>
|
|
420
|
+
<th rowSpan={3}>(Y/N/NA/R)</th>
|
|
421
|
+
<th rowSpan={3}>(Y/N/NA/R)</th>
|
|
422
|
+
<th rowSpan={3}>(Y/N/NA/R)</th>
|
|
423
|
+
<th rowSpan={3}>(Y/N/NA/R)</th>
|
|
424
|
+
</tr>
|
|
425
|
+
<tr>
|
|
426
|
+
<th rowSpan={2}>(N,P,I,NA)</th>
|
|
427
|
+
<th rowSpan={2}>(N,P,I,NA)</th>
|
|
428
|
+
<th rowSpan={2}>(N,P,I,NA)</th>
|
|
429
|
+
</tr>
|
|
430
|
+
</thead>
|
|
431
|
+
<tbody>
|
|
432
|
+
<tr>
|
|
433
|
+
<td className={styles.textCentre}>(a)</td>
|
|
434
|
+
<td className={styles.textCentre}>(b)</td>
|
|
435
|
+
<td className={styles.textCentre}>(c)</td>
|
|
436
|
+
<td className={styles.textCentre}>(d)</td>
|
|
437
|
+
<td className={styles.textCentre}>(e)</td>
|
|
438
|
+
<td className={styles.textCentre}>(f)</td>
|
|
439
|
+
<td className={styles.textCentre}>(g)</td>
|
|
440
|
+
<td className={styles.textCentre}>(h)</td>
|
|
441
|
+
<td className={styles.textCentre}>(i)</td>
|
|
442
|
+
<td className={styles.textCentre}>(j)</td>
|
|
443
|
+
<td className={styles.textCentre}>(k)</td>
|
|
444
|
+
<td className={styles.textCentre}>(l)</td>
|
|
445
|
+
<td className={styles.textCentre}>(m)</td>
|
|
446
|
+
<td className={styles.textCentre}>(n)</td>
|
|
447
|
+
<td className={styles.textCentre}>(o)</td>
|
|
448
|
+
<td className={styles.textCentre}>(p)</td>
|
|
449
|
+
<td className={styles.textCentre}>(q)</td>
|
|
450
|
+
<td className={styles.textCentre}>(r)</td>
|
|
451
|
+
<td className={styles.textCentre}>(s)</td>
|
|
452
|
+
<td className={styles.textCentre}>(t)</td>
|
|
453
|
+
<td className={styles.textCentre}>(u)</td>
|
|
454
|
+
<td className={styles.textCentre}>(v)</td>
|
|
455
|
+
<td className={styles.textCentre}>(w)</td>
|
|
456
|
+
<td className={styles.textCentre}>(x)</td>
|
|
457
|
+
<td className={styles.textCentre}>(y)</td>
|
|
458
|
+
<td className={styles.textCentre}>(z)</td>
|
|
459
|
+
<td className={styles.textCentre}>(aa)</td>
|
|
460
|
+
<td className={styles.textCentre}>(ab)</td>
|
|
461
|
+
<td className={styles.textCentre}>(ac)</td>
|
|
462
|
+
<td className={styles.textCentre}>(ad)</td>
|
|
463
|
+
<td className={styles.textCentre}>(ae)</td>
|
|
464
|
+
<td className={styles.textCentre}>(af)</td>
|
|
465
|
+
<td className={styles.textCentre}>(ag)</td>
|
|
466
|
+
<td className={styles.textCentre}>(ah)</td>
|
|
467
|
+
<td className={styles.textCentre}>(ai)</td>
|
|
468
|
+
<td className={styles.textCentre}>(aj)</td>
|
|
469
|
+
<td className={styles.textCentre}>(ak)</td>
|
|
470
|
+
<td className={styles.textCentre}>(al)</td>
|
|
471
|
+
<td className={styles.textCentre}>(am)</td>
|
|
472
|
+
<td className={styles.textCentre}>(an)</td>
|
|
473
|
+
<td className={styles.textCentre}>(ao)</td>
|
|
474
|
+
<td className={styles.textCentre}>(ap)</td>
|
|
475
|
+
<td className={styles.textCentre}>(aq)</td>
|
|
476
|
+
</tr>
|
|
477
|
+
{patientlist?.length > 0 ? (
|
|
478
|
+
patientlist.map((patient, index) => (
|
|
479
|
+
<React.Fragment key={index}>
|
|
480
|
+
<tr>
|
|
481
|
+
<td rowSpan={2}>
|
|
482
|
+
{patient.date_of_visit ? new Date(patient.date_of_visit).toLocaleDateString('en-GB') : ''}
|
|
483
|
+
</td>
|
|
484
|
+
<td>{patient.pnc_number}</td>
|
|
485
|
+
<td rowSpan={2}>{patient.pnc_number}</td>
|
|
486
|
+
<td rowSpan={2}>{patient.cr_id}</td>
|
|
487
|
+
<td rowSpan={2}>{patient.full_names}</td>
|
|
445
488
|
|
|
446
|
-
|
|
489
|
+
<td>
|
|
490
|
+
{patient.date_of_birth ? new Date(patient.date_of_birth).toLocaleDateString('en-GB') : ''}
|
|
491
|
+
</td>
|
|
447
492
|
|
|
448
|
-
|
|
449
|
-
|
|
493
|
+
<td rowSpan={2}>{patient.subcounty_county}</td>
|
|
494
|
+
<td>{patient.village_estate_landmark}</td>
|
|
450
495
|
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
496
|
+
<td rowSpan={2}>
|
|
497
|
+
{patient.date_of_delivery
|
|
498
|
+
? new Date(patient.date_of_delivery).toLocaleDateString('en-GB')
|
|
499
|
+
: ''}
|
|
500
|
+
</td>
|
|
454
501
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
502
|
+
<td rowSpan={2}>{patient.place_of_delivery}</td>
|
|
503
|
+
<td rowSpan={2}>{patient.mode_of_delivery}</td>
|
|
504
|
+
<td rowSpan={2}>{patient.timing_mother}</td>
|
|
505
|
+
<td rowSpan={2}>{patient.timing_baby}</td>
|
|
506
|
+
<td rowSpan={2}>{patient.temperature}</td>
|
|
507
|
+
<td rowSpan={2}>{patient.pulse}</td>
|
|
508
|
+
<td rowSpan={2}>{patient.blood_pressure}</td>
|
|
462
509
|
|
|
463
|
-
|
|
510
|
+
<td>{patient.pallor_present}</td>
|
|
464
511
|
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
512
|
+
<td rowSpan={2}>{patient.breast}</td>
|
|
513
|
+
<td rowSpan={2}>{patient.uterus}</td>
|
|
514
|
+
<td rowSpan={2}>{patient.pph}</td>
|
|
515
|
+
<td rowSpan={2}>{patient.c_section_site}</td>
|
|
516
|
+
<td rowSpan={2}>{patient.lochia}</td>
|
|
517
|
+
<td rowSpan={2}>{patient.episiotomy}</td>
|
|
518
|
+
<td rowSpan={2}>{patient.fistula}</td>
|
|
519
|
+
<td rowSpan={2}>{patient.tb_screening}</td>
|
|
520
|
+
<td rowSpan={2}>{patient.tested_pnc}</td>
|
|
474
521
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
522
|
+
<td rowSpan={2}>
|
|
523
|
+
{patient.hiv_test_1_kit_name} / {patient.hiv_test_1_lot_no} / {patient.hiv_test_1_expiry_date}{' '}
|
|
524
|
+
/ {patient.hiv_test_1_test_result}
|
|
525
|
+
</td>
|
|
479
526
|
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
527
|
+
<td rowSpan={2}>
|
|
528
|
+
{patient.hiv_test_2_kit_name} / {patient.hiv_test_2_lot_no} / {patient.hiv_test_2_expiry_date}{' '}
|
|
529
|
+
/ {patient.hiv_test_2_test_result}
|
|
530
|
+
</td>
|
|
484
531
|
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
532
|
+
<td rowSpan={2}>
|
|
533
|
+
{patient.hiv_test_3_kit_name} / {patient.hiv_test_3_lot_no} / {patient.hiv_test_3_expiry_date}{' '}
|
|
534
|
+
/ {patient.hiv_test_3_test_result}
|
|
535
|
+
</td>
|
|
489
536
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
537
|
+
<td rowSpan={2}>{patient.results_less_6_weeks}</td>
|
|
538
|
+
<td rowSpan={2}>{patient.results_greater_6_weeks}</td>
|
|
539
|
+
<td rowSpan={2}>{patient.infant_prophylaxis_less_6_weeks}</td>
|
|
540
|
+
<td rowSpan={2}>{patient.maternal_haart_less_6_weeks}</td>
|
|
541
|
+
<td rowSpan={2}>{patient.infant_prophylaxis_greater_6_weeks}</td>
|
|
542
|
+
<td rowSpan={2}>{patient.maternal_haart_greater_6_weeks}</td>
|
|
496
543
|
|
|
497
|
-
|
|
498
|
-
|
|
544
|
+
<td>{patient.cervical_cancer_method}</td>
|
|
545
|
+
<td>{patient.counselled}</td>
|
|
499
546
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
547
|
+
<td rowSpan={2}>{patient.other_maternal_complications}</td>
|
|
548
|
+
<td rowSpan={2}>{patient.haematinics}</td>
|
|
549
|
+
<td rowSpan={2}>{patient.referrals_from}</td>
|
|
550
|
+
<td rowSpan={2}>{patient.referrals_to}</td>
|
|
551
|
+
<td rowSpan={2}>{patient.reason_for_referral}</td>
|
|
552
|
+
<td rowSpan={2}>{patient.remarks}</td>
|
|
553
|
+
</tr>
|
|
507
554
|
|
|
555
|
+
<tr>
|
|
556
|
+
<td>{patient.nupi}</td>
|
|
557
|
+
<td>{patient.age}</td>
|
|
558
|
+
<td>{patient.phone_number}</td>
|
|
559
|
+
<td>{patient.pallor}</td>
|
|
560
|
+
<td>{patient.cervical_cancer_results}</td>
|
|
561
|
+
<td>{patient.women_received_post_partum_fp}</td>
|
|
562
|
+
</tr>
|
|
563
|
+
</React.Fragment>
|
|
564
|
+
))
|
|
565
|
+
) : (
|
|
508
566
|
<tr>
|
|
509
|
-
<td
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
<td>{patient.pallor}</td>
|
|
513
|
-
<td>{patient.cervical_cancer_results}</td>
|
|
514
|
-
<td>{patient.women_received_post_partum_fp}</td>
|
|
567
|
+
<td colSpan={moh406Columns.length} className={styles.textCentre}>
|
|
568
|
+
No data available
|
|
569
|
+
</td>
|
|
515
570
|
</tr>
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
</tr>
|
|
524
|
-
)}
|
|
525
|
-
</tbody>
|
|
526
|
-
</table>
|
|
527
|
-
</div>
|
|
528
|
-
</RegisterLayout>
|
|
571
|
+
)}
|
|
572
|
+
</tbody>
|
|
573
|
+
</table>
|
|
574
|
+
</div>
|
|
575
|
+
)}
|
|
576
|
+
</RegisterLayout>
|
|
577
|
+
</>
|
|
529
578
|
);
|
|
530
579
|
};
|
|
531
580
|
|