@ampath/esm-reports-app 1.0.0-next.2 → 1.0.0-next.21
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/138.js +2 -0
- package/dist/138.js.LICENSE.txt +20 -0
- package/dist/138.js.map +1 -0
- package/dist/184.js +1 -1
- package/dist/184.js.map +1 -1
- package/dist/205.js +1 -0
- package/dist/205.js.map +1 -0
- package/dist/282.js +1 -1
- package/dist/282.js.LICENSE.txt +3 -3
- package/dist/282.js.map +1 -1
- package/dist/311.js +1 -0
- package/dist/311.js.map +1 -0
- package/dist/353.js +1 -1
- package/dist/353.js.map +1 -1
- package/dist/478.js +2 -0
- package/dist/478.js.LICENSE.txt +9 -0
- package/dist/478.js.map +1 -0
- package/dist/51.js +1 -0
- package/dist/51.js.map +1 -0
- package/dist/540.js +1 -1
- package/dist/540.js.map +1 -1
- package/dist/812.js +1 -0
- package/dist/812.js.map +1 -0
- package/dist/961.js +1 -1
- package/dist/961.js.map +1 -1
- package/dist/ampath-esm-reports-app.js +1 -1
- package/dist/ampath-esm-reports-app.js.buildmanifest.json +128 -151
- package/dist/ampath-esm-reports-app.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +2 -1
- package/src/common/report-filters/report-filters.component.tsx +127 -0
- package/src/common/report-filters/report-filters.scss +49 -0
- package/src/config-schema.ts +6 -37
- package/src/createDashboardLink.tsx +9 -0
- package/src/dashboard/reports-dasboard.tsx +44 -0
- package/src/dashboard/reports-dashboard.module.scss +14 -0
- package/src/dashboard-meta/reports-dashboard.meta.ts +6 -0
- package/src/index.ts +6 -35
- package/src/reports/datatable-wrapper/datatable-wrapper.component.tsx +54 -0
- package/src/reports/moh-240/moh-240-header.component.tsx +61 -0
- package/src/reports/moh-240/moh-240.component.tsx +68 -0
- package/src/reports/moh-240/moh-240.scss +3 -0
- package/src/reports/moh-240/sub-reports/moh-240-register.component.tsx +72 -0
- package/src/reports/moh-240/sub-reports/page-summary.component.tsx +95 -0
- package/src/reports/moh-505/moh-505-header.component.tsx +62 -0
- package/src/reports/moh-505/moh-505.component.tsx +240 -0
- package/src/reports/moh-505/moh-505.scss +3 -0
- package/src/reports/moh-705B/moh-705b.component.tsx +466 -0
- package/src/reports/moh-705B/moh-705b.scss +41 -0
- package/src/reports/moh-705a/moh-705a.component.tsx +473 -0
- package/src/reports/moh-705a/moh-705a.scss +41 -0
- package/src/reports/moh-706/moh-706-header.component.tsx +61 -0
- package/src/reports/moh-706/moh-706.component.tsx +104 -0
- package/src/reports/moh-706/moh-706.scss +30 -0
- package/src/reports/moh-706/sub-reports/bacteriology/bacteriology.component.tsx +124 -0
- package/src/reports/moh-706/sub-reports/blood-chemistry/blood-chemistry.component.tsx +318 -0
- package/src/reports/moh-706/sub-reports/drug-susceptibility-testing/drug-susceptibility-testing.component.tsx +137 -0
- package/src/reports/moh-706/sub-reports/haematology/haematology.component.tsx +179 -0
- package/src/reports/moh-706/sub-reports/histology-and-cytology/histology-and-cytology.component.tsx +88 -0
- package/src/reports/moh-706/sub-reports/parasitology/parasitology.component.tsx +121 -0
- package/src/reports/moh-706/sub-reports/serology/serology.component.tsx +47 -0
- package/src/reports/moh-706/sub-reports/specimen-referral-to-higher-levels/specimen-referral-to-higher-levels.component.tsx +39 -0
- package/src/reports/moh-706/sub-reports/urine-analysis/urine-analysis.component.tsx +108 -0
- package/src/reports/moh-710/moh-710.component.tsx +663 -0
- package/src/reports/moh-710/moh-710.scss +41 -0
- package/src/reports/moh-711/moh-711.component.tsx +121 -0
- package/src/reports/moh-711/moh711.scss +71 -0
- package/src/reports/moh-711/sections/anc.component.tsx +134 -0
- package/src/reports/moh-711/sections/cervical-cancer.component.tsx +104 -0
- package/src/reports/moh-711/sections/chanis.component.tsx +367 -0
- package/src/reports/moh-711/sections/family-planning.component.tsx +221 -0
- package/src/reports/moh-711/sections/gbv.component.tsx +115 -0
- package/src/reports/moh-711/sections/maternity.component.tsx +280 -0
- package/src/reports/moh-711/sections/medical-social-work.component.tsx +83 -0
- package/src/reports/moh-711/sections/other.component.tsx +47 -0
- package/src/reports/moh-711/sections/physiotherapy.component.tsx +61 -0
- package/src/reports/moh-711/sections/pnc.component.tsx +92 -0
- package/src/reports/moh-711/sections/post-abortion.component.tsx +42 -0
- package/src/reports/moh-711/sections/rehabilitation.component.tsx +57 -0
- package/src/reports/moh-711/sections/report-compiled-by.component.tsx +42 -0
- package/src/reports/moh-711/sections/tb-screening.component.tsx +57 -0
- package/src/reports/moh-717/moh-717.component.tsx +152 -0
- package/src/reports/moh-717/moh717.scss +150 -0
- package/src/reports/moh-717/sections/finance.component.tsx +42 -0
- package/src/reports/moh-717/sections/inpatient.component.tsx +374 -0
- package/src/reports/moh-717/sections/maternity.component.tsx +94 -0
- package/src/reports/moh-717/sections/medical-records.component.tsx +35 -0
- package/src/reports/moh-717/sections/mortuary.component.tsx +43 -0
- package/src/reports/moh-717/sections/operations.component.tsx +53 -0
- package/src/reports/moh-717/sections/orthopaedic-trauma.component.tsx +98 -0
- package/src/reports/moh-717/sections/outpatient.component.tsx +489 -0
- package/src/reports/moh-717/sections/pharmacy.component.tsx +43 -0
- package/src/reports/moh-717/sections/preparedby.component.tsx +47 -0
- package/src/reports/moh-717/sections/special-services.component.tsx +114 -0
- package/src/reports/moh-740/moh-740.component.scss +120 -0
- package/src/reports/moh-740/moh-740.component.tsx +907 -0
- package/src/reports/moh-740/moh-740.resource.ts +42 -0
- package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.tsx +6 -0
- package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.tsx +58 -0
- package/src/reports/moh-740/registers/moh-740-patient-list.scss +0 -0
- package/src/reports/moh-740/registers/moh-740-patient-list.tsx +43 -0
- package/src/reports/moh-740/shared/data-cell/data-cell.scss +6 -0
- package/src/reports/moh-740/shared/data-cell/data-cell.tsx +23 -0
- package/src/reports/moh-740/types/index.ts +115 -0
- package/src/reports/moh-745/moh-745.component.tsx +629 -0
- package/src/reports/moh-745/moh-745.scss +69 -0
- package/src/reports/table-wrapper/table-row-mapper.component.tsx +51 -0
- package/src/reports/table-wrapper/table-wrapper.component.tsx +21 -0
- package/src/reports/table-wrapper/table-wrapper.scss +31 -0
- package/src/resources/moh-705.resource.ts +60 -0
- package/src/resources/moh-706.resource.ts +86 -0
- package/src/resources/moh-710.resource.ts +34 -0
- package/src/resources/moh-711.resource.ts +34 -0
- package/src/resources/moh-717.resource.ts +35 -0
- package/src/resources/moh-745.resource.ts +34 -0
- package/src/root.component.tsx +30 -32
- package/src/routes.json +14 -17
- package/src/utils/get-base-url.ts +12 -0
- package/src/utils/utils.ts +36 -0
- package/dist/19.js +0 -2
- package/dist/19.js.LICENSE.txt +0 -39
- package/dist/19.js.map +0 -1
- package/dist/255.js +0 -1
- package/dist/255.js.map +0 -1
- package/dist/389.js +0 -1
- package/dist/389.js.map +0 -1
- package/dist/451.js +0 -1
- package/dist/451.js.map +0 -1
- package/dist/488.js +0 -1
- package/dist/488.js.map +0 -1
- package/dist/557.js +0 -1
- package/dist/557.js.map +0 -1
- package/dist/91.js +0 -1
- package/dist/91.js.map +0 -1
- package/dist/970.js +0 -1
- package/dist/970.js.map +0 -1
- package/src/boxes/extensions/blue-box.component.tsx +0 -15
- package/src/boxes/extensions/box.scss +0 -23
- package/src/boxes/extensions/brand-box.component.tsx +0 -15
- package/src/boxes/extensions/red-box.component.tsx +0 -15
- package/src/boxes/slot/boxes.component.tsx +0 -25
- package/src/boxes/slot/boxes.scss +0 -29
- package/src/greeter/greeter.component.tsx +0 -42
- package/src/greeter/greeter.scss +0 -20
- package/src/greeter/greeter.test.tsx +0 -28
- package/src/patient-getter/patient-getter.component.tsx +0 -40
- package/src/patient-getter/patient-getter.resource.ts +0 -39
- package/src/patient-getter/patient-getter.scss +0 -16
- package/src/patient-getter/patient-getter.test.tsx +0 -40
- package/src/resources/resources.component.tsx +0 -56
- package/src/resources/resources.scss +0 -68
- package/src/root.test.tsx +0 -51
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import styles from './moh-705b.scss';
|
|
3
|
+
import { useSession } from '@openmrs/esm-framework';
|
|
4
|
+
import { getMoh705b } from '../../resources/moh-705.resource';
|
|
5
|
+
import classNames from 'classnames';
|
|
6
|
+
import ReportFiltersComponent from '../../common/report-filters/report-filters.component';
|
|
7
|
+
import { Loading } from '@carbon/react';
|
|
8
|
+
|
|
9
|
+
const Moh705BComponent: React.FC = () => {
|
|
10
|
+
let errorMessage: string = '';
|
|
11
|
+
const [moh705bData, setMoh705bData] = useState<any>([]);
|
|
12
|
+
const [isLoading, setIsLoading] = useState<boolean>(false);
|
|
13
|
+
|
|
14
|
+
const session = useSession();
|
|
15
|
+
const locationUuids = session?.sessionLocation?.uuid;
|
|
16
|
+
const fetchMoh705bReportData = async (filters: { startDate?: string; endDate?: string; month?: string }) => {
|
|
17
|
+
setIsLoading(true);
|
|
18
|
+
let startDate = filters.startDate;
|
|
19
|
+
let endDate = filters.endDate;
|
|
20
|
+
|
|
21
|
+
if (filters.month) {
|
|
22
|
+
const [year, monthIndex] = filters.month.split('-').map(Number);
|
|
23
|
+
|
|
24
|
+
const start = new Date(year, monthIndex - 1, 1);
|
|
25
|
+
const end = new Date(year, monthIndex, 0);
|
|
26
|
+
|
|
27
|
+
const formatLocalDate = (d: Date) => {
|
|
28
|
+
const year = d.getFullYear();
|
|
29
|
+
const month = String(d.getMonth() + 1).padStart(2, '0');
|
|
30
|
+
const day = String(d.getDate()).padStart(2, '0');
|
|
31
|
+
return `${year}-${month}-${day}`;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
startDate = formatLocalDate(start);
|
|
35
|
+
endDate = formatLocalDate(end);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const params = {
|
|
39
|
+
locationUuids: locationUuids || '',
|
|
40
|
+
startDate,
|
|
41
|
+
endDate,
|
|
42
|
+
};
|
|
43
|
+
try {
|
|
44
|
+
const data = await getMoh705b(params);
|
|
45
|
+
const flatData = Object.assign({}, ...data.result);
|
|
46
|
+
setMoh705bData(flatData);
|
|
47
|
+
setIsLoading(false);
|
|
48
|
+
} catch (error) {
|
|
49
|
+
errorMessage = error instanceof Error ? error.message : String(error);
|
|
50
|
+
setIsLoading(false);
|
|
51
|
+
throw new Error(`Failed to fetch MOH-710 report data: ${error instanceof Error ? error.message : String(error)}`);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
return (
|
|
56
|
+
<>
|
|
57
|
+
<ReportFiltersComponent
|
|
58
|
+
reportName="MOH-705B Report"
|
|
59
|
+
mode="monthly"
|
|
60
|
+
onGenerate={fetchMoh705bReportData}
|
|
61
|
+
isLoding={isLoading}
|
|
62
|
+
/>
|
|
63
|
+
{isLoading && <Loading description="Fetching data...." />}
|
|
64
|
+
{!isLoading && errorMessage && (
|
|
65
|
+
<div>
|
|
66
|
+
<a href="#" className="close" data-dismiss="alert">
|
|
67
|
+
×
|
|
68
|
+
</a>
|
|
69
|
+
<h4>
|
|
70
|
+
<strong>
|
|
71
|
+
<span className="glyphicon glyphicon-warning-sign"></span>{' '}
|
|
72
|
+
</strong>{' '}
|
|
73
|
+
An error occurred while trying to load the report. Please try again.
|
|
74
|
+
</h4>
|
|
75
|
+
<p>
|
|
76
|
+
<small>{errorMessage}</small>
|
|
77
|
+
</p>
|
|
78
|
+
</div>
|
|
79
|
+
)}
|
|
80
|
+
<h3>KHIS Aggregate</h3>
|
|
81
|
+
<div className={styles.container}>
|
|
82
|
+
<table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
|
|
83
|
+
<thead>
|
|
84
|
+
<tr>
|
|
85
|
+
<th colSpan={2}>DISEASES (New Cases Only)</th>
|
|
86
|
+
<th>Number of Cases</th>
|
|
87
|
+
</tr>
|
|
88
|
+
</thead>
|
|
89
|
+
<tbody>
|
|
90
|
+
<tr>
|
|
91
|
+
<td>1</td>
|
|
92
|
+
<td>Diarrhoea</td>
|
|
93
|
+
<td>{moh705bData.diarrhoea}</td>
|
|
94
|
+
</tr>
|
|
95
|
+
<tr>
|
|
96
|
+
<td>2</td>
|
|
97
|
+
<td>Tuberculosis</td>
|
|
98
|
+
<td>{moh705bData.tuberculosis}</td>
|
|
99
|
+
</tr>
|
|
100
|
+
<tr>
|
|
101
|
+
<td>3</td>
|
|
102
|
+
<td>Dysentry (Bloody diarrhoea)</td>
|
|
103
|
+
<td>{moh705bData.dysentry}</td>
|
|
104
|
+
</tr>
|
|
105
|
+
<tr>
|
|
106
|
+
<td>4</td>
|
|
107
|
+
<td>Cholera</td>
|
|
108
|
+
<td>{moh705bData.cholera}</td>
|
|
109
|
+
</tr>
|
|
110
|
+
<tr>
|
|
111
|
+
<td>5</td>
|
|
112
|
+
<td>Meningococcal Meningitis</td>
|
|
113
|
+
<td>{moh705bData.meningococcal_meningitis}</td>
|
|
114
|
+
</tr>
|
|
115
|
+
<tr>
|
|
116
|
+
<td>6</td>
|
|
117
|
+
<td>Other Meningitis</td>
|
|
118
|
+
<td>{moh705bData.other_meningitis}</td>
|
|
119
|
+
</tr>
|
|
120
|
+
<tr>
|
|
121
|
+
<td>7</td>
|
|
122
|
+
<td>Tetanus</td>
|
|
123
|
+
<td>{moh705bData.tetanus}</td>
|
|
124
|
+
</tr>
|
|
125
|
+
<tr>
|
|
126
|
+
<td>8</td>
|
|
127
|
+
<td>Poliomyelitis (AFP)</td>
|
|
128
|
+
<td>{moh705bData.poliomyelitis}</td>
|
|
129
|
+
</tr>
|
|
130
|
+
<tr>
|
|
131
|
+
<td>9</td>
|
|
132
|
+
<td>Chicken Pox</td>
|
|
133
|
+
<td>{moh705bData.chicken_pox}</td>
|
|
134
|
+
</tr>
|
|
135
|
+
<tr>
|
|
136
|
+
<td>10</td>
|
|
137
|
+
<td>Measles</td>
|
|
138
|
+
<td>{moh705bData.measles}</td>
|
|
139
|
+
</tr>
|
|
140
|
+
<tr>
|
|
141
|
+
<td>11</td>
|
|
142
|
+
<td>Hepatitis</td>
|
|
143
|
+
<td>{moh705bData.hepatitis}</td>
|
|
144
|
+
</tr>
|
|
145
|
+
<tr>
|
|
146
|
+
<td>12</td>
|
|
147
|
+
<td>Mumps</td>
|
|
148
|
+
<td>{moh705bData.mumps}</td>
|
|
149
|
+
</tr>
|
|
150
|
+
<tr>
|
|
151
|
+
<td>13</td>
|
|
152
|
+
<td>Suspected Malaria</td>
|
|
153
|
+
<td>{moh705bData.suspected_malaria}</td>
|
|
154
|
+
</tr>
|
|
155
|
+
<tr>
|
|
156
|
+
<td>14</td>
|
|
157
|
+
<td>Confirmed Malaria</td>
|
|
158
|
+
<td>{moh705bData.confirmed_malaria}</td>
|
|
159
|
+
</tr>
|
|
160
|
+
<tr>
|
|
161
|
+
<td>15</td>
|
|
162
|
+
<td>Malaria in Pregnancy</td>
|
|
163
|
+
<td>{moh705bData.malaria_in_pregnancy}</td>
|
|
164
|
+
</tr>
|
|
165
|
+
<tr>
|
|
166
|
+
<td>16</td>
|
|
167
|
+
<td>Amoebiasis</td>
|
|
168
|
+
<td>{moh705bData.amoebiasis}</td>
|
|
169
|
+
</tr>
|
|
170
|
+
<tr>
|
|
171
|
+
<td>17</td>
|
|
172
|
+
<td>Typhoid fever</td>
|
|
173
|
+
<td>{moh705bData.typhoid_fever}</td>
|
|
174
|
+
</tr>
|
|
175
|
+
<tr>
|
|
176
|
+
<td>18</td>
|
|
177
|
+
<td>Sexually Transmitted Infections</td>
|
|
178
|
+
<td>{moh705bData.sexually_transmitted_infections}</td>
|
|
179
|
+
</tr>
|
|
180
|
+
<tr>
|
|
181
|
+
<td>19</td>
|
|
182
|
+
<td>Urinary Tract Infections</td>
|
|
183
|
+
<td>{moh705bData.urinary_tract_infections}</td>
|
|
184
|
+
</tr>
|
|
185
|
+
<tr>
|
|
186
|
+
<td>20</td>
|
|
187
|
+
<td>Bilharzia (Schistosomiasis)</td>
|
|
188
|
+
<td>{moh705bData.bilharzia}</td>
|
|
189
|
+
</tr>
|
|
190
|
+
<tr>
|
|
191
|
+
<td>21</td>
|
|
192
|
+
<td>Intestinal worms</td>
|
|
193
|
+
<td>{moh705bData.intestinal_worms}</td>
|
|
194
|
+
</tr>
|
|
195
|
+
<tr>
|
|
196
|
+
<td>22</td>
|
|
197
|
+
<td>Malnutrition</td>
|
|
198
|
+
<td>{moh705bData.malnutrition}</td>
|
|
199
|
+
</tr>
|
|
200
|
+
<tr>
|
|
201
|
+
<td>23</td>
|
|
202
|
+
<td>Anaemia</td>
|
|
203
|
+
<td>{moh705bData.anaemia}</td>
|
|
204
|
+
</tr>
|
|
205
|
+
<tr>
|
|
206
|
+
<td>24</td>
|
|
207
|
+
<td>Eye Infections/Conditions</td>
|
|
208
|
+
<td>{moh705bData.eye_infections}</td>
|
|
209
|
+
</tr>
|
|
210
|
+
<tr>
|
|
211
|
+
<td>25</td>
|
|
212
|
+
<td>Ear Infections/Conditions</td>
|
|
213
|
+
<td>{moh705bData.ear_infections}</td>
|
|
214
|
+
</tr>
|
|
215
|
+
<tr>
|
|
216
|
+
<td>26</td>
|
|
217
|
+
<td>Upper Respiratory Tract Infections </td>
|
|
218
|
+
<td>{moh705bData.upper_respiratory_tract_infections}</td>
|
|
219
|
+
</tr>
|
|
220
|
+
<tr>
|
|
221
|
+
<td>27</td>
|
|
222
|
+
<td>Asthma</td>
|
|
223
|
+
<td>{moh705bData.asthma}</td>
|
|
224
|
+
</tr>
|
|
225
|
+
<tr>
|
|
226
|
+
<td>28</td>
|
|
227
|
+
<td>Pneumonia</td>
|
|
228
|
+
<td>{moh705bData.pneumonia}</td>
|
|
229
|
+
</tr>
|
|
230
|
+
<tr>
|
|
231
|
+
<td>29</td>
|
|
232
|
+
<td>Other Lower Respiratory tract infections</td>
|
|
233
|
+
<td>{moh705bData.other_lower_respiratory_tract_infections}</td>
|
|
234
|
+
</tr>
|
|
235
|
+
<tr>
|
|
236
|
+
<td>30</td>
|
|
237
|
+
<td>Abortion</td>
|
|
238
|
+
<td>{moh705bData.abortion}</td>
|
|
239
|
+
</tr>
|
|
240
|
+
<tr>
|
|
241
|
+
<td>31</td>
|
|
242
|
+
<td>Dis. of Puerperium & Childbirth</td>
|
|
243
|
+
<td>{moh705bData.puerperium_childbirth}</td>
|
|
244
|
+
</tr>
|
|
245
|
+
<tr>
|
|
246
|
+
<td>32</td>
|
|
247
|
+
<td>Hypertension</td>
|
|
248
|
+
<td>{moh705bData.hypertention}</td>
|
|
249
|
+
</tr>
|
|
250
|
+
<tr>
|
|
251
|
+
<td>33</td>
|
|
252
|
+
<td>Mental Disorders</td>
|
|
253
|
+
<td>{moh705bData.mental_disorders}</td>
|
|
254
|
+
</tr>
|
|
255
|
+
<tr>
|
|
256
|
+
<td>34</td>
|
|
257
|
+
<td>Dental Disorders</td>
|
|
258
|
+
<td>{moh705bData.dental_disorders}</td>
|
|
259
|
+
</tr>
|
|
260
|
+
<tr>
|
|
261
|
+
<td>35</td>
|
|
262
|
+
<td>Jiggers Infestation</td>
|
|
263
|
+
<td>{moh705bData.jiggers_infestation}</td>
|
|
264
|
+
</tr>
|
|
265
|
+
<tr>
|
|
266
|
+
<td>36</td>
|
|
267
|
+
<td>Disease of the skin</td>
|
|
268
|
+
<td>{moh705bData.diseases_of_the_skin}</td>
|
|
269
|
+
</tr>
|
|
270
|
+
<tr>
|
|
271
|
+
<td>37</td>
|
|
272
|
+
<td>Athritis, Joint pains etc.</td>
|
|
273
|
+
<td>{moh705bData.athritis}</td>
|
|
274
|
+
</tr>
|
|
275
|
+
<tr>
|
|
276
|
+
<td>38</td>
|
|
277
|
+
<td>Poisoning</td>
|
|
278
|
+
<td>{moh705bData.poisoning}</td>
|
|
279
|
+
</tr>
|
|
280
|
+
<tr>
|
|
281
|
+
<td>39</td>
|
|
282
|
+
<td>Road Traffic Injuries</td>
|
|
283
|
+
<td>{moh705bData.road_traffic_injuries}</td>
|
|
284
|
+
</tr>
|
|
285
|
+
<tr>
|
|
286
|
+
<td>40</td>
|
|
287
|
+
<td>Deaths due to Road Traffic Injuries</td>
|
|
288
|
+
<td>{moh705bData.deaths_due_to_road_traffic_injuries}</td>
|
|
289
|
+
</tr>
|
|
290
|
+
<tr>
|
|
291
|
+
<td>41</td>
|
|
292
|
+
<td>Other Injuries</td>
|
|
293
|
+
<td>{moh705bData.other_injuries}</td>
|
|
294
|
+
</tr>
|
|
295
|
+
<tr>
|
|
296
|
+
<td>42</td>
|
|
297
|
+
<td>Sexual Violence</td>
|
|
298
|
+
<td>{moh705bData.sexual_violence}</td>
|
|
299
|
+
</tr>
|
|
300
|
+
<tr>
|
|
301
|
+
<td>43</td>
|
|
302
|
+
<td>Violence related Injuries</td>
|
|
303
|
+
<td>{moh705bData.violence_related_injuries}</td>
|
|
304
|
+
</tr>
|
|
305
|
+
<tr>
|
|
306
|
+
<td>44</td>
|
|
307
|
+
<td>Burns</td>
|
|
308
|
+
<td>{moh705bData.burns}</td>
|
|
309
|
+
</tr>
|
|
310
|
+
<tr>
|
|
311
|
+
<td>45</td>
|
|
312
|
+
<td>Snake Bites</td>
|
|
313
|
+
<td>{moh705bData.snake_bites}</td>
|
|
314
|
+
</tr>
|
|
315
|
+
<tr>
|
|
316
|
+
<td>46</td>
|
|
317
|
+
<td>Dog Bites</td>
|
|
318
|
+
<td>{moh705bData.dog_bites}</td>
|
|
319
|
+
</tr>
|
|
320
|
+
<tr>
|
|
321
|
+
<td>47</td>
|
|
322
|
+
<td>Other Bites</td>
|
|
323
|
+
<td>{moh705bData.other_bites}</td>
|
|
324
|
+
</tr>
|
|
325
|
+
<tr>
|
|
326
|
+
<td>48</td>
|
|
327
|
+
<td>Diabetes</td>
|
|
328
|
+
<td>{moh705bData.diabetes}</td>
|
|
329
|
+
</tr>
|
|
330
|
+
<tr>
|
|
331
|
+
<td>49</td>
|
|
332
|
+
<td>Epilepsy</td>
|
|
333
|
+
<td>{moh705bData.epilepsy}</td>
|
|
334
|
+
</tr>
|
|
335
|
+
<tr>
|
|
336
|
+
<td>50</td>
|
|
337
|
+
<td>Brucellosis</td>
|
|
338
|
+
<td>{moh705bData.brucellosis}</td>
|
|
339
|
+
</tr>
|
|
340
|
+
<tr>
|
|
341
|
+
<td>51</td>
|
|
342
|
+
<td>Cardiovascular conditions</td>
|
|
343
|
+
<td>{moh705bData.cardiovascular_conditions}</td>
|
|
344
|
+
</tr>
|
|
345
|
+
<tr>
|
|
346
|
+
<td>52</td>
|
|
347
|
+
<td>Central Nervous System Conditions</td>
|
|
348
|
+
<td>{moh705bData.central_nervous_system_conditions}</td>
|
|
349
|
+
</tr>
|
|
350
|
+
<tr>
|
|
351
|
+
<td>53</td>
|
|
352
|
+
<td>Overweight (BMI > 25)</td>
|
|
353
|
+
<td>{moh705bData.overweight}</td>
|
|
354
|
+
</tr>
|
|
355
|
+
<tr>
|
|
356
|
+
<td>54</td>
|
|
357
|
+
<td>Muscular skeletal conditions</td>
|
|
358
|
+
<td>{moh705bData.mascular_skeletal_conditions}</td>
|
|
359
|
+
</tr>
|
|
360
|
+
<tr>
|
|
361
|
+
<td>55</td>
|
|
362
|
+
<td>Fistula (Birth related)</td>
|
|
363
|
+
<td>{moh705bData.fistula}</td>
|
|
364
|
+
</tr>
|
|
365
|
+
<tr>
|
|
366
|
+
<td>56</td>
|
|
367
|
+
<td>Suspected Neoplams/Cancers</td>
|
|
368
|
+
<td>{moh705bData.suspected_neoplams_cancers}</td>
|
|
369
|
+
</tr>
|
|
370
|
+
<tr>
|
|
371
|
+
<td>57</td>
|
|
372
|
+
<td>Physical Disability</td>
|
|
373
|
+
<td>{moh705bData.physical_disability}</td>
|
|
374
|
+
</tr>
|
|
375
|
+
<tr>
|
|
376
|
+
<td>58</td>
|
|
377
|
+
<td>Trypanosomiasis</td>
|
|
378
|
+
<td>{moh705bData.trypanosomiasis}</td>
|
|
379
|
+
</tr>
|
|
380
|
+
<tr>
|
|
381
|
+
<td>59</td>
|
|
382
|
+
<td>Rift valley fever</td>
|
|
383
|
+
<td>{moh705bData.rift_valley_fever}</td>
|
|
384
|
+
</tr>
|
|
385
|
+
<tr>
|
|
386
|
+
<td>60</td>
|
|
387
|
+
<td>Yellow Fever</td>
|
|
388
|
+
<td>{moh705bData.yellow_fever}</td>
|
|
389
|
+
</tr>
|
|
390
|
+
<tr>
|
|
391
|
+
<td>61</td>
|
|
392
|
+
<td>Viral Haemorrhagic Fever</td>
|
|
393
|
+
<td>{moh705bData.viral_haemorrhagic_fever}</td>
|
|
394
|
+
</tr>
|
|
395
|
+
<tr>
|
|
396
|
+
<td>62</td>
|
|
397
|
+
<td>Chikungunya</td>
|
|
398
|
+
<td>{moh705bData.chikungunya}</td>
|
|
399
|
+
</tr>
|
|
400
|
+
<tr>
|
|
401
|
+
<td>63</td>
|
|
402
|
+
<td>Dengue fever</td>
|
|
403
|
+
<td>{moh705bData.dengue_fever}</td>
|
|
404
|
+
</tr>
|
|
405
|
+
<tr>
|
|
406
|
+
<td>64</td>
|
|
407
|
+
<td>Leishmaniasis(Kala-azar)</td>
|
|
408
|
+
<td>{moh705bData.leishmaniasis}</td>
|
|
409
|
+
</tr>
|
|
410
|
+
<tr>
|
|
411
|
+
<td>65</td>
|
|
412
|
+
<td>Cuteneous leishmaniasis</td>
|
|
413
|
+
<td>{moh705bData.cutaneous_leishmaniasis}</td>
|
|
414
|
+
</tr>
|
|
415
|
+
<tr>
|
|
416
|
+
<td>66</td>
|
|
417
|
+
<td>Suspected Anthrax</td>
|
|
418
|
+
<td>{moh705bData.suspected_anthrax}</td>
|
|
419
|
+
</tr>
|
|
420
|
+
<tr>
|
|
421
|
+
<td>67</td>
|
|
422
|
+
<td>ALL OTHER DISEASES</td>
|
|
423
|
+
<td>{moh705bData.all_other_diseases}</td>
|
|
424
|
+
</tr>
|
|
425
|
+
<tr>
|
|
426
|
+
<td>68</td>
|
|
427
|
+
<td>Tested for Malaria</td>
|
|
428
|
+
<td>{moh705bData.tested_for_malaria}</td>
|
|
429
|
+
</tr>
|
|
430
|
+
<tr>
|
|
431
|
+
<td>69</td>
|
|
432
|
+
<td>NO. OF FIRST ATTENDANCES</td>
|
|
433
|
+
<td>{moh705bData.no_of_first_attendances}</td>
|
|
434
|
+
</tr>
|
|
435
|
+
<tr>
|
|
436
|
+
<td>70</td>
|
|
437
|
+
<td>RE-ATTENDANCES</td>
|
|
438
|
+
<td>{moh705bData.re_attendances}</td>
|
|
439
|
+
</tr>
|
|
440
|
+
<tr>
|
|
441
|
+
<td>71</td>
|
|
442
|
+
<td>Referrals from other health facilities</td>
|
|
443
|
+
<td>{moh705bData.referrals_from_other_health_facility}</td>
|
|
444
|
+
</tr>
|
|
445
|
+
<tr>
|
|
446
|
+
<td>72</td>
|
|
447
|
+
<td>Referrals to other health facilities</td>
|
|
448
|
+
<td>{moh705bData.referrals_to_other_health_facility}</td>
|
|
449
|
+
</tr>
|
|
450
|
+
<tr>
|
|
451
|
+
<td>73</td>
|
|
452
|
+
<td>Referrals from community unit</td>
|
|
453
|
+
<td>{moh705bData.referrals_from_community_unit}</td>
|
|
454
|
+
</tr>
|
|
455
|
+
<tr>
|
|
456
|
+
<td>74</td>
|
|
457
|
+
<td>Referrals to community unit</td>
|
|
458
|
+
<td>{moh705bData.referrals_to_community_unit}</td>
|
|
459
|
+
</tr>
|
|
460
|
+
</tbody>
|
|
461
|
+
</table>
|
|
462
|
+
</div>
|
|
463
|
+
</>
|
|
464
|
+
);
|
|
465
|
+
};
|
|
466
|
+
export default Moh705BComponent;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
h3 {
|
|
3
|
+
text-align: center;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.container {
|
|
7
|
+
margin: 0 2rem;
|
|
8
|
+
margin-top: 0.5px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.tableContainer {
|
|
12
|
+
margin-left: 1rem;
|
|
13
|
+
margin-bottom: 1rem;
|
|
14
|
+
font-weight: bold;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.sectionTitle {
|
|
18
|
+
margin-left: 1rem ;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.title {
|
|
22
|
+
text-align: center;
|
|
23
|
+
font-size: 1rem;
|
|
24
|
+
margin: 1rem;
|
|
25
|
+
}
|
|
26
|
+
.table {
|
|
27
|
+
width: auto;
|
|
28
|
+
border-collapse: collapse;
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.tableBordered td,
|
|
33
|
+
.tableBordered th {
|
|
34
|
+
border: 1px solid #dee2e6;
|
|
35
|
+
padding: 1rem;
|
|
36
|
+
font-size: small;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.tableStriped tbody tr:nth-of-type(odd) {
|
|
40
|
+
background-color: #f9f9f9;
|
|
41
|
+
}
|