@ampath/esm-reports-app 1.0.0-next.40 → 1.0.0-next.42
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/110.js +2 -1
- package/dist/110.js.LICENSE.txt +35 -0
- package/dist/110.js.map +1 -1
- package/dist/205.js +1 -1
- package/dist/441.js +1 -0
- package/dist/441.js.map +1 -0
- package/dist/738.js +1 -0
- package/dist/738.js.map +1 -0
- package/dist/812.js +1 -1
- package/dist/812.js.map +1 -1
- package/dist/ampath-esm-reports-app.js +1 -1
- package/dist/ampath-esm-reports-app.js.buildmanifest.json +66 -39
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/common/report-error/index.ts +1 -0
- package/src/common/report-error/show-report-error.ts +25 -0
- package/src/common/report-filters/date-range.ts +137 -0
- package/src/common/report-filters/index.ts +4 -0
- package/src/common/report-filters/report-filters.component.tsx +291 -104
- package/src/common/report-filters/report-filters.scss +199 -32
- package/src/common/report-filters/types.ts +66 -0
- package/src/common/report-filters/use-restore-period.ts +43 -0
- package/src/common/report-page/index.ts +2 -0
- package/src/common/report-page/report-page.component.tsx +32 -0
- package/src/common/report-page/report-page.scss +45 -0
- package/src/common/report-page/use-page-scale.ts +50 -0
- package/src/common/report-placeholder/has-report-data.ts +15 -0
- package/src/common/report-placeholder/index.ts +2 -0
- package/src/common/report-placeholder/report-placeholder.component.tsx +56 -0
- package/src/common/report-placeholder/report-placeholder.scss +46 -0
- package/src/common/report-register/index.ts +5 -0
- package/src/common/report-register/register-columns.ts +34 -0
- package/src/common/report-register/register-layout.component.tsx +237 -0
- package/src/common/report-register/register-layout.scss +140 -0
- package/src/common/report-register/register-table.scss +62 -0
- package/src/common/report-register/report-parents.ts +27 -0
- package/src/common/report-register/rows-to-csv.ts +59 -0
- package/src/common/report-register/use-patient-list.ts +92 -0
- package/src/common/report-skeleton/index.ts +1 -0
- package/src/common/report-skeleton/report-skeleton.component.tsx +46 -0
- package/src/common/report-skeleton/report-skeleton.scss +29 -0
- package/src/config-schema.ts +9 -1
- package/src/dashboard/report-catalog.ts +173 -0
- package/src/dashboard/reports-dasboard.tsx +101 -35
- package/src/dashboard/reports-dashboard.module.scss +269 -11
- package/src/index.ts +13 -1
- package/src/reports/datatable-wrapper/datatable-wrapper.component.tsx +50 -48
- package/src/reports/moh-240/moh-240-header.component.tsx +54 -56
- package/src/reports/moh-240/moh-240.columns.ts +64 -0
- package/src/reports/moh-240/moh-240.component.tsx +65 -84
- package/src/reports/moh-240/moh-240.scss +36 -7
- package/src/reports/moh-240/sub-reports/moh-240-register.component.tsx +27 -65
- package/src/reports/moh-240/sub-reports/page-summary.component.tsx +2 -2
- package/src/reports/moh-505/moh-505-header.component.tsx +59 -57
- package/src/reports/moh-505/moh-505.component.tsx +51 -56
- package/src/reports/moh-505/moh-505.scss +116 -2
- package/src/reports/moh-705B/moh-204b-register.component.tsx +41 -42
- package/src/reports/moh-705B/moh-204b.columns.ts +39 -0
- package/src/reports/moh-705B/moh-705b.component.tsx +492 -473
- package/src/reports/moh-705B/moh-705b.scss +110 -24
- package/src/reports/moh-705a/moh-705a.component.tsx +496 -476
- package/src/reports/moh-705a/moh-705a.scss +109 -24
- package/src/reports/moh-705a/registers/moh-204a-register.component.tsx +41 -42
- package/src/reports/moh-705a/registers/moh-204a.columns.ts +57 -0
- package/src/reports/moh-706/moh-706-header.component.tsx +58 -56
- package/src/reports/moh-706/moh-706.component.tsx +84 -55
- package/src/reports/moh-706/moh-706.scss +115 -19
- package/src/reports/moh-710/moh-710.component.tsx +743 -727
- package/src/reports/moh-710/moh-710.scss +140 -23
- package/src/reports/moh-710/registers/moh-511-710-register.component.tsx +48 -43
- package/src/reports/moh-710/registers/moh-511-710.columns.ts +52 -0
- package/src/reports/moh-711/moh-711.component.tsx +94 -106
- package/src/reports/moh-711/moh711.scss +95 -64
- package/src/reports/moh-711/registers/moh-333-register.component.tsx +92 -94
- package/src/reports/moh-711/registers/moh-333.columns.ts +119 -0
- package/src/reports/moh-711/registers/moh-405-register.component.tsx +88 -89
- package/src/reports/moh-711/registers/moh-405.columns.ts +120 -0
- package/src/reports/moh-711/registers/moh-406-register.component.tsx +85 -88
- package/src/reports/moh-711/registers/moh-406.columns.ts +133 -0
- package/src/reports/moh-711/registers/moh-510-register.component.tsx +38 -44
- package/src/reports/moh-711/registers/moh-511-register.component.tsx +42 -43
- package/src/reports/moh-711/registers/moh-511.columns.ts +59 -0
- package/src/reports/moh-711/sections/anc.component.tsx +3 -3
- package/src/reports/moh-711/sections/cervical-cancer.component.tsx +3 -3
- package/src/reports/moh-711/sections/chanis.component.tsx +2 -3
- package/src/reports/moh-711/sections/family-planning.component.tsx +2 -2
- package/src/reports/moh-711/sections/gbv.component.tsx +2 -2
- package/src/reports/moh-711/sections/maternity.component.tsx +3 -8
- package/src/reports/moh-711/sections/medical-social-work.component.tsx +2 -12
- package/src/reports/moh-711/sections/other.component.tsx +2 -2
- package/src/reports/moh-711/sections/physiotherapy.component.tsx +2 -2
- package/src/reports/moh-711/sections/pnc.component.tsx +7 -5
- package/src/reports/moh-711/sections/post-abortion.component.tsx +2 -2
- package/src/reports/moh-711/sections/rehabilitation.component.tsx +2 -2
- package/src/reports/moh-711/sections/report-compiled-by.component.tsx +12 -4
- package/src/reports/moh-711/sections/tb-screening.component.tsx +2 -2
- package/src/reports/moh-717/moh-717.component.tsx +100 -121
- package/src/reports/moh-717/moh717.scss +163 -102
- package/src/reports/moh-717/sections/maternity.component.tsx +1 -1
- package/src/reports/moh-717/sections/orthopaedic-trauma.component.tsx +1 -1
- package/src/reports/moh-717/sections/outpatient.component.tsx +23 -23
- package/src/reports/moh-717/sections/preparedby.component.tsx +7 -2
- package/src/reports/moh-717/sections/special-services.component.tsx +1 -1
- package/src/reports/moh-731/moh-731.component.tsx +127 -110
- package/src/reports/moh-731/moh-731.scss +396 -68
- package/src/reports/moh-731/registers/moh-366.columns.ts +38 -0
- package/src/reports/moh-731/registers/moh-366.component.tsx +76 -83
- package/src/reports/moh-731/registers/prep-register.component.tsx +70 -78
- package/src/reports/moh-731/registers/prep.columns.ts +34 -0
- package/src/reports/moh-731/sections/hiv-and-tb-treatment.component.tsx +1031 -751
- package/src/reports/moh-731/sections/hiv-testing-and-pre-exposure.component.tsx +230 -86
- package/src/reports/moh-731/sections/pmtct.component.tsx +185 -64
- package/src/reports/moh-740/moh-740.component.scss +159 -79
- package/src/reports/moh-740/moh-740.component.tsx +258 -227
- package/src/reports/moh-740/moh-740.resource.ts +17 -10
- package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.tsx +77 -96
- package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.tsx +50 -70
- package/src/reports/moh-740/registers/moh-740-patient-list.tsx +61 -32
- package/src/reports/moh-740/registers/moh-740.columns.ts +52 -0
- package/src/reports/moh-745/moh-745.component.tsx +897 -877
- package/src/reports/moh-745/moh-745.scss +104 -46
- package/src/reports/moh-745/registers/moh-412-register.component.tsx +42 -43
- package/src/reports/moh-745/registers/moh-412.columns.ts +52 -0
- package/src/reports/table-wrapper/table-wrapper.component.tsx +23 -14
- package/src/reports/table-wrapper/table-wrapper.scss +1 -16
- package/src/resources/moh-505.resource.ts +18 -35
- package/src/resources/moh-705.resource.ts +28 -39
- package/src/resources/moh-706.resource.ts +17 -30
- package/src/resources/moh-710.resource.ts +7 -17
- package/src/resources/moh-711.resource.ts +46 -64
- package/src/resources/moh-717.resource.ts +7 -17
- package/src/resources/moh-731.resource.ts +26 -32
- package/src/resources/moh-745.resource.ts +18 -20
- package/src/resources/patient-list-page.ts +66 -0
- package/src/root.component.tsx +28 -26
- package/src/root.scss +39 -0
- package/src/utils/get-base-url.ts +39 -7
- package/dist/822.js +0 -2
- package/dist/822.js.LICENSE.txt +0 -20
- package/dist/822.js.map +0 -1
- package/src/reports/moh-731/registers/moh-366.scss +0 -45
- package/src/reports/moh-731/registers/prep-registers.scss +0 -45
- package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.scss +0 -18
- package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.scss +0 -18
- /package/src/{reports/moh-740/shared/utils → utils}/format-indicator.ts +0 -0
|
@@ -14,19 +14,19 @@ interface PmtctComponentProps {
|
|
|
14
14
|
const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate, endDate, locationUuids }) => {
|
|
15
15
|
const navigate = useNavigate();
|
|
16
16
|
|
|
17
|
-
const navigateToRegister = (indicator: string, gender: string) => {
|
|
17
|
+
const navigateToRegister = (indicator: string, gender: string, label: string) => {
|
|
18
18
|
navigate(
|
|
19
|
-
`/moh-366-register?startDate=${startDate}&endDate=${endDate}&locationUuids=${locationUuids}&indicator=${indicator}&gender=${gender}`,
|
|
19
|
+
`/moh-366-register?startDate=${startDate}&endDate=${endDate}&locationUuids=${locationUuids}&indicator=${indicator}&gender=${gender}&label=${encodeURIComponent(label)}&from=moh-731`,
|
|
20
20
|
);
|
|
21
21
|
};
|
|
22
22
|
return (
|
|
23
23
|
<>
|
|
24
|
-
<
|
|
25
|
-
<
|
|
26
|
-
<
|
|
27
|
-
<
|
|
24
|
+
<div className={styles.flexRow}>
|
|
25
|
+
<div className={styles.flexColumn}>
|
|
26
|
+
<table className={styles.block}>
|
|
27
|
+
<tbody>
|
|
28
28
|
<tr>
|
|
29
|
-
<td className={styles.
|
|
29
|
+
<td className={styles.blockTitle} colSpan={3}>
|
|
30
30
|
2.1 Maternal HIV Testing
|
|
31
31
|
</td>
|
|
32
32
|
</tr>
|
|
@@ -34,7 +34,11 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
34
34
|
<td>Known Positive at 1st ANC</td>
|
|
35
35
|
<td className={styles.textBox}>
|
|
36
36
|
<span>HV02-01</span>
|
|
37
|
-
<div
|
|
37
|
+
<div
|
|
38
|
+
onClick={() => navigateToRegister('known_positive_1st_anc', 'F', 'Known Positive at 1st ANC')}
|
|
39
|
+
className={styles.rectangle}
|
|
40
|
+
title="Click to open linelist"
|
|
41
|
+
>
|
|
38
42
|
{MOH731Data.known_positive_1st_anc}
|
|
39
43
|
</div>
|
|
40
44
|
</td>
|
|
@@ -42,21 +46,29 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
42
46
|
</tr>
|
|
43
47
|
<tr>
|
|
44
48
|
<td></td>
|
|
45
|
-
<td
|
|
46
|
-
<td
|
|
49
|
+
<td className={styles.subTitle}>Initial</td>
|
|
50
|
+
<td className={styles.subTitle}>Retest</td>
|
|
47
51
|
</tr>
|
|
48
52
|
<tr>
|
|
49
53
|
<td>Tested at ANC</td>
|
|
50
54
|
<td className={styles.textBox}>
|
|
51
55
|
<span>HV02-02</span>
|
|
52
|
-
<div
|
|
56
|
+
<div
|
|
57
|
+
onClick={() => navigateToRegister('initial_test_anc', 'F', 'Tested at ANC')}
|
|
58
|
+
className={styles.rectangle}
|
|
59
|
+
title="Click to open linelist"
|
|
60
|
+
>
|
|
53
61
|
{MOH731Data.initial_test_anc}
|
|
54
62
|
</div>
|
|
55
63
|
</td>
|
|
56
64
|
<td>
|
|
57
65
|
<div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
|
|
58
66
|
<span>HV02-03</span>
|
|
59
|
-
<div
|
|
67
|
+
<div
|
|
68
|
+
onClick={() => navigateToRegister('retest_anc', 'F', 'Tested at ANC')}
|
|
69
|
+
className={styles.rectangle}
|
|
70
|
+
title="Click to open linelist"
|
|
71
|
+
>
|
|
60
72
|
{MOH731Data.retest_anc}
|
|
61
73
|
</div>
|
|
62
74
|
</div>
|
|
@@ -66,14 +78,22 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
66
78
|
<td>Tested at L&D</td>
|
|
67
79
|
<td className={styles.textBox}>
|
|
68
80
|
<span>HV02-04</span>
|
|
69
|
-
<div
|
|
81
|
+
<div
|
|
82
|
+
onClick={() => navigateToRegister('initial_test_LD', 'F', 'Tested at L&D')}
|
|
83
|
+
className={styles.rectangle}
|
|
84
|
+
title="Click to open linelist"
|
|
85
|
+
>
|
|
70
86
|
{MOH731Data.initial_test_LD}
|
|
71
87
|
</div>
|
|
72
88
|
</td>
|
|
73
89
|
<td>
|
|
74
90
|
<div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
|
|
75
91
|
<span>HV02-05</span>
|
|
76
|
-
<div
|
|
92
|
+
<div
|
|
93
|
+
onClick={() => navigateToRegister('retest_LD', 'F', 'Tested at L&D')}
|
|
94
|
+
className={styles.rectangle}
|
|
95
|
+
title="Click to open linelist"
|
|
96
|
+
>
|
|
77
97
|
{MOH731Data.retest_LD}
|
|
78
98
|
</div>
|
|
79
99
|
</div>
|
|
@@ -84,8 +104,9 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
84
104
|
<td className={styles.textBox}>
|
|
85
105
|
<span>HV02-06</span>
|
|
86
106
|
<div
|
|
87
|
-
onClick={() => navigateToRegister('initial_test_pnc_less_6_weeks', 'F')}
|
|
107
|
+
onClick={() => navigateToRegister('initial_test_pnc_less_6_weeks', 'F', 'Tested at PNC_≤6weeks')}
|
|
88
108
|
className={styles.rectangle}
|
|
109
|
+
title="Click to open linelist"
|
|
89
110
|
>
|
|
90
111
|
{MOH731Data.initial_test_pnc_less_6_weeks}
|
|
91
112
|
</div>
|
|
@@ -94,8 +115,9 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
94
115
|
<div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
|
|
95
116
|
<span>HV02-07</span>
|
|
96
117
|
<div
|
|
97
|
-
onClick={() => navigateToRegister('retest_pnc_less_6_weeks', 'F')}
|
|
118
|
+
onClick={() => navigateToRegister('retest_pnc_less_6_weeks', 'F', 'Tested at PNC_≤6weeks')}
|
|
98
119
|
className={styles.rectangle}
|
|
120
|
+
title="Click to open linelist"
|
|
99
121
|
>
|
|
100
122
|
{MOH731Data.retest_pnc_less_6_weeks}
|
|
101
123
|
</div>
|
|
@@ -107,8 +129,9 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
107
129
|
<td className={styles.textBox}>
|
|
108
130
|
<span>HV02-08</span>
|
|
109
131
|
<div
|
|
110
|
-
onClick={() => navigateToRegister('initial_test_pnc_greater_6_weeks', 'F')}
|
|
132
|
+
onClick={() => navigateToRegister('initial_test_pnc_greater_6_weeks', 'F', 'Tested at PNC_>6weeks')}
|
|
111
133
|
className={styles.rectangle}
|
|
134
|
+
title="Click to open linelist"
|
|
112
135
|
>
|
|
113
136
|
{MOH731Data.initial_test_pnc_greater_6_weeks}
|
|
114
137
|
</div>
|
|
@@ -117,17 +140,22 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
117
140
|
<div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
|
|
118
141
|
<span>HV02-09</span>
|
|
119
142
|
<div
|
|
120
|
-
onClick={() => navigateToRegister('retest_pnc_greater_6_weeks', 'F')}
|
|
143
|
+
onClick={() => navigateToRegister('retest_pnc_greater_6_weeks', 'F', 'Tested at PNC_>6weeks')}
|
|
121
144
|
className={styles.rectangle}
|
|
145
|
+
title="Click to open linelist"
|
|
122
146
|
>
|
|
123
147
|
{MOH731Data.retest_pnc_greater_6_weeks}
|
|
124
148
|
</div>
|
|
125
149
|
</div>
|
|
126
150
|
</td>
|
|
127
151
|
</tr>
|
|
128
|
-
|
|
152
|
+
</tbody>
|
|
153
|
+
</table>
|
|
154
|
+
<hr className={styles.divider} />
|
|
155
|
+
<table className={styles.block}>
|
|
156
|
+
<tbody>
|
|
129
157
|
<tr>
|
|
130
|
-
<td className={styles.
|
|
158
|
+
<td className={styles.blockTitle} colSpan={3}>
|
|
131
159
|
2.2 HIV Positive Results
|
|
132
160
|
</td>
|
|
133
161
|
</tr>
|
|
@@ -135,7 +163,11 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
135
163
|
<td>Tested at ANC</td>
|
|
136
164
|
<td className={styles.textBox}>
|
|
137
165
|
<span>HV02-10</span>
|
|
138
|
-
<div
|
|
166
|
+
<div
|
|
167
|
+
onClick={() => navigateToRegister('positive_anc', 'F', 'Tested at ANC')}
|
|
168
|
+
className={styles.rectangle}
|
|
169
|
+
title="Click to open linelist"
|
|
170
|
+
>
|
|
139
171
|
{MOH731Data.positive_anc}
|
|
140
172
|
</div>
|
|
141
173
|
</td>
|
|
@@ -145,7 +177,11 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
145
177
|
<td>Tested at L&D</td>
|
|
146
178
|
<td className={styles.textBox}>
|
|
147
179
|
<span>HV02-11</span>
|
|
148
|
-
<div
|
|
180
|
+
<div
|
|
181
|
+
onClick={() => navigateToRegister('positive_LD', 'F', 'Tested at L&D')}
|
|
182
|
+
className={styles.rectangle}
|
|
183
|
+
title="Click to open linelist"
|
|
184
|
+
>
|
|
149
185
|
{MOH731Data.positive_LD}
|
|
150
186
|
</div>
|
|
151
187
|
</td>
|
|
@@ -156,8 +192,9 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
156
192
|
<td className={styles.textBox}>
|
|
157
193
|
<span>HV02-12</span>
|
|
158
194
|
<div
|
|
159
|
-
onClick={() => navigateToRegister('positive_pnc_less_6_weeks', 'F')}
|
|
195
|
+
onClick={() => navigateToRegister('positive_pnc_less_6_weeks', 'F', 'Tested at PNC_≤6weeks')}
|
|
160
196
|
className={styles.rectangle}
|
|
197
|
+
title="Click to open linelist"
|
|
161
198
|
>
|
|
162
199
|
{MOH731Data.positive_pnc_less_6_weeks}
|
|
163
200
|
</div>
|
|
@@ -169,17 +206,22 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
169
206
|
<td className={styles.textBox}>
|
|
170
207
|
<span>HV02-13</span>
|
|
171
208
|
<div
|
|
172
|
-
onClick={() => navigateToRegister('positive_pnc_greater_6_weeks', 'F')}
|
|
209
|
+
onClick={() => navigateToRegister('positive_pnc_greater_6_weeks', 'F', 'Tested at PNC_>6weeks')}
|
|
173
210
|
className={styles.rectangle}
|
|
211
|
+
title="Click to open linelist"
|
|
174
212
|
>
|
|
175
213
|
{MOH731Data.positive_pnc_greater_6_weeks}
|
|
176
214
|
</div>
|
|
177
215
|
</td>
|
|
178
216
|
<td></td>
|
|
179
217
|
</tr>
|
|
180
|
-
|
|
218
|
+
</tbody>
|
|
219
|
+
</table>
|
|
220
|
+
<hr className={styles.divider} />
|
|
221
|
+
<table className={styles.block}>
|
|
222
|
+
<tbody>
|
|
181
223
|
<tr>
|
|
182
|
-
<td className={styles.
|
|
224
|
+
<td className={styles.blockTitle} colSpan={3}>
|
|
183
225
|
2.3 Maternal HAART
|
|
184
226
|
</td>
|
|
185
227
|
</tr>
|
|
@@ -187,7 +229,11 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
187
229
|
<td>On HAART at 1st ANC</td>
|
|
188
230
|
<td className={styles.textBox}>
|
|
189
231
|
<span>HV02-14</span>
|
|
190
|
-
<div
|
|
232
|
+
<div
|
|
233
|
+
onClick={() => navigateToRegister('maternal_haart_1st_anc', 'F', 'On HAART at 1st ANC')}
|
|
234
|
+
className={styles.rectangle}
|
|
235
|
+
title="Click to open linelist"
|
|
236
|
+
>
|
|
191
237
|
{MOH731Data.maternal_haart_1st_anc}
|
|
192
238
|
</div>
|
|
193
239
|
</td>
|
|
@@ -198,8 +244,9 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
198
244
|
<td className={styles.textBox}>
|
|
199
245
|
<span>HV02-15</span>
|
|
200
246
|
<div
|
|
201
|
-
onClick={() => navigateToRegister('start_maternal_haart_1st_anc', 'F')}
|
|
247
|
+
onClick={() => navigateToRegister('start_maternal_haart_1st_anc', 'F', 'Start HAART_ANC')}
|
|
202
248
|
className={styles.rectangle}
|
|
249
|
+
title="Click to open linelist"
|
|
203
250
|
>
|
|
204
251
|
{MOH731Data.start_maternal_haart_1st_anc}
|
|
205
252
|
</div>
|
|
@@ -210,7 +257,11 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
210
257
|
<td>Start HAART_L&D</td>
|
|
211
258
|
<td className={styles.textBox}>
|
|
212
259
|
<span>HV02-16</span>
|
|
213
|
-
<div
|
|
260
|
+
<div
|
|
261
|
+
onClick={() => navigateToRegister('start_maternal_haart_LD', 'F', 'Start HAART_L&D')}
|
|
262
|
+
className={styles.rectangle}
|
|
263
|
+
title="Click to open linelist"
|
|
264
|
+
>
|
|
214
265
|
{MOH731Data.start_maternal_haart_LD}
|
|
215
266
|
</div>
|
|
216
267
|
</td>
|
|
@@ -221,8 +272,9 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
221
272
|
<td className={styles.textBox}>
|
|
222
273
|
<span>HV02-17</span>
|
|
223
274
|
<div
|
|
224
|
-
onClick={() => navigateToRegister('maternal_haart_less_6_weeks', 'F')}
|
|
275
|
+
onClick={() => navigateToRegister('maternal_haart_less_6_weeks', 'F', 'Start HAART_PNC_≤6weeks')}
|
|
225
276
|
className={styles.rectangle}
|
|
277
|
+
title="Click to open linelist"
|
|
226
278
|
>
|
|
227
279
|
{MOH731Data.maternal_haart_less_6_weeks}
|
|
228
280
|
</div>
|
|
@@ -234,19 +286,24 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
234
286
|
<td className={styles.textBox}>
|
|
235
287
|
<span>HV02-18</span>
|
|
236
288
|
<div
|
|
237
|
-
onClick={() => navigateToRegister('maternal_haart_more_6_weeks', 'F')}
|
|
289
|
+
onClick={() => navigateToRegister('maternal_haart_more_6_weeks', 'F', 'Start HAART_PNC_>6weeks')}
|
|
238
290
|
className={styles.rectangle}
|
|
291
|
+
title="Click to open linelist"
|
|
239
292
|
>
|
|
240
293
|
{MOH731Data.maternal_haart_more_6_weeks}
|
|
241
294
|
</div>
|
|
242
295
|
</td>
|
|
243
296
|
<td></td>
|
|
244
297
|
</tr>
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
298
|
+
</tbody>
|
|
299
|
+
</table>
|
|
300
|
+
<hr className={styles.divider} />
|
|
301
|
+
</div>
|
|
302
|
+
<div className={styles.flexColumn}>
|
|
303
|
+
<table className={styles.block}>
|
|
304
|
+
<tbody>
|
|
248
305
|
<tr>
|
|
249
|
-
<td className={styles.
|
|
306
|
+
<td className={styles.blockTitle} colSpan={3}>
|
|
250
307
|
2.4 HBV Screening at ANC
|
|
251
308
|
</td>
|
|
252
309
|
</tr>
|
|
@@ -263,17 +320,22 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
263
320
|
<td className={styles.textBox}>
|
|
264
321
|
<span>HV02-20</span>
|
|
265
322
|
<div
|
|
266
|
-
onClick={() => navigateToRegister('hbv_screened_positive_anc', 'F')}
|
|
323
|
+
onClick={() => navigateToRegister('hbv_screened_positive_anc', 'F', 'HBV Screened_Positive')}
|
|
267
324
|
className={styles.rectangle}
|
|
325
|
+
title="Click to open linelist"
|
|
268
326
|
>
|
|
269
327
|
{MOH731Data.hbv_screened_positive_anc}
|
|
270
328
|
</div>
|
|
271
329
|
</td>
|
|
272
330
|
<td></td>
|
|
273
331
|
</tr>
|
|
274
|
-
|
|
332
|
+
</tbody>
|
|
333
|
+
</table>
|
|
334
|
+
<hr className={styles.divider} />
|
|
335
|
+
<table className={styles.block}>
|
|
336
|
+
<tbody>
|
|
275
337
|
<tr>
|
|
276
|
-
<td
|
|
338
|
+
<td className={styles.blockTitle} colSpan={3}>
|
|
277
339
|
2.5 Adolescents girls & Young Women (10-24 Yrs)
|
|
278
340
|
<br />
|
|
279
341
|
testing & results
|
|
@@ -282,13 +344,17 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
282
344
|
<tr>
|
|
283
345
|
<td></td>
|
|
284
346
|
<td>10-19yrs</td>
|
|
285
|
-
<td
|
|
347
|
+
<td>20-24yrs</td>
|
|
286
348
|
</tr>
|
|
287
349
|
<tr>
|
|
288
350
|
<td>1st ANC KP</td>
|
|
289
351
|
<td className={styles.textBox}>
|
|
290
352
|
<span>HV02-21</span>
|
|
291
|
-
<div
|
|
353
|
+
<div
|
|
354
|
+
onClick={() => navigateToRegister('known_positive_anc_10_19', 'F', '1st ANC KP')}
|
|
355
|
+
className={styles.rectangle}
|
|
356
|
+
title="Click to open linelist"
|
|
357
|
+
>
|
|
292
358
|
{MOH731Data.known_positive_anc_10_19}
|
|
293
359
|
</div>
|
|
294
360
|
</td>
|
|
@@ -296,8 +362,9 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
296
362
|
<div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
|
|
297
363
|
<span>HV02-22</span>
|
|
298
364
|
<div
|
|
299
|
-
onClick={() => navigateToRegister('known_positive_anc_20_24', 'F')}
|
|
365
|
+
onClick={() => navigateToRegister('known_positive_anc_20_24', 'F', '1st ANC KP')}
|
|
300
366
|
className={styles.rectangle}
|
|
367
|
+
title="Click to open linelist"
|
|
301
368
|
>
|
|
302
369
|
{MOH731Data.known_positive_anc_20_24}
|
|
303
370
|
</div>
|
|
@@ -309,8 +376,9 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
309
376
|
<td className={styles.textBox}>
|
|
310
377
|
<span>HV02-23</span>
|
|
311
378
|
<div
|
|
312
|
-
onClick={() => navigateToRegister('positive_anc_ld_pnc_10_19', 'F')}
|
|
379
|
+
onClick={() => navigateToRegister('positive_anc_ld_pnc_10_19', 'F', 'New HIV Positive')}
|
|
313
380
|
className={styles.rectangle}
|
|
381
|
+
title="Click to open linelist"
|
|
314
382
|
>
|
|
315
383
|
{MOH731Data.positive_anc_ld_pnc_10_19}
|
|
316
384
|
</div>
|
|
@@ -319,8 +387,9 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
319
387
|
<div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
|
|
320
388
|
<span>HV02-24</span>
|
|
321
389
|
<div
|
|
322
|
-
onClick={() => navigateToRegister('positive_anc_ld_pnc_20_24', 'F')}
|
|
390
|
+
onClick={() => navigateToRegister('positive_anc_ld_pnc_20_24', 'F', 'New HIV Positive')}
|
|
323
391
|
className={styles.rectangle}
|
|
392
|
+
title="Click to open linelist"
|
|
324
393
|
>
|
|
325
394
|
{MOH731Data.positive_anc_ld_pnc_20_24}
|
|
326
395
|
</div>
|
|
@@ -331,14 +400,22 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
331
400
|
<td>On HAART 1st ANC KP</td>
|
|
332
401
|
<td className={styles.textBox}>
|
|
333
402
|
<span>HV02-25</span>
|
|
334
|
-
<div
|
|
403
|
+
<div
|
|
404
|
+
onClick={() => navigateToRegister('on_art_anc_10_19', 'F', 'On HAART 1st ANC KP')}
|
|
405
|
+
className={styles.rectangle}
|
|
406
|
+
title="Click to open linelist"
|
|
407
|
+
>
|
|
335
408
|
{MOH731Data.on_art_anc_10_19}
|
|
336
409
|
</div>
|
|
337
410
|
</td>
|
|
338
411
|
<td>
|
|
339
412
|
<div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
|
|
340
413
|
<span>HV02-26</span>
|
|
341
|
-
<div
|
|
414
|
+
<div
|
|
415
|
+
onClick={() => navigateToRegister('on_art_anc_20_24', 'F', 'On HAART 1st ANC KP')}
|
|
416
|
+
className={styles.rectangle}
|
|
417
|
+
title="Click to open linelist"
|
|
418
|
+
>
|
|
342
419
|
{MOH731Data.on_art_anc_20_24}
|
|
343
420
|
</div>
|
|
344
421
|
</div>
|
|
@@ -348,22 +425,34 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
348
425
|
<td>Started HAART New</td>
|
|
349
426
|
<td className={styles.textBox}>
|
|
350
427
|
<span>HV02-27</span>
|
|
351
|
-
<div
|
|
428
|
+
<div
|
|
429
|
+
onClick={() => navigateToRegister('start_art_10_19', 'F', 'Started HAART New')}
|
|
430
|
+
className={styles.rectangle}
|
|
431
|
+
title="Click to open linelist"
|
|
432
|
+
>
|
|
352
433
|
{MOH731Data.start_art_10_19}
|
|
353
434
|
</div>
|
|
354
435
|
</td>
|
|
355
436
|
<td>
|
|
356
437
|
<div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
|
|
357
438
|
<span>HV02-28</span>
|
|
358
|
-
<div
|
|
439
|
+
<div
|
|
440
|
+
onClick={() => navigateToRegister('start_art_20_24', 'F', 'Started HAART New')}
|
|
441
|
+
className={styles.rectangle}
|
|
442
|
+
title="Click to open linelist"
|
|
443
|
+
>
|
|
359
444
|
{MOH731Data.start_art_20_24}
|
|
360
445
|
</div>
|
|
361
446
|
</div>
|
|
362
447
|
</td>
|
|
363
448
|
</tr>
|
|
364
|
-
|
|
449
|
+
</tbody>
|
|
450
|
+
</table>
|
|
451
|
+
<hr className={styles.divider} />
|
|
452
|
+
<table className={styles.block}>
|
|
453
|
+
<tbody>
|
|
365
454
|
<tr>
|
|
366
|
-
<td className={styles.
|
|
455
|
+
<td className={styles.blockTitle} colSpan={3}>
|
|
367
456
|
2.6 Infant Prophylaxis
|
|
368
457
|
</td>
|
|
369
458
|
</tr>
|
|
@@ -371,7 +460,11 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
371
460
|
<td>Infant ARV Prophylaxis_ANC</td>
|
|
372
461
|
<td className={styles.textBox}>
|
|
373
462
|
<span>HV02-29</span>
|
|
374
|
-
<div
|
|
463
|
+
<div
|
|
464
|
+
onClick={() => navigateToRegister('infant_arv_anc', 'F', 'Infant ARV Prophylaxis_ANC')}
|
|
465
|
+
className={styles.rectangle}
|
|
466
|
+
title="Click to open linelist"
|
|
467
|
+
>
|
|
375
468
|
{MOH731Data.infant_arv_anc}
|
|
376
469
|
</div>
|
|
377
470
|
</td>
|
|
@@ -381,7 +474,11 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
381
474
|
<td>Infant ARV Prophylaxis_L&D</td>
|
|
382
475
|
<td className={styles.textBox}>
|
|
383
476
|
<span>HV02-30</span>
|
|
384
|
-
<div
|
|
477
|
+
<div
|
|
478
|
+
onClick={() => navigateToRegister('infant_arv_ld', 'F', 'Infant ARV Prophylaxis_L&D')}
|
|
479
|
+
className={styles.rectangle}
|
|
480
|
+
title="Click to open linelist"
|
|
481
|
+
>
|
|
385
482
|
{MOH731Data.infant_arv_ld}
|
|
386
483
|
</div>
|
|
387
484
|
</td>
|
|
@@ -391,39 +488,59 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
391
488
|
<td>Infant ARV Prophylaxis_L&PNC</td>
|
|
392
489
|
<td className={styles.textBox}>
|
|
393
490
|
<span>HV02-31</span>
|
|
394
|
-
<div
|
|
491
|
+
<div
|
|
492
|
+
onClick={() => navigateToRegister('infant_arv_pnc', 'F', 'Infant ARV Prophylaxis_L&PNC')}
|
|
493
|
+
className={styles.rectangle}
|
|
494
|
+
title="Click to open linelist"
|
|
495
|
+
>
|
|
395
496
|
{MOH731Data.infant_arv_pnc}
|
|
396
497
|
</div>
|
|
397
498
|
</td>
|
|
398
499
|
<td></td>
|
|
399
500
|
</tr>
|
|
400
|
-
|
|
501
|
+
</tbody>
|
|
502
|
+
</table>
|
|
503
|
+
<hr className={styles.divider} />
|
|
504
|
+
<table className={styles.block}>
|
|
505
|
+
<tbody>
|
|
401
506
|
<tr>
|
|
402
|
-
<td className={styles.
|
|
507
|
+
<td className={styles.blockTitle} colSpan={3}>
|
|
403
508
|
2.7 Infant Feeding
|
|
404
509
|
</td>
|
|
405
510
|
</tr>
|
|
406
511
|
<tr>
|
|
407
|
-
<td
|
|
512
|
+
<td className={styles.groupTitle} colSpan={3}>
|
|
513
|
+
Below 6 months
|
|
514
|
+
</td>
|
|
408
515
|
</tr>
|
|
409
516
|
<tr>
|
|
410
517
|
<td>Exclusive Breastfeeding (EBF)</td>
|
|
411
518
|
<td className={styles.textBox}>
|
|
412
519
|
<span>HV02-32</span>
|
|
413
|
-
<div
|
|
520
|
+
<div
|
|
521
|
+
onClick={() => navigateToRegister('exclusive_bf', 'F', 'Exclusive Breastfeeding (EBF)')}
|
|
522
|
+
className={styles.rectangle}
|
|
523
|
+
title="Click to open linelist"
|
|
524
|
+
>
|
|
414
525
|
{MOH731Data.exclusive_bf}
|
|
415
526
|
</div>
|
|
416
527
|
</td>
|
|
417
528
|
<td></td>
|
|
418
529
|
</tr>
|
|
419
530
|
<tr>
|
|
420
|
-
<td
|
|
531
|
+
<td className={styles.groupTitle} colSpan={3}>
|
|
532
|
+
6 to 24 months
|
|
533
|
+
</td>
|
|
421
534
|
</tr>
|
|
422
535
|
<tr>
|
|
423
536
|
<td>Breastfeeding (BF)</td>
|
|
424
537
|
<td className={styles.textBox}>
|
|
425
538
|
<span>HV02-33</span>
|
|
426
|
-
<div
|
|
539
|
+
<div
|
|
540
|
+
onClick={() => navigateToRegister('bf', 'F', 'Breastfeeding (BF)')}
|
|
541
|
+
className={styles.rectangle}
|
|
542
|
+
title="Click to open linelist"
|
|
543
|
+
>
|
|
427
544
|
{MOH731Data.bf}
|
|
428
545
|
</div>
|
|
429
546
|
</td>
|
|
@@ -433,17 +550,21 @@ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate,
|
|
|
433
550
|
<td className={styles.spaceAfter}>Not Breastfeeding (NBF)</td>
|
|
434
551
|
<td className={styles.textBox}>
|
|
435
552
|
<span>HV02-34</span>
|
|
436
|
-
<div
|
|
553
|
+
<div
|
|
554
|
+
onClick={() => navigateToRegister('weaning', 'F', 'Not Breastfeeding (NBF)')}
|
|
555
|
+
className={styles.rectangle}
|
|
556
|
+
title="Click to open linelist"
|
|
557
|
+
>
|
|
437
558
|
{MOH731Data.weaning}
|
|
438
559
|
</div>
|
|
439
560
|
</td>
|
|
440
561
|
<td></td>
|
|
441
562
|
</tr>
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
</
|
|
446
|
-
</
|
|
563
|
+
</tbody>
|
|
564
|
+
</table>
|
|
565
|
+
<hr className={styles.divider} />
|
|
566
|
+
</div>
|
|
567
|
+
</div>
|
|
447
568
|
</>
|
|
448
569
|
);
|
|
449
570
|
};
|