@ampath/esm-reports-app 1.0.0-next.26 → 1.0.0-next.27

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 (42) hide show
  1. package/dist/645.js +1 -0
  2. package/dist/645.js.map +1 -0
  3. package/dist/812.js +1 -1
  4. package/dist/ampath-esm-reports-app.js.buildmanifest.json +26 -26
  5. package/dist/main.js +1 -1
  6. package/dist/routes.json +1 -1
  7. package/package.json +1 -1
  8. package/src/reports/moh-705B/moh-204b-register.component.tsx +235 -0
  9. package/src/reports/moh-705B/moh-705b.component.tsx +141 -83
  10. package/src/reports/moh-705B/moh-705b.scss +4 -1
  11. package/src/reports/moh-705a/moh-705a.component.tsx +141 -86
  12. package/src/reports/moh-705a/moh-705a.scss +5 -1
  13. package/src/reports/moh-705a/registers/moh-204a-register.component.tsx +320 -0
  14. package/src/reports/moh-705a/type.ts +6 -0
  15. package/src/reports/moh-710/moh-710.component.tsx +3 -1
  16. package/src/reports/moh-710/moh-710.scss +4 -0
  17. package/src/reports/moh-710/patient-list/moh-710-patient-list.component.tsx +13 -0
  18. package/src/reports/moh-711/moh-711.component.tsx +30 -12
  19. package/src/reports/moh-711/moh711.scss +11 -0
  20. package/src/reports/moh-711/registers/moh-333-register.component.tsx +636 -0
  21. package/src/reports/moh-711/registers/moh-405-register.component.tsx +518 -0
  22. package/src/reports/moh-711/registers/moh-406-register.component.tsx +530 -0
  23. package/src/reports/moh-711/registers/moh-510-register.component.tsx +61 -0
  24. package/src/reports/moh-711/registers/moh-511-register.component.tsx +263 -0
  25. package/src/reports/moh-711/registers/type.ts +194 -0
  26. package/src/reports/moh-711/sections/anc.component.tsx +45 -22
  27. package/src/reports/moh-711/sections/maternity.component.tsx +79 -40
  28. package/src/reports/moh-711/sections/pnc.component.tsx +39 -13
  29. package/src/reports/moh-717/moh-717.component.tsx +28 -10
  30. package/src/reports/moh-717/moh717.scss +4 -0
  31. package/src/reports/moh-717/sections/maternity.component.tsx +38 -13
  32. package/src/reports/moh-745/moh-745.component.tsx +440 -141
  33. package/src/reports/moh-745/moh-745.scss +5 -0
  34. package/src/reports/moh-745/registers/moh-412-register.component.tsx +190 -0
  35. package/src/reports/moh-745/registers/type.ts +29 -0
  36. package/src/resources/moh-705.resource.ts +57 -0
  37. package/src/resources/moh-710.resource.ts +26 -0
  38. package/src/resources/moh-711.resource.ts +141 -0
  39. package/src/resources/moh-745.resource.ts +32 -2
  40. package/src/root.component.tsx +18 -0
  41. package/dist/269.js +0 -1
  42. package/dist/269.js.map +0 -1
@@ -18,6 +18,8 @@ h3 {
18
18
 
19
19
  }
20
20
 
21
+
22
+
21
23
  .tableBordered td,
22
24
  .tableBordered th {
23
25
  border: 1px solid #ccc;
@@ -66,4 +68,7 @@ span {
66
68
  width: 90px;
67
69
  border-bottom: 1px solid #000;
68
70
  margin-left: 4px;
71
+ }
72
+ .buttonContainer {
73
+ margin: 2rem;
69
74
  }
@@ -0,0 +1,190 @@
1
+ import { Button, Table, TableBody, TableHead, TableHeader, TableRow } from '@carbon/react';
2
+ import React, { useEffect, useState } from 'react';
3
+
4
+ import styles from '../moh-745.scss';
5
+ import classNames from 'classnames';
6
+ import { useNavigate, useSearchParams } from 'react-router-dom';
7
+ import { moh412Columns } from './type';
8
+ import { getMoh412PatientList } from '../../../resources/moh-745.resource';
9
+
10
+ const Moh412Register: React.FC = () => {
11
+ const navigate = useNavigate();
12
+ const [patientlist, setPatientList] = useState<any[]>([]);
13
+ const [isLoading, setIsLoading] = useState(false);
14
+
15
+ const [searchParams] = useSearchParams();
16
+
17
+ const startDate = searchParams.get('startDate');
18
+ const endDate = searchParams.get('endDate');
19
+ const locationUuids = searchParams.get('locationUuids');
20
+ const indicator = searchParams.get('indicator');
21
+
22
+ useEffect(() => {
23
+ const fetchData = async () => {
24
+ if (!startDate || !endDate || !locationUuids || !indicator) return;
25
+
26
+ setIsLoading(true);
27
+
28
+ try {
29
+ const params = {
30
+ startDate,
31
+ endDate,
32
+ locationUuids,
33
+ indicator,
34
+ };
35
+
36
+ const data = await getMoh412PatientList(params);
37
+
38
+ setPatientList(data?.results.results || []);
39
+ } catch (error) {
40
+ console.error('Failed to fetch register data', error);
41
+ } finally {
42
+ setIsLoading(false);
43
+ }
44
+ };
45
+
46
+ fetchData();
47
+ }, [startDate, endDate, locationUuids, indicator]);
48
+
49
+ function navigateBack() {
50
+ navigate('/moh-745');
51
+ }
52
+ return (
53
+ <>
54
+ <div className={styles.buttonContainer}>
55
+ <Button onClick={navigateBack}>Back</Button>
56
+ </div>
57
+ <div className={styles.tableContainer}>
58
+ <Table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
59
+ <TableHead>
60
+ <TableRow>
61
+ <TableHeader colSpan={3}>Month:</TableHeader>
62
+ <TableHeader colSpan={2}>Year</TableHeader>
63
+ <TableHeader></TableHeader>
64
+ <TableHeader></TableHeader>
65
+ <TableHeader></TableHeader>
66
+ <TableHeader></TableHeader>
67
+ <TableHeader colSpan={6}>CERVICAL CANCER</TableHeader>
68
+ <TableHeader colSpan={3}>Breast Cancer</TableHeader>
69
+ <TableHeader colSpan={2}>Colorectal Cancer</TableHeader>
70
+ <TableHeader></TableHeader>
71
+ <TableHeader></TableHeader>
72
+ <TableHeader></TableHeader>
73
+ <TableHeader></TableHeader>
74
+ </TableRow>
75
+ <TableRow>
76
+ <TableHeader colSpan={9}>Client Details</TableHeader>
77
+ <TableHeader colSpan={3}>Screening Methods and Results</TableHeader>
78
+ <TableHeader colSpan={3}>Pre-Cancer Treatment</TableHeader>
79
+ <TableHeader colSpan={3}>Methods and Results</TableHeader>
80
+ <TableHeader colSpan={2}>Methods and Results</TableHeader>
81
+ <TableHeader></TableHeader>
82
+ <TableHeader></TableHeader>
83
+ <TableHeader></TableHeader>
84
+ <TableHeader></TableHeader>
85
+ </TableRow>
86
+ <TableRow>
87
+ <TableHeader>
88
+ a)S/No
89
+ <br />
90
+ No
91
+ </TableHeader>
92
+ <TableHeader>
93
+ b)Visit <br />
94
+ Date
95
+ </TableHeader>
96
+ <TableHeader>
97
+ c)Visit <br />
98
+ Type
99
+ </TableHeader>
100
+ <TableHeader>
101
+ d)Client <br />
102
+ No
103
+ </TableHeader>
104
+ <TableHeader>e)Client Names</TableHeader>
105
+ <TableHeader>
106
+ f)Client's Phone <br />
107
+ Number
108
+ </TableHeader>
109
+ <TableHeader>
110
+ g)Client's <br /> Age
111
+ </TableHeader>
112
+ <TableHeader>
113
+ h)Location
114
+ <br />
115
+ Residence
116
+ </TableHeader>
117
+ <TableHeader>
118
+ i)Treatment
119
+ <br />
120
+ Suppoter's Phone
121
+ <br />
122
+ Number
123
+ </TableHeader>
124
+ <TableHeader>
125
+ j)Via or <br />
126
+ VIA/VILLI
127
+ </TableHeader>
128
+ <TableHeader>
129
+ k)Pap <br />
130
+ Smear
131
+ </TableHeader>
132
+ <TableHeader>
133
+ l)HPV Test
134
+ <br />
135
+ (over 30 years)
136
+ </TableHeader>
137
+ <TableHeader>m)cryotherapy</TableHeader>
138
+ <TableHeader>
139
+ n)Thermo-
140
+ <br />
141
+ ablation
142
+ </TableHeader>
143
+ <TableHeader>o)LEEP</TableHeader>
144
+ <TableHeader>p)CBE</TableHeader>
145
+ <TableHeader>q)Ultrasound</TableHeader>
146
+ <TableHeader>r)Mammogram</TableHeader>
147
+ <TableHeader>s)Colonoscopy</TableHeader>
148
+ <TableHeader>t)FOBT</TableHeader>
149
+ <TableHeader>u)HIV Status</TableHeader>
150
+ <TableHeader>
151
+ v)Referral <br />
152
+ To/From
153
+ </TableHeader>
154
+ <TableHeader>
155
+ w)Follow-
156
+ <br />
157
+ up Date
158
+ </TableHeader>
159
+ <TableHeader>
160
+ Remarks(e.g Colposcopy done,
161
+ <br />
162
+ Cervicography results, Call
163
+ <br />
164
+ Client for follow up, Return for <br />
165
+ post-treatment screening, <br />
166
+ Communicate with the referral site)
167
+ </TableHeader>
168
+ </TableRow>
169
+ </TableHead>
170
+ <TableBody>
171
+ {patientlist?.length > 0 ? (
172
+ patientlist.map((patient, index) => (
173
+ <TableRow key={index}>
174
+ {moh412Columns.map((col) => (
175
+ <td key={col}>{patient?.[col] ?? '-'}</td>
176
+ ))}
177
+ </TableRow>
178
+ ))
179
+ ) : (
180
+ <TableRow>
181
+ <td colSpan={moh412Columns.length}>No data available</td>
182
+ </TableRow>
183
+ )}
184
+ </TableBody>
185
+ </Table>
186
+ </div>
187
+ </>
188
+ );
189
+ };
190
+ export default Moh412Register;
@@ -0,0 +1,29 @@
1
+ export const moh412Columns = [
2
+ 'serial_no',
3
+ 'visit_date',
4
+ 'visit_type',
5
+ 'client_no',
6
+ 'client_names',
7
+ 'client_phone_number',
8
+ 'client_age',
9
+ 'residence_location',
10
+ 'supporter_phone_number',
11
+
12
+ 'via_screening',
13
+ 'pap_smear',
14
+ 'hpv_test',
15
+ 'cryotherapy',
16
+ 'thermoablation',
17
+ 'leep',
18
+
19
+ 'cbe',
20
+ 'ultrasound',
21
+ 'mammogram',
22
+ 'colonoscopy',
23
+ 'fobt',
24
+ 'hiv_status',
25
+
26
+ 'referral_to_from',
27
+ 'follow_up_date',
28
+ 'remarks',
29
+ ];
@@ -5,6 +5,7 @@ interface Moh710Params {
5
5
  locationUuids: string;
6
6
  startDate?: string;
7
7
  endDate?: string;
8
+ indicator?: string;
8
9
  }
9
10
 
10
11
  export async function getMoh705a(params: Moh710Params): Promise<any> {
@@ -33,6 +34,34 @@ export async function getMoh705a(params: Moh710Params): Promise<any> {
33
34
  }
34
35
  }
35
36
 
37
+ export async function getMoh705aPatientList(params: Moh710Params): Promise<any> {
38
+ const etlBaseUrl = await getEtlBaseUrl();
39
+ const url = `${etlBaseUrl}/moh-705a-patient-list`;
40
+ const queryparams = {
41
+ locationUuids: params.locationUuids || '',
42
+ startDate: params.startDate || '',
43
+ endDate: params.endDate || '',
44
+ indicator: params.indicator || '',
45
+ limit: '300',
46
+ };
47
+ const queryString = new URLSearchParams(
48
+ Object.fromEntries(Object.entries(queryparams).filter(([_, v]) => v !== undefined && v !== null)),
49
+ ).toString();
50
+ try {
51
+ const response = await openmrsFetch(`${url}?${queryString}`);
52
+
53
+ if (!response.ok) {
54
+ const errorText = await response.text();
55
+ throw new Error(`Failed to fetch patient list: ${response.status} - ${errorText}`);
56
+ }
57
+
58
+ const data = await response.json();
59
+ return data;
60
+ } catch (error: any) {
61
+ throw new Error(`An error occurred while fetching the MOH-705 patient list: ${error.message}`);
62
+ }
63
+ }
64
+
36
65
  export async function getMoh705b(params: Moh710Params): Promise<any> {
37
66
  const etlBaseUrl = await getEtlBaseUrl();
38
67
  const url = `${etlBaseUrl}/moh-705b`;
@@ -58,3 +87,31 @@ export async function getMoh705b(params: Moh710Params): Promise<any> {
58
87
  throw new Error(`An error occurred while fetching the MOH-710 report: ${error.message}`);
59
88
  }
60
89
  }
90
+
91
+ export async function getMoh705bPatientList(params: Moh710Params): Promise<any> {
92
+ const etlBaseUrl = await getEtlBaseUrl();
93
+ const url = `${etlBaseUrl}/moh-705b-patient-list`;
94
+ const queryparams = {
95
+ locationUuids: params.locationUuids || '',
96
+ startDate: params.startDate || '',
97
+ endDate: params.endDate || '',
98
+ indicator: params.indicator || '',
99
+ limit: '300',
100
+ };
101
+ const queryString = new URLSearchParams(
102
+ Object.fromEntries(Object.entries(queryparams).filter(([_, v]) => v !== undefined && v !== null)),
103
+ ).toString();
104
+ try {
105
+ const response = await openmrsFetch(`${url}?${queryString}`);
106
+
107
+ if (!response.ok) {
108
+ const errorText = await response.text();
109
+ throw new Error(`Failed to fetch patient list: ${response.status} - ${errorText}`);
110
+ }
111
+
112
+ const data = await response.json();
113
+ return data;
114
+ } catch (error: any) {
115
+ throw new Error(`An error occurred while fetching the MOH-705 patient list: ${error.message}`);
116
+ }
117
+ }
@@ -32,3 +32,29 @@ export async function getMoh710(params: Moh710Params): Promise<any> {
32
32
  throw new Error(`An error occurred while fetching the MOH-710 report: ${error.message}`);
33
33
  }
34
34
  }
35
+
36
+ export async function getMoh710PatientList(params: Moh710Params): Promise<any> {
37
+ const etlBaseUrl = await getEtlBaseUrl();
38
+ const url = `${etlBaseUrl}/moh-710-patient-list`;
39
+ const queryparams = {
40
+ locationUuids: params.locationUuids || '',
41
+ startDate: params.startDate || '',
42
+ endDate: params.endDate || '',
43
+ };
44
+ const queryString = new URLSearchParams(
45
+ Object.fromEntries(Object.entries(queryparams).filter(([_, v]) => v !== undefined && v !== null)),
46
+ ).toString();
47
+ try {
48
+ const response = await openmrsFetch(`${url}?${queryString}`);
49
+
50
+ if (!response.ok) {
51
+ const errorText = await response.text();
52
+ throw new Error(`Failed to fetch dashboard summary: ${response.status} - ${errorText}`);
53
+ }
54
+
55
+ const data = await response.json();
56
+ return data;
57
+ } catch (error: any) {
58
+ throw new Error(`An error occurred while fetching the MOH-710 report: ${error.message}`);
59
+ }
60
+ }
@@ -5,6 +5,7 @@ interface Moh711Params {
5
5
  locationUuids: string;
6
6
  startDate?: string;
7
7
  endDate?: string;
8
+ indicator?: string;
8
9
  }
9
10
 
10
11
  export async function getMoh711(params: Moh711Params): Promise<any> {
@@ -32,3 +33,143 @@ export async function getMoh711(params: Moh711Params): Promise<any> {
32
33
  throw new Error(`An error occurred while fetching the MOH-711 report: ${error.message}`);
33
34
  }
34
35
  }
36
+
37
+ export async function getMoh406PatientList(params: Moh711Params): Promise<any> {
38
+ const etlBaseUrl = await getEtlBaseUrl();
39
+ const url = `${etlBaseUrl}/moh-406-patient-list`;
40
+ const queryparams = {
41
+ locationUuids: params.locationUuids || '',
42
+ startDate: params.startDate || '',
43
+ endDate: params.endDate || '',
44
+ indicator: params.indicator || '',
45
+ limit: '300',
46
+ };
47
+ const queryString = new URLSearchParams(
48
+ Object.fromEntries(Object.entries(queryparams).filter(([_, v]) => v !== undefined && v !== null)),
49
+ ).toString();
50
+ try {
51
+ const response = await openmrsFetch(`${url}?${queryString}`);
52
+
53
+ if (!response.ok) {
54
+ const errorText = await response.text();
55
+ throw new Error(`Failed to fetch patient list: ${response.status} - ${errorText}`);
56
+ }
57
+
58
+ const data = await response.json();
59
+ return data;
60
+ } catch (error: any) {
61
+ throw new Error(`An error occurred while fetching the MOH-705 patient list: ${error.message}`);
62
+ }
63
+ }
64
+
65
+ export async function getMoh405PatientList(params: Moh711Params): Promise<any> {
66
+ const etlBaseUrl = await getEtlBaseUrl();
67
+ const url = `${etlBaseUrl}/moh-405-patient-list`;
68
+ const queryparams = {
69
+ locationUuids: params.locationUuids || '',
70
+ startDate: params.startDate || '',
71
+ endDate: params.endDate || '',
72
+ indicator: params.indicator || '',
73
+ limit: '300',
74
+ };
75
+ const queryString = new URLSearchParams(
76
+ Object.fromEntries(Object.entries(queryparams).filter(([_, v]) => v !== undefined && v !== null)),
77
+ ).toString();
78
+ try {
79
+ const response = await openmrsFetch(`${url}?${queryString}`);
80
+
81
+ if (!response.ok) {
82
+ const errorText = await response.text();
83
+ throw new Error(`Failed to fetch patient list: ${response.status} - ${errorText}`);
84
+ }
85
+
86
+ const data = await response.json();
87
+ return data;
88
+ } catch (error: any) {
89
+ throw new Error(`An error occurred while fetching the MOH-705 patient list: ${error.message}`);
90
+ }
91
+ }
92
+
93
+ export async function getMoh333PatientList(params: Moh711Params): Promise<any> {
94
+ const etlBaseUrl = await getEtlBaseUrl();
95
+ const url = `${etlBaseUrl}/moh-333-patient-list`;
96
+ const queryparams = {
97
+ locationUuids: params.locationUuids || '',
98
+ startDate: params.startDate || '',
99
+ endDate: params.endDate || '',
100
+ indicator: params.indicator || '',
101
+ limit: '300',
102
+ };
103
+ const queryString = new URLSearchParams(
104
+ Object.fromEntries(Object.entries(queryparams).filter(([_, v]) => v !== undefined && v !== null)),
105
+ ).toString();
106
+ try {
107
+ const response = await openmrsFetch(`${url}?${queryString}`);
108
+
109
+ if (!response.ok) {
110
+ const errorText = await response.text();
111
+ throw new Error(`Failed to fetch patient list: ${response.status} - ${errorText}`);
112
+ }
113
+
114
+ const data = await response.json();
115
+ return data;
116
+ } catch (error: any) {
117
+ throw new Error(`An error occurred while fetching the MOH-705 patient list: ${error.message}`);
118
+ }
119
+ }
120
+
121
+ export async function getMoh510PatientList(params: Moh711Params): Promise<any> {
122
+ const etlBaseUrl = await getEtlBaseUrl();
123
+ const url = `${etlBaseUrl}/moh-510-patient-list`;
124
+ const queryparams = {
125
+ locationUuids: params.locationUuids || '',
126
+ startDate: params.startDate || '',
127
+ endDate: params.endDate || '',
128
+ indicator: params.indicator || '',
129
+ limit: '300',
130
+ };
131
+ const queryString = new URLSearchParams(
132
+ Object.fromEntries(Object.entries(queryparams).filter(([_, v]) => v !== undefined && v !== null)),
133
+ ).toString();
134
+ try {
135
+ const response = await openmrsFetch(`${url}?${queryString}`);
136
+
137
+ if (!response.ok) {
138
+ const errorText = await response.text();
139
+ throw new Error(`Failed to fetch patient list: ${response.status} - ${errorText}`);
140
+ }
141
+
142
+ const data = await response.json();
143
+ return data;
144
+ } catch (error: any) {
145
+ throw new Error(`An error occurred while fetching the MOH-705 patient list: ${error.message}`);
146
+ }
147
+ }
148
+
149
+ export async function getMoh511PatientList(params: Moh711Params): Promise<any> {
150
+ const etlBaseUrl = await getEtlBaseUrl();
151
+ const url = `${etlBaseUrl}/moh-511-patient-list`;
152
+ const queryparams = {
153
+ locationUuids: params.locationUuids || '',
154
+ startDate: params.startDate || '',
155
+ endDate: params.endDate || '',
156
+ indicator: params.indicator || '',
157
+ limit: '300',
158
+ };
159
+ const queryString = new URLSearchParams(
160
+ Object.fromEntries(Object.entries(queryparams).filter(([_, v]) => v !== undefined && v !== null)),
161
+ ).toString();
162
+ try {
163
+ const response = await openmrsFetch(`${url}?${queryString}`);
164
+
165
+ if (!response.ok) {
166
+ const errorText = await response.text();
167
+ throw new Error(`Failed to fetch patient list: ${response.status} - ${errorText}`);
168
+ }
169
+
170
+ const data = await response.json();
171
+ return data;
172
+ } catch (error: any) {
173
+ throw new Error(`An error occurred while fetching the MOH-705 patient list: ${error.message}`);
174
+ }
175
+ }
@@ -1,13 +1,14 @@
1
1
  import { openmrsFetch } from '@openmrs/esm-framework';
2
2
  import { getEtlBaseUrl } from '../utils/get-base-url';
3
3
 
4
- interface Moh710Params {
4
+ interface Moh745Params {
5
5
  locationUuids: string;
6
6
  startDate?: string;
7
7
  endDate?: string;
8
+ indicator?: string;
8
9
  }
9
10
 
10
- export async function getMoh745(params: Moh710Params): Promise<any> {
11
+ export async function getMoh745(params: Moh745Params): Promise<any> {
11
12
  const etlBaseUrl = await getEtlBaseUrl();
12
13
  const url = `${etlBaseUrl}/moh-745`;
13
14
  const queryparams = {
@@ -32,3 +33,32 @@ export async function getMoh745(params: Moh710Params): Promise<any> {
32
33
  throw new Error(`An error occurred while fetching the MOH-710 report: ${error.message}`);
33
34
  }
34
35
  }
36
+
37
+ export async function getMoh412PatientList(params: Moh745Params): Promise<any> {
38
+ const etlBaseUrl = await getEtlBaseUrl();
39
+ const url = `${etlBaseUrl}/moh-412-patient-list`;
40
+ const queryparams = {
41
+ locationUuids: params.locationUuids || '',
42
+ startDate: params.startDate || '',
43
+ endDate: params.endDate || '',
44
+ indicator: params.indicator || '',
45
+ limit: '300',
46
+ };
47
+ const queryString = new URLSearchParams(
48
+ Object.fromEntries(Object.entries(queryparams).filter(([_, v]) => v !== undefined && v !== null)),
49
+ ).toString();
50
+ try {
51
+ const response = await openmrsFetch(`${url}?${queryString}`);
52
+
53
+ if (!response.ok) {
54
+ const errorText = await response.text();
55
+ throw new Error(`Failed to fetch patient list: ${response.status} - ${errorText}`);
56
+ }
57
+
58
+ const data = await response.json();
59
+ return data;
60
+ } catch (error: any) {
61
+ console.error('Failed to fetch MOH 412 PATIENT LIST data', error);
62
+ throw new Error(`An error occurred while fetching the MOH-705 patient list: ${error.message}`);
63
+ }
64
+ }
@@ -11,6 +11,15 @@ import Moh705BComponent from './reports/moh-705B/moh-705b.component';
11
11
  import Moh705AComponent from './reports/moh-705a/moh-705a.component';
12
12
  import Moh745Component from './reports/moh-745/moh-745.component';
13
13
  import Moh740Report from './reports/moh-740/moh-740.component';
14
+ import Moh710PatientList from './reports/moh-710/patient-list/moh-710-patient-list.component';
15
+ import Moh204ARegisterComponent from './reports/moh-705a/registers/moh-204a-register.component';
16
+ import Moh204BRegisterComponent from './reports/moh-705B/moh-204b-register.component';
17
+ import Moh412Register from './reports/moh-745/registers/moh-412-register.component';
18
+ import Moh405Register from './reports/moh-711/registers/moh-405-register.component';
19
+ import Moh406Register from './reports/moh-711/registers/moh-406-register.component';
20
+ import Moh333Register from './reports/moh-711/registers/moh-333-register.component';
21
+ import Moh511Register from './reports/moh-711/registers/moh-511-register.component';
22
+ import Moh510Register from './reports/moh-711/registers/moh-510-register.component';
14
23
 
15
24
  const RootComponent: React.FC = () => {
16
25
  const baseName = window.getOpenmrsSpaBase() + 'home/reports';
@@ -29,6 +38,15 @@ const RootComponent: React.FC = () => {
29
38
  <Route path="/moh-705b" element={<Moh705BComponent />} />
30
39
  <Route path="/moh-745" element={<Moh745Component />} />
31
40
  <Route path="/moh-740" element={<Moh740Report />} />
41
+ <Route path="/moh-412-register" element={<Moh412Register />} />
42
+ <Route path="/moh-204b" element={<Moh204BRegisterComponent />} />
43
+ <Route path="/moh-204a" element={<Moh204ARegisterComponent />} />
44
+ <Route path="/moh-405-register" element={<Moh405Register />} />
45
+ <Route path="/moh-406-register" element={<Moh406Register />} />
46
+ <Route path="/moh-333-register" element={<Moh333Register />} />
47
+ <Route path="/moh-511-register" element={<Moh511Register />} />
48
+ <Route path="/moh-510-register" element={<Moh510Register />} />
49
+ <Route path="/moh-412-register" element={<Moh412Register />} />
32
50
  </Routes>
33
51
  </BrowserRouter>
34
52
  );