@ampath/esm-reports-app 1.0.0-next.8 → 1.0.0-next.81
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/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/299.js +2 -0
- package/dist/299.js.LICENSE.txt +3 -0
- package/dist/299.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/354.js +2 -0
- package/dist/354.js.LICENSE.txt +20 -0
- package/dist/354.js.map +1 -0
- package/dist/410.js +1 -0
- package/dist/410.js.map +1 -0
- package/dist/457.js +2 -0
- package/dist/457.js.LICENSE.txt +261 -0
- package/dist/457.js.map +1 -0
- package/dist/478.js +1 -1
- package/dist/478.js.map +1 -1
- package/dist/480.js +1 -0
- package/dist/540.js +1 -1
- package/dist/540.js.map +1 -1
- package/dist/549.css +1 -0
- package/dist/549.css.map +1 -0
- package/dist/549.js +1 -0
- package/dist/549.js.map +1 -0
- package/dist/55.js +1 -1
- package/dist/600.js +2 -0
- package/dist/600.js.LICENSE.txt +35 -0
- package/dist/600.js.map +1 -0
- package/dist/652.js +1 -1
- package/dist/757.js +1 -0
- package/dist/757.js.map +1 -0
- package/dist/781.js +1 -0
- package/dist/781.js.map +1 -0
- package/dist/961.js +1 -1
- package/dist/961.js.map +1 -1
- package/dist/99.js +1 -1
- package/dist/99.js.map +1 -0
- 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 +4 -2
- package/src/common/daily-summary-table.tsx +55 -0
- package/src/common/linelist-table/index.ts +3 -0
- package/src/common/linelist-table/linelist-columns.ts +48 -0
- package/src/common/linelist-table/linelist-table.component.tsx +442 -0
- package/src/common/linelist-table/linelist-table.scss +306 -0
- package/src/common/linelist-table/linelist-table.test.tsx +120 -0
- package/src/common/linelist-table/use-all-rows.ts +93 -0
- package/src/common/linelist-table/use-column-layout.ts +123 -0
- 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 +317 -99
- package/src/common/report-filters/report-filters.scss +264 -32
- package/src/common/report-filters/types.ts +79 -0
- package/src/common/report-filters/use-restore-period.ts +43 -0
- package/src/common/report-header/index.ts +1 -0
- package/src/common/report-header/use-location-details.ts +58 -0
- package/src/common/report-page/download-sheet-pdf.ts +225 -0
- package/src/common/report-page/index.ts +3 -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 +60 -0
- package/src/common/report-placeholder/has-report-data.ts +15 -0
- package/src/common/report-placeholder/index.ts +3 -0
- package/src/common/report-placeholder/report-placeholder.component.tsx +81 -0
- package/src/common/report-placeholder/report-placeholder.scss +48 -0
- package/src/common/report-placeholder/use-generated-location.ts +62 -0
- package/src/common/report-register/index.ts +6 -0
- package/src/common/report-register/register-columns.ts +46 -0
- package/src/common/report-register/register-layout.component.tsx +265 -0
- package/src/common/report-register/register-layout.scss +150 -0
- package/src/common/report-register/register-table.scss +71 -0
- package/src/common/report-register/report-parents.ts +29 -0
- package/src/common/report-register/rows-to-csv.ts +89 -0
- package/src/common/report-register/use-location-name.ts +54 -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 +191 -0
- package/src/dashboard/reports-dasboard.tsx +189 -18
- package/src/dashboard/reports-dashboard.module.scss +357 -14
- package/src/index.ts +13 -1
- package/src/registers/moh-240/moh-240-register.scss +41 -0
- package/src/registers/moh-240/moh-240.component.test.tsx +166 -0
- package/src/registers/moh-240/moh-240.component.tsx +164 -0
- package/src/registers/moh-267/moh-267-register.component.tsx +407 -0
- package/src/registers/moh-267/moh-267-register.scss +298 -0
- package/src/registers/moh-267/moh-267-summary.ts +102 -0
- package/src/registers/moh-267/moh-267.component.tsx +94 -0
- package/src/registers/moh-267/moh-267.types.ts +47 -0
- package/src/registers/moh-362/moh-362-lab-register.component.tsx +551 -0
- package/src/registers/moh-362/moh-362-lab-register.scss +412 -0
- package/src/registers/moh-362/moh-362-linkage-register.component.tsx +215 -0
- package/src/registers/moh-362/moh-362-linkage-register.scss +91 -0
- package/src/registers/moh-362/moh-362.component.tsx +117 -0
- package/src/registers/moh-362/moh-362.scss +11 -0
- package/src/registers/moh-362/moh-362.types.ts +87 -0
- package/src/registers/presumptive-tb/presumptive-tb-register.component.tsx +391 -0
- package/src/registers/presumptive-tb/presumptive-tb-register.scss +262 -0
- package/src/registers/presumptive-tb/presumptive-tb.component.tsx +92 -0
- package/src/registers/presumptive-tb/presumptive-tb.types.ts +88 -0
- package/src/registers/register-catalog.ts +202 -0
- package/src/registers/register-file-name.ts +18 -0
- package/src/registers/tb-lab-register/tb-lab-register-table.component.tsx +116 -0
- package/src/registers/tb-lab-register/tb-lab-register-table.scss +123 -0
- package/src/registers/tb-lab-register/tb-lab-register.columns.ts +164 -0
- package/src/registers/tb-lab-register/tb-lab-register.component.test.tsx +232 -0
- package/src/registers/tb-lab-register/tb-lab-register.component.tsx +153 -0
- package/src/registers/tb4/tb4-parts.tsx +164 -0
- package/src/registers/tb4/tb4-patient-sheet.component.tsx +418 -0
- package/src/registers/tb4/tb4-register.scss +282 -0
- package/src/registers/tb4/tb4-treatment-sheet.component.tsx +349 -0
- package/src/registers/tb4/tb4.component.tsx +120 -0
- package/src/registers/tb4/tb4.types.ts +129 -0
- package/src/reports/acf-summary/acf-summary-form.component.tsx +176 -0
- package/src/reports/acf-summary/acf-summary-linelist.component.tsx +86 -0
- package/src/reports/acf-summary/acf-summary.component.tsx +97 -0
- package/src/reports/acf-summary/acf-summary.counts.ts +37 -0
- package/src/reports/acf-summary/acf-summary.scss +162 -0
- package/src/reports/datatable-wrapper/datatable-wrapper.component.tsx +63 -48
- package/src/reports/moh-240/moh-240-header.component.tsx +62 -0
- package/src/reports/moh-240/moh-240.columns.ts +113 -0
- package/src/reports/moh-240/moh-240.component.tsx +72 -9
- package/src/reports/moh-240/moh-240.scss +40 -0
- package/src/reports/moh-240/sub-reports/moh-240-register.component.tsx +31 -37
- package/src/reports/moh-240/sub-reports/page-summary.component.tsx +143 -106
- package/src/reports/moh-505/moh-505-header.component.tsx +67 -0
- package/src/reports/moh-505/moh-505.component.tsx +441 -0
- package/src/reports/moh-505/moh-505.scss +117 -0
- package/src/reports/moh-705B/moh-204b-register.component.tsx +246 -0
- package/src/reports/moh-705B/moh-204b.columns.ts +39 -0
- package/src/reports/moh-705B/moh-705b.component.tsx +659 -0
- package/src/reports/moh-705B/moh-705b.scss +172 -0
- package/src/reports/moh-705a/moh-705a.component.tsx +661 -0
- package/src/reports/moh-705a/moh-705a.scss +172 -0
- package/src/reports/moh-705a/registers/moh-204a-register.component.tsx +331 -0
- package/src/reports/moh-705a/registers/moh-204a.columns.ts +57 -0
- package/src/reports/moh-705a/type.ts +6 -0
- package/src/reports/moh-706/moh-706-header.component.tsx +66 -0
- package/src/reports/moh-706/moh-706.component.tsx +150 -24
- package/src/reports/moh-706/moh-706.scss +119 -11
- package/src/reports/moh-706/sub-reports/bacteriology/bacteriology.component.tsx +35 -28
- package/src/reports/moh-706/sub-reports/blood-chemistry/blood-chemistry.component.tsx +229 -305
- package/src/reports/moh-706/sub-reports/haematology/haematology.component.tsx +26 -19
- package/src/reports/moh-706/sub-reports/histology-and-cytology/histology-and-cytology.component.tsx +23 -23
- package/src/reports/moh-706/sub-reports/parasitology/parasitology.component.tsx +25 -18
- package/src/reports/moh-706/sub-reports/serology/serology.component.tsx +21 -14
- package/src/reports/moh-706/sub-reports/specimen-referral-to-higher-levels/specimen-referral-to-higher-levels.component.tsx +2 -2
- package/src/reports/moh-706/sub-reports/urine-analysis/urine-analysis.component.tsx +27 -20
- package/src/reports/moh-710/moh-710.component.tsx +815 -632
- package/src/reports/moh-710/moh-710.scss +142 -21
- package/src/reports/moh-710/registers/moh-413/moh-413-columns.ts +22 -0
- package/src/reports/moh-710/registers/moh-413/moh-413.component.tsx +140 -0
- package/src/reports/moh-710/registers/moh-413/moh-413.scss +64 -0
- package/src/reports/moh-710/registers/moh-510/moh-510.columns.ts +40 -0
- package/src/reports/moh-710/registers/moh-510/moh-510.component.tsx +191 -0
- package/src/reports/moh-710/registers/moh-510/moh-510.scss +130 -0
- package/src/reports/moh-710/registers/moh-511-710-register.component.tsx +268 -0
- package/src/reports/moh-710/registers/moh-511-710.columns.ts +52 -0
- package/src/reports/moh-710/registers/type.ts +31 -0
- package/src/reports/moh-711/moh-711.component.tsx +153 -1269
- package/src/reports/moh-711/moh711.scss +135 -20
- package/src/reports/moh-711/registers/moh-333-register.component.tsx +680 -0
- package/src/reports/moh-711/registers/moh-333.columns.ts +119 -0
- package/src/reports/moh-711/registers/moh-405-register.component.tsx +566 -0
- package/src/reports/moh-711/registers/moh-405.columns.ts +120 -0
- package/src/reports/moh-711/registers/moh-406-register.component.tsx +581 -0
- package/src/reports/moh-711/registers/moh-406.columns.ts +133 -0
- package/src/reports/moh-711/registers/moh-407-register.component.tsx +157 -0
- package/src/reports/moh-711/registers/moh-407.columns.ts +24 -0
- package/src/reports/moh-711/registers/moh-407.scss +64 -0
- package/src/reports/moh-711/registers/moh-510-register.component.tsx +55 -0
- package/src/reports/moh-711/registers/moh-511-register.component.tsx +270 -0
- package/src/reports/moh-711/registers/moh-511.columns.ts +59 -0
- package/src/reports/moh-711/registers/moh-512-columns.ts +94 -0
- package/src/reports/moh-711/registers/moh-512.component.tsx +191 -0
- package/src/reports/moh-711/registers/moh-512.scss +64 -0
- package/src/reports/moh-711/registers/tb-register-columns.ts +17 -0
- package/src/reports/moh-711/registers/tb-register.component.tsx +96 -0
- package/src/reports/moh-711/registers/tb-register.scss +64 -0
- package/src/reports/moh-711/registers/type.ts +192 -0
- package/src/reports/moh-711/sections/anc.component.tsx +159 -0
- package/src/reports/moh-711/sections/cervical-cancer.component.tsx +148 -0
- package/src/reports/moh-711/sections/chanis.component.tsx +389 -0
- package/src/reports/moh-711/sections/family-planning.component.tsx +299 -0
- package/src/reports/moh-711/sections/gbv.component.tsx +115 -0
- package/src/reports/moh-711/sections/maternity.component.tsx +321 -0
- package/src/reports/moh-711/sections/medical-social-work.component.tsx +73 -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 +127 -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 +50 -0
- package/src/reports/moh-711/sections/tb-screening.component.tsx +94 -0
- package/src/reports/moh-717/moh-717.component.tsx +149 -985
- package/src/reports/moh-717/moh717.scss +217 -21
- package/src/reports/moh-717/registers/nutrition-register.component.tsx +48 -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 +126 -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 +597 -0
- package/src/reports/moh-717/sections/pharmacy.component.tsx +43 -0
- package/src/reports/moh-717/sections/preparedby.component.tsx +52 -0
- package/src/reports/moh-717/sections/special-services.component.tsx +114 -0
- package/src/reports/moh-729b/moh-729b-form.component.tsx +385 -0
- package/src/reports/moh-729b/moh-729b-linelist.component.tsx +205 -0
- package/src/reports/moh-729b/moh-729b-summary.component.tsx +258 -0
- package/src/reports/moh-729b/moh-729b-summary.config.ts +229 -0
- package/src/reports/moh-729b/moh-729b.component.tsx +157 -0
- package/src/reports/moh-729b/moh-729b.config.ts +235 -0
- package/src/reports/moh-729b/moh-729b.scss +276 -0
- package/src/reports/moh-729b/moh-729b.types.ts +111 -0
- package/src/reports/moh-731/linelist/moh-731-indicators.ts +1122 -0
- package/src/reports/moh-731/linelist/moh-731-linelist-sections.ts +472 -0
- package/src/reports/moh-731/linelist/moh-731-linelist.component.tsx +102 -0
- package/src/reports/moh-731/linelist/use-open-moh-731-linelist.ts +50 -0
- package/src/reports/moh-731/moh-731.component.tsx +269 -0
- package/src/reports/moh-731/moh-731.scss +496 -0
- package/src/reports/moh-731/registers/moh-366.columns.ts +38 -0
- package/src/reports/moh-731/registers/moh-366.component.tsx +471 -0
- package/src/reports/moh-731/registers/prep-register.component.tsx +284 -0
- package/src/reports/moh-731/registers/prep.columns.ts +34 -0
- package/src/reports/moh-731/sections/hiv-and-tb-treatment.component.tsx +1206 -0
- package/src/reports/moh-731/sections/hiv-testing-and-pre-exposure.component.tsx +727 -0
- package/src/reports/moh-731/sections/pmtct.component.tsx +572 -0
- package/src/reports/moh-731/summary/moh-731-summary.component.tsx +313 -0
- package/src/reports/moh-731/summary/moh-731-summary.config.ts +527 -0
- package/src/reports/moh-731/summary/moh-731-summary.scss +247 -0
- package/src/reports/moh-740/moh-740.component.scss +202 -0
- package/src/reports/moh-740/moh-740.component.tsx +1339 -0
- package/src/reports/moh-740/moh-740.resource.ts +54 -0
- package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.scss +20 -0
- package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.tsx +183 -0
- package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.scss +6 -0
- package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.tsx +151 -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 +60 -0
- package/src/reports/moh-740/registers/moh-740.columns.ts +54 -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/shared/utils/indicator-register-map.ts +159 -0
- package/src/reports/moh-740/types/index.ts +223 -0
- package/src/reports/moh-745/moh-745.component.tsx +2058 -0
- package/src/reports/moh-745/moh-745.scss +142 -0
- package/src/reports/moh-745/registers/moh-412-register.component.scss +6 -0
- package/src/reports/moh-745/registers/moh-412-register.component.tsx +275 -0
- package/src/reports/moh-745/registers/moh-412.columns.ts +52 -0
- package/src/reports/moh-745/registers/type.ts +223 -0
- package/src/reports/table-wrapper/table-row-mapper.component.tsx +20 -5
- 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-267.resource.ts +27 -0
- package/src/resources/moh-362.resource.ts +27 -0
- package/src/resources/moh-505.resource.ts +69 -0
- package/src/resources/moh-705.resource.ts +118 -0
- package/src/resources/moh-706.resource.ts +80 -0
- package/src/resources/moh-710.resource.ts +60 -9
- package/src/resources/moh-711.resource.ts +206 -9
- package/src/resources/moh-717.resource.ts +26 -9
- package/src/resources/moh-729b.resource.ts +25 -0
- package/src/resources/moh-731.resource.ts +90 -0
- package/src/resources/moh-745.resource.ts +76 -0
- package/src/resources/patient-list-page.ts +66 -0
- package/src/resources/presumptive-tb.resource.ts +27 -0
- package/src/root.component.tsx +79 -8
- package/src/root.scss +36 -0
- package/src/routes.json +3 -1
- package/src/utils/format-indicator.ts +39 -0
- package/src/utils/get-base-url.ts +39 -7
- package/src/utils/utils.ts +30 -1
- package/tsconfig.json +1 -1
- package/webpack.config.js +22 -1
- package/dist/138.js +0 -2
- package/dist/138.js.LICENSE.txt +0 -20
- package/dist/138.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/879.js +0 -1
- package/dist/879.js.map +0 -1
- package/dist/ampath-esm-reports-app.js.buildmanifest.json +0 -539
- package/dist/main.js +0 -1
- package/dist/main.js.map +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type RegisterColumn } from '../../../common/report-register/register-columns';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* MOH 204A as the register prints it: one column per cell, in the order they appear.
|
|
5
|
+
*/
|
|
6
|
+
export const TBExportColumns: RegisterColumn[] = [
|
|
7
|
+
{ header: 'Date (DD/MM/YYYY) - A', value: (row) => row.date ?? '' },
|
|
8
|
+
{
|
|
9
|
+
header: 'CR Number - B',
|
|
10
|
+
value: (row) => row.child_number ?? '',
|
|
11
|
+
},
|
|
12
|
+
{ header: 'TB Screening - C', value: (row) => row.child_names ?? '' },
|
|
13
|
+
{ header: 'TB Status - D', value: (row) => row.sex ?? '' },
|
|
14
|
+
{ header: 'Date of Birth - E', value: (row) => row.date_of_birth ?? '' },
|
|
15
|
+
{ header: 'Gender - F', value: (row) => row.date_first_seen ?? '' },
|
|
16
|
+
{ header: 'TCA - F', value: (row) => row.date_first_seen ?? '' },
|
|
17
|
+
];
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { useSearchParams } from 'react-router-dom';
|
|
3
|
+
import { RegisterLayout, usePatientList } from '../../../common/report-register';
|
|
4
|
+
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@carbon/react';
|
|
5
|
+
import classNames from 'classnames';
|
|
6
|
+
import dayjs from 'dayjs';
|
|
7
|
+
|
|
8
|
+
import styles from './tb-register.scss';
|
|
9
|
+
import { TBExportColumns } from './tb-register-columns';
|
|
10
|
+
import { getTBPatientList } from '../../../resources/moh-711.resource';
|
|
11
|
+
|
|
12
|
+
interface TbRegisterComponentProps {}
|
|
13
|
+
|
|
14
|
+
const TbRegisterComponent: React.FC<TbRegisterComponentProps> = () => {
|
|
15
|
+
const [searchParams] = useSearchParams();
|
|
16
|
+
const startDate = searchParams.get('startDate');
|
|
17
|
+
const endDate = searchParams.get('endDate');
|
|
18
|
+
const locationUuids = searchParams.get('locationUuids');
|
|
19
|
+
const indicator = searchParams.get('indicator');
|
|
20
|
+
|
|
21
|
+
const {
|
|
22
|
+
rows: patientlist,
|
|
23
|
+
total,
|
|
24
|
+
isTotalExact,
|
|
25
|
+
isLoading,
|
|
26
|
+
page,
|
|
27
|
+
pageSize,
|
|
28
|
+
onPageChange,
|
|
29
|
+
fetchAll,
|
|
30
|
+
} = usePatientList(
|
|
31
|
+
({ startIndex, limit }) =>
|
|
32
|
+
getTBPatientList({
|
|
33
|
+
startDate: startDate!,
|
|
34
|
+
endDate: endDate!,
|
|
35
|
+
locationUuids: locationUuids!,
|
|
36
|
+
indicator: indicator!,
|
|
37
|
+
startIndex,
|
|
38
|
+
limit,
|
|
39
|
+
reportName: 'moh711Report',
|
|
40
|
+
}),
|
|
41
|
+
[startDate, endDate, locationUuids, indicator],
|
|
42
|
+
);
|
|
43
|
+
return (
|
|
44
|
+
<RegisterLayout
|
|
45
|
+
parentLabel="MOH-711 Report"
|
|
46
|
+
parentPath="/moh-711"
|
|
47
|
+
title="TB Register"
|
|
48
|
+
isLoading={isLoading}
|
|
49
|
+
isEmpty={patientlist.length === 0}
|
|
50
|
+
page={page}
|
|
51
|
+
pageSize={pageSize}
|
|
52
|
+
total={total}
|
|
53
|
+
isTotalExact={isTotalExact}
|
|
54
|
+
onPageChange={onPageChange}
|
|
55
|
+
fetchAll={fetchAll}
|
|
56
|
+
columns={TBExportColumns}
|
|
57
|
+
>
|
|
58
|
+
<div className={styles.tableContainer}>
|
|
59
|
+
<Table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
|
|
60
|
+
<TableHead>
|
|
61
|
+
<TableRow>
|
|
62
|
+
<TableHeader>Date</TableHeader>
|
|
63
|
+
<TableHeader>CR No</TableHeader>
|
|
64
|
+
<TableHeader>DOB</TableHeader>
|
|
65
|
+
<TableHeader>Gender</TableHeader>
|
|
66
|
+
<TableHeader>TB Screening</TableHeader>
|
|
67
|
+
<TableHeader>TCA</TableHeader>
|
|
68
|
+
</TableRow>
|
|
69
|
+
</TableHead>
|
|
70
|
+
<TableBody>
|
|
71
|
+
{patientlist?.length > 0 ? (
|
|
72
|
+
patientlist?.map((patient, i) => (
|
|
73
|
+
<TableRow key={patient.person_id || patient.id}>
|
|
74
|
+
<TableCell>{patient.date ? dayjs(patient.date).format('YYYY-MM-DD') : ''}</TableCell>
|
|
75
|
+
<TableCell>{patient.cr_id}</TableCell>
|
|
76
|
+
<TableCell>
|
|
77
|
+
{patient.date_of_birth ? dayjs(patient.date_of_birth).format('YYYY-MM-DD') : ''}
|
|
78
|
+
</TableCell>
|
|
79
|
+
<TableCell>{patient.gender}</TableCell>
|
|
80
|
+
<TableCell>{patient.tb_screening}</TableCell>
|
|
81
|
+
<TableCell>{patient.rtc}</TableCell>
|
|
82
|
+
</TableRow>
|
|
83
|
+
))
|
|
84
|
+
) : (
|
|
85
|
+
<TableRow>
|
|
86
|
+
<TableCell colSpan={28}>No data available</TableCell>
|
|
87
|
+
</TableRow>
|
|
88
|
+
)}
|
|
89
|
+
</TableBody>
|
|
90
|
+
</Table>
|
|
91
|
+
</div>
|
|
92
|
+
</RegisterLayout>
|
|
93
|
+
);
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export default TbRegisterComponent;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
@use '@openmrs/esm-styleguide/src/vars' as *;
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.tableContainer {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* Sized to content rather than to the frame, so a long value -- a full name,
|
|
9
|
+
say -- widens its own column instead of wrapping. `.tableScroll` in the
|
|
10
|
+
layout scrolls when the table outgrows the page. */
|
|
11
|
+
|
|
12
|
+
.table {
|
|
13
|
+
width: auto;
|
|
14
|
+
min-width: 100%;
|
|
15
|
+
margin: 0;
|
|
16
|
+
font-size: 0.75rem;
|
|
17
|
+
border-collapse: collapse;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.tableBordered td,
|
|
21
|
+
.tableBordered th {
|
|
22
|
+
padding: 0.125rem 0.5rem;
|
|
23
|
+
font-size: 0.75rem;
|
|
24
|
+
line-height: 1.3;
|
|
25
|
+
border: 1px solid $ui-04;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.tableBordered th {
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
color: $color-gray-100;
|
|
31
|
+
background-color: $ui-01;
|
|
32
|
+
/* headings carry deliberate line breaks, so they wrap where the markup says */
|
|
33
|
+
white-space: normal;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.tableBordered td {
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Long prose columns (diagnoses, referrals, comments) wrap inside a bounded
|
|
41
|
+
width instead of stretching the row past the fold. */
|
|
42
|
+
.tableBordered td.wrapCell {
|
|
43
|
+
white-space: normal;
|
|
44
|
+
min-width: 8rem;
|
|
45
|
+
max-width: 16rem;
|
|
46
|
+
overflow-wrap: anywhere;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.tableStriped tbody tr:nth-of-type(odd) {
|
|
50
|
+
background-color: $ui-01;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.tableStriped tbody tr:hover {
|
|
54
|
+
background-color: $brand-primary-10;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.textCentre {
|
|
58
|
+
text-align: center;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.verticalText {
|
|
62
|
+
writing-mode: vertical-rl;
|
|
63
|
+
transform: rotate(180deg);
|
|
64
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
export const moh406Columns = [
|
|
2
|
+
'date_of_visit',
|
|
3
|
+
'pnc_number_new_visit',
|
|
4
|
+
'pnc_number_revisit',
|
|
5
|
+
'amrs_id',
|
|
6
|
+
'full_name',
|
|
7
|
+
'date_of_birth',
|
|
8
|
+
'county_subcounty',
|
|
9
|
+
'village_estate_landmark',
|
|
10
|
+
'marital_status',
|
|
11
|
+
'parity',
|
|
12
|
+
'gravidae',
|
|
13
|
+
'lmp',
|
|
14
|
+
'edd',
|
|
15
|
+
'gestation_weeks',
|
|
16
|
+
'muac',
|
|
17
|
+
'height',
|
|
18
|
+
'weight',
|
|
19
|
+
'blood_pressure',
|
|
20
|
+
'breast_exam',
|
|
21
|
+
'uterus',
|
|
22
|
+
'pph',
|
|
23
|
+
'c_section_site',
|
|
24
|
+
'lochia',
|
|
25
|
+
'episiotomy',
|
|
26
|
+
'fistula',
|
|
27
|
+
'tb_screening',
|
|
28
|
+
'hiv_tested_pnc',
|
|
29
|
+
'hiv_test_1',
|
|
30
|
+
'hiv_test_2',
|
|
31
|
+
'hiv_test_3',
|
|
32
|
+
'hiv_result_pnc',
|
|
33
|
+
'hiv_6wks',
|
|
34
|
+
'hiv_gt6wks',
|
|
35
|
+
'infant_result',
|
|
36
|
+
'mother_result',
|
|
37
|
+
'cervical_cancer_screening',
|
|
38
|
+
'family_planning',
|
|
39
|
+
'other_complications',
|
|
40
|
+
'haematinics',
|
|
41
|
+
'referral_from',
|
|
42
|
+
'referral_to',
|
|
43
|
+
'referral_reason',
|
|
44
|
+
'remarks',
|
|
45
|
+
];
|
|
46
|
+
export const moh511Columns = [
|
|
47
|
+
'serial_no',
|
|
48
|
+
'visit_date',
|
|
49
|
+
'cwc_number_new',
|
|
50
|
+
'cwc_number_revisit',
|
|
51
|
+
'birth_notification_number',
|
|
52
|
+
'full_name',
|
|
53
|
+
'age',
|
|
54
|
+
'sex',
|
|
55
|
+
'county_sub_county',
|
|
56
|
+
'village_estate_landmark',
|
|
57
|
+
'phone_number',
|
|
58
|
+
'weight_kg',
|
|
59
|
+
'weight_category',
|
|
60
|
+
'height',
|
|
61
|
+
'height_category',
|
|
62
|
+
'muac',
|
|
63
|
+
'exclusive_breastfeeding_less_6_months',
|
|
64
|
+
'vitamin_A_supplementation',
|
|
65
|
+
'dewormed',
|
|
66
|
+
'mnps_supplimentation',
|
|
67
|
+
'developmental_milestones',
|
|
68
|
+
'danger_signs',
|
|
69
|
+
'disability',
|
|
70
|
+
'immunization_status_up_to_date',
|
|
71
|
+
'llin_supplimentation_given',
|
|
72
|
+
'follow_up',
|
|
73
|
+
'referred_from',
|
|
74
|
+
'referred_to',
|
|
75
|
+
'reason_for_referral',
|
|
76
|
+
'remarks',
|
|
77
|
+
];
|
|
78
|
+
export const moh405Columns = [
|
|
79
|
+
'date_of_visit',
|
|
80
|
+
'anc_number_new',
|
|
81
|
+
'anc_number_revisit',
|
|
82
|
+
'amrs_id',
|
|
83
|
+
'visit_number',
|
|
84
|
+
'full_name',
|
|
85
|
+
'date_of_birth',
|
|
86
|
+
'subcounty_county',
|
|
87
|
+
'village_estate',
|
|
88
|
+
'marital_status',
|
|
89
|
+
'parity',
|
|
90
|
+
'gravidae',
|
|
91
|
+
'lmp',
|
|
92
|
+
'edd',
|
|
93
|
+
'gestation_weeks',
|
|
94
|
+
'muac',
|
|
95
|
+
'height',
|
|
96
|
+
'weight',
|
|
97
|
+
'blood_pressure',
|
|
98
|
+
'breast_exam',
|
|
99
|
+
'fgm',
|
|
100
|
+
'hb_level',
|
|
101
|
+
'blood_sugar',
|
|
102
|
+
'blood_group',
|
|
103
|
+
'urinalysis',
|
|
104
|
+
'syphilis_test',
|
|
105
|
+
'hepatitis_b',
|
|
106
|
+
'tb_screening',
|
|
107
|
+
'hiv_testing_type',
|
|
108
|
+
'hiv_test_1',
|
|
109
|
+
'hiv_test_2',
|
|
110
|
+
'hiv_test_3',
|
|
111
|
+
'hiv_results',
|
|
112
|
+
'haart',
|
|
113
|
+
'infant_prophylaxis',
|
|
114
|
+
'partner_testing',
|
|
115
|
+
'other_conditions',
|
|
116
|
+
'deworming',
|
|
117
|
+
'ipt',
|
|
118
|
+
'tt_dose',
|
|
119
|
+
'supplementation',
|
|
120
|
+
'llitn',
|
|
121
|
+
'referral_from',
|
|
122
|
+
'referral_to',
|
|
123
|
+
'referral_reason',
|
|
124
|
+
'remarks',
|
|
125
|
+
];
|
|
126
|
+
export const moh333Columns = [
|
|
127
|
+
'date_of_admission',
|
|
128
|
+
'amrsid',
|
|
129
|
+
'admission_number',
|
|
130
|
+
'full_name',
|
|
131
|
+
'date_of_birth',
|
|
132
|
+
'county_subcounty',
|
|
133
|
+
'village_landmark',
|
|
134
|
+
'marital_status',
|
|
135
|
+
'parity',
|
|
136
|
+
'gravidae',
|
|
137
|
+
'anc_visits',
|
|
138
|
+
'lmp',
|
|
139
|
+
'edd',
|
|
140
|
+
'diagnosis',
|
|
141
|
+
|
|
142
|
+
// Delivery section
|
|
143
|
+
'nupi',
|
|
144
|
+
'age',
|
|
145
|
+
'phone_number',
|
|
146
|
+
'labour_duration',
|
|
147
|
+
'delivery_date',
|
|
148
|
+
'delivery_time',
|
|
149
|
+
'gestation_at_birth',
|
|
150
|
+
'mode_of_delivery',
|
|
151
|
+
'no_of_babies',
|
|
152
|
+
'placenta_complete',
|
|
153
|
+
'uterotonic_given',
|
|
154
|
+
'vaginal_examination',
|
|
155
|
+
'blood_loss',
|
|
156
|
+
'mother_status',
|
|
157
|
+
|
|
158
|
+
// Delivery complications / outcomes
|
|
159
|
+
'maternal_deaths_notified',
|
|
160
|
+
'delivery_complications',
|
|
161
|
+
'apgar_score',
|
|
162
|
+
'birth_outcome',
|
|
163
|
+
'birth_weight',
|
|
164
|
+
'sex',
|
|
165
|
+
|
|
166
|
+
// Baby care
|
|
167
|
+
'bf_in_1hr',
|
|
168
|
+
'teo_given',
|
|
169
|
+
'cord_chlorhexidine',
|
|
170
|
+
'birth_deformity',
|
|
171
|
+
'vitamin_k',
|
|
172
|
+
'pnc_status',
|
|
173
|
+
|
|
174
|
+
// HIV section
|
|
175
|
+
'hiv_test_1',
|
|
176
|
+
'hiv_test_2',
|
|
177
|
+
'hiv_test_3',
|
|
178
|
+
'hiv_result_maternity',
|
|
179
|
+
'start_at_maternity',
|
|
180
|
+
|
|
181
|
+
// Follow-up / referral
|
|
182
|
+
'kangaroo_mother_care',
|
|
183
|
+
'congenital_abnormalities',
|
|
184
|
+
'kit_name_1',
|
|
185
|
+
'kit_name_2',
|
|
186
|
+
'kit_name_3',
|
|
187
|
+
'hiv_initial_retest_status',
|
|
188
|
+
'maternal_treatment',
|
|
189
|
+
'referral_from',
|
|
190
|
+
'referral_to',
|
|
191
|
+
'reason_for_referral',
|
|
192
|
+
];
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import styles from '../moh711.scss';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
import { useLocation, useNavigate } from 'react-router-dom';
|
|
6
|
+
|
|
7
|
+
interface ANCComponentProps {
|
|
8
|
+
moh711Data: any;
|
|
9
|
+
startDate: string;
|
|
10
|
+
endDate: string;
|
|
11
|
+
locationUuids: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const ANCComponent: React.FC<ANCComponentProps> = ({ moh711Data, startDate, endDate, locationUuids }) => {
|
|
15
|
+
const navigate = useNavigate();
|
|
16
|
+
const location = useLocation();
|
|
17
|
+
const navigateToRegister = (indicator: string) => {
|
|
18
|
+
navigate(
|
|
19
|
+
`/moh-405-register?startDate=${startDate}&endDate=${endDate}&locationUuids=${locationUuids}&indicator=${indicator}&from=moh-711`,
|
|
20
|
+
{
|
|
21
|
+
state: {
|
|
22
|
+
from: location.pathname,
|
|
23
|
+
reportName: 'moh711Report',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
);
|
|
27
|
+
};
|
|
28
|
+
return (
|
|
29
|
+
<div className={styles.section}>
|
|
30
|
+
<table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
|
|
31
|
+
<thead>
|
|
32
|
+
<tr>
|
|
33
|
+
<th colSpan={3}>A. ANC/PMTCT</th>
|
|
34
|
+
<th>Total</th>
|
|
35
|
+
</tr>
|
|
36
|
+
</thead>
|
|
37
|
+
<tbody>
|
|
38
|
+
<tr>
|
|
39
|
+
<td>1</td>
|
|
40
|
+
<td rowSpan={2}>No. of ANC Clients</td>
|
|
41
|
+
<td>New</td>
|
|
42
|
+
<td onClick={() => navigateToRegister('new_anc_clients')}>{moh711Data.new_anc_clients}</td>
|
|
43
|
+
</tr>
|
|
44
|
+
<tr>
|
|
45
|
+
<td>2</td>
|
|
46
|
+
<td>Re-visit</td>
|
|
47
|
+
<td onClick={() => navigateToRegister('revisit_anc_clients')}>{moh711Data.revisit_anc_clients}</td>
|
|
48
|
+
</tr>
|
|
49
|
+
<tr>
|
|
50
|
+
<td>3</td>
|
|
51
|
+
<td colSpan={2}>No. of Clients given IPT (1st Dose)</td>
|
|
52
|
+
<td onClick={() => navigateToRegister('first_ipt_dose')}>{moh711Data.first_ipt_dose}</td>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr>
|
|
55
|
+
<td>4</td>
|
|
56
|
+
<td colSpan={2}>No. of Clients given IPT (2nd Dose)</td>
|
|
57
|
+
<td onClick={() => navigateToRegister('second_ipt_dose')}>{moh711Data.second_ipt_dose}</td>
|
|
58
|
+
</tr>
|
|
59
|
+
<tr>
|
|
60
|
+
<td>5</td>
|
|
61
|
+
<td colSpan={2}>No. of Clients given IPT (3rd Dose)</td>
|
|
62
|
+
<td onClick={() => navigateToRegister('third_ipt_dose')}>{moh711Data.third_ipt_dose}</td>
|
|
63
|
+
</tr>
|
|
64
|
+
<tr>
|
|
65
|
+
<td>6</td>
|
|
66
|
+
<td colSpan={2}>No. of Clients with Hb<11g/dl</td>
|
|
67
|
+
<td onClick={() => navigateToRegister('Hb_less_11g')}>{moh711Data.Hb_less_11g}</td>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr>
|
|
70
|
+
<td>7</td>
|
|
71
|
+
<td colSpan={2}>No. clients with 1st ANC contact at 12 or less weeks</td>
|
|
72
|
+
<td onClick={() => navigateToRegister('first_anc_contact_12_or_less_weeks')}>
|
|
73
|
+
{moh711Data.first_anc_contact_12_or_less_weeks}
|
|
74
|
+
</td>
|
|
75
|
+
</tr>
|
|
76
|
+
<tr>
|
|
77
|
+
<td>8</td>
|
|
78
|
+
<td colSpan={2}>Pregnant women completing 4th ANC Contacts</td>
|
|
79
|
+
<td onClick={() => navigateToRegister('completing_4_anc_visits')}>{moh711Data.completing_4_anc_visits}</td>
|
|
80
|
+
</tr>
|
|
81
|
+
<tr>
|
|
82
|
+
<td>9</td>
|
|
83
|
+
<td colSpan={2}>No. of clients completed 8th ANC Contacts</td>
|
|
84
|
+
<td onClick={() => navigateToRegister('completing_8_anc_contact')}>
|
|
85
|
+
{moh711Data.completing_8_anc_contact}
|
|
86
|
+
</td>
|
|
87
|
+
</tr>
|
|
88
|
+
<tr>
|
|
89
|
+
<td>10</td>
|
|
90
|
+
<td colSpan={2}>No. of LLINs distributed to under 1 year</td>
|
|
91
|
+
<td onClick={() => navigateToRegister('llins_children_less_than_one')}>
|
|
92
|
+
{moh711Data.llins_children_less_than_one}
|
|
93
|
+
</td>
|
|
94
|
+
</tr>
|
|
95
|
+
<tr>
|
|
96
|
+
<td>11</td>
|
|
97
|
+
<td colSpan={2}>No. of LLINs distributed to ANC clients</td>
|
|
98
|
+
<td onClick={() => navigateToRegister('llins_anc_clients')}>{moh711Data.llins_anc_clients}</td>
|
|
99
|
+
</tr>
|
|
100
|
+
<tr>
|
|
101
|
+
<td>12</td>
|
|
102
|
+
<td rowSpan={2}>No. of clients</td>
|
|
103
|
+
<td>Tested for Syphilis</td>
|
|
104
|
+
<td onClick={() => navigateToRegister('anc_clients_tested_syphilis')}>
|
|
105
|
+
{moh711Data.anc_clients_tested_syphilis}
|
|
106
|
+
</td>
|
|
107
|
+
</tr>
|
|
108
|
+
<tr>
|
|
109
|
+
<td>13</td>
|
|
110
|
+
<td>Positive (+ve)</td>
|
|
111
|
+
<td onClick={() => navigateToRegister('syphilis_positive')}> {moh711Data.syphilis_positive}</td>
|
|
112
|
+
</tr>
|
|
113
|
+
<tr>
|
|
114
|
+
<td>14</td>
|
|
115
|
+
<td colSpan={2}>Total Women Done Breast Examination</td>
|
|
116
|
+
<td onClick={() => navigateToRegister('breast_exam')}>{moh711Data.breast_exam}</td>
|
|
117
|
+
</tr>
|
|
118
|
+
<tr>
|
|
119
|
+
<td>15</td>
|
|
120
|
+
<td colSpan={2}>No. of adolescents (10-14 years) presenting with pregnancy at 1st ANC contact</td>
|
|
121
|
+
<td onClick={() => navigateToRegister('adolesc_10_14')}>{moh711Data.adolesc_10_14}</td>
|
|
122
|
+
</tr>
|
|
123
|
+
<tr>
|
|
124
|
+
<td>16</td>
|
|
125
|
+
<td colSpan={2}>No. of adolescents (15-19 years) presenting with pregnancy at 1st ANC contact</td>
|
|
126
|
+
<td onClick={() => navigateToRegister('adolesc_15_19')}>{moh711Data.adolesc_15_19}</td>
|
|
127
|
+
</tr>
|
|
128
|
+
<tr>
|
|
129
|
+
<td>17</td>
|
|
130
|
+
<td colSpan={2}>No. of youth (20-24 years) presenting with pregnancy at 1st ANC contact</td>
|
|
131
|
+
<td onClick={() => navigateToRegister('youth_20_24')}>{moh711Data.youth_20_24}</td>
|
|
132
|
+
</tr>
|
|
133
|
+
<tr>
|
|
134
|
+
<td>18</td>
|
|
135
|
+
<td colSpan={2}>No. of clients issued with Iron</td>
|
|
136
|
+
<td onClick={() => navigateToRegister('iron')}>{moh711Data.iron}</td>
|
|
137
|
+
</tr>
|
|
138
|
+
<tr>
|
|
139
|
+
<td>19</td>
|
|
140
|
+
<td colSpan={2}>No. of clients issued with Folic</td>
|
|
141
|
+
<td onClick={() => navigateToRegister('folic')}>{moh711Data.folic}</td>
|
|
142
|
+
</tr>
|
|
143
|
+
<tr>
|
|
144
|
+
<td>20</td>
|
|
145
|
+
<td colSpan={2}>No. of clients issued with Combined Ferrous Folate</td>
|
|
146
|
+
<td onClick={() => navigateToRegister('iron_and_folate')}>{moh711Data.iron_and_folate}</td>
|
|
147
|
+
</tr>
|
|
148
|
+
<tr>
|
|
149
|
+
<td>21</td>
|
|
150
|
+
<td colSpan={2}>No. of pregnant women presenting in ANC with complication associated with FGM</td>
|
|
151
|
+
<td onClick={() => navigateToRegister('fgm_complications')}>{moh711Data.fgm_complications}</td>
|
|
152
|
+
</tr>
|
|
153
|
+
</tbody>
|
|
154
|
+
</table>
|
|
155
|
+
</div>
|
|
156
|
+
);
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
export default ANCComponent;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import styles from '../moh711.scss';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
import { useNavigate } from 'react-router-dom';
|
|
6
|
+
|
|
7
|
+
interface CervicalCancerComponentProps {
|
|
8
|
+
moh711Data: any;
|
|
9
|
+
startDate: string;
|
|
10
|
+
endDate: string;
|
|
11
|
+
locationUuids: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const CervicalCancerComponent: React.FC<CervicalCancerComponentProps> = ({
|
|
15
|
+
moh711Data,
|
|
16
|
+
startDate,
|
|
17
|
+
endDate,
|
|
18
|
+
locationUuids,
|
|
19
|
+
}) => {
|
|
20
|
+
const navigate = useNavigate();
|
|
21
|
+
|
|
22
|
+
const navigateToRegister = (indicator: string) => {
|
|
23
|
+
navigate(
|
|
24
|
+
`/moh-412-register?startDate=${startDate}&endDate=${endDate}&locationUuids=${locationUuids}&indicator=${indicator}&from=moh-711`,
|
|
25
|
+
);
|
|
26
|
+
};
|
|
27
|
+
return (
|
|
28
|
+
<div className={styles.section}>
|
|
29
|
+
<table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
|
|
30
|
+
<thead>
|
|
31
|
+
<tr>
|
|
32
|
+
<th></th>
|
|
33
|
+
<th colSpan={4}>G. Cervical cancer screening</th>
|
|
34
|
+
</tr>
|
|
35
|
+
<tr>
|
|
36
|
+
<th></th>
|
|
37
|
+
<th className={styles.greyBackground}></th>
|
|
38
|
+
<th><25 yrs</th>
|
|
39
|
+
<th>25-49 Years</th>
|
|
40
|
+
<th>50+yrs</th>
|
|
41
|
+
</tr>
|
|
42
|
+
</thead>
|
|
43
|
+
<tbody>
|
|
44
|
+
<tr>
|
|
45
|
+
<td>1</td>
|
|
46
|
+
<td>No. of Clients receiving VIA/VILI/HPV VILI/HPV</td>
|
|
47
|
+
<td onClick={() => navigateToRegister('via_villi_hpv_less_25')}>{moh711Data.via_villi_hpv_less_25}</td>
|
|
48
|
+
<td onClick={() => navigateToRegister('via_villi_hpv_25_49')}>{moh711Data.via_villi_hpv_25_49}</td>
|
|
49
|
+
<td onClick={() => navigateToRegister('via_villi_hpv_50_above')}>{moh711Data.via_villi_hpv_50_above}</td>
|
|
50
|
+
</tr>
|
|
51
|
+
<tr>
|
|
52
|
+
<td>2</td>
|
|
53
|
+
<td>No. screened for Pap smear</td>
|
|
54
|
+
<td onClick={() => navigateToRegister('pap_smear_less_25')}>{moh711Data.pap_smear_less_25}</td>
|
|
55
|
+
<td onClick={() => navigateToRegister('pap_smear_25_49')}>{moh711Data.pap_smear_25_49}</td>
|
|
56
|
+
<td onClick={() => navigateToRegister('pap_smear_50_above')}>{moh711Data.pap_smear_50_above}</td>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr>
|
|
59
|
+
<td>3</td>
|
|
60
|
+
<td>No. screend for HPV test</td>
|
|
61
|
+
<td onClick={() => navigateToRegister('hpv_test_less_25')}>{moh711Data.hpv_test_less_25}</td>
|
|
62
|
+
<td onClick={() => navigateToRegister('hpv_test_25_49')}>{moh711Data.hpv_test_25_49}</td>
|
|
63
|
+
<td onClick={() => navigateToRegister('hpv_test_50_above')}>{moh711Data.hpv_test_50_above}</td>
|
|
64
|
+
</tr>
|
|
65
|
+
<tr>
|
|
66
|
+
<td>4</td>
|
|
67
|
+
<td>No. of clients with Positive VIA/VILI results</td>
|
|
68
|
+
<td onClick={() => navigateToRegister('positive_via_villi_less_25')}>
|
|
69
|
+
{moh711Data.positive_via_villi_less_25}
|
|
70
|
+
</td>
|
|
71
|
+
<td onClick={() => navigateToRegister('positive_via_villi_25_49')}>
|
|
72
|
+
{moh711Data.positive_via_villi_25_49}
|
|
73
|
+
</td>
|
|
74
|
+
<td onClick={() => navigateToRegister('positive_via_villi_50_above')}>
|
|
75
|
+
{moh711Data.positive_via_villi_50_above}
|
|
76
|
+
</td>
|
|
77
|
+
</tr>
|
|
78
|
+
<tr>
|
|
79
|
+
<td>5</td>
|
|
80
|
+
<td>No. of clients with Positive Cytology result</td>
|
|
81
|
+
<td onClick={() => navigateToRegister('positive_cytology_less_25')}>
|
|
82
|
+
{moh711Data.positive_cytology_less_25}
|
|
83
|
+
</td>
|
|
84
|
+
<td onClick={() => navigateToRegister('positive_cytology_25_49')}>{moh711Data.positive_cytology_25_49}</td>
|
|
85
|
+
<td onClick={() => navigateToRegister('positive_cytology_50_above')}>
|
|
86
|
+
{moh711Data.positive_cytology_50_above}
|
|
87
|
+
</td>
|
|
88
|
+
</tr>
|
|
89
|
+
<tr>
|
|
90
|
+
<td>6</td>
|
|
91
|
+
<td>No. of clients with Positive HPV results</td>
|
|
92
|
+
<td onClick={() => navigateToRegister('positive_hpv_less_25')}>{moh711Data.positive_hpv_less_25}</td>
|
|
93
|
+
<td onClick={() => navigateToRegister('positive_hpv_25_49')}>{moh711Data.positive_hpv_25_49}</td>
|
|
94
|
+
<td onClick={() => navigateToRegister('positive_hpv_50_above')}>{moh711Data.positive_hpv_50_above}</td>
|
|
95
|
+
</tr>
|
|
96
|
+
<tr>
|
|
97
|
+
<td>7</td>
|
|
98
|
+
<td>No. of clients with suspicious cancer lessions</td>
|
|
99
|
+
<td onClick={() => navigateToRegister('suspicious_cancer_lessions_less_25')}>
|
|
100
|
+
{moh711Data.suspicious_cancer_lessions_less_25}
|
|
101
|
+
</td>
|
|
102
|
+
<td onClick={() => navigateToRegister('suspicious_cancer_lessions_25_49')}>
|
|
103
|
+
{moh711Data.suspicious_cancer_lessions_25_49}
|
|
104
|
+
</td>
|
|
105
|
+
<td onClick={() => navigateToRegister('suspicious_cancer_lessions_50_above')}>
|
|
106
|
+
{moh711Data.suspicious_cancer_lessions_50_above}
|
|
107
|
+
</td>
|
|
108
|
+
</tr>
|
|
109
|
+
<tr>
|
|
110
|
+
<td>8</td>
|
|
111
|
+
<td>No. of clients treated using Cryotherapy</td>
|
|
112
|
+
<td onClick={() => navigateToRegister('cryotherapy_treatment_less_25')}>
|
|
113
|
+
{moh711Data.cryotherapy_treatment_less_25}
|
|
114
|
+
</td>
|
|
115
|
+
<td onClick={() => navigateToRegister('cryotherapy_treatment_25_49')}>
|
|
116
|
+
{moh711Data.cryotherapy_treatment_25_49}
|
|
117
|
+
</td>
|
|
118
|
+
<td onClick={() => navigateToRegister('cryotherapy_treatment_50_above')}>
|
|
119
|
+
{moh711Data.cryotherapy_treatment_50_above}
|
|
120
|
+
</td>
|
|
121
|
+
</tr>
|
|
122
|
+
<tr>
|
|
123
|
+
<td>9</td>
|
|
124
|
+
<td>No. of clients treated using LEEP</td>
|
|
125
|
+
<td onClick={() => navigateToRegister('leep_treatment_less_25')}>{moh711Data.leep_treatment_less_25}</td>
|
|
126
|
+
<td onClick={() => navigateToRegister('leep_treatment_25_49')}>{moh711Data.leep_treatment_25_49}</td>
|
|
127
|
+
<td onClick={() => navigateToRegister('leep_treatment_50_above')}>{moh711Data.leep_treatment_50_above}</td>
|
|
128
|
+
</tr>
|
|
129
|
+
<tr>
|
|
130
|
+
<td>10</td>
|
|
131
|
+
<td>No of HIV positive clients screened</td>
|
|
132
|
+
<td onClick={() => navigateToRegister('hiv_positive_screened_cervical_cancer_less_25')}>
|
|
133
|
+
{moh711Data.hiv_positive_screened_cervical_cancer_less_25}
|
|
134
|
+
</td>
|
|
135
|
+
<td onClick={() => navigateToRegister('hiv_positive_screened_cervical_cancer_25_49')}>
|
|
136
|
+
{moh711Data.hiv_positive_screened_cervical_cancer_25_49}
|
|
137
|
+
</td>
|
|
138
|
+
<td onClick={() => navigateToRegister('hiv_positive_screened_cervical_cancer_50_above')}>
|
|
139
|
+
{moh711Data.hiv_positive_screened_cervical_cancer_50_above}
|
|
140
|
+
</td>
|
|
141
|
+
</tr>
|
|
142
|
+
</tbody>
|
|
143
|
+
</table>
|
|
144
|
+
</div>
|
|
145
|
+
);
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
export default CervicalCancerComponent;
|