@ampath/esm-reports-app 1.0.0-next.90 → 1.0.0-next.92
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/{249.css.map → 325.css.map} +1 -1
- package/dist/325.js +1 -0
- package/dist/325.js.map +1 -0
- package/dist/410.js +1 -1
- package/dist/757.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/reports/moh-706/sub-reports/bacteriology/bacteriology.component.tsx +2 -2
- package/src/reports/moh-706/sub-reports/haematology/haematology.component.tsx +4 -4
- package/src/reports/moh-706/sub-reports/histology-and-cytology/histology-and-cytology.component.tsx +2 -2
- package/src/reports/moh-706/sub-reports/parasitology/parasitology.component.tsx +6 -6
- package/src/reports/moh-711/linelist/moh-711-anc-linelist.component.tsx +76 -0
- package/src/reports/moh-711/linelist/moh-711-family-planning-linelist.component.tsx +105 -0
- package/src/reports/moh-711/linelist/moh-711-maternity-linelist.component.tsx +102 -0
- package/src/reports/moh-711/linelist/moh-711-pnc-linelist.component.tsx +79 -0
- package/src/reports/moh-711/linelist/use-open-moh-711-anc-linelist.ts +20 -0
- package/src/reports/moh-711/linelist/use-open-moh-711-family-planning-linelist.ts +20 -0
- package/src/reports/moh-711/linelist/use-open-moh-711-maternity-linelist.ts +20 -0
- package/src/reports/moh-711/linelist/use-open-moh-711-pnc-linelist.ts +20 -0
- package/src/reports/moh-711/sections/anc.component.tsx +23 -35
- package/src/reports/moh-711/sections/family-planning.component.tsx +43 -55
- package/src/reports/moh-711/sections/maternity.component.tsx +41 -53
- package/src/reports/moh-711/sections/pnc.component.tsx +14 -26
- package/src/root.component.tsx +8 -0
- package/dist/249.js +0 -1
- package/dist/249.js.map +0 -1
- /package/dist/{249.css → 325.css} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { useCallback } from 'react';
|
|
2
|
+
import { useNavigate } from 'react-router-dom';
|
|
3
|
+
|
|
4
|
+
export function useOpenMoh711MaternityLinelist(startDate: string, endDate: string, locationUuids: string) {
|
|
5
|
+
const navigate = useNavigate();
|
|
6
|
+
|
|
7
|
+
return useCallback(
|
|
8
|
+
(indicator: string) => {
|
|
9
|
+
const params = new URLSearchParams({
|
|
10
|
+
startDate,
|
|
11
|
+
endDate,
|
|
12
|
+
locationUuids,
|
|
13
|
+
indicator,
|
|
14
|
+
from: 'moh-711',
|
|
15
|
+
});
|
|
16
|
+
navigate(`/moh-711-maternity-linelist?${params}`);
|
|
17
|
+
},
|
|
18
|
+
[navigate, startDate, endDate, locationUuids],
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { useCallback } from 'react';
|
|
2
|
+
import { useNavigate } from 'react-router-dom';
|
|
3
|
+
|
|
4
|
+
export function useOpenMoh711PncLinelist(startDate: string, endDate: string, locationUuids: string) {
|
|
5
|
+
const navigate = useNavigate();
|
|
6
|
+
|
|
7
|
+
return useCallback(
|
|
8
|
+
(indicator: string) => {
|
|
9
|
+
const params = new URLSearchParams({
|
|
10
|
+
startDate,
|
|
11
|
+
endDate,
|
|
12
|
+
locationUuids,
|
|
13
|
+
indicator,
|
|
14
|
+
from: 'moh-711',
|
|
15
|
+
});
|
|
16
|
+
navigate(`/moh-711-pnc-linelist?${params}`);
|
|
17
|
+
},
|
|
18
|
+
[navigate, startDate, endDate, locationUuids],
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import styles from '../moh711.scss';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
|
-
import {
|
|
5
|
+
import { useOpenMoh711AncLinelist } from '../linelist/use-open-moh-711-anc-linelist';
|
|
6
6
|
|
|
7
7
|
interface ANCComponentProps {
|
|
8
8
|
moh711Data: any;
|
|
@@ -12,19 +12,7 @@ interface ANCComponentProps {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
const ANCComponent: React.FC<ANCComponentProps> = ({ moh711Data, startDate, endDate, locationUuids }) => {
|
|
15
|
-
const
|
|
16
|
-
const location = useLocation();
|
|
17
|
-
const navigateToRegister = (indicator: string) => {
|
|
18
|
-
navigate(
|
|
19
|
-
`/moh-405-register?startDate=${startDate}&endDate=${endDate}&locationUuids=${locationUuids}&indicator=${indicator}&from=moh-711`,
|
|
20
|
-
{
|
|
21
|
-
state: {
|
|
22
|
-
from: location.pathname,
|
|
23
|
-
reportName: 'moh711Report',
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
);
|
|
27
|
-
};
|
|
15
|
+
const openLinelist = useOpenMoh711AncLinelist(startDate, endDate, locationUuids);
|
|
28
16
|
return (
|
|
29
17
|
<div className={styles.section}>
|
|
30
18
|
<table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
|
|
@@ -39,118 +27,118 @@ const ANCComponent: React.FC<ANCComponentProps> = ({ moh711Data, startDate, endD
|
|
|
39
27
|
<td>1</td>
|
|
40
28
|
<td rowSpan={2}>No. of ANC Clients</td>
|
|
41
29
|
<td>New</td>
|
|
42
|
-
<td onClick={() =>
|
|
30
|
+
<td onClick={() => openLinelist('new_anc_clients')}>{moh711Data.new_anc_clients ?? 0}</td>
|
|
43
31
|
</tr>
|
|
44
32
|
<tr>
|
|
45
33
|
<td>2</td>
|
|
46
34
|
<td>Re-visit</td>
|
|
47
|
-
<td onClick={() =>
|
|
35
|
+
<td onClick={() => openLinelist('revisit_anc_clients')}>{moh711Data.revisit_anc_clients ?? 0}</td>
|
|
48
36
|
</tr>
|
|
49
37
|
<tr>
|
|
50
38
|
<td>3</td>
|
|
51
39
|
<td colSpan={2}>No. of Clients given IPT (1st Dose)</td>
|
|
52
|
-
<td onClick={() =>
|
|
40
|
+
<td onClick={() => openLinelist('first_ipt_dose')}>{moh711Data.first_ipt_dose ?? 0}</td>
|
|
53
41
|
</tr>
|
|
54
42
|
<tr>
|
|
55
43
|
<td>4</td>
|
|
56
44
|
<td colSpan={2}>No. of Clients given IPT (2nd Dose)</td>
|
|
57
|
-
<td onClick={() =>
|
|
45
|
+
<td onClick={() => openLinelist('second_ipt_dose')}>{moh711Data.second_ipt_dose ?? 0}</td>
|
|
58
46
|
</tr>
|
|
59
47
|
<tr>
|
|
60
48
|
<td>5</td>
|
|
61
49
|
<td colSpan={2}>No. of Clients given IPT (3rd Dose)</td>
|
|
62
|
-
<td onClick={() =>
|
|
50
|
+
<td onClick={() => openLinelist('third_ipt_dose')}>{moh711Data.third_ipt_dose ?? 0}</td>
|
|
63
51
|
</tr>
|
|
64
52
|
<tr>
|
|
65
53
|
<td>6</td>
|
|
66
54
|
<td colSpan={2}>No. of Clients with Hb<11g/dl</td>
|
|
67
|
-
<td onClick={() =>
|
|
55
|
+
<td onClick={() => openLinelist('Hb_less_11g')}>{moh711Data.Hb_less_11g ?? 0}</td>
|
|
68
56
|
</tr>
|
|
69
57
|
<tr>
|
|
70
58
|
<td>7</td>
|
|
71
59
|
<td colSpan={2}>No. clients with 1st ANC contact at 12 or less weeks</td>
|
|
72
|
-
<td onClick={() =>
|
|
60
|
+
<td onClick={() => openLinelist('first_anc_contact_12_or_less_weeks')}>
|
|
73
61
|
{moh711Data.first_anc_contact_12_or_less_weeks ?? 0}
|
|
74
62
|
</td>
|
|
75
63
|
</tr>
|
|
76
64
|
<tr>
|
|
77
65
|
<td>8</td>
|
|
78
66
|
<td colSpan={2}>Pregnant women completing 4th ANC Contacts</td>
|
|
79
|
-
<td onClick={() =>
|
|
67
|
+
<td onClick={() => openLinelist('completing_4_anc_visits')}>
|
|
80
68
|
{moh711Data.completing_4_anc_visits ?? 0}
|
|
81
69
|
</td>
|
|
82
70
|
</tr>
|
|
83
71
|
<tr>
|
|
84
72
|
<td>9</td>
|
|
85
73
|
<td colSpan={2}>No. of clients completed 8th ANC Contacts</td>
|
|
86
|
-
<td onClick={() =>
|
|
74
|
+
<td onClick={() => openLinelist('completing_8_anc_contact')}>
|
|
87
75
|
{moh711Data.completing_8_anc_contact ?? 0}
|
|
88
76
|
</td>
|
|
89
77
|
</tr>
|
|
90
78
|
<tr>
|
|
91
79
|
<td>10</td>
|
|
92
80
|
<td colSpan={2}>No. of LLINs distributed to under 1 year</td>
|
|
93
|
-
<td onClick={() =>
|
|
81
|
+
<td onClick={() => openLinelist('llins_children_less_than_one')}>
|
|
94
82
|
{moh711Data.llins_children_less_than_one ?? 0}
|
|
95
83
|
</td>
|
|
96
84
|
</tr>
|
|
97
85
|
<tr>
|
|
98
86
|
<td>11</td>
|
|
99
87
|
<td colSpan={2}>No. of LLINs distributed to ANC clients</td>
|
|
100
|
-
<td onClick={() =>
|
|
88
|
+
<td onClick={() => openLinelist('llins_anc_clients')}>{moh711Data.llins_anc_clients ?? 0}</td>
|
|
101
89
|
</tr>
|
|
102
90
|
<tr>
|
|
103
91
|
<td>12</td>
|
|
104
92
|
<td rowSpan={2}>No. of clients</td>
|
|
105
93
|
<td>Tested for Syphilis</td>
|
|
106
|
-
<td onClick={() =>
|
|
94
|
+
<td onClick={() => openLinelist('anc_clients_tested_syphilis')}>
|
|
107
95
|
{moh711Data.anc_clients_tested_syphilis ?? 0}
|
|
108
96
|
</td>
|
|
109
97
|
</tr>
|
|
110
98
|
<tr>
|
|
111
99
|
<td>13</td>
|
|
112
100
|
<td>Positive (+ve)</td>
|
|
113
|
-
<td onClick={() =>
|
|
101
|
+
<td onClick={() => openLinelist('syphilis_positive')}> {moh711Data.syphilis_positive ?? 0}</td>
|
|
114
102
|
</tr>
|
|
115
103
|
<tr>
|
|
116
104
|
<td>14</td>
|
|
117
105
|
<td colSpan={2}>Total Women Done Breast Examination</td>
|
|
118
|
-
<td onClick={() =>
|
|
106
|
+
<td onClick={() => openLinelist('breast_exam')}>{moh711Data.breast_exam ?? 0}</td>
|
|
119
107
|
</tr>
|
|
120
108
|
<tr>
|
|
121
109
|
<td>15</td>
|
|
122
110
|
<td colSpan={2}>No. of adolescents (10-14 years) presenting with pregnancy at 1st ANC contact</td>
|
|
123
|
-
<td onClick={() =>
|
|
111
|
+
<td onClick={() => openLinelist('adolesc_10_14')}>{moh711Data.adolesc_10_14 ?? 0}</td>
|
|
124
112
|
</tr>
|
|
125
113
|
<tr>
|
|
126
114
|
<td>16</td>
|
|
127
115
|
<td colSpan={2}>No. of adolescents (15-19 years) presenting with pregnancy at 1st ANC contact</td>
|
|
128
|
-
<td onClick={() =>
|
|
116
|
+
<td onClick={() => openLinelist('adolesc_15_19')}>{moh711Data.adolesc_15_19 ?? 0}</td>
|
|
129
117
|
</tr>
|
|
130
118
|
<tr>
|
|
131
119
|
<td>17</td>
|
|
132
120
|
<td colSpan={2}>No. of youth (20-24 years) presenting with pregnancy at 1st ANC contact</td>
|
|
133
|
-
<td onClick={() =>
|
|
121
|
+
<td onClick={() => openLinelist('youth_20_24')}>{moh711Data.youth_20_24 ?? 0}</td>
|
|
134
122
|
</tr>
|
|
135
123
|
<tr>
|
|
136
124
|
<td>18</td>
|
|
137
125
|
<td colSpan={2}>No. of clients issued with Iron</td>
|
|
138
|
-
<td onClick={() =>
|
|
126
|
+
<td onClick={() => openLinelist('iron')}>{moh711Data.iron ?? 0}</td>
|
|
139
127
|
</tr>
|
|
140
128
|
<tr>
|
|
141
129
|
<td>19</td>
|
|
142
130
|
<td colSpan={2}>No. of clients issued with Folic</td>
|
|
143
|
-
<td onClick={() =>
|
|
131
|
+
<td onClick={() => openLinelist('folic')}>{moh711Data.folic ?? 0}</td>
|
|
144
132
|
</tr>
|
|
145
133
|
<tr>
|
|
146
134
|
<td>20</td>
|
|
147
135
|
<td colSpan={2}>No. of clients issued with Combined Ferrous Folate</td>
|
|
148
|
-
<td onClick={() =>
|
|
136
|
+
<td onClick={() => openLinelist('iron_and_folate')}>{moh711Data.iron_and_folate ?? 0}</td>
|
|
149
137
|
</tr>
|
|
150
138
|
<tr>
|
|
151
139
|
<td>21</td>
|
|
152
140
|
<td colSpan={2}>No. of pregnant women presenting in ANC with complication associated with FGM</td>
|
|
153
|
-
<td onClick={() =>
|
|
141
|
+
<td onClick={() => openLinelist('fgm_complications')}>{moh711Data.fgm_complications ?? 0}</td>
|
|
154
142
|
</tr>
|
|
155
143
|
</tbody>
|
|
156
144
|
</table>
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import styles from '../moh711.scss';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
|
-
import {
|
|
5
|
+
import { useOpenMoh711FamilyPlanningLinelist } from '../linelist/use-open-moh-711-family-planning-linelist';
|
|
6
6
|
|
|
7
7
|
interface FamilyPlanningComponentProps {
|
|
8
8
|
moh711Data: any;
|
|
@@ -17,19 +17,7 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
17
17
|
endDate,
|
|
18
18
|
locationUuids,
|
|
19
19
|
}) => {
|
|
20
|
-
const
|
|
21
|
-
const location = useLocation();
|
|
22
|
-
const navigateToRegister = (indicator: string) => {
|
|
23
|
-
navigate(
|
|
24
|
-
`/moh-512-register?startDate=${startDate}&endDate=${endDate}&locationUuids=${locationUuids}&indicator=${indicator}&from=moh-711`,
|
|
25
|
-
{
|
|
26
|
-
state: {
|
|
27
|
-
from: location.pathname,
|
|
28
|
-
reportName: 'moh711Report',
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
);
|
|
32
|
-
};
|
|
20
|
+
const openLinelist = useOpenMoh711FamilyPlanningLinelist(startDate, endDate, locationUuids);
|
|
33
21
|
return (
|
|
34
22
|
<div className={styles.section}>
|
|
35
23
|
<table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
|
|
@@ -51,7 +39,7 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
51
39
|
<tr>
|
|
52
40
|
<td>1</td>
|
|
53
41
|
<td colSpan={2}>No. of 1st Ever Users of Contraceptive</td>
|
|
54
|
-
<td onClick={() =>
|
|
42
|
+
<td onClick={() => openLinelist('first_users_contraceptive_new')}>
|
|
55
43
|
{moh711Data.first_users_contraceptive_new ?? 0}
|
|
56
44
|
</td>
|
|
57
45
|
<td className={styles.greyBackground}></td>
|
|
@@ -60,25 +48,25 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
60
48
|
<td>2</td>
|
|
61
49
|
<td rowSpan={3}>Pills</td>
|
|
62
50
|
<td>Progestine only pills</td>
|
|
63
|
-
<td onClick={() =>
|
|
64
|
-
<td onClick={() =>
|
|
51
|
+
<td onClick={() => openLinelist('pills_progestine_new')}>{moh711Data.pills_progestine_new ?? 0}</td>
|
|
52
|
+
<td onClick={() => openLinelist('pills_progestine_revisit')}>
|
|
65
53
|
{moh711Data.pills_progestine_revisit ?? 0}
|
|
66
54
|
</td>
|
|
67
55
|
</tr>
|
|
68
56
|
<tr>
|
|
69
57
|
<td>3</td>
|
|
70
58
|
<td>Pills Combined oral contraceptive</td>
|
|
71
|
-
<td onClick={() =>
|
|
59
|
+
<td onClick={() => openLinelist('pills_combined_oral_contraceptive_new')}>
|
|
72
60
|
{moh711Data.pills_combined_oral_contraceptive_new ?? 0}
|
|
73
61
|
</td>
|
|
74
|
-
<td onClick={() =>
|
|
62
|
+
<td onClick={() => openLinelist('pills_combined_oral_contraceptive_revisit')}>
|
|
75
63
|
{moh711Data.pills_combined_oral_contraceptive_revisit ?? 0}
|
|
76
64
|
</td>
|
|
77
65
|
</tr>
|
|
78
66
|
<tr>
|
|
79
67
|
<td>4</td>
|
|
80
68
|
<td>Emergency contraceptive pill</td>
|
|
81
|
-
<td onClick={() =>
|
|
69
|
+
<td onClick={() => openLinelist('emergency_contraceptive_pill_new')}>
|
|
82
70
|
{moh711Data.emergency_contraceptive_pill_new ?? 0}
|
|
83
71
|
</td>
|
|
84
72
|
<td className={styles.greyBackground}></td>
|
|
@@ -87,20 +75,20 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
87
75
|
<td>5</td>
|
|
88
76
|
<td rowSpan={2}>Injectables</td>
|
|
89
77
|
<td>FP Injections DMPA- IM</td>
|
|
90
|
-
<td onClick={() =>
|
|
78
|
+
<td onClick={() => openLinelist('fp_injections_dmpa_im_new')}>
|
|
91
79
|
{moh711Data.fp_injections_dmpa_im_new ?? 0}
|
|
92
80
|
</td>
|
|
93
|
-
<td onClick={() =>
|
|
81
|
+
<td onClick={() => openLinelist('fp_injections_dmpa_im_revisit')}>
|
|
94
82
|
{moh711Data.fp_injections_dmpa_im_revisit ?? 0}
|
|
95
83
|
</td>
|
|
96
84
|
</tr>
|
|
97
85
|
<tr>
|
|
98
86
|
<td>6</td>
|
|
99
87
|
<td>FP Injections DMPA- SC</td>
|
|
100
|
-
<td onClick={() =>
|
|
88
|
+
<td onClick={() => openLinelist('fp_injections_dmpa_sc_new')}>
|
|
101
89
|
{moh711Data.fp_injections_dmpa_sc_new ?? 0}
|
|
102
90
|
</td>
|
|
103
|
-
<td onClick={() =>
|
|
91
|
+
<td onClick={() => openLinelist('fp_injections_dmpa_sc_revisit')}>
|
|
104
92
|
{moh711Data.fp_injections_dmpa_sc_revisit ?? 0}
|
|
105
93
|
</td>
|
|
106
94
|
</tr>
|
|
@@ -108,22 +96,22 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
108
96
|
<td>7</td>
|
|
109
97
|
<td rowSpan={3}>Condoms</td>
|
|
110
98
|
<td>No. of clients received (Male condoms)</td>
|
|
111
|
-
<td onClick={() =>
|
|
112
|
-
<td onClick={() =>
|
|
99
|
+
<td onClick={() => openLinelist('male_condoms_new')}>{moh711Data.male_condoms_new ?? 0}</td>
|
|
100
|
+
<td onClick={() => openLinelist('male_condoms_revisit')}>{moh711Data.male_condoms_revisit ?? 0}</td>
|
|
113
101
|
</tr>
|
|
114
102
|
<tr>
|
|
115
103
|
<td>8</td>
|
|
116
104
|
<td>No. of clients received (Female condoms)</td>
|
|
117
|
-
<td onClick={() =>
|
|
118
|
-
<td onClick={() =>
|
|
105
|
+
<td onClick={() => openLinelist('female_condoms_new')}>{moh711Data.female_condoms_new ?? 0}</td>
|
|
106
|
+
<td onClick={() => openLinelist('female_condoms_revisit')}>{moh711Data.female_condoms_revisit ?? 0}</td>
|
|
119
107
|
</tr>
|
|
120
108
|
<tr>
|
|
121
109
|
<td>9</td>
|
|
122
110
|
<td>No. of clients received (Both Male and Female condoms)</td>
|
|
123
|
-
<td onClick={() =>
|
|
111
|
+
<td onClick={() => openLinelist('male_and_female_condoms_new')}>
|
|
124
112
|
{moh711Data.male_and_female_condoms_new ?? 0}
|
|
125
113
|
</td>
|
|
126
|
-
<td onClick={() =>
|
|
114
|
+
<td onClick={() => openLinelist('male_and_female_condoms_revisit')}>
|
|
127
115
|
{moh711Data.male_and_female_condoms_revisit ?? 0}
|
|
128
116
|
</td>
|
|
129
117
|
</tr>
|
|
@@ -131,7 +119,7 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
131
119
|
<td>10</td>
|
|
132
120
|
<td rowSpan={2}>Natural FP</td>
|
|
133
121
|
<td>No. of clients counselled Natural FP</td>
|
|
134
|
-
<td onClick={() =>
|
|
122
|
+
<td onClick={() => openLinelist('counselled_for_natural_family_planning_new')}>
|
|
135
123
|
{moh711Data.counselled_for_natural_family_planning_new ?? 0}
|
|
136
124
|
</td>
|
|
137
125
|
<td className={styles.greyBackground}></td>
|
|
@@ -139,7 +127,7 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
139
127
|
<tr>
|
|
140
128
|
<td>11</td>
|
|
141
129
|
<td>No. of clients given cycle beads</td>
|
|
142
|
-
<td onClick={() =>
|
|
130
|
+
<td onClick={() => openLinelist('cycle_beads_new')}>{moh711Data.cycle_beads_new ?? 0}</td>
|
|
143
131
|
<td className={styles.greyBackground}></td>
|
|
144
132
|
</tr>
|
|
145
133
|
</tbody>
|
|
@@ -158,20 +146,20 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
158
146
|
<td>12</td>
|
|
159
147
|
<td rowSpan={2}>Implants</td>
|
|
160
148
|
<td>1 Rod</td>
|
|
161
|
-
<td onClick={() =>
|
|
149
|
+
<td onClick={() => openLinelist('implants_insertion_1_rod_first_time')}>
|
|
162
150
|
{moh711Data.implants_insertion_1_rod_first_time ?? 0}
|
|
163
151
|
</td>
|
|
164
|
-
<td onClick={() =>
|
|
152
|
+
<td onClick={() => openLinelist('implants_insertion_1_rod_re_insertion')}>
|
|
165
153
|
{moh711Data.implants_insertion_1_rod_re_insertion ?? 0}
|
|
166
154
|
</td>
|
|
167
155
|
</tr>
|
|
168
156
|
<tr>
|
|
169
157
|
<td>13</td>
|
|
170
158
|
<td>2 Rods</td>
|
|
171
|
-
<td onClick={() =>
|
|
159
|
+
<td onClick={() => openLinelist('implants_insertion_2_rod_first_time')}>
|
|
172
160
|
{moh711Data.implants_insertion_2_rod_first_time ?? 0}
|
|
173
161
|
</td>
|
|
174
|
-
<td onClick={() =>
|
|
162
|
+
<td onClick={() => openLinelist('implants_insertion_2_rod_re_insertion')}>
|
|
175
163
|
{moh711Data.implants_insertion_2_rod_re_insertion ?? 0}
|
|
176
164
|
</td>
|
|
177
165
|
</tr>
|
|
@@ -179,20 +167,20 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
179
167
|
<td>14</td>
|
|
180
168
|
<td rowSpan={2}>I.U.C.D insertion</td>
|
|
181
169
|
<td>Hormonal</td>
|
|
182
|
-
<td onClick={() =>
|
|
170
|
+
<td onClick={() => openLinelist('iucd_hormonal_first_time')}>
|
|
183
171
|
{moh711Data.iucd_hormonal_first_time ?? 0}
|
|
184
172
|
</td>
|
|
185
|
-
<td onClick={() =>
|
|
173
|
+
<td onClick={() => openLinelist('iucd_hormonal_re_insertion')}>
|
|
186
174
|
{moh711Data.iucd_hormonal_re_insertion ?? 0}
|
|
187
175
|
</td>
|
|
188
176
|
</tr>
|
|
189
177
|
<tr>
|
|
190
178
|
<td>15</td>
|
|
191
179
|
<td>Non Hormonal</td>
|
|
192
|
-
<td onClick={() =>
|
|
180
|
+
<td onClick={() => openLinelist('iucd_non_hormonal_first_time')}>
|
|
193
181
|
{moh711Data.iucd_non_hormonal_first_time ?? 0}
|
|
194
182
|
</td>
|
|
195
|
-
<td onClick={() =>
|
|
183
|
+
<td onClick={() => openLinelist('iucd_non_hormonal_re_insertion')}>
|
|
196
184
|
{moh711Data.iucd_non_hormonal_re_insertion ?? 0}
|
|
197
185
|
</td>
|
|
198
186
|
</tr>
|
|
@@ -200,7 +188,7 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
200
188
|
<td>16</td>
|
|
201
189
|
<td rowSpan={2}>Voluntary surgical contraception</td>
|
|
202
190
|
<td>BTL</td>
|
|
203
|
-
<td onClick={() =>
|
|
191
|
+
<td onClick={() => openLinelist('surgical_contraception_btl_first_time')}>
|
|
204
192
|
{moh711Data.surgical_contraception_btl_first_time ?? 0}
|
|
205
193
|
</td>
|
|
206
194
|
<td className={styles.greyBackground}></td>
|
|
@@ -208,7 +196,7 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
208
196
|
<tr>
|
|
209
197
|
<td>17</td>
|
|
210
198
|
<td>Vasectomy</td>
|
|
211
|
-
<td onClick={() =>
|
|
199
|
+
<td onClick={() => openLinelist('vasectomy_insertion')}>{moh711Data.vasectomy_insertion ?? 0}</td>
|
|
212
200
|
<td className={styles.greyBackground}></td>
|
|
213
201
|
</tr>
|
|
214
202
|
<tr>
|
|
@@ -220,13 +208,13 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
220
208
|
<td>18</td>
|
|
221
209
|
<td rowSpan={2}>Removals</td>
|
|
222
210
|
<td>I.U.C.D</td>
|
|
223
|
-
<td onClick={() =>
|
|
211
|
+
<td onClick={() => openLinelist('iucd_removals_new')}>{moh711Data.iucd_removals_new ?? 0}</td>
|
|
224
212
|
<td className={styles.greyBackground}></td>
|
|
225
213
|
</tr>
|
|
226
214
|
<tr>
|
|
227
215
|
<td>19</td>
|
|
228
216
|
<td>Implants</td>
|
|
229
|
-
<td onClick={() =>
|
|
217
|
+
<td onClick={() => openLinelist('implants_removal_new')}>{moh711Data.implants_removal_new ?? 0}</td>
|
|
230
218
|
<td className={styles.greyBackground}></td>
|
|
231
219
|
</tr>
|
|
232
220
|
<tr>
|
|
@@ -236,34 +224,34 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
236
224
|
other FP services)
|
|
237
225
|
</td>
|
|
238
226
|
<td>Adolescent clients (10-14 yrs) Receiving FP Services</td>
|
|
239
|
-
<td onClick={() =>
|
|
240
|
-
<td onClick={() =>
|
|
227
|
+
<td onClick={() => openLinelist('fp_adolescent_10_14_new')}>{moh711Data.fp_adolescent_10_14_new ?? 0}</td>
|
|
228
|
+
<td onClick={() => openLinelist('fp_adolescent_10_14_revisit')}>
|
|
241
229
|
{moh711Data.fp_adolescent_10_14_revisit ?? 0}
|
|
242
230
|
</td>
|
|
243
231
|
</tr>
|
|
244
232
|
<tr>
|
|
245
233
|
<td>21</td>
|
|
246
234
|
<td>Adolescent clients (15-19 Yrs) Receiving FP Services</td>
|
|
247
|
-
<td onClick={() =>
|
|
248
|
-
<td onClick={() =>
|
|
235
|
+
<td onClick={() => openLinelist('fp_adolescent_15_19_new')}>{moh711Data.fp_adolescent_15_19_new ?? 0}</td>
|
|
236
|
+
<td onClick={() => openLinelist('fp_adolescent_15_19_revisit')}>
|
|
249
237
|
{moh711Data.fp_adolescent_15_19_revisit ?? 0}
|
|
250
238
|
</td>
|
|
251
239
|
</tr>
|
|
252
240
|
<tr>
|
|
253
241
|
<td>22</td>
|
|
254
242
|
<td>Adolescent clients (20-24 Yrs) Receiving FP Services</td>
|
|
255
|
-
<td onClick={() =>
|
|
256
|
-
<td onClick={() =>
|
|
243
|
+
<td onClick={() => openLinelist('fp_adolescent_20_24_new')}>{moh711Data.fp_adolescent_20_24_new ?? 0}</td>
|
|
244
|
+
<td onClick={() => openLinelist('fp_adolescent_20_24_revisit')}>
|
|
257
245
|
{moh711Data.fp_adolescent_20_24_revisit ?? 0}
|
|
258
246
|
</td>
|
|
259
247
|
</tr>
|
|
260
248
|
<tr>
|
|
261
249
|
<td>23</td>
|
|
262
250
|
<td>Adults 25+ receiving FP Services</td>
|
|
263
|
-
<td onClick={() =>
|
|
251
|
+
<td onClick={() => openLinelist('fp_adolescent_25_plus_new')}>
|
|
264
252
|
{moh711Data.fp_adolescent_25_plus_new ?? 0}
|
|
265
253
|
</td>
|
|
266
|
-
<td onClick={() =>
|
|
254
|
+
<td onClick={() => openLinelist('fp_adolescent_25_plus_revisit')}>
|
|
267
255
|
{moh711Data.fp_adolescent_25_plus_revisit ?? 0}
|
|
268
256
|
</td>
|
|
269
257
|
</tr>
|
|
@@ -271,7 +259,7 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
271
259
|
<td>24</td>
|
|
272
260
|
<td rowSpan={2}>No. of clients receiving immediate post partum FP Method</td>
|
|
273
261
|
<td>within 48 Hours</td>
|
|
274
|
-
<td onClick={() =>
|
|
262
|
+
<td onClick={() => openLinelist('post_partum_fp_48_hours_new')}>
|
|
275
263
|
{moh711Data.post_partum_fp_48_hours_new ?? 0}
|
|
276
264
|
</td>
|
|
277
265
|
<td className={styles.greyBackground}></td>
|
|
@@ -279,7 +267,7 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
279
267
|
<tr>
|
|
280
268
|
<td>25</td>
|
|
281
269
|
<td>3 days to 6 weeks</td>
|
|
282
|
-
<td onClick={() =>
|
|
270
|
+
<td onClick={() => openLinelist('post_partum_fp_3days_6_weeks_new')}>
|
|
283
271
|
{moh711Data.post_partum_fp_3days_6_weeks_new ?? 0}
|
|
284
272
|
</td>
|
|
285
273
|
<td className={styles.greyBackground}></td>
|
|
@@ -287,7 +275,7 @@ const FamilyPlanningComponent: React.FC<FamilyPlanningComponentProps> = ({
|
|
|
287
275
|
<tr>
|
|
288
276
|
<td>26</td>
|
|
289
277
|
<td colSpan={2}>No. of clients receiving post abortion FP Method</td>
|
|
290
|
-
<td onClick={() =>
|
|
278
|
+
<td onClick={() => openLinelist('post_abortion_fp_new')}>{moh711Data.post_abortion_fp_new ?? 0}</td>
|
|
291
279
|
<td className={styles.greyBackground}></td>
|
|
292
280
|
</tr>
|
|
293
281
|
</tbody>
|