@ampath/esm-reports-app 1.0.0-next.41 → 1.0.0-next.45
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/143.css +1 -0
- package/dist/143.css.map +1 -0
- package/dist/143.js +1 -0
- package/dist/143.js.map +1 -0
- package/dist/197.js +1 -1
- package/dist/282.js +1 -1
- package/dist/282.js.map +1 -1
- package/dist/295.css +1 -0
- package/dist/295.css.map +1 -0
- package/dist/295.js +1 -0
- package/dist/295.js.map +1 -0
- package/dist/300.js +1 -1
- package/dist/311.js +1 -1
- package/dist/311.js.map +1 -1
- package/dist/335.js +1 -1
- package/dist/353.js +1 -1
- package/dist/353.js.map +1 -1
- package/dist/410.js +1 -0
- package/dist/410.js.map +1 -0
- package/dist/427.js +2 -0
- package/dist/427.js.LICENSE.txt +35 -0
- package/dist/427.js.map +1 -0
- package/dist/441.js +1 -0
- package/dist/441.js.map +1 -0
- package/dist/478.js +1 -1
- package/dist/478.js.map +1 -1
- package/dist/540.js +1 -1
- package/dist/540.js.map +1 -1
- package/dist/55.js +1 -1
- package/dist/652.js +1 -1
- package/dist/961.js +1 -1
- package/dist/961.js.map +1 -1
- package/dist/99.js +1 -1
- package/dist/ampath-esm-reports-app.js +1 -1
- package/dist/ampath-esm-reports-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +2 -2
- package/src/common/report-error/index.ts +1 -0
- package/src/common/report-error/show-report-error.ts +25 -0
- package/src/common/report-filters/date-range.ts +137 -0
- package/src/common/report-filters/index.ts +4 -0
- package/src/common/report-filters/report-filters.component.tsx +281 -151
- package/src/common/report-filters/report-filters.scss +180 -55
- package/src/common/report-filters/types.ts +66 -0
- package/src/common/report-filters/use-restore-period.ts +43 -0
- package/src/common/report-page/index.ts +2 -0
- package/src/common/report-page/report-page.component.tsx +32 -0
- package/src/common/report-page/report-page.scss +45 -0
- package/src/common/report-page/use-page-scale.ts +50 -0
- package/src/common/report-placeholder/has-report-data.ts +15 -0
- package/src/common/report-placeholder/index.ts +2 -0
- package/src/common/report-placeholder/report-placeholder.component.tsx +56 -0
- package/src/common/report-placeholder/report-placeholder.scss +46 -0
- package/src/common/report-register/index.ts +5 -0
- package/src/common/report-register/register-columns.ts +34 -0
- package/src/common/report-register/register-layout.component.tsx +237 -0
- package/src/common/report-register/register-layout.scss +140 -0
- package/src/common/report-register/register-table.scss +62 -0
- package/src/common/report-register/report-parents.ts +27 -0
- package/src/common/report-register/rows-to-csv.ts +59 -0
- package/src/common/report-register/use-patient-list.ts +92 -0
- package/src/common/report-skeleton/index.ts +1 -0
- package/src/common/report-skeleton/report-skeleton.component.tsx +46 -0
- package/src/common/report-skeleton/report-skeleton.scss +29 -0
- package/src/config-schema.ts +9 -1
- package/src/dashboard/report-catalog.ts +173 -0
- package/src/dashboard/reports-dasboard.tsx +101 -35
- package/src/dashboard/reports-dashboard.module.scss +269 -11
- package/src/index.ts +13 -1
- package/src/reports/datatable-wrapper/datatable-wrapper.component.tsx +50 -48
- package/src/reports/moh-240/moh-240-header.component.tsx +54 -56
- package/src/reports/moh-240/moh-240.columns.ts +64 -0
- package/src/reports/moh-240/moh-240.component.tsx +65 -84
- package/src/reports/moh-240/moh-240.scss +36 -7
- package/src/reports/moh-240/sub-reports/moh-240-register.component.tsx +27 -65
- package/src/reports/moh-240/sub-reports/page-summary.component.tsx +2 -2
- package/src/reports/moh-505/moh-505-header.component.tsx +59 -57
- package/src/reports/moh-505/moh-505.component.tsx +51 -56
- package/src/reports/moh-505/moh-505.scss +116 -2
- package/src/reports/moh-705B/moh-204b-register.component.tsx +41 -42
- package/src/reports/moh-705B/moh-204b.columns.ts +39 -0
- package/src/reports/moh-705B/moh-705b.component.tsx +492 -473
- package/src/reports/moh-705B/moh-705b.scss +110 -24
- package/src/reports/moh-705a/moh-705a.component.tsx +496 -476
- package/src/reports/moh-705a/moh-705a.scss +109 -24
- package/src/reports/moh-705a/registers/moh-204a-register.component.tsx +41 -42
- package/src/reports/moh-705a/registers/moh-204a.columns.ts +57 -0
- package/src/reports/moh-706/moh-706-header.component.tsx +58 -56
- package/src/reports/moh-706/moh-706.component.tsx +84 -55
- package/src/reports/moh-706/moh-706.scss +115 -19
- package/src/reports/moh-710/moh-710.component.tsx +743 -727
- package/src/reports/moh-710/moh-710.scss +140 -23
- package/src/reports/moh-710/registers/moh-511-710-register.component.tsx +48 -43
- package/src/reports/moh-710/registers/moh-511-710.columns.ts +52 -0
- package/src/reports/moh-711/moh-711.component.tsx +94 -106
- package/src/reports/moh-711/moh711.scss +95 -64
- package/src/reports/moh-711/registers/moh-333-register.component.tsx +92 -94
- package/src/reports/moh-711/registers/moh-333.columns.ts +119 -0
- package/src/reports/moh-711/registers/moh-405-register.component.tsx +88 -89
- package/src/reports/moh-711/registers/moh-405.columns.ts +120 -0
- package/src/reports/moh-711/registers/moh-406-register.component.tsx +85 -88
- package/src/reports/moh-711/registers/moh-406.columns.ts +133 -0
- package/src/reports/moh-711/registers/moh-510-register.component.tsx +38 -44
- package/src/reports/moh-711/registers/moh-511-register.component.tsx +42 -43
- package/src/reports/moh-711/registers/moh-511.columns.ts +59 -0
- package/src/reports/moh-711/sections/anc.component.tsx +3 -3
- package/src/reports/moh-711/sections/cervical-cancer.component.tsx +3 -3
- package/src/reports/moh-711/sections/chanis.component.tsx +2 -3
- package/src/reports/moh-711/sections/family-planning.component.tsx +2 -2
- package/src/reports/moh-711/sections/gbv.component.tsx +2 -2
- package/src/reports/moh-711/sections/maternity.component.tsx +3 -8
- package/src/reports/moh-711/sections/medical-social-work.component.tsx +2 -12
- package/src/reports/moh-711/sections/other.component.tsx +2 -2
- package/src/reports/moh-711/sections/physiotherapy.component.tsx +2 -2
- package/src/reports/moh-711/sections/pnc.component.tsx +7 -5
- package/src/reports/moh-711/sections/post-abortion.component.tsx +2 -2
- package/src/reports/moh-711/sections/rehabilitation.component.tsx +2 -2
- package/src/reports/moh-711/sections/report-compiled-by.component.tsx +12 -4
- package/src/reports/moh-711/sections/tb-screening.component.tsx +2 -2
- package/src/reports/moh-717/moh-717.component.tsx +100 -121
- package/src/reports/moh-717/moh717.scss +163 -102
- package/src/reports/moh-717/sections/maternity.component.tsx +1 -1
- package/src/reports/moh-717/sections/orthopaedic-trauma.component.tsx +1 -1
- package/src/reports/moh-717/sections/outpatient.component.tsx +23 -23
- package/src/reports/moh-717/sections/preparedby.component.tsx +7 -2
- package/src/reports/moh-717/sections/special-services.component.tsx +1 -1
- package/src/reports/moh-731/moh-731.component.tsx +127 -110
- package/src/reports/moh-731/moh-731.scss +396 -68
- package/src/reports/moh-731/registers/moh-366.columns.ts +38 -0
- package/src/reports/moh-731/registers/moh-366.component.tsx +76 -83
- package/src/reports/moh-731/registers/prep-register.component.tsx +70 -78
- package/src/reports/moh-731/registers/prep.columns.ts +34 -0
- package/src/reports/moh-731/sections/hiv-and-tb-treatment.component.tsx +1031 -751
- package/src/reports/moh-731/sections/hiv-testing-and-pre-exposure.component.tsx +230 -86
- package/src/reports/moh-731/sections/pmtct.component.tsx +185 -64
- package/src/reports/moh-740/moh-740.component.scss +159 -79
- package/src/reports/moh-740/moh-740.component.tsx +261 -230
- package/src/reports/moh-740/moh-740.resource.ts +17 -10
- package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.tsx +77 -96
- package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.tsx +50 -70
- package/src/reports/moh-740/registers/moh-740-patient-list.tsx +61 -32
- package/src/reports/moh-740/registers/moh-740.columns.ts +52 -0
- package/src/reports/moh-740/shared/utils/indicator-register-map.ts +3 -3
- package/src/reports/moh-740/types/index.ts +3 -3
- package/src/reports/moh-745/moh-745.component.tsx +897 -877
- package/src/reports/moh-745/moh-745.scss +104 -46
- package/src/reports/moh-745/registers/moh-412-register.component.tsx +42 -43
- package/src/reports/moh-745/registers/moh-412.columns.ts +52 -0
- package/src/reports/table-wrapper/table-wrapper.component.tsx +23 -14
- package/src/reports/table-wrapper/table-wrapper.scss +1 -16
- package/src/resources/moh-505.resource.ts +18 -35
- package/src/resources/moh-705.resource.ts +28 -39
- package/src/resources/moh-706.resource.ts +17 -30
- package/src/resources/moh-710.resource.ts +7 -17
- package/src/resources/moh-711.resource.ts +46 -64
- package/src/resources/moh-717.resource.ts +7 -17
- package/src/resources/moh-731.resource.ts +26 -32
- package/src/resources/moh-745.resource.ts +18 -20
- package/src/resources/patient-list-page.ts +66 -0
- package/src/root.component.tsx +28 -26
- package/src/root.scss +36 -0
- package/src/utils/get-base-url.ts +39 -7
- package/tsconfig.json +1 -1
- package/dist/110.js +0 -1
- package/dist/110.js.map +0 -1
- package/dist/184.js +0 -2
- package/dist/184.js.LICENSE.txt +0 -14
- package/dist/184.js.map +0 -1
- package/dist/205.js +0 -1
- package/dist/205.js.map +0 -1
- package/dist/812.js +0 -1
- package/dist/812.js.map +0 -1
- package/dist/822.js +0 -2
- package/dist/822.js.LICENSE.txt +0 -20
- package/dist/822.js.map +0 -1
- package/dist/ampath-esm-reports-app.js.buildmanifest.json +0 -560
- package/dist/main.js +0 -1
- package/dist/main.js.map +0 -1
- package/src/reports/moh-731/registers/moh-366.scss +0 -45
- package/src/reports/moh-731/registers/prep-registers.scss +0 -45
- package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.scss +0 -18
- package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.scss +0 -18
- /package/src/{reports/moh-740/shared/utils → utils}/format-indicator.ts +0 -0
|
@@ -1,52 +1,62 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
|
-
import { Button, InlineLoading } from '@carbon/react';
|
|
3
2
|
import styles from './moh-740.component.scss';
|
|
4
|
-
import ReportFiltersComponent from '../../common/report-filters
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { ReportFiltersComponent, type ReportPeriod, useRestorePeriod } from '../../common/report-filters';
|
|
4
|
+
import { ReportSkeleton } from '../../common/report-skeleton';
|
|
5
|
+
import { ReportPage } from '../../common/report-page';
|
|
6
|
+
import { ReportPlaceholder } from '../../common/report-placeholder';
|
|
7
|
+
import { showReportError } from '../../common/report-error';
|
|
8
|
+
import { type Moh740Data, type Moh740Dto } from './types';
|
|
9
|
+
import { formatDate, useSession } from '@openmrs/esm-framework';
|
|
8
10
|
import dayjs from 'dayjs';
|
|
11
|
+
import { fetchMoh740Report } from './moh-740.resource';
|
|
9
12
|
import DataCell from './shared/data-cell/data-cell';
|
|
10
13
|
import Moh740PatientList from './registers/moh-740-patient-list';
|
|
11
14
|
import { getRegisterByIndicator, Moh740Rgisters } from './shared/utils/indicator-register-map';
|
|
15
|
+
import classNames from 'classnames';
|
|
12
16
|
interface Moh740ReportProps {}
|
|
13
17
|
const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
14
18
|
const [isLoading, setIsLoading] = useState<boolean>(false);
|
|
15
|
-
const [moh740Data, setMoh740Data] = useState<Moh740Data| null>(null);
|
|
19
|
+
const [moh740Data, setMoh740Data] = useState<Moh740Data | null>(null);
|
|
20
|
+
/* Distinguishes "never generated" from "generated and came back empty";
|
|
21
|
+
both leave `moh740Data` null but they are not the same thing to report. */
|
|
22
|
+
const [hasGenerated, setHasGenerated] = useState(false);
|
|
23
|
+
/* The period chosen in the filters, so the form is labelled with it as
|
|
24
|
+
soon as it is selected rather than only after a fetch. */
|
|
25
|
+
const [selectedPeriod, setSelectedPeriod] = useState<ReportPeriod | null>(null);
|
|
16
26
|
const [view, setView] = useState<string>('report');
|
|
17
27
|
const [selectedIndicator, setSelectedIndicator] = useState<string>();
|
|
18
28
|
const [reportingMonth, setReportingMonth] = useState<string>();
|
|
19
|
-
const [registerType,setRegisterType] = useState<string>('');
|
|
29
|
+
const [registerType, setRegisterType] = useState<string>('');
|
|
20
30
|
const session = useSession();
|
|
21
31
|
const locationUuid = session.sessionLocation?.uuid;
|
|
22
|
-
|
|
32
|
+
|
|
33
|
+
/* The masthead names the location the report was generated from, and the
|
|
34
|
+
period it covers; the sign-off records who produced it and when. */
|
|
35
|
+
const facility = session?.sessionLocation?.display ?? moh740Data?.facility ?? '';
|
|
36
|
+
const monthYear = reportingMonth
|
|
37
|
+
? dayjs(reportingMonth).format('MMMM YYYY')
|
|
38
|
+
: (selectedPeriod?.label ?? moh740Data?.reportingMonth ?? '');
|
|
39
|
+
const compiledBy = session?.user?.person?.display ?? session?.user?.display ?? '';
|
|
40
|
+
const compiledOn = formatDate(new Date(), { mode: 'standard', time: false, noToday: true });
|
|
41
|
+
const getMoh740ReportData = async ({ endDate }: ReportPeriod) => {
|
|
23
42
|
setIsLoading(true);
|
|
43
|
+
setReportingMonth(endDate);
|
|
24
44
|
try {
|
|
25
|
-
const reportFilters =
|
|
45
|
+
const reportFilters: Moh740Dto = { endDate, locationUuid: locationUuid ?? '' };
|
|
26
46
|
const resp = await fetchMoh740Report(reportFilters);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
} catch (error:any) {
|
|
33
|
-
showSnackbar({
|
|
34
|
-
kind: 'error',
|
|
35
|
-
title: 'Error Fetching MOH-740 Report',
|
|
36
|
-
subtitle: error.message ?? 'An error occurred while fetching the MOH-740 Report. Try again or contact support',
|
|
37
|
-
});
|
|
47
|
+
setMoh740Data(resp ?? null);
|
|
48
|
+
setHasGenerated(true);
|
|
49
|
+
} catch (error: any) {
|
|
50
|
+
showReportError('the MOH-740 report', error);
|
|
38
51
|
} finally {
|
|
39
52
|
setIsLoading(false);
|
|
40
53
|
}
|
|
41
54
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
locationUuid: locationUuid ?? '',
|
|
48
|
-
};
|
|
49
|
-
};
|
|
55
|
+
|
|
56
|
+
/* A register's breadcrumb links back here with the period it was opened
|
|
57
|
+
for, so the report comes back showing the figures rather than the
|
|
58
|
+
placeholder. */
|
|
59
|
+
useRestorePeriod(getMoh740ReportData);
|
|
50
60
|
const handleIndicatorSelected = (selectedIndicator: string) => {
|
|
51
61
|
setSelectedIndicator(selectedIndicator);
|
|
52
62
|
const selectedRegister = getRegisterByIndicator(selectedIndicator as any);
|
|
@@ -65,19 +75,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
65
75
|
<div className={styles.reportFilters}>
|
|
66
76
|
<ReportFiltersComponent
|
|
67
77
|
reportName="MOH-740 Report"
|
|
68
|
-
mode="
|
|
78
|
+
mode="both"
|
|
69
79
|
onGenerate={getMoh740ReportData}
|
|
70
|
-
|
|
80
|
+
isLoading={isLoading}
|
|
81
|
+
isReportGenerated={Boolean(moh740Data)}
|
|
82
|
+
onPeriodChange={setSelectedPeriod}
|
|
71
83
|
/>
|
|
72
84
|
</div>
|
|
73
85
|
</div>
|
|
74
86
|
<div className={styles.reportContent}>
|
|
75
87
|
{isLoading ? (
|
|
76
|
-
<
|
|
88
|
+
<ReportSkeleton blocks={3} />
|
|
77
89
|
) : (
|
|
78
90
|
<>
|
|
79
91
|
{moh740Data ? (
|
|
80
|
-
|
|
92
|
+
<ReportPage>
|
|
81
93
|
<div className={styles.headerContainer}>
|
|
82
94
|
<div className={styles.mainTitleBox}>
|
|
83
95
|
<h2 className={styles.mainTitle}>Ministry of Health</h2>
|
|
@@ -88,18 +100,30 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
88
100
|
</div>
|
|
89
101
|
|
|
90
102
|
<table className={styles.topMeta}>
|
|
91
|
-
<
|
|
92
|
-
<
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
103
|
+
<tbody>
|
|
104
|
+
<tr>
|
|
105
|
+
<td>
|
|
106
|
+
Name of the facility: <strong>{facility}</strong>
|
|
107
|
+
</td>
|
|
108
|
+
<td>
|
|
109
|
+
MFL code: <strong>{moh740Data?.mfl_code}</strong>
|
|
110
|
+
</td>
|
|
111
|
+
<td>
|
|
112
|
+
County: <strong>{moh740Data?.county}</strong>
|
|
113
|
+
</td>
|
|
114
|
+
<td>
|
|
115
|
+
Sub County: <strong>{moh740Data?.sub_county}</strong>
|
|
116
|
+
</td>
|
|
117
|
+
<td>
|
|
118
|
+
Month/Year: <strong>{monthYear}</strong>
|
|
119
|
+
</td>
|
|
120
|
+
</tr>
|
|
121
|
+
</tbody>
|
|
98
122
|
</table>
|
|
99
123
|
|
|
100
|
-
<table>
|
|
124
|
+
<table className={styles.dataTable}>
|
|
101
125
|
<thead>
|
|
102
|
-
<tr
|
|
126
|
+
<tr>
|
|
103
127
|
<th className={styles.dataElement}>Data Element</th>
|
|
104
128
|
<th className={styles.otherElement}>Male</th>
|
|
105
129
|
<th className={styles.otherElement}>Female</th>
|
|
@@ -116,21 +140,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
116
140
|
<td className={styles.darkBorder}>Cumulative no. of diabetes patients in care</td>
|
|
117
141
|
<td className={styles.darkBorder}>
|
|
118
142
|
<DataCell
|
|
119
|
-
value={moh740Data
|
|
143
|
+
value={moh740Data?.dc__gender__M__cumulative_diabetes_patients_in_care}
|
|
120
144
|
indicatorSelected={handleIndicatorSelected}
|
|
121
145
|
indicator="dc__gender__M__cumulative_diabetes_patients_in_care"
|
|
122
146
|
/>
|
|
123
147
|
</td>
|
|
124
148
|
<td className={styles.darkBorder}>
|
|
125
149
|
<DataCell
|
|
126
|
-
value={moh740Data
|
|
150
|
+
value={moh740Data?.dc__gender__F__cumulative_diabetes_patients_in_care}
|
|
127
151
|
indicatorSelected={handleIndicatorSelected}
|
|
128
152
|
indicator="dc__gender__F__cumulative_diabetes_patients_in_care"
|
|
129
153
|
/>
|
|
130
154
|
</td>
|
|
131
155
|
<td className={styles.darkBorder}>
|
|
132
156
|
<DataCell
|
|
133
|
-
value={moh740Data
|
|
157
|
+
value={moh740Data?.cumulative_diabetes_patients_in_care}
|
|
134
158
|
indicatorSelected={handleIndicatorSelected}
|
|
135
159
|
indicator="cumulative_diabetes_patients_in_care"
|
|
136
160
|
/>
|
|
@@ -140,23 +164,23 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
140
164
|
<td className={styles.darkBorder}>No. of newly diagnosed diabetes cases</td>
|
|
141
165
|
<td className={styles.darkBorder}>
|
|
142
166
|
<DataCell
|
|
143
|
-
value={moh740Data
|
|
167
|
+
value={moh740Data?.dc__gender__M__newly_diagnosed_diabetes_this_month}
|
|
144
168
|
indicatorSelected={handleIndicatorSelected}
|
|
145
|
-
indicator="
|
|
169
|
+
indicator="dc__gender__M__newly_diagnosed_diabetes_this_month"
|
|
146
170
|
/>
|
|
147
171
|
</td>
|
|
148
172
|
<td className={styles.darkBorder}>
|
|
149
173
|
<DataCell
|
|
150
|
-
value={moh740Data
|
|
174
|
+
value={moh740Data?.dc__gender__F__newly_diagnosed_diabetes_this_month}
|
|
151
175
|
indicatorSelected={handleIndicatorSelected}
|
|
152
|
-
indicator="
|
|
176
|
+
indicator="dc__gender__F__newly_diagnosed_diabetes_this_month"
|
|
153
177
|
/>
|
|
154
178
|
</td>
|
|
155
179
|
<td className={styles.darkBorder}>
|
|
156
180
|
<DataCell
|
|
157
|
-
value={moh740Data
|
|
181
|
+
value={moh740Data?.newly_diagnosed_diabetes_this_month}
|
|
158
182
|
indicatorSelected={handleIndicatorSelected}
|
|
159
|
-
indicator="
|
|
183
|
+
indicator="newly_diagnosed_diabetes_this_month"
|
|
160
184
|
/>
|
|
161
185
|
</td>
|
|
162
186
|
</tr>
|
|
@@ -164,21 +188,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
164
188
|
<td className={styles.darkBorder}>Revisit to clinic/Known DM</td>
|
|
165
189
|
<td className={styles.darkBorder}>
|
|
166
190
|
<DataCell
|
|
167
|
-
value={moh740Data
|
|
191
|
+
value={moh740Data?.dc__gender__M__revisit_to_clinic_known_dm}
|
|
168
192
|
indicatorSelected={handleIndicatorSelected}
|
|
169
193
|
indicator="dc__gender__M__revisit_to_clinic_known_dm"
|
|
170
194
|
/>
|
|
171
195
|
</td>
|
|
172
196
|
<td className={styles.darkBorder}>
|
|
173
197
|
<DataCell
|
|
174
|
-
value={moh740Data
|
|
198
|
+
value={moh740Data?.dc__gender__F__revisit_to_clinic_known_dm}
|
|
175
199
|
indicatorSelected={handleIndicatorSelected}
|
|
176
200
|
indicator="dc__gender__F__revisit_to_clinic_known_dm"
|
|
177
201
|
/>
|
|
178
202
|
</td>
|
|
179
203
|
<td className={styles.darkBorder}>
|
|
180
204
|
<DataCell
|
|
181
|
-
value={moh740Data
|
|
205
|
+
value={moh740Data?.revisit_to_clinic_known_dm}
|
|
182
206
|
indicatorSelected={handleIndicatorSelected}
|
|
183
207
|
indicator="revisit_to_clinic_known_dm"
|
|
184
208
|
/>
|
|
@@ -191,120 +215,120 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
191
215
|
</td>
|
|
192
216
|
</tr>
|
|
193
217
|
<tr>
|
|
194
|
-
<td className=
|
|
218
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>0-5 years</td>
|
|
195
219
|
<td className={styles.darkBorder}>
|
|
196
220
|
<DataCell
|
|
197
|
-
value={moh740Data
|
|
221
|
+
value={moh740Data?.dc__gender__M__age_range__0_to_5__type_1_diabetes_mellitus}
|
|
198
222
|
indicatorSelected={handleIndicatorSelected}
|
|
199
223
|
indicator="dc__gender__M__age_range__0_to_5__type_1_diabetes_mellitus"
|
|
200
224
|
/>
|
|
201
225
|
</td>
|
|
202
226
|
<td className={styles.darkBorder}>
|
|
203
227
|
<DataCell
|
|
204
|
-
value={moh740Data
|
|
228
|
+
value={moh740Data?.dc__gender__F__age_range__0_to_5__type_1_diabetes_mellitus}
|
|
205
229
|
indicatorSelected={handleIndicatorSelected}
|
|
206
230
|
indicator="dc__gender__F__age_range__0_to_5__type_1_diabetes_mellitus"
|
|
207
231
|
/>
|
|
208
232
|
</td>
|
|
209
233
|
<td className={styles.darkBorder}>
|
|
210
|
-
|
|
211
|
-
value={moh740Data
|
|
234
|
+
<DataCell
|
|
235
|
+
value={moh740Data?.dc__age_range__0_to_5__type_1_diabetes_mellitus}
|
|
212
236
|
indicatorSelected={handleIndicatorSelected}
|
|
213
237
|
indicator="dc__age_range__0_to_5__type_1_diabetes_mellitus"
|
|
214
238
|
/>
|
|
215
239
|
</td>
|
|
216
240
|
</tr>
|
|
217
241
|
<tr>
|
|
218
|
-
<td className=
|
|
242
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>6-9 years</td>
|
|
219
243
|
<td className={styles.darkBorder}>
|
|
220
244
|
<DataCell
|
|
221
|
-
value={moh740Data
|
|
245
|
+
value={moh740Data?.dc__gender__M__age_range__6_to_9__type_1_diabetes_mellitus}
|
|
222
246
|
indicatorSelected={handleIndicatorSelected}
|
|
223
247
|
indicator="dc__gender__M__age_range__6_to_9__type_1_diabetes_mellitus"
|
|
224
248
|
/>
|
|
225
249
|
</td>
|
|
226
250
|
<td className={styles.darkBorder}>
|
|
227
251
|
<DataCell
|
|
228
|
-
value={moh740Data
|
|
252
|
+
value={moh740Data?.dc__gender__F__age_range__6_to_9__type_1_diabetes_mellitus}
|
|
229
253
|
indicatorSelected={handleIndicatorSelected}
|
|
230
254
|
indicator="dc__gender__F__age_range__6_to_9__type_1_diabetes_mellitus"
|
|
231
255
|
/>
|
|
232
256
|
</td>
|
|
233
257
|
<td className={styles.darkBorder}>
|
|
234
258
|
<DataCell
|
|
235
|
-
value={moh740Data
|
|
259
|
+
value={moh740Data?.dc__age_range__6_to_9__type_1_diabetes_mellitus}
|
|
236
260
|
indicatorSelected={handleIndicatorSelected}
|
|
237
261
|
indicator="dc__age_range__6_to_9__type_1_diabetes_mellitus"
|
|
238
262
|
/>
|
|
239
263
|
</td>
|
|
240
264
|
</tr>
|
|
241
265
|
<tr>
|
|
242
|
-
<td className=
|
|
266
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>10-19 years</td>
|
|
243
267
|
<td className={styles.darkBorder}>
|
|
244
268
|
<DataCell
|
|
245
|
-
value={moh740Data
|
|
269
|
+
value={moh740Data?.dc__gender__M__age_range__10_to_19__type_1_diabetes_mellitus}
|
|
246
270
|
indicatorSelected={handleIndicatorSelected}
|
|
247
271
|
indicator="dc__gender__M__age_range__10_to_19__type_1_diabetes_mellitus"
|
|
248
272
|
/>
|
|
249
273
|
</td>
|
|
250
274
|
<td className={styles.darkBorder}>
|
|
251
275
|
<DataCell
|
|
252
|
-
value={moh740Data
|
|
276
|
+
value={moh740Data?.dc__gender__F__age_range__10_to_19__type_1_diabetes_mellitus}
|
|
253
277
|
indicatorSelected={handleIndicatorSelected}
|
|
254
278
|
indicator="dc__gender__F__age_range__10_to_19__type_1_diabetes_mellitus"
|
|
255
279
|
/>
|
|
256
280
|
</td>
|
|
257
281
|
<td className={styles.darkBorder}>
|
|
258
282
|
<DataCell
|
|
259
|
-
value={moh740Data
|
|
283
|
+
value={moh740Data?.dc__age_range__10_to_19__type_1_diabetes_mellitus}
|
|
260
284
|
indicatorSelected={handleIndicatorSelected}
|
|
261
285
|
indicator="dc__age_range__10_to_19__type_1_diabetes_mellitus"
|
|
262
286
|
/>
|
|
263
287
|
</td>
|
|
264
288
|
</tr>
|
|
265
289
|
<tr>
|
|
266
|
-
<td className=
|
|
290
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>20-35 years</td>
|
|
267
291
|
<td className={styles.darkBorder}>
|
|
268
292
|
<DataCell
|
|
269
|
-
value={moh740Data
|
|
293
|
+
value={moh740Data?.dc__gender__M__age_range__20_to_35__type_1_diabetes_mellitus}
|
|
270
294
|
indicatorSelected={handleIndicatorSelected}
|
|
271
295
|
indicator="dc__gender__M__age_range__20_to_35__type_1_diabetes_mellitus"
|
|
272
296
|
/>
|
|
273
297
|
</td>
|
|
274
298
|
<td className={styles.darkBorder}>
|
|
275
299
|
<DataCell
|
|
276
|
-
value={moh740Data
|
|
300
|
+
value={moh740Data?.dc__gender__F__age_range__20_to_35__type_1_diabetes_mellitus}
|
|
277
301
|
indicatorSelected={handleIndicatorSelected}
|
|
278
302
|
indicator="dc__gender__F__age_range__20_to_35__type_1_diabetes_mellitus"
|
|
279
303
|
/>
|
|
280
304
|
</td>
|
|
281
305
|
<td className={styles.darkBorder}>
|
|
282
306
|
<DataCell
|
|
283
|
-
value={moh740Data
|
|
307
|
+
value={moh740Data?.dc__age_range__20_to_35__type_1_diabetes_mellitus}
|
|
284
308
|
indicatorSelected={handleIndicatorSelected}
|
|
285
309
|
indicator="dc__age_range__20_to_35__type_1_diabetes_mellitus"
|
|
286
310
|
/>
|
|
287
311
|
</td>
|
|
288
312
|
</tr>
|
|
289
313
|
<tr>
|
|
290
|
-
<td className=
|
|
314
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>{'>'} 35 years</td>
|
|
291
315
|
<td className={styles.darkBorder}>
|
|
292
316
|
<DataCell
|
|
293
|
-
value={moh740Data
|
|
317
|
+
value={moh740Data?.dc__gender__M__age_range__36_and_above__type_1_diabetes_mellitus}
|
|
294
318
|
indicatorSelected={handleIndicatorSelected}
|
|
295
319
|
indicator="dc__gender__M__age_range__36_and_above__type_1_diabetes_mellitus"
|
|
296
320
|
/>
|
|
297
321
|
</td>
|
|
298
322
|
<td className={styles.darkBorder}>
|
|
299
323
|
<DataCell
|
|
300
|
-
value={moh740Data
|
|
324
|
+
value={moh740Data?.dc__gender__F__age_range__36_and_above__type_1_diabetes_mellitus}
|
|
301
325
|
indicatorSelected={handleIndicatorSelected}
|
|
302
326
|
indicator="dc__gender__F__age_range__36_and_above__type_1_diabetes_mellitus"
|
|
303
327
|
/>
|
|
304
328
|
</td>
|
|
305
329
|
<td className={styles.darkBorder}>
|
|
306
330
|
<DataCell
|
|
307
|
-
value={moh740Data
|
|
331
|
+
value={moh740Data?.dc__age_range__36_and_above__type_1_diabetes_mellitus}
|
|
308
332
|
indicatorSelected={handleIndicatorSelected}
|
|
309
333
|
indicator="dc__age_range__36_and_above__type_1_diabetes_mellitus"
|
|
310
334
|
/>
|
|
@@ -317,96 +341,96 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
317
341
|
</td>
|
|
318
342
|
</tr>
|
|
319
343
|
<tr>
|
|
320
|
-
<td className=
|
|
344
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>0-18 years</td>
|
|
321
345
|
<td className={styles.darkBorder}>
|
|
322
346
|
<DataCell
|
|
323
|
-
value={moh740Data
|
|
347
|
+
value={moh740Data?.dc__gender__M__age_range__0_to_18__type_2_diabetes_mellitus}
|
|
324
348
|
indicatorSelected={handleIndicatorSelected}
|
|
325
349
|
indicator="dc__gender__M__age_range__0_to_18__type_2_diabetes_mellitus"
|
|
326
350
|
/>
|
|
327
351
|
</td>
|
|
328
352
|
<td className={styles.darkBorder}>
|
|
329
353
|
<DataCell
|
|
330
|
-
value={moh740Data
|
|
354
|
+
value={moh740Data?.dc__gender__F__age_range__0_to_18__type_2_diabetes_mellitus}
|
|
331
355
|
indicatorSelected={handleIndicatorSelected}
|
|
332
356
|
indicator="dc__gender__F__age_range__0_to_18__type_2_diabetes_mellitus"
|
|
333
357
|
/>
|
|
334
358
|
</td>
|
|
335
359
|
<td className={styles.darkBorder}>
|
|
336
360
|
<DataCell
|
|
337
|
-
value={moh740Data
|
|
361
|
+
value={moh740Data?.dc__age_range__0_to_18__type_2_diabetes_mellitus}
|
|
338
362
|
indicatorSelected={handleIndicatorSelected}
|
|
339
363
|
indicator="dc__age_range__0_to_18__type_2_diabetes_mellitus"
|
|
340
364
|
/>
|
|
341
365
|
</td>
|
|
342
366
|
</tr>
|
|
343
367
|
<tr>
|
|
344
|
-
<td className=
|
|
368
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>19-35 years</td>
|
|
345
369
|
<td className={styles.darkBorder}>
|
|
346
370
|
<DataCell
|
|
347
|
-
value={moh740Data
|
|
371
|
+
value={moh740Data?.dc__gender__M__age_range__19_to_35__type_2_diabetes_mellitus}
|
|
348
372
|
indicatorSelected={handleIndicatorSelected}
|
|
349
373
|
indicator="dc__gender__M__age_range__19_to_35__type_2_diabetes_mellitus"
|
|
350
374
|
/>
|
|
351
375
|
</td>
|
|
352
376
|
<td className={styles.darkBorder}>
|
|
353
377
|
<DataCell
|
|
354
|
-
value={moh740Data
|
|
378
|
+
value={moh740Data?.dc__gender__F__age_range__19_to_35__type_2_diabetes_mellitus}
|
|
355
379
|
indicatorSelected={handleIndicatorSelected}
|
|
356
380
|
indicator="dc__gender__F__age_range__19_to_35__type_2_diabetes_mellitus"
|
|
357
381
|
/>
|
|
358
382
|
</td>
|
|
359
383
|
<td className={styles.darkBorder}>
|
|
360
|
-
|
|
361
|
-
value={moh740Data
|
|
384
|
+
<DataCell
|
|
385
|
+
value={moh740Data?.dc__age_range__19_to_35__type_2_diabetes_mellitus}
|
|
362
386
|
indicatorSelected={handleIndicatorSelected}
|
|
363
387
|
indicator="dc__age_range__19_to_35__type_2_diabetes_mellitus"
|
|
364
388
|
/>
|
|
365
389
|
</td>
|
|
366
390
|
</tr>
|
|
367
391
|
<tr>
|
|
368
|
-
<td className=
|
|
392
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>36-60 years</td>
|
|
369
393
|
<td className={styles.darkBorder}>
|
|
370
394
|
<DataCell
|
|
371
|
-
value={moh740Data
|
|
395
|
+
value={moh740Data?.dc__gender__M__age_range__36_to_60__type_2_diabetes_mellitus}
|
|
372
396
|
indicatorSelected={handleIndicatorSelected}
|
|
373
397
|
indicator="dc__gender__M__age_range__36_to_60__type_2_diabetes_mellitus"
|
|
374
398
|
/>
|
|
375
399
|
</td>
|
|
376
400
|
<td className={styles.darkBorder}>
|
|
377
401
|
<DataCell
|
|
378
|
-
value={moh740Data
|
|
402
|
+
value={moh740Data?.dc__gender__F__age_range__36_to_60__type_2_diabetes_mellitus}
|
|
379
403
|
indicatorSelected={handleIndicatorSelected}
|
|
380
404
|
indicator="dc__gender__F__age_range__36_to_60__type_2_diabetes_mellitus"
|
|
381
405
|
/>
|
|
382
406
|
</td>
|
|
383
407
|
<td className={styles.darkBorder}>
|
|
384
|
-
|
|
385
|
-
value={moh740Data
|
|
408
|
+
<DataCell
|
|
409
|
+
value={moh740Data?.dc__age_range__36_to_60__type_2_diabetes_mellitus}
|
|
386
410
|
indicatorSelected={handleIndicatorSelected}
|
|
387
411
|
indicator="dc__age_range__36_to_60__type_2_diabetes_mellitus"
|
|
388
412
|
/>
|
|
389
413
|
</td>
|
|
390
414
|
</tr>
|
|
391
415
|
<tr>
|
|
392
|
-
<td className=
|
|
416
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>{'>'} 60 years</td>
|
|
393
417
|
<td className={styles.darkBorder}>
|
|
394
418
|
<DataCell
|
|
395
|
-
value={moh740Data
|
|
419
|
+
value={moh740Data?.dc__gender__M__age_range__61_and_above__type_2_diabetes_mellitus}
|
|
396
420
|
indicatorSelected={handleIndicatorSelected}
|
|
397
421
|
indicator="dc__gender__M__age_range__61_and_above__type_2_diabetes_mellitus"
|
|
398
422
|
/>
|
|
399
423
|
</td>
|
|
400
424
|
<td className={styles.darkBorder}>
|
|
401
425
|
<DataCell
|
|
402
|
-
value={moh740Data
|
|
426
|
+
value={moh740Data?.dc__gender__F__age_range__61_and_above__type_2_diabetes_mellitus}
|
|
403
427
|
indicatorSelected={handleIndicatorSelected}
|
|
404
428
|
indicator="dc__gender__F__age_range__61_and_above__type_2_diabetes_mellitus"
|
|
405
429
|
/>
|
|
406
430
|
</td>
|
|
407
431
|
<td className={styles.darkBorder}>
|
|
408
|
-
|
|
409
|
-
value={moh740Data
|
|
432
|
+
<DataCell
|
|
433
|
+
value={moh740Data?.dc__age_range__61_and_above__type_2_diabetes_mellitus}
|
|
410
434
|
indicatorSelected={handleIndicatorSelected}
|
|
411
435
|
indicator="dc__age_range__61_and_above__type_2_diabetes_mellitus"
|
|
412
436
|
/>
|
|
@@ -415,7 +439,7 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
415
439
|
|
|
416
440
|
<tr>
|
|
417
441
|
<td className={styles.darkBorder}>No. diagnosed for Gestational Diabetes Mellitus</td>
|
|
418
|
-
<td className=
|
|
442
|
+
<td className={classNames(styles.darkBorder, styles.bgGrey)}>N/A</td>
|
|
419
443
|
<td className={styles.darkBorder}></td>
|
|
420
444
|
<td className={styles.darkBorder}></td>
|
|
421
445
|
</tr>
|
|
@@ -435,21 +459,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
435
459
|
<td className={styles.darkBorder}>Cumulative no. of hypertension patients in care</td>
|
|
436
460
|
<td className={styles.darkBorder}>
|
|
437
461
|
<DataCell
|
|
438
|
-
value={moh740Data
|
|
462
|
+
value={moh740Data?.dc__gender__M__cumulative_htn_patient}
|
|
439
463
|
indicatorSelected={handleIndicatorSelected}
|
|
440
464
|
indicator="dc__gender__M__cumulative_htn_patient"
|
|
441
465
|
/>
|
|
442
466
|
</td>
|
|
443
467
|
<td className={styles.darkBorder}>
|
|
444
468
|
<DataCell
|
|
445
|
-
value={moh740Data
|
|
469
|
+
value={moh740Data?.dc__gender__F__cumulative_htn_patient}
|
|
446
470
|
indicatorSelected={handleIndicatorSelected}
|
|
447
471
|
indicator="dc__gender__F__cumulative_htn_patient"
|
|
448
472
|
/>
|
|
449
473
|
</td>
|
|
450
474
|
<td className={styles.darkBorder}>
|
|
451
475
|
<DataCell
|
|
452
|
-
value={moh740Data
|
|
476
|
+
value={moh740Data?.cumulative_htn_patient}
|
|
453
477
|
indicatorSelected={handleIndicatorSelected}
|
|
454
478
|
indicator="cumulative_htn_patient"
|
|
455
479
|
/>
|
|
@@ -459,21 +483,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
459
483
|
<td className={styles.darkBorder}>No. of newly diagnosed hypertension cases</td>
|
|
460
484
|
<td className={styles.darkBorder}>
|
|
461
485
|
<DataCell
|
|
462
|
-
value={moh740Data
|
|
486
|
+
value={moh740Data?.dc__gender__M__newly_diagnosed_htn_this_month}
|
|
463
487
|
indicatorSelected={handleIndicatorSelected}
|
|
464
488
|
indicator="dc__gender__M__newly_diagnosed_htn_this_month"
|
|
465
489
|
/>
|
|
466
490
|
</td>
|
|
467
491
|
<td className={styles.darkBorder}>
|
|
468
492
|
<DataCell
|
|
469
|
-
value={moh740Data
|
|
493
|
+
value={moh740Data?.dc__gender__F__newly_diagnosed_htn_this_month}
|
|
470
494
|
indicatorSelected={handleIndicatorSelected}
|
|
471
495
|
indicator="dc__gender__F__newly_diagnosed_htn_this_month"
|
|
472
496
|
/>
|
|
473
497
|
</td>
|
|
474
498
|
<td className={styles.darkBorder}>
|
|
475
499
|
<DataCell
|
|
476
|
-
value={moh740Data
|
|
500
|
+
value={moh740Data?.newly_diagnosed_htn_this_month}
|
|
477
501
|
indicatorSelected={handleIndicatorSelected}
|
|
478
502
|
indicator="newly_diagnosed_htn_this_month"
|
|
479
503
|
/>
|
|
@@ -483,21 +507,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
483
507
|
<td className={styles.darkBorder}>Revisit to clinic/Known HTN</td>
|
|
484
508
|
<td className={styles.darkBorder}>
|
|
485
509
|
<DataCell
|
|
486
|
-
value={moh740Data
|
|
510
|
+
value={moh740Data?.dc__gender__M__revisit_known_htn}
|
|
487
511
|
indicatorSelected={handleIndicatorSelected}
|
|
488
512
|
indicator="dc__gender__M__revisit_known_htn"
|
|
489
513
|
/>
|
|
490
514
|
</td>
|
|
491
515
|
<td className={styles.darkBorder}>
|
|
492
516
|
<DataCell
|
|
493
|
-
value={moh740Data
|
|
517
|
+
value={moh740Data?.dc__gender__F__revisit_known_htn}
|
|
494
518
|
indicatorSelected={handleIndicatorSelected}
|
|
495
519
|
indicator="dc__gender__F__revisit_known_htn"
|
|
496
520
|
/>
|
|
497
521
|
</td>
|
|
498
522
|
<td className={styles.darkBorder}>
|
|
499
523
|
<DataCell
|
|
500
|
-
value={moh740Data
|
|
524
|
+
value={moh740Data?.revisit_known_htn}
|
|
501
525
|
indicatorSelected={handleIndicatorSelected}
|
|
502
526
|
indicator="revisit_known_htn"
|
|
503
527
|
/>
|
|
@@ -510,120 +534,120 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
510
534
|
</td>
|
|
511
535
|
</tr>
|
|
512
536
|
<tr>
|
|
513
|
-
<td className=
|
|
537
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>0-9 years</td>
|
|
514
538
|
<td className={styles.darkBorder}>
|
|
515
539
|
<DataCell
|
|
516
|
-
value={moh740Data
|
|
540
|
+
value={moh740Data?.dc__gender__M__age_range__0_to_9__has_htn}
|
|
517
541
|
indicatorSelected={handleIndicatorSelected}
|
|
518
542
|
indicator="dc__gender__M__age_range__0_to_9__has_htn"
|
|
519
543
|
/>
|
|
520
544
|
</td>
|
|
521
545
|
<td className={styles.darkBorder}>
|
|
522
546
|
<DataCell
|
|
523
|
-
value={moh740Data
|
|
547
|
+
value={moh740Data?.dc__gender__F__age_range__0_to_9__has_htn}
|
|
524
548
|
indicatorSelected={handleIndicatorSelected}
|
|
525
549
|
indicator="dc__gender__F__age_range__0_to_9__has_htn"
|
|
526
550
|
/>
|
|
527
551
|
</td>
|
|
528
552
|
<td className={styles.darkBorder}>
|
|
529
|
-
|
|
530
|
-
value={moh740Data
|
|
553
|
+
<DataCell
|
|
554
|
+
value={moh740Data?.dc__age_range__0_to_9__has_htn}
|
|
531
555
|
indicatorSelected={handleIndicatorSelected}
|
|
532
556
|
indicator="dc__age_range__0_to_9__has_htn"
|
|
533
557
|
/>
|
|
534
558
|
</td>
|
|
535
559
|
</tr>
|
|
536
|
-
|
|
537
|
-
<td className=
|
|
560
|
+
<tr>
|
|
561
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>10-19 years</td>
|
|
538
562
|
<td className={styles.darkBorder}>
|
|
539
563
|
<DataCell
|
|
540
|
-
value={moh740Data
|
|
564
|
+
value={moh740Data?.dc__gender__M__age_range__10_to_19__has_htn}
|
|
541
565
|
indicatorSelected={handleIndicatorSelected}
|
|
542
566
|
indicator="dc__gender__M__age_range__10_to_19__has_htn"
|
|
543
567
|
/>
|
|
544
568
|
</td>
|
|
545
569
|
<td className={styles.darkBorder}>
|
|
546
570
|
<DataCell
|
|
547
|
-
value={moh740Data
|
|
571
|
+
value={moh740Data?.dc__gender__F__age_range__10_to_19__has_htn}
|
|
548
572
|
indicatorSelected={handleIndicatorSelected}
|
|
549
573
|
indicator="dc__gender__F__age_range__10_to_19__has_htn"
|
|
550
574
|
/>
|
|
551
575
|
</td>
|
|
552
576
|
<td className={styles.darkBorder}>
|
|
553
|
-
|
|
554
|
-
value={moh740Data
|
|
577
|
+
<DataCell
|
|
578
|
+
value={moh740Data?.dc__age_range__10_to_19__has_htn}
|
|
555
579
|
indicatorSelected={handleIndicatorSelected}
|
|
556
580
|
indicator="dc__age_range__10_to_19__has_htn"
|
|
557
581
|
/>
|
|
558
582
|
</td>
|
|
559
583
|
</tr>
|
|
560
584
|
<tr>
|
|
561
|
-
<td className=
|
|
585
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>20-35 years</td>
|
|
562
586
|
<td className={styles.darkBorder}>
|
|
563
587
|
<DataCell
|
|
564
|
-
value={moh740Data
|
|
588
|
+
value={moh740Data?.dc__gender__M__age_range__20_to_35__has_htn}
|
|
565
589
|
indicatorSelected={handleIndicatorSelected}
|
|
566
590
|
indicator="dc__gender__M__age_range__20_to_35__has_htn"
|
|
567
591
|
/>
|
|
568
592
|
</td>
|
|
569
593
|
<td className={styles.darkBorder}>
|
|
570
594
|
<DataCell
|
|
571
|
-
value={moh740Data
|
|
595
|
+
value={moh740Data?.dc__gender__F__age_range__20_to_35__has_htn}
|
|
572
596
|
indicatorSelected={handleIndicatorSelected}
|
|
573
597
|
indicator="dc__gender__F__age_range__20_to_35__has_htn"
|
|
574
598
|
/>
|
|
575
599
|
</td>
|
|
576
600
|
<td className={styles.darkBorder}>
|
|
577
|
-
|
|
578
|
-
value={moh740Data
|
|
601
|
+
<DataCell
|
|
602
|
+
value={moh740Data?.dc__age_range__20_to_35__has_htn}
|
|
579
603
|
indicatorSelected={handleIndicatorSelected}
|
|
580
604
|
indicator="dc__range__20_to_35__has_htn"
|
|
581
605
|
/>
|
|
582
606
|
</td>
|
|
583
607
|
</tr>
|
|
584
608
|
<tr>
|
|
585
|
-
<td className=
|
|
609
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>36-60 years</td>
|
|
586
610
|
<td className={styles.darkBorder}>
|
|
587
611
|
<DataCell
|
|
588
|
-
value={moh740Data
|
|
612
|
+
value={moh740Data?.dc__gender__M__age_range__36_to_60__has_htn}
|
|
589
613
|
indicatorSelected={handleIndicatorSelected}
|
|
590
614
|
indicator="dc__gender__M__age_range__36_to_60__has_htn"
|
|
591
615
|
/>
|
|
592
616
|
</td>
|
|
593
617
|
<td className={styles.darkBorder}>
|
|
594
618
|
<DataCell
|
|
595
|
-
value={moh740Data
|
|
619
|
+
value={moh740Data?.dc__gender__F__age_range__36_to_60__has_htn}
|
|
596
620
|
indicatorSelected={handleIndicatorSelected}
|
|
597
621
|
indicator="dc__gender__F__age_range__36_to_60__has_htn"
|
|
598
622
|
/>
|
|
599
623
|
</td>
|
|
600
624
|
<td className={styles.darkBorder}>
|
|
601
|
-
|
|
602
|
-
value={moh740Data
|
|
625
|
+
<DataCell
|
|
626
|
+
value={moh740Data?.dc__age_range__36_to_60__has_htn}
|
|
603
627
|
indicatorSelected={handleIndicatorSelected}
|
|
604
628
|
indicator="dc__age_range__36_to_60__has_htn"
|
|
605
629
|
/>
|
|
606
630
|
</td>
|
|
607
631
|
</tr>
|
|
608
632
|
<tr>
|
|
609
|
-
<td className=
|
|
633
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>{'>'} 60 years</td>
|
|
610
634
|
<td className={styles.darkBorder}>
|
|
611
635
|
<DataCell
|
|
612
|
-
value={moh740Data
|
|
636
|
+
value={moh740Data?.dc__gender__M__age_range__61_and_above__has_htn}
|
|
613
637
|
indicatorSelected={handleIndicatorSelected}
|
|
614
638
|
indicator="dc__gender__M__age_range__61_and_above__has_htn"
|
|
615
639
|
/>
|
|
616
640
|
</td>
|
|
617
641
|
<td className={styles.darkBorder}>
|
|
618
642
|
<DataCell
|
|
619
|
-
value={moh740Data
|
|
643
|
+
value={moh740Data?.dc__gender__F__age_range__61_and_above__has_htn}
|
|
620
644
|
indicatorSelected={handleIndicatorSelected}
|
|
621
645
|
indicator="dc__gender__F__age_range__61_and_above__has_htn"
|
|
622
646
|
/>
|
|
623
647
|
</td>
|
|
624
648
|
<td className={styles.darkBorder}>
|
|
625
|
-
|
|
626
|
-
value={moh740Data
|
|
649
|
+
<DataCell
|
|
650
|
+
value={moh740Data?.dc__age_range__61_and_above__has_htn}
|
|
627
651
|
indicatorSelected={handleIndicatorSelected}
|
|
628
652
|
indicator="dc__age_range__61_and_above__has_htn"
|
|
629
653
|
/>
|
|
@@ -641,21 +665,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
641
665
|
</td>
|
|
642
666
|
<td className={styles.darkBorder}>
|
|
643
667
|
<DataCell
|
|
644
|
-
value={moh740Data
|
|
668
|
+
value={moh740Data?.dc__gender__M__is_co_morbid}
|
|
645
669
|
indicatorSelected={handleIndicatorSelected}
|
|
646
670
|
indicator="dc__gender__M__is_co_morbid"
|
|
647
671
|
/>
|
|
648
672
|
</td>
|
|
649
673
|
<td className={styles.darkBorder}>
|
|
650
674
|
<DataCell
|
|
651
|
-
value={moh740Data
|
|
675
|
+
value={moh740Data?.dc__gender__F__is_co_morbid}
|
|
652
676
|
indicatorSelected={handleIndicatorSelected}
|
|
653
677
|
indicator="dc__gender__F__is_co_morbid"
|
|
654
678
|
/>
|
|
655
679
|
</td>
|
|
656
680
|
<td className={styles.darkBorder}>
|
|
657
681
|
<DataCell
|
|
658
|
-
value={moh740Data
|
|
682
|
+
value={moh740Data?.is_co_morbid}
|
|
659
683
|
indicatorSelected={handleIndicatorSelected}
|
|
660
684
|
indicator="is_co_morbid"
|
|
661
685
|
/>
|
|
@@ -665,21 +689,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
665
689
|
<td className={styles.darkBorder}>Newly diagnosed co-morbid with both DM and HTN cases</td>
|
|
666
690
|
<td className={styles.darkBorder}>
|
|
667
691
|
<DataCell
|
|
668
|
-
value={moh740Data
|
|
692
|
+
value={moh740Data?.dc__gender__M__newly_diagnosed_co_morbid_this_month}
|
|
669
693
|
indicatorSelected={handleIndicatorSelected}
|
|
670
694
|
indicator="dc__gender__M__newly_diagnosed_co_morbid_this_month"
|
|
671
695
|
/>
|
|
672
696
|
</td>
|
|
673
697
|
<td className={styles.darkBorder}>
|
|
674
698
|
<DataCell
|
|
675
|
-
value={moh740Data
|
|
699
|
+
value={moh740Data?.dc__gender__F__newly_diagnosed_co_morbid_this_month}
|
|
676
700
|
indicatorSelected={handleIndicatorSelected}
|
|
677
701
|
indicator="dc__gender__F__newly_diagnosed_co_morbid_this_month"
|
|
678
702
|
/>
|
|
679
703
|
</td>
|
|
680
704
|
<td className={styles.darkBorder}>
|
|
681
|
-
|
|
682
|
-
value={moh740Data
|
|
705
|
+
<DataCell
|
|
706
|
+
value={moh740Data?.newly_diagnosed_co_morbid_this_month}
|
|
683
707
|
indicatorSelected={handleIndicatorSelected}
|
|
684
708
|
indicator="newly_diagnosed_co_morbid_this_month"
|
|
685
709
|
/>
|
|
@@ -689,21 +713,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
689
713
|
<td className={styles.darkBorder}>Revisit to clinic/Known co-morbid DM and HTN</td>
|
|
690
714
|
<td className={styles.darkBorder}>
|
|
691
715
|
<DataCell
|
|
692
|
-
value={moh740Data
|
|
716
|
+
value={moh740Data?.dc__gender__M__revisit_known_co_morbid}
|
|
693
717
|
indicatorSelected={handleIndicatorSelected}
|
|
694
718
|
indicator="dc__gender__M__revisit_known_co_morbid"
|
|
695
719
|
/>
|
|
696
720
|
</td>
|
|
697
721
|
<td className={styles.darkBorder}>
|
|
698
722
|
<DataCell
|
|
699
|
-
value={moh740Data
|
|
723
|
+
value={moh740Data?.dc__gender__F__revisit_known_co_morbid}
|
|
700
724
|
indicatorSelected={handleIndicatorSelected}
|
|
701
725
|
indicator="dc__gender__F__revisit_known_co_morbid"
|
|
702
726
|
/>
|
|
703
727
|
</td>
|
|
704
728
|
<td className={styles.darkBorder}>
|
|
705
|
-
|
|
706
|
-
value={moh740Data
|
|
729
|
+
<DataCell
|
|
730
|
+
value={moh740Data?.revisit_known_co_morbid}
|
|
707
731
|
indicatorSelected={handleIndicatorSelected}
|
|
708
732
|
indicator="revisit_known_co_morbid"
|
|
709
733
|
/>
|
|
@@ -719,21 +743,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
719
743
|
<td className={styles.darkBorder}>No. of patients on insulin</td>
|
|
720
744
|
<td className={styles.darkBorder}>
|
|
721
745
|
<DataCell
|
|
722
|
-
value={moh740Data
|
|
746
|
+
value={moh740Data?.dc__gender__M__on_insulin_this_month}
|
|
723
747
|
indicatorSelected={handleIndicatorSelected}
|
|
724
748
|
indicator="dc__gender__M__on_insulin_this_month"
|
|
725
749
|
/>
|
|
726
750
|
</td>
|
|
727
751
|
<td className={styles.darkBorder}>
|
|
728
|
-
|
|
729
|
-
value={moh740Data
|
|
752
|
+
<DataCell
|
|
753
|
+
value={moh740Data?.dc__gender__F__on_insulin_this_month}
|
|
730
754
|
indicatorSelected={handleIndicatorSelected}
|
|
731
755
|
indicator="dc__gender__F__on_insulin_this_month"
|
|
732
756
|
/>
|
|
733
757
|
</td>
|
|
734
758
|
<td className={styles.darkBorder}>
|
|
735
|
-
|
|
736
|
-
value={moh740Data
|
|
759
|
+
<DataCell
|
|
760
|
+
value={moh740Data?.on_insulin_this_month}
|
|
737
761
|
indicatorSelected={handleIndicatorSelected}
|
|
738
762
|
indicator="on_insulin_this_month"
|
|
739
763
|
/>
|
|
@@ -743,21 +767,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
743
767
|
<td className={styles.darkBorder}>No. of patients on OGLAs</td>
|
|
744
768
|
<td className={styles.darkBorder}>
|
|
745
769
|
<DataCell
|
|
746
|
-
value={moh740Data
|
|
770
|
+
value={moh740Data?.dc__gender__M__on_ogla_meds_this_month}
|
|
747
771
|
indicatorSelected={handleIndicatorSelected}
|
|
748
772
|
indicator="dc__gender__M__on_ogla_meds_this_month"
|
|
749
773
|
/>
|
|
750
774
|
</td>
|
|
751
775
|
<td className={styles.darkBorder}>
|
|
752
|
-
|
|
753
|
-
value={moh740Data
|
|
776
|
+
<DataCell
|
|
777
|
+
value={moh740Data?.dc__gender__F__on_ogla_meds_this_month}
|
|
754
778
|
indicatorSelected={handleIndicatorSelected}
|
|
755
779
|
indicator="dc__gender__F__on_ogla_meds_this_month"
|
|
756
780
|
/>
|
|
757
781
|
</td>
|
|
758
782
|
<td className={styles.darkBorder}>
|
|
759
783
|
<DataCell
|
|
760
|
-
value={moh740Data
|
|
784
|
+
value={moh740Data?.on_ogla_meds_this_month}
|
|
761
785
|
indicatorSelected={handleIndicatorSelected}
|
|
762
786
|
indicator="on_ogla_meds_this_month"
|
|
763
787
|
/>
|
|
@@ -767,21 +791,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
767
791
|
<td className={styles.darkBorder}>No. of patients on both (Insulin and OGLAs)</td>
|
|
768
792
|
<td className={styles.darkBorder}>
|
|
769
793
|
<DataCell
|
|
770
|
-
value={moh740Data
|
|
794
|
+
value={moh740Data?.dc__gender__M__on_both_insulin_and_ogla_meds_this_month}
|
|
771
795
|
indicatorSelected={handleIndicatorSelected}
|
|
772
796
|
indicator="dc__gender__M__on_both_insulin_and_ogla_meds_this_month"
|
|
773
797
|
/>
|
|
774
798
|
</td>
|
|
775
799
|
<td className={styles.darkBorder}>
|
|
776
800
|
<DataCell
|
|
777
|
-
value={moh740Data
|
|
801
|
+
value={moh740Data?.dc__gender__F__on_both_insulin_and_ogla_meds_this_month}
|
|
778
802
|
indicatorSelected={handleIndicatorSelected}
|
|
779
803
|
indicator="dc__gender__F__on_both_insulin_and_ogla_meds_this_month"
|
|
780
804
|
/>
|
|
781
805
|
</td>
|
|
782
806
|
<td className={styles.darkBorder}>
|
|
783
807
|
<DataCell
|
|
784
|
-
value={moh740Data
|
|
808
|
+
value={moh740Data?.on_both_insulin_and_ogla_meds_this_month}
|
|
785
809
|
indicatorSelected={handleIndicatorSelected}
|
|
786
810
|
indicator="on_both_insulin_and_ogla_meds_this_month"
|
|
787
811
|
/>
|
|
@@ -793,21 +817,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
793
817
|
</td>
|
|
794
818
|
<td className={styles.darkBorder}>
|
|
795
819
|
<DataCell
|
|
796
|
-
value={moh740Data
|
|
820
|
+
value={moh740Data?.dc__gender__M__on_exercise_and_diet}
|
|
797
821
|
indicatorSelected={handleIndicatorSelected}
|
|
798
822
|
indicator="dc__gender__M__on_exercise_and_diet"
|
|
799
823
|
/>
|
|
800
824
|
</td>
|
|
801
825
|
<td className={styles.darkBorder}>
|
|
802
826
|
<DataCell
|
|
803
|
-
value={moh740Data
|
|
827
|
+
value={moh740Data?.dc__gender__F__on_exercise_and_diet}
|
|
804
828
|
indicatorSelected={handleIndicatorSelected}
|
|
805
829
|
indicator="dc__gender__F__on_exercise_and_diet"
|
|
806
830
|
/>
|
|
807
831
|
</td>
|
|
808
832
|
<td className={styles.darkBorder}>
|
|
809
|
-
|
|
810
|
-
value={moh740Data
|
|
833
|
+
<DataCell
|
|
834
|
+
value={moh740Data?.on_exercise_and_diet}
|
|
811
835
|
indicatorSelected={handleIndicatorSelected}
|
|
812
836
|
indicator="on_exercise_and_diet"
|
|
813
837
|
/>
|
|
@@ -816,22 +840,22 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
816
840
|
<tr>
|
|
817
841
|
<td className={styles.darkBorder}>No. of patients done HbA1c</td>
|
|
818
842
|
<td className={styles.darkBorder}>
|
|
819
|
-
|
|
820
|
-
value={moh740Data
|
|
843
|
+
<DataCell
|
|
844
|
+
value={moh740Data?.dc__gender__M__done_hba1c_this_month}
|
|
821
845
|
indicatorSelected={handleIndicatorSelected}
|
|
822
846
|
indicator="dc__gender__M__done_hba1c_this_month"
|
|
823
847
|
/>
|
|
824
848
|
</td>
|
|
825
849
|
<td className={styles.darkBorder}>
|
|
826
|
-
|
|
827
|
-
value={moh740Data
|
|
850
|
+
<DataCell
|
|
851
|
+
value={moh740Data?.dc__gender__F__done_hba1c_this_month}
|
|
828
852
|
indicatorSelected={handleIndicatorSelected}
|
|
829
853
|
indicator="dc__gender__F__done_hba1c_this_month"
|
|
830
854
|
/>
|
|
831
855
|
</td>
|
|
832
856
|
<td className={styles.darkBorder}>
|
|
833
|
-
|
|
834
|
-
value={moh740Data
|
|
857
|
+
<DataCell
|
|
858
|
+
value={moh740Data?.done_hba1c_this_month}
|
|
835
859
|
indicatorSelected={handleIndicatorSelected}
|
|
836
860
|
indicator="done_hba1c_this_month"
|
|
837
861
|
/>
|
|
@@ -840,22 +864,22 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
840
864
|
<tr>
|
|
841
865
|
<td className={styles.darkBorder}>No. that met HbA1c target ({'<'} 7%)</td>
|
|
842
866
|
<td className={styles.darkBorder}>
|
|
843
|
-
|
|
844
|
-
value={moh740Data
|
|
867
|
+
<DataCell
|
|
868
|
+
value={moh740Data?.dc__gender__M__hba1c_less_than_7_percent_this_month}
|
|
845
869
|
indicatorSelected={handleIndicatorSelected}
|
|
846
870
|
indicator="dc__gender__M__hba1c_less_than_7_percent_this_month"
|
|
847
871
|
/>
|
|
848
872
|
</td>
|
|
849
873
|
<td className={styles.darkBorder}>
|
|
850
|
-
|
|
851
|
-
value={moh740Data
|
|
874
|
+
<DataCell
|
|
875
|
+
value={moh740Data?.dc__gender__F__hba1c_less_than_7_percent_this_month}
|
|
852
876
|
indicatorSelected={handleIndicatorSelected}
|
|
853
877
|
indicator="dc__gender__F__hba1c_less_than_7_percent_this_month"
|
|
854
878
|
/>
|
|
855
879
|
</td>
|
|
856
880
|
<td className={styles.darkBorder}>
|
|
857
881
|
<DataCell
|
|
858
|
-
value={moh740Data
|
|
882
|
+
value={moh740Data?.hba1c_less_than_7_percent_this_month}
|
|
859
883
|
indicatorSelected={handleIndicatorSelected}
|
|
860
884
|
indicator="hba1c_less_than_7_percent_this_month"
|
|
861
885
|
/>
|
|
@@ -871,21 +895,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
871
895
|
<td className={styles.darkBorder}>No. of patients on antihypertensives</td>
|
|
872
896
|
<td className={styles.darkBorder}>
|
|
873
897
|
<DataCell
|
|
874
|
-
value={moh740Data
|
|
898
|
+
value={moh740Data?.dc__gender__M__on_antihypertensives_this_month}
|
|
875
899
|
indicatorSelected={handleIndicatorSelected}
|
|
876
900
|
indicator="dc__gender__M__on_antihypertensives_this_month"
|
|
877
901
|
/>
|
|
878
902
|
</td>
|
|
879
903
|
<td className={styles.darkBorder}>
|
|
880
904
|
<DataCell
|
|
881
|
-
value={moh740Data
|
|
905
|
+
value={moh740Data?.dc__gender__F__on_antihypertensives_this_month}
|
|
882
906
|
indicatorSelected={handleIndicatorSelected}
|
|
883
907
|
indicator="dc__gender__F__on_antihypertensives_this_month"
|
|
884
908
|
/>
|
|
885
909
|
</td>
|
|
886
910
|
<td className={styles.darkBorder}>
|
|
887
911
|
<DataCell
|
|
888
|
-
value={moh740Data
|
|
912
|
+
value={moh740Data?.on_antihypertensives_this_month}
|
|
889
913
|
indicatorSelected={handleIndicatorSelected}
|
|
890
914
|
indicator="on_antihypertensives_this_month"
|
|
891
915
|
/>
|
|
@@ -895,21 +919,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
895
919
|
<td className={styles.darkBorder}>No. with high BP ({'>='} 140/90) at clinic visit</td>
|
|
896
920
|
<td className={styles.darkBorder}>
|
|
897
921
|
<DataCell
|
|
898
|
-
value={moh740Data
|
|
922
|
+
value={moh740Data?.dc__gender__M__high_bp}
|
|
899
923
|
indicatorSelected={handleIndicatorSelected}
|
|
900
924
|
indicator="dc__gender__M__high_bp"
|
|
901
925
|
/>
|
|
902
926
|
</td>
|
|
903
927
|
<td className={styles.darkBorder}>
|
|
904
|
-
|
|
905
|
-
value={moh740Data
|
|
928
|
+
<DataCell
|
|
929
|
+
value={moh740Data?.dc__gender__F__high_bp}
|
|
906
930
|
indicatorSelected={handleIndicatorSelected}
|
|
907
931
|
indicator="dc__gender__F__high_bp"
|
|
908
932
|
/>
|
|
909
933
|
</td>
|
|
910
934
|
<td className={styles.darkBorder}>
|
|
911
|
-
|
|
912
|
-
value={moh740Data
|
|
935
|
+
<DataCell
|
|
936
|
+
value={moh740Data?.high_bp}
|
|
913
937
|
indicatorSelected={handleIndicatorSelected}
|
|
914
938
|
indicator="high_bp"
|
|
915
939
|
/>
|
|
@@ -922,72 +946,72 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
922
946
|
</td>
|
|
923
947
|
</tr>
|
|
924
948
|
<tr>
|
|
925
|
-
<td className=
|
|
949
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>Stroke</td>
|
|
926
950
|
<td className={styles.darkBorder}>
|
|
927
951
|
<DataCell
|
|
928
|
-
value={moh740Data
|
|
952
|
+
value={moh740Data?.dc__gender__M__stroke_diagnosis}
|
|
929
953
|
indicatorSelected={handleIndicatorSelected}
|
|
930
954
|
indicator="dc__gender__M__stroke_diagnosis"
|
|
931
955
|
/>
|
|
932
956
|
</td>
|
|
933
957
|
<td className={styles.darkBorder}>
|
|
934
958
|
<DataCell
|
|
935
|
-
value={moh740Data
|
|
959
|
+
value={moh740Data?.dc__gender__F__stroke_diagnosis}
|
|
936
960
|
indicatorSelected={handleIndicatorSelected}
|
|
937
961
|
indicator="dc__gender__F__stroke_diagnosis"
|
|
938
962
|
/>
|
|
939
963
|
</td>
|
|
940
964
|
<td className={styles.darkBorder}>
|
|
941
965
|
<DataCell
|
|
942
|
-
value={moh740Data
|
|
966
|
+
value={moh740Data?.stroke_diagnosis}
|
|
943
967
|
indicatorSelected={handleIndicatorSelected}
|
|
944
968
|
indicator="stroke_diagnosis"
|
|
945
969
|
/>
|
|
946
970
|
</td>
|
|
947
971
|
</tr>
|
|
948
972
|
<tr>
|
|
949
|
-
<td className=
|
|
973
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>Ischemic heart disease</td>
|
|
950
974
|
<td className={styles.darkBorder}>
|
|
951
975
|
<DataCell
|
|
952
|
-
value={moh740Data
|
|
976
|
+
value={moh740Data?.dc__gender__M__ischemic_heart_disease_diagnosis}
|
|
953
977
|
indicatorSelected={handleIndicatorSelected}
|
|
954
978
|
indicator="dc__gender__M__ischemic_heart_disease_diagnosis"
|
|
955
979
|
/>
|
|
956
980
|
</td>
|
|
957
981
|
<td className={styles.darkBorder}>
|
|
958
982
|
<DataCell
|
|
959
|
-
value={moh740Data
|
|
983
|
+
value={moh740Data?.dc__gender__F__ischemic_heart_disease_diagnosis}
|
|
960
984
|
indicatorSelected={handleIndicatorSelected}
|
|
961
985
|
indicator="dc__gender__F__ischemic_heart_disease_diagnosis"
|
|
962
986
|
/>
|
|
963
987
|
</td>
|
|
964
988
|
<td className={styles.darkBorder}>
|
|
965
989
|
<DataCell
|
|
966
|
-
value={moh740Data
|
|
990
|
+
value={moh740Data?.ischemic_heart_disease_diagnosis}
|
|
967
991
|
indicatorSelected={handleIndicatorSelected}
|
|
968
992
|
indicator="ischemic_heart_disease_diagnosis"
|
|
969
993
|
/>
|
|
970
994
|
</td>
|
|
971
995
|
</tr>
|
|
972
996
|
<tr>
|
|
973
|
-
<td className=
|
|
997
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>Heart failure</td>
|
|
974
998
|
<td className={styles.darkBorder}>
|
|
975
999
|
<DataCell
|
|
976
|
-
value={moh740Data
|
|
1000
|
+
value={moh740Data?.dc__gender__M__heart_failure_diagnosis}
|
|
977
1001
|
indicatorSelected={handleIndicatorSelected}
|
|
978
1002
|
indicator="dc__gender__M__heart_failure_diagnosis"
|
|
979
1003
|
/>
|
|
980
1004
|
</td>
|
|
981
1005
|
<td className={styles.darkBorder}>
|
|
982
1006
|
<DataCell
|
|
983
|
-
value={moh740Data
|
|
1007
|
+
value={moh740Data?.dc__gender__F__heart_failure_diagnosis}
|
|
984
1008
|
indicatorSelected={handleIndicatorSelected}
|
|
985
1009
|
indicator="dc__gender__F__heart_failure_diagnosis"
|
|
986
1010
|
/>
|
|
987
1011
|
</td>
|
|
988
1012
|
<td className={styles.darkBorder}>
|
|
989
1013
|
<DataCell
|
|
990
|
-
value={moh740Data
|
|
1014
|
+
value={moh740Data?.heart_failure_diagnosis}
|
|
991
1015
|
indicatorSelected={handleIndicatorSelected}
|
|
992
1016
|
indicator="heart_failure_diagnosis"
|
|
993
1017
|
/>
|
|
@@ -997,21 +1021,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
997
1021
|
<td className={styles.darkBorder}>No. of Patients with neuropathies (new diagnosis)</td>
|
|
998
1022
|
<td className={styles.darkBorder}>
|
|
999
1023
|
<DataCell
|
|
1000
|
-
value={moh740Data
|
|
1024
|
+
value={moh740Data?.dc__gender__M__has_neuropathies}
|
|
1001
1025
|
indicatorSelected={handleIndicatorSelected}
|
|
1002
1026
|
indicator="dc__gender__M__has_neuropathies"
|
|
1003
1027
|
/>
|
|
1004
1028
|
</td>
|
|
1005
1029
|
<td className={styles.darkBorder}>
|
|
1006
1030
|
<DataCell
|
|
1007
|
-
value={moh740Data
|
|
1031
|
+
value={moh740Data?.dc__gender__F__has_neuropathies}
|
|
1008
1032
|
indicatorSelected={handleIndicatorSelected}
|
|
1009
1033
|
indicator="dc__gender__F__has_neuropathies"
|
|
1010
1034
|
/>
|
|
1011
1035
|
</td>
|
|
1012
1036
|
<td className={styles.darkBorder}>
|
|
1013
1037
|
<DataCell
|
|
1014
|
-
value={moh740Data
|
|
1038
|
+
value={moh740Data?.has_neuropathies}
|
|
1015
1039
|
indicatorSelected={handleIndicatorSelected}
|
|
1016
1040
|
indicator="has_neuropathies"
|
|
1017
1041
|
/>
|
|
@@ -1027,21 +1051,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
1027
1051
|
<td className={styles.darkBorder}>No. of patients screened for diabetic foot</td>
|
|
1028
1052
|
<td className={styles.darkBorder}>
|
|
1029
1053
|
<DataCell
|
|
1030
|
-
value={moh740Data
|
|
1054
|
+
value={moh740Data?.dc__gender__M__screened_for_diabetic_foot_this_month}
|
|
1031
1055
|
indicatorSelected={handleIndicatorSelected}
|
|
1032
1056
|
indicator="dc__gender__M__screened_for_diabetic_foot_this_month"
|
|
1033
1057
|
/>
|
|
1034
1058
|
</td>
|
|
1035
1059
|
<td className={styles.darkBorder}>
|
|
1036
1060
|
<DataCell
|
|
1037
|
-
value={moh740Data
|
|
1061
|
+
value={moh740Data?.dc__gender__F__screened_for_diabetic_foot_this_month}
|
|
1038
1062
|
indicatorSelected={handleIndicatorSelected}
|
|
1039
1063
|
indicator="dc__gender__F__screened_for_diabetic_foot_this_month"
|
|
1040
1064
|
/>
|
|
1041
1065
|
</td>
|
|
1042
1066
|
<td className={styles.darkBorder}>
|
|
1043
1067
|
<DataCell
|
|
1044
|
-
value={moh740Data
|
|
1068
|
+
value={moh740Data?.screened_for_diabetic_foot_this_month}
|
|
1045
1069
|
indicatorSelected={handleIndicatorSelected}
|
|
1046
1070
|
indicator="screened_for_diabetic_foot_this_month"
|
|
1047
1071
|
/>
|
|
@@ -1051,21 +1075,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
1051
1075
|
<td className={styles.darkBorder}>No. of patients with diabetic foot (new diagnosis)</td>
|
|
1052
1076
|
<td className={styles.darkBorder}>
|
|
1053
1077
|
<DataCell
|
|
1054
|
-
value={moh740Data
|
|
1078
|
+
value={moh740Data?.dc__gender__M__has_diabetic_foot}
|
|
1055
1079
|
indicatorSelected={handleIndicatorSelected}
|
|
1056
1080
|
indicator="dc__gender__M__has_diabetic_foot"
|
|
1057
1081
|
/>
|
|
1058
1082
|
</td>
|
|
1059
1083
|
<td className={styles.darkBorder}>
|
|
1060
1084
|
<DataCell
|
|
1061
|
-
value={moh740Data
|
|
1085
|
+
value={moh740Data?.dc__gender__F__has_diabetic_foot}
|
|
1062
1086
|
indicatorSelected={handleIndicatorSelected}
|
|
1063
1087
|
indicator="dc__gender__F__has_diabetic_foot"
|
|
1064
1088
|
/>
|
|
1065
1089
|
</td>
|
|
1066
1090
|
<td className={styles.darkBorder}>
|
|
1067
1091
|
<DataCell
|
|
1068
|
-
value={moh740Data
|
|
1092
|
+
value={moh740Data?.has_diabetic_foot}
|
|
1069
1093
|
indicatorSelected={handleIndicatorSelected}
|
|
1070
1094
|
indicator="has_diabetic_foot"
|
|
1071
1095
|
/>
|
|
@@ -1075,21 +1099,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
1075
1099
|
<td className={styles.darkBorder}>No. of Amputation due to diabetic foot</td>
|
|
1076
1100
|
<td className={styles.darkBorder}>
|
|
1077
1101
|
<DataCell
|
|
1078
|
-
value={moh740Data
|
|
1102
|
+
value={moh740Data?.dc__gender__M__amputation_due_to_diabetic_foot}
|
|
1079
1103
|
indicatorSelected={handleIndicatorSelected}
|
|
1080
1104
|
indicator="dc__gender__M__amputation_due_to_diabetic_foot"
|
|
1081
1105
|
/>
|
|
1082
1106
|
</td>
|
|
1083
1107
|
<td className={styles.darkBorder}>
|
|
1084
1108
|
<DataCell
|
|
1085
|
-
value={moh740Data
|
|
1109
|
+
value={moh740Data?.dc__gender__F__amputation_due_to_diabetic_foot}
|
|
1086
1110
|
indicatorSelected={handleIndicatorSelected}
|
|
1087
1111
|
indicator="dc__gender__F__amputation_due_to_diabetic_foot"
|
|
1088
1112
|
/>
|
|
1089
1113
|
</td>
|
|
1090
1114
|
<td className={styles.darkBorder}>
|
|
1091
1115
|
<DataCell
|
|
1092
|
-
value={moh740Data
|
|
1116
|
+
value={moh740Data?.amputation_due_to_diabetic_foot}
|
|
1093
1117
|
indicatorSelected={handleIndicatorSelected}
|
|
1094
1118
|
indicator="amputation_due_to_diabetic_foot"
|
|
1095
1119
|
/>
|
|
@@ -1117,21 +1141,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
1117
1141
|
<td className={styles.darkBorder}>No. Screened for Tuberculosis</td>
|
|
1118
1142
|
<td className={styles.darkBorder}>
|
|
1119
1143
|
<DataCell
|
|
1120
|
-
value={moh740Data
|
|
1144
|
+
value={moh740Data?.dc__gender__M__screened_for_tb_this_month}
|
|
1121
1145
|
indicatorSelected={handleIndicatorSelected}
|
|
1122
1146
|
indicator="dc__gender__M__screened_for_tb_this_month"
|
|
1123
1147
|
/>
|
|
1124
1148
|
</td>
|
|
1125
1149
|
<td className={styles.darkBorder}>
|
|
1126
1150
|
<DataCell
|
|
1127
|
-
value={moh740Data
|
|
1151
|
+
value={moh740Data?.dc__gender__F__screened_for_tb_this_month}
|
|
1128
1152
|
indicatorSelected={handleIndicatorSelected}
|
|
1129
1153
|
indicator="dc__gender__F__screened_for_tb_this_month"
|
|
1130
1154
|
/>
|
|
1131
1155
|
</td>
|
|
1132
1156
|
<td className={styles.darkBorder}>
|
|
1133
1157
|
<DataCell
|
|
1134
|
-
value={moh740Data
|
|
1158
|
+
value={moh740Data?.screened_for_tb_this_month}
|
|
1135
1159
|
indicatorSelected={handleIndicatorSelected}
|
|
1136
1160
|
indicator="screened_for_tb_this_month"
|
|
1137
1161
|
/>
|
|
@@ -1141,21 +1165,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
1141
1165
|
<td className={styles.darkBorder}>No. Screened Positive for Tuberculosis</td>
|
|
1142
1166
|
<td className={styles.darkBorder}>
|
|
1143
1167
|
<DataCell
|
|
1144
|
-
value={moh740Data
|
|
1168
|
+
value={moh740Data?.dc__gender__M__screened_postive_for_tb_this_month}
|
|
1145
1169
|
indicatorSelected={handleIndicatorSelected}
|
|
1146
1170
|
indicator="dc__gender__M__screened_postive_for_tb_this_month"
|
|
1147
1171
|
/>
|
|
1148
1172
|
</td>
|
|
1149
1173
|
<td className={styles.darkBorder}>
|
|
1150
1174
|
<DataCell
|
|
1151
|
-
value={moh740Data
|
|
1175
|
+
value={moh740Data?.dc__gender__F__screened_postive_for_tb_this_month}
|
|
1152
1176
|
indicatorSelected={handleIndicatorSelected}
|
|
1153
1177
|
indicator="dc__gender____screened_postive_for_tb_this_month"
|
|
1154
1178
|
/>
|
|
1155
1179
|
</td>
|
|
1156
1180
|
<td className={styles.darkBorder}>
|
|
1157
1181
|
<DataCell
|
|
1158
|
-
value={moh740Data
|
|
1182
|
+
value={moh740Data?.screened_postive_for_tb_this_month}
|
|
1159
1183
|
indicatorSelected={handleIndicatorSelected}
|
|
1160
1184
|
indicator="screened_postive_for_tb_this_month"
|
|
1161
1185
|
/>
|
|
@@ -1165,21 +1189,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
1165
1189
|
<td className={styles.darkBorder}>No. enrolled with NHIF</td>
|
|
1166
1190
|
<td className={styles.darkBorder}>
|
|
1167
1191
|
<DataCell
|
|
1168
|
-
value={moh740Data
|
|
1192
|
+
value={moh740Data?.dc__gender__M__covered_by_shif}
|
|
1169
1193
|
indicatorSelected={handleIndicatorSelected}
|
|
1170
1194
|
indicator="dc__gender__M__covered_by_shif"
|
|
1171
1195
|
/>
|
|
1172
1196
|
</td>
|
|
1173
1197
|
<td className={styles.darkBorder}>
|
|
1174
1198
|
<DataCell
|
|
1175
|
-
value={moh740Data
|
|
1199
|
+
value={moh740Data?.dc__gender__F__covered_by_shif}
|
|
1176
1200
|
indicatorSelected={handleIndicatorSelected}
|
|
1177
1201
|
indicator="dc__gender__F__covered_by_shif"
|
|
1178
1202
|
/>
|
|
1179
1203
|
</td>
|
|
1180
1204
|
<td className={styles.darkBorder}>
|
|
1181
1205
|
<DataCell
|
|
1182
|
-
value={moh740Data
|
|
1206
|
+
value={moh740Data?.covered_by_shif}
|
|
1183
1207
|
indicatorSelected={handleIndicatorSelected}
|
|
1184
1208
|
indicator="covered_by_shif"
|
|
1185
1209
|
/>
|
|
@@ -1193,25 +1217,29 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
1193
1217
|
<td className={styles.darkBorder}></td>
|
|
1194
1218
|
</tr>
|
|
1195
1219
|
<tr>
|
|
1196
|
-
<td className=
|
|
1220
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>No. admitted with DKA</td>
|
|
1197
1221
|
<td className={styles.darkBorder}></td>
|
|
1198
1222
|
<td className={styles.darkBorder}></td>
|
|
1199
1223
|
<td className={styles.darkBorder}></td>
|
|
1200
1224
|
</tr>
|
|
1201
1225
|
<tr>
|
|
1202
|
-
<td className=
|
|
1226
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>
|
|
1227
|
+
No. admitted with Hypoglycemia
|
|
1228
|
+
</td>
|
|
1203
1229
|
<td className={styles.darkBorder}></td>
|
|
1204
1230
|
<td className={styles.darkBorder}></td>
|
|
1205
1231
|
<td className={styles.darkBorder}></td>
|
|
1206
1232
|
</tr>
|
|
1207
1233
|
<tr>
|
|
1208
|
-
<td className=
|
|
1234
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>No. admitted with Stroke</td>
|
|
1209
1235
|
<td className={styles.darkBorder}></td>
|
|
1210
1236
|
<td className={styles.darkBorder}></td>
|
|
1211
1237
|
<td className={styles.darkBorder}></td>
|
|
1212
1238
|
</tr>
|
|
1213
1239
|
<tr>
|
|
1214
|
-
<td className=
|
|
1240
|
+
<td className={classNames(styles.darkBorder, styles.indent)}>
|
|
1241
|
+
No. admitted with hypertension urgency/emergency
|
|
1242
|
+
</td>
|
|
1215
1243
|
<td className={styles.darkBorder}></td>
|
|
1216
1244
|
<td className={styles.darkBorder}></td>
|
|
1217
1245
|
<td className={styles.darkBorder}></td>
|
|
@@ -1233,11 +1261,21 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
1233
1261
|
</table>
|
|
1234
1262
|
|
|
1235
1263
|
<div className={styles.signOff}>
|
|
1236
|
-
|
|
1264
|
+
<span>Report compiled by:</span>
|
|
1265
|
+
<span>Name</span>
|
|
1266
|
+
<span>Designation</span>
|
|
1267
|
+
<span>Signature</span>
|
|
1268
|
+
<span>Date</span>
|
|
1269
|
+
|
|
1270
|
+
<span />
|
|
1271
|
+
<span className={styles.signOffRule}>{compiledBy}</span>
|
|
1272
|
+
<span className={styles.signOffRule} />
|
|
1273
|
+
<span className={styles.signOffRule} />
|
|
1274
|
+
<span className={styles.signOffRule}>{compiledOn}</span>
|
|
1237
1275
|
</div>
|
|
1238
|
-
|
|
1276
|
+
</ReportPage>
|
|
1239
1277
|
) : (
|
|
1240
|
-
|
|
1278
|
+
<ReportPlaceholder reportName="MOH-740" isEmptyResult={hasGenerated} />
|
|
1241
1279
|
)}
|
|
1242
1280
|
</>
|
|
1243
1281
|
)}
|
|
@@ -1246,21 +1284,14 @@ const Moh740Report: React.FC<Moh740ReportProps> = () => {
|
|
|
1246
1284
|
) : (
|
|
1247
1285
|
<></>
|
|
1248
1286
|
)}
|
|
1249
|
-
{view === 'register'
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
reportingMonth={reportingMonth}
|
|
1258
|
-
indicators={selectedIndicator}
|
|
1259
|
-
register={registerType}
|
|
1260
|
-
/>
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
</>
|
|
1287
|
+
{view === 'register' && locationUuid && reportingMonth && selectedIndicator && registerType ? (
|
|
1288
|
+
<Moh740PatientList
|
|
1289
|
+
locationUuid={locationUuid}
|
|
1290
|
+
reportingMonth={reportingMonth}
|
|
1291
|
+
indicators={selectedIndicator}
|
|
1292
|
+
register={registerType}
|
|
1293
|
+
onBack={handleBackToReport}
|
|
1294
|
+
/>
|
|
1264
1295
|
) : (
|
|
1265
1296
|
<></>
|
|
1266
1297
|
)}
|