@ampath/esm-reports-app 1.0.0-next.4 → 1.0.0-next.41

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 (132) hide show
  1. package/dist/110.js +1 -0
  2. package/dist/110.js.map +1 -0
  3. package/dist/{260.js → 205.js} +1 -1
  4. package/dist/{260.js.map → 205.js.map} +1 -1
  5. package/dist/812.js +1 -1
  6. package/dist/812.js.map +1 -1
  7. package/dist/822.js +2 -0
  8. package/dist/822.js.map +1 -0
  9. package/dist/ampath-esm-reports-app.js +1 -1
  10. package/dist/ampath-esm-reports-app.js.buildmanifest.json +95 -74
  11. package/dist/ampath-esm-reports-app.js.map +1 -1
  12. package/dist/main.js +1 -1
  13. package/dist/main.js.map +1 -1
  14. package/dist/routes.json +1 -1
  15. package/package.json +1 -1
  16. package/src/common/report-filters/report-filters.component.tsx +68 -7
  17. package/src/common/report-filters/report-filters.scss +42 -0
  18. package/src/dashboard/reports-dasboard.tsx +21 -0
  19. package/src/reports/datatable-wrapper/datatable-wrapper.component.tsx +54 -0
  20. package/src/reports/moh-240/moh-240-header.component.tsx +61 -0
  21. package/src/reports/moh-240/moh-240.component.tsx +93 -0
  22. package/src/reports/moh-240/moh-240.scss +11 -0
  23. package/src/reports/moh-240/sub-reports/moh-240-register.component.tsx +75 -0
  24. package/src/reports/moh-240/sub-reports/page-summary.component.tsx +98 -0
  25. package/src/reports/moh-505/moh-505-header.component.tsx +62 -0
  26. package/src/reports/moh-505/moh-505.component.tsx +440 -0
  27. package/src/reports/moh-505/moh-505.scss +3 -0
  28. package/src/reports/moh-705B/moh-204b-register.component.tsx +236 -0
  29. package/src/reports/moh-705B/moh-705b.component.tsx +524 -0
  30. package/src/reports/moh-705B/moh-705b.scss +44 -0
  31. package/src/reports/moh-705a/moh-705a.component.tsx +528 -0
  32. package/src/reports/moh-705a/moh-705a.scss +45 -0
  33. package/src/reports/moh-705a/registers/moh-204a-register.component.tsx +321 -0
  34. package/src/reports/moh-705a/type.ts +6 -0
  35. package/src/reports/moh-706/moh-706-header.component.tsx +61 -0
  36. package/src/reports/moh-706/moh-706.component.tsx +117 -0
  37. package/src/reports/moh-706/moh-706.scss +30 -0
  38. package/src/reports/moh-706/sub-reports/bacteriology/bacteriology.component.tsx +124 -0
  39. package/src/reports/moh-706/sub-reports/blood-chemistry/blood-chemistry.component.tsx +318 -0
  40. package/src/reports/moh-706/sub-reports/drug-susceptibility-testing/drug-susceptibility-testing.component.tsx +137 -0
  41. package/src/reports/moh-706/sub-reports/haematology/haematology.component.tsx +179 -0
  42. package/src/reports/moh-706/sub-reports/histology-and-cytology/histology-and-cytology.component.tsx +88 -0
  43. package/src/reports/moh-706/sub-reports/parasitology/parasitology.component.tsx +121 -0
  44. package/src/reports/moh-706/sub-reports/serology/serology.component.tsx +47 -0
  45. package/src/reports/moh-706/sub-reports/specimen-referral-to-higher-levels/specimen-referral-to-higher-levels.component.tsx +39 -0
  46. package/src/reports/moh-706/sub-reports/urine-analysis/urine-analysis.component.tsx +108 -0
  47. package/src/reports/moh-710/moh-710.component.tsx +211 -79
  48. package/src/reports/moh-710/moh-710.scss +5 -1
  49. package/src/reports/moh-710/registers/moh-511-710-register.component.tsx +263 -0
  50. package/src/reports/moh-710/registers/type.ts +31 -0
  51. package/src/reports/moh-711/moh-711.component.tsx +109 -1234
  52. package/src/reports/moh-711/moh711.scss +92 -8
  53. package/src/reports/moh-711/registers/moh-333-register.component.tsx +639 -0
  54. package/src/reports/moh-711/registers/moh-405-register.component.tsx +521 -0
  55. package/src/reports/moh-711/registers/moh-406-register.component.tsx +533 -0
  56. package/src/reports/moh-711/registers/moh-510-register.component.tsx +61 -0
  57. package/src/reports/moh-711/registers/moh-511-register.component.tsx +271 -0
  58. package/src/reports/moh-711/registers/type.ts +192 -0
  59. package/src/reports/moh-711/sections/anc.component.tsx +159 -0
  60. package/src/reports/moh-711/sections/cervical-cancer.component.tsx +148 -0
  61. package/src/reports/moh-711/sections/chanis.component.tsx +367 -0
  62. package/src/reports/moh-711/sections/family-planning.component.tsx +221 -0
  63. package/src/reports/moh-711/sections/gbv.component.tsx +115 -0
  64. package/src/reports/moh-711/sections/maternity.component.tsx +326 -0
  65. package/src/reports/moh-711/sections/medical-social-work.component.tsx +83 -0
  66. package/src/reports/moh-711/sections/other.component.tsx +47 -0
  67. package/src/reports/moh-711/sections/physiotherapy.component.tsx +61 -0
  68. package/src/reports/moh-711/sections/pnc.component.tsx +125 -0
  69. package/src/reports/moh-711/sections/post-abortion.component.tsx +42 -0
  70. package/src/reports/moh-711/sections/rehabilitation.component.tsx +57 -0
  71. package/src/reports/moh-711/sections/report-compiled-by.component.tsx +42 -0
  72. package/src/reports/moh-711/sections/tb-screening.component.tsx +57 -0
  73. package/src/reports/moh-717/moh-717.component.tsx +120 -946
  74. package/src/reports/moh-717/moh717.scss +138 -3
  75. package/src/reports/moh-717/registers/nutrition-register.component.tsx +48 -0
  76. package/src/reports/moh-717/sections/finance.component.tsx +42 -0
  77. package/src/reports/moh-717/sections/inpatient.component.tsx +374 -0
  78. package/src/reports/moh-717/sections/maternity.component.tsx +126 -0
  79. package/src/reports/moh-717/sections/medical-records.component.tsx +35 -0
  80. package/src/reports/moh-717/sections/mortuary.component.tsx +43 -0
  81. package/src/reports/moh-717/sections/operations.component.tsx +53 -0
  82. package/src/reports/moh-717/sections/orthopaedic-trauma.component.tsx +98 -0
  83. package/src/reports/moh-717/sections/outpatient.component.tsx +597 -0
  84. package/src/reports/moh-717/sections/pharmacy.component.tsx +43 -0
  85. package/src/reports/moh-717/sections/preparedby.component.tsx +47 -0
  86. package/src/reports/moh-717/sections/special-services.component.tsx +114 -0
  87. package/src/reports/moh-731/moh-731.component.tsx +181 -0
  88. package/src/reports/moh-731/moh-731.scss +118 -0
  89. package/src/reports/moh-731/registers/moh-366.component.tsx +478 -0
  90. package/src/reports/moh-731/registers/moh-366.scss +45 -0
  91. package/src/reports/moh-731/registers/prep-register.component.tsx +292 -0
  92. package/src/reports/moh-731/registers/prep-registers.scss +45 -0
  93. package/src/reports/moh-731/sections/hiv-and-tb-treatment.component.tsx +932 -0
  94. package/src/reports/moh-731/sections/hiv-testing-and-pre-exposure.component.tsx +569 -0
  95. package/src/reports/moh-731/sections/pmtct.component.tsx +451 -0
  96. package/src/reports/moh-740/moh-740.component.scss +120 -0
  97. package/src/reports/moh-740/moh-740.component.tsx +1271 -0
  98. package/src/reports/moh-740/moh-740.resource.ts +42 -0
  99. package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.scss +18 -0
  100. package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.tsx +104 -0
  101. package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.scss +18 -0
  102. package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.tsx +79 -0
  103. package/src/reports/moh-740/registers/moh-740-patient-list.scss +0 -0
  104. package/src/reports/moh-740/registers/moh-740-patient-list.tsx +66 -0
  105. package/src/reports/moh-740/shared/data-cell/data-cell.scss +6 -0
  106. package/src/reports/moh-740/shared/data-cell/data-cell.tsx +23 -0
  107. package/src/reports/moh-740/shared/utils/format-indicator.ts +22 -0
  108. package/src/reports/moh-740/shared/utils/indicator-register-map.ts +157 -0
  109. package/src/reports/moh-740/types/index.ts +216 -0
  110. package/src/reports/moh-745/moh-745.component.tsx +928 -0
  111. package/src/reports/moh-745/moh-745.scss +74 -0
  112. package/src/reports/moh-745/registers/moh-412-register.component.tsx +191 -0
  113. package/src/reports/moh-745/registers/type.ts +30 -0
  114. package/src/reports/table-wrapper/table-row-mapper.component.tsx +53 -0
  115. package/src/reports/table-wrapper/table-wrapper.component.tsx +21 -0
  116. package/src/reports/table-wrapper/table-wrapper.scss +31 -0
  117. package/src/resources/moh-505.resource.ts +86 -0
  118. package/src/resources/moh-705.resource.ts +117 -0
  119. package/src/resources/moh-706.resource.ts +86 -0
  120. package/src/resources/moh-710.resource.ts +28 -0
  121. package/src/resources/moh-711.resource.ts +146 -0
  122. package/src/resources/moh-717.resource.ts +27 -0
  123. package/src/resources/moh-731.resource.ts +96 -0
  124. package/src/resources/moh-745.resource.ts +64 -0
  125. package/src/root.component.tsx +39 -0
  126. package/src/routes.json +3 -1
  127. package/src/utils/utils.ts +36 -0
  128. package/dist/367.js +0 -2
  129. package/dist/367.js.map +0 -1
  130. package/dist/86.js +0 -1
  131. package/dist/86.js.map +0 -1
  132. /package/dist/{367.js.LICENSE.txt → 822.js.LICENSE.txt} +0 -0
@@ -0,0 +1,451 @@
1
+ import React from 'react';
2
+
3
+ import styles from '../moh-731.scss';
4
+ import classNames from 'classnames';
5
+ import { useNavigate } from 'react-router-dom';
6
+
7
+ interface PmtctComponentProps {
8
+ MOH731Data: any;
9
+ startDate: string;
10
+ endDate: string;
11
+ locationUuids: string;
12
+ }
13
+
14
+ const PmtctComponent: React.FC<PmtctComponentProps> = ({ MOH731Data, startDate, endDate, locationUuids }) => {
15
+ const navigate = useNavigate();
16
+
17
+ const navigateToRegister = (indicator: string, gender: string) => {
18
+ navigate(
19
+ `/moh-366-register?startDate=${startDate}&endDate=${endDate}&locationUuids=${locationUuids}&indicator=${indicator}&gender=${gender}`,
20
+ );
21
+ };
22
+ return (
23
+ <>
24
+ <table>
25
+ <tbody>
26
+ <div className={styles.flexRow}>
27
+ <div className={styles.flexColumn}>
28
+ <tr>
29
+ <td className={styles.spaceAfter} style={{ fontWeight: 'bold' }}>
30
+ 2.1 Maternal HIV Testing
31
+ </td>
32
+ </tr>
33
+ <tr>
34
+ <td>Known Positive at 1st ANC</td>
35
+ <td className={styles.textBox}>
36
+ <span>HV02-01</span>
37
+ <div onClick={() => navigateToRegister('known_positive_1st_anc', 'F')} className={styles.rectangle}>
38
+ {MOH731Data.known_positive_1st_anc}
39
+ </div>
40
+ </td>
41
+ <td></td>
42
+ </tr>
43
+ <tr>
44
+ <td></td>
45
+ <td style={{ fontWeight: 'bold' }}>Initial</td>
46
+ <td style={{ paddingLeft: '60px', fontWeight: 'bold' }}>Retest</td>
47
+ </tr>
48
+ <tr>
49
+ <td>Tested at ANC</td>
50
+ <td className={styles.textBox}>
51
+ <span>HV02-02</span>
52
+ <div onClick={() => navigateToRegister('initial_test_anc', 'F')} className={styles.rectangle}>
53
+ {MOH731Data.initial_test_anc}
54
+ </div>
55
+ </td>
56
+ <td>
57
+ <div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
58
+ <span>HV02-03</span>
59
+ <div onClick={() => navigateToRegister('retest_anc', 'F')} className={styles.rectangle}>
60
+ {MOH731Data.retest_anc}
61
+ </div>
62
+ </div>
63
+ </td>
64
+ </tr>
65
+ <tr>
66
+ <td>Tested at L&D</td>
67
+ <td className={styles.textBox}>
68
+ <span>HV02-04</span>
69
+ <div onClick={() => navigateToRegister('initial_test_LD', 'F')} className={styles.rectangle}>
70
+ {MOH731Data.initial_test_LD}
71
+ </div>
72
+ </td>
73
+ <td>
74
+ <div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
75
+ <span>HV02-05</span>
76
+ <div onClick={() => navigateToRegister('retest_LD', 'F')} className={styles.rectangle}>
77
+ {MOH731Data.retest_LD}
78
+ </div>
79
+ </div>
80
+ </td>
81
+ </tr>
82
+ <tr>
83
+ <td>Tested at PNC_&le;6weeks</td>
84
+ <td className={styles.textBox}>
85
+ <span>HV02-06</span>
86
+ <div
87
+ onClick={() => navigateToRegister('initial_test_pnc_less_6_weeks', 'F')}
88
+ className={styles.rectangle}
89
+ >
90
+ {MOH731Data.initial_test_pnc_less_6_weeks}
91
+ </div>
92
+ </td>
93
+ <td>
94
+ <div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
95
+ <span>HV02-07</span>
96
+ <div
97
+ onClick={() => navigateToRegister('retest_pnc_less_6_weeks', 'F')}
98
+ className={styles.rectangle}
99
+ >
100
+ {MOH731Data.retest_pnc_less_6_weeks}
101
+ </div>
102
+ </div>
103
+ </td>
104
+ </tr>
105
+ <tr>
106
+ <td>Tested at PNC_&gt;6weeks</td>
107
+ <td className={styles.textBox}>
108
+ <span>HV02-08</span>
109
+ <div
110
+ onClick={() => navigateToRegister('initial_test_pnc_greater_6_weeks', 'F')}
111
+ className={styles.rectangle}
112
+ >
113
+ {MOH731Data.initial_test_pnc_greater_6_weeks}
114
+ </div>
115
+ </td>
116
+ <td>
117
+ <div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
118
+ <span>HV02-09</span>
119
+ <div
120
+ onClick={() => navigateToRegister('retest_pnc_greater_6_weeks', 'F')}
121
+ className={styles.rectangle}
122
+ >
123
+ {MOH731Data.retest_pnc_greater_6_weeks}
124
+ </div>
125
+ </div>
126
+ </td>
127
+ </tr>
128
+ ____________________________________________________________________
129
+ <tr>
130
+ <td className={styles.spaceAfter} style={{ fontWeight: 'bold' }}>
131
+ 2.2 HIV Positive Results
132
+ </td>
133
+ </tr>
134
+ <tr>
135
+ <td>Tested at ANC</td>
136
+ <td className={styles.textBox}>
137
+ <span>HV02-10</span>
138
+ <div onClick={() => navigateToRegister('positive_anc', 'F')} className={styles.rectangle}>
139
+ {MOH731Data.positive_anc}
140
+ </div>
141
+ </td>
142
+ <td></td>
143
+ </tr>
144
+ <tr>
145
+ <td>Tested at L&D</td>
146
+ <td className={styles.textBox}>
147
+ <span>HV02-11</span>
148
+ <div onClick={() => navigateToRegister('positive_LD', 'F')} className={styles.rectangle}>
149
+ {MOH731Data.positive_LD}
150
+ </div>
151
+ </td>
152
+ <td></td>
153
+ </tr>
154
+ <tr>
155
+ <td>Tested at PNC_&le;6weeks</td>
156
+ <td className={styles.textBox}>
157
+ <span>HV02-12</span>
158
+ <div
159
+ onClick={() => navigateToRegister('positive_pnc_less_6_weeks', 'F')}
160
+ className={styles.rectangle}
161
+ >
162
+ {MOH731Data.positive_pnc_less_6_weeks}
163
+ </div>
164
+ </td>
165
+ <td></td>
166
+ </tr>
167
+ <tr>
168
+ <td>Tested at PNC_&gt;6weeks</td>
169
+ <td className={styles.textBox}>
170
+ <span>HV02-13</span>
171
+ <div
172
+ onClick={() => navigateToRegister('positive_pnc_greater_6_weeks', 'F')}
173
+ className={styles.rectangle}
174
+ >
175
+ {MOH731Data.positive_pnc_greater_6_weeks}
176
+ </div>
177
+ </td>
178
+ <td></td>
179
+ </tr>
180
+ ____________________________________________________________________
181
+ <tr>
182
+ <td className={styles.spaceAfter} style={{ fontWeight: 'bold' }}>
183
+ 2.3 Maternal HAART
184
+ </td>
185
+ </tr>
186
+ <tr>
187
+ <td>On HAART at 1st ANC</td>
188
+ <td className={styles.textBox}>
189
+ <span>HV02-14</span>
190
+ <div onClick={() => navigateToRegister('maternal_haart_1st_anc', 'F')} className={styles.rectangle}>
191
+ {MOH731Data.maternal_haart_1st_anc}
192
+ </div>
193
+ </td>
194
+ <td></td>
195
+ </tr>
196
+ <tr>
197
+ <td>Start HAART_ANC</td>
198
+ <td className={styles.textBox}>
199
+ <span>HV02-15</span>
200
+ <div
201
+ onClick={() => navigateToRegister('start_maternal_haart_1st_anc', 'F')}
202
+ className={styles.rectangle}
203
+ >
204
+ {MOH731Data.start_maternal_haart_1st_anc}
205
+ </div>
206
+ </td>
207
+ <td></td>
208
+ </tr>
209
+ <tr>
210
+ <td>Start HAART_L&D</td>
211
+ <td className={styles.textBox}>
212
+ <span>HV02-16</span>
213
+ <div onClick={() => navigateToRegister('start_maternal_haart_LD', 'F')} className={styles.rectangle}>
214
+ {MOH731Data.start_maternal_haart_LD}
215
+ </div>
216
+ </td>
217
+ <td></td>
218
+ </tr>
219
+ <tr>
220
+ <td>Start HAART_PNC_&le;6weeks</td>
221
+ <td className={styles.textBox}>
222
+ <span>HV02-17</span>
223
+ <div
224
+ onClick={() => navigateToRegister('maternal_haart_less_6_weeks', 'F')}
225
+ className={styles.rectangle}
226
+ >
227
+ {MOH731Data.maternal_haart_less_6_weeks}
228
+ </div>
229
+ </td>
230
+ <td></td>
231
+ </tr>
232
+ <tr>
233
+ <td>Start HAART_PNC_&gt;6weeks</td>
234
+ <td className={styles.textBox}>
235
+ <span>HV02-18</span>
236
+ <div
237
+ onClick={() => navigateToRegister('maternal_haart_more_6_weeks', 'F')}
238
+ className={styles.rectangle}
239
+ >
240
+ {MOH731Data.maternal_haart_more_6_weeks}
241
+ </div>
242
+ </td>
243
+ <td></td>
244
+ </tr>
245
+ ____________________________________________________________________
246
+ </div>
247
+ <div className={styles.flexColumn}>
248
+ <tr>
249
+ <td className={styles.spaceAfter} style={{ fontWeight: 'bold' }}>
250
+ 2.4 HBV Screening at ANC
251
+ </td>
252
+ </tr>
253
+ <tr>
254
+ <td>Screened_HBV_ANC</td>
255
+ <td className={styles.textBox}>
256
+ <span>HV02-19</span>
257
+ <div className={styles.rectangle}></div>
258
+ </td>
259
+ <td></td>
260
+ </tr>
261
+ <tr>
262
+ <td>HBV Screened_Positive</td>
263
+ <td className={styles.textBox}>
264
+ <span>HV02-20</span>
265
+ <div
266
+ onClick={() => navigateToRegister('hbv_screened_positive_anc', 'F')}
267
+ className={styles.rectangle}
268
+ >
269
+ {MOH731Data.hbv_screened_positive_anc}
270
+ </div>
271
+ </td>
272
+ <td></td>
273
+ </tr>
274
+ ____________________________________________________________________
275
+ <tr>
276
+ <td style={{ fontWeight: 'bold' }}>
277
+ 2.5 Adolescents girls & Young Women (10-24 Yrs)
278
+ <br />
279
+ testing & results
280
+ </td>
281
+ </tr>
282
+ <tr>
283
+ <td></td>
284
+ <td>10-19yrs</td>
285
+ <td style={{ paddingLeft: '60px' }}>20-24yrs</td>
286
+ </tr>
287
+ <tr>
288
+ <td>1st ANC KP</td>
289
+ <td className={styles.textBox}>
290
+ <span>HV02-21</span>
291
+ <div onClick={() => navigateToRegister('known_positive_anc_10_19', 'F')} className={styles.rectangle}>
292
+ {MOH731Data.known_positive_anc_10_19}
293
+ </div>
294
+ </td>
295
+ <td>
296
+ <div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
297
+ <span>HV02-22</span>
298
+ <div
299
+ onClick={() => navigateToRegister('known_positive_anc_20_24', 'F')}
300
+ className={styles.rectangle}
301
+ >
302
+ {MOH731Data.known_positive_anc_20_24}
303
+ </div>
304
+ </div>
305
+ </td>
306
+ </tr>
307
+ <tr>
308
+ <td>New HIV Positive</td>
309
+ <td className={styles.textBox}>
310
+ <span>HV02-23</span>
311
+ <div
312
+ onClick={() => navigateToRegister('positive_anc_ld_pnc_10_19', 'F')}
313
+ className={styles.rectangle}
314
+ >
315
+ {MOH731Data.positive_anc_ld_pnc_10_19}
316
+ </div>
317
+ </td>
318
+ <td>
319
+ <div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
320
+ <span>HV02-24</span>
321
+ <div
322
+ onClick={() => navigateToRegister('positive_anc_ld_pnc_20_24', 'F')}
323
+ className={styles.rectangle}
324
+ >
325
+ {MOH731Data.positive_anc_ld_pnc_20_24}
326
+ </div>
327
+ </div>
328
+ </td>
329
+ </tr>
330
+ <tr>
331
+ <td>On HAART 1st ANC KP</td>
332
+ <td className={styles.textBox}>
333
+ <span>HV02-25</span>
334
+ <div onClick={() => navigateToRegister('on_art_anc_10_19', 'F')} className={styles.rectangle}>
335
+ {MOH731Data.on_art_anc_10_19}
336
+ </div>
337
+ </td>
338
+ <td>
339
+ <div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
340
+ <span>HV02-26</span>
341
+ <div onClick={() => navigateToRegister('on_art_anc_20_24', 'F')} className={styles.rectangle}>
342
+ {MOH731Data.on_art_anc_20_24}
343
+ </div>
344
+ </div>
345
+ </td>
346
+ </tr>
347
+ <tr>
348
+ <td>Started HAART New</td>
349
+ <td className={styles.textBox}>
350
+ <span>HV02-27</span>
351
+ <div onClick={() => navigateToRegister('start_art_10_19', 'F')} className={styles.rectangle}>
352
+ {MOH731Data.start_art_10_19}
353
+ </div>
354
+ </td>
355
+ <td>
356
+ <div className={classNames(`${styles.textBox}`, `${styles.textBox2}`)}>
357
+ <span>HV02-28</span>
358
+ <div onClick={() => navigateToRegister('start_art_20_24', 'F')} className={styles.rectangle}>
359
+ {MOH731Data.start_art_20_24}
360
+ </div>
361
+ </div>
362
+ </td>
363
+ </tr>
364
+ ____________________________________________________________________
365
+ <tr>
366
+ <td className={styles.spaceAfter} style={{ fontWeight: 'bold' }}>
367
+ 2.6 Infant Prophylaxis
368
+ </td>
369
+ </tr>
370
+ <tr>
371
+ <td>Infant ARV Prophylaxis_ANC</td>
372
+ <td className={styles.textBox}>
373
+ <span>HV02-29</span>
374
+ <div onClick={() => navigateToRegister('infant_arv_anc', 'F')} className={styles.rectangle}>
375
+ {MOH731Data.infant_arv_anc}
376
+ </div>
377
+ </td>
378
+ <td></td>
379
+ </tr>
380
+ <tr>
381
+ <td>Infant ARV Prophylaxis_L&D</td>
382
+ <td className={styles.textBox}>
383
+ <span>HV02-30</span>
384
+ <div onClick={() => navigateToRegister('infant_arv_ld', 'F')} className={styles.rectangle}>
385
+ {MOH731Data.infant_arv_ld}
386
+ </div>
387
+ </td>
388
+ <td></td>
389
+ </tr>
390
+ <tr>
391
+ <td>Infant ARV Prophylaxis_L&PNC</td>
392
+ <td className={styles.textBox}>
393
+ <span>HV02-31</span>
394
+ <div onClick={() => navigateToRegister('infant_arv_pnc', 'F')} className={styles.rectangle}>
395
+ {MOH731Data.infant_arv_pnc}
396
+ </div>
397
+ </td>
398
+ <td></td>
399
+ </tr>
400
+ ____________________________________________________________________
401
+ <tr>
402
+ <td className={styles.spaceAfter} style={{ fontWeight: 'bold' }}>
403
+ 2.7 Infant Feeding
404
+ </td>
405
+ </tr>
406
+ <tr>
407
+ <td style={{ fontWeight: 'bold' }}>Below 6 months</td>
408
+ </tr>
409
+ <tr>
410
+ <td>Exclusive Breastfeeding (EBF)</td>
411
+ <td className={styles.textBox}>
412
+ <span>HV02-32</span>
413
+ <div onClick={() => navigateToRegister('exclusive_bf', 'F')} className={styles.rectangle}>
414
+ {MOH731Data.exclusive_bf}
415
+ </div>
416
+ </td>
417
+ <td></td>
418
+ </tr>
419
+ <tr>
420
+ <td style={{ fontWeight: 'bold' }}>6 to 24 months</td>
421
+ </tr>
422
+ <tr>
423
+ <td>Breastfeeding (BF)</td>
424
+ <td className={styles.textBox}>
425
+ <span>HV02-33</span>
426
+ <div onClick={() => navigateToRegister('bf', 'F')} className={styles.rectangle}>
427
+ {MOH731Data.bf}
428
+ </div>
429
+ </td>
430
+ <td></td>
431
+ </tr>
432
+ <tr>
433
+ <td className={styles.spaceAfter}>Not Breastfeeding (NBF)</td>
434
+ <td className={styles.textBox}>
435
+ <span>HV02-34</span>
436
+ <div onClick={() => navigateToRegister('weaning', 'F')} className={styles.rectangle}>
437
+ {MOH731Data.weaning}
438
+ </div>
439
+ </td>
440
+ <td></td>
441
+ </tr>
442
+ ____________________________________________________________________
443
+ </div>
444
+ </div>
445
+ </tbody>
446
+ </table>
447
+ </>
448
+ );
449
+ };
450
+
451
+ export default PmtctComponent;
@@ -0,0 +1,120 @@
1
+ .reportLayout {
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 100%;
5
+ row-gap: 10px;
6
+ padding: 15px 15px;
7
+
8
+ .reportHeader {
9
+ display: flex;
10
+ flex-direction: column;
11
+ width: 100%;
12
+ row-gap: 15px;
13
+
14
+ .reportTitle {
15
+ display: flex;
16
+ flex-direction: column;
17
+ width: 100%;
18
+ }
19
+
20
+ .reportFilters {
21
+ display: flex;
22
+ flex-direction: column;
23
+ width: 100%;
24
+ row-gap: 5px;
25
+ }
26
+ }
27
+ }
28
+
29
+ .reportContent {
30
+ display: flex;
31
+ flex-direction: column;
32
+ width: 100%;
33
+ padding: 30px 30px;
34
+ }
35
+
36
+
37
+ .sectionHeader {
38
+ background-color: #f2f2f2;
39
+ font-weight: bold;
40
+ text-align: center;
41
+ text-transform: uppercase;
42
+ }
43
+
44
+ .headerContainer {
45
+ display: flex;
46
+ justify-content: space-between;
47
+ align-items: flex-start;
48
+ margin-bottom: 10px;
49
+ }
50
+
51
+ .mainTitleBox {
52
+ border: 2px solid #000;
53
+ padding: 10px;
54
+ text-align: center;
55
+ width: 100%;
56
+ }
57
+
58
+ .formCodeBox {
59
+ text-align: right;
60
+ font-size: 9px;
61
+ width: 25%;
62
+ }
63
+
64
+ .darkBorder{
65
+ border: 1px solid #000;
66
+ padding: 4px;
67
+ text-align: left;
68
+ }
69
+
70
+ .bgGrey {
71
+ background-color: #e0e0e0;
72
+ }
73
+
74
+ .sectionHeader {
75
+ background-color: #f2f2f2;
76
+ font-weight: bold;
77
+ text-align: center;
78
+ text-transform: uppercase;
79
+ }
80
+
81
+ .subHeader {
82
+ font-weight: bold;
83
+ }
84
+
85
+ .topMeta{
86
+ width: 100%;
87
+ border-collapse: collapse;
88
+ margin-bottom: 10px;
89
+ }
90
+
91
+ .topMeta td {
92
+ border: none;
93
+ padding: 2px;
94
+ }
95
+
96
+ .signOff {
97
+ margin-top: 20px;
98
+ width: 100%;
99
+ }
100
+
101
+ .indent {
102
+ padding-left: 20px;
103
+ }
104
+
105
+ .mainTitle {
106
+ margin: 0;
107
+ }
108
+
109
+ .subTitle {
110
+ margin: 5px 0;
111
+ }
112
+
113
+ .dataElement {
114
+ width: 40%;
115
+ }
116
+
117
+ .otherElement {
118
+ width: 20%;
119
+ text-align: center;
120
+ }