@ampath/esm-reports-app 1.0.0-next.3 → 1.0.0-next.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/138.js +2 -0
- package/dist/138.js.LICENSE.txt +20 -0
- package/dist/138.js.map +1 -0
- package/dist/184.js +1 -1
- package/dist/184.js.map +1 -1
- package/dist/205.js +1 -0
- package/dist/205.js.map +1 -0
- package/dist/282.js +1 -1
- package/dist/282.js.LICENSE.txt +3 -3
- package/dist/282.js.map +1 -1
- package/dist/311.js +1 -0
- package/dist/311.js.map +1 -0
- package/dist/353.js +1 -2
- package/dist/353.js.map +1 -1
- package/dist/478.js +2 -0
- package/dist/478.js.LICENSE.txt +9 -0
- package/dist/478.js.map +1 -0
- package/dist/540.js +1 -1
- package/dist/540.js.map +1 -1
- package/dist/645.js +1 -0
- package/dist/645.js.map +1 -0
- package/dist/812.js +1 -0
- package/dist/812.js.map +1 -0
- package/dist/961.js +1 -1
- package/dist/961.js.map +1 -1
- package/dist/ampath-esm-reports-app.js +1 -1
- package/dist/ampath-esm-reports-app.js.buildmanifest.json +174 -99
- package/dist/ampath-esm-reports-app.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +2 -1
- package/src/common/report-filters/report-filters.component.tsx +127 -0
- package/src/common/report-filters/report-filters.scss +49 -0
- package/src/dashboard/reports-dasboard.tsx +38 -1
- package/src/dashboard/reports-dashboard.module.scss +14 -0
- package/src/index.ts +1 -1
- package/src/reports/datatable-wrapper/datatable-wrapper.component.tsx +54 -0
- package/src/reports/moh-240/moh-240-header.component.tsx +61 -0
- package/src/reports/moh-240/moh-240.component.tsx +68 -0
- package/src/reports/moh-240/moh-240.scss +3 -0
- package/src/reports/moh-240/sub-reports/moh-240-register.component.tsx +72 -0
- package/src/reports/moh-240/sub-reports/page-summary.component.tsx +95 -0
- package/src/reports/moh-505/moh-505-header.component.tsx +62 -0
- package/src/reports/moh-505/moh-505.component.tsx +240 -0
- package/src/reports/moh-505/moh-505.scss +3 -0
- package/src/reports/moh-705B/moh-204b-register.component.tsx +235 -0
- package/src/reports/moh-705B/moh-705b.component.tsx +524 -0
- package/src/reports/moh-705B/moh-705b.scss +44 -0
- package/src/reports/moh-705a/moh-705a.component.tsx +528 -0
- package/src/reports/moh-705a/moh-705a.scss +45 -0
- package/src/reports/moh-705a/registers/moh-204a-register.component.tsx +320 -0
- package/src/reports/moh-705a/type.ts +6 -0
- package/src/reports/moh-706/moh-706-header.component.tsx +61 -0
- package/src/reports/moh-706/moh-706.component.tsx +104 -0
- package/src/reports/moh-706/moh-706.scss +30 -0
- package/src/reports/moh-706/sub-reports/bacteriology/bacteriology.component.tsx +124 -0
- package/src/reports/moh-706/sub-reports/blood-chemistry/blood-chemistry.component.tsx +318 -0
- package/src/reports/moh-706/sub-reports/drug-susceptibility-testing/drug-susceptibility-testing.component.tsx +137 -0
- package/src/reports/moh-706/sub-reports/haematology/haematology.component.tsx +179 -0
- package/src/reports/moh-706/sub-reports/histology-and-cytology/histology-and-cytology.component.tsx +88 -0
- package/src/reports/moh-706/sub-reports/parasitology/parasitology.component.tsx +121 -0
- package/src/reports/moh-706/sub-reports/serology/serology.component.tsx +47 -0
- package/src/reports/moh-706/sub-reports/specimen-referral-to-higher-levels/specimen-referral-to-higher-levels.component.tsx +39 -0
- package/src/reports/moh-706/sub-reports/urine-analysis/urine-analysis.component.tsx +108 -0
- package/src/reports/moh-710/moh-710.component.tsx +665 -0
- package/src/reports/moh-710/moh-710.scss +45 -0
- package/src/reports/moh-710/patient-list/moh-710-patient-list.component.tsx +13 -0
- package/src/reports/moh-711/moh-711.component.tsx +139 -0
- package/src/reports/moh-711/moh711.scss +82 -0
- package/src/reports/moh-711/registers/moh-333-register.component.tsx +636 -0
- package/src/reports/moh-711/registers/moh-405-register.component.tsx +518 -0
- package/src/reports/moh-711/registers/moh-406-register.component.tsx +530 -0
- package/src/reports/moh-711/registers/moh-510-register.component.tsx +61 -0
- package/src/reports/moh-711/registers/moh-511-register.component.tsx +263 -0
- package/src/reports/moh-711/registers/type.ts +194 -0
- package/src/reports/moh-711/sections/anc.component.tsx +153 -0
- package/src/reports/moh-711/sections/cervical-cancer.component.tsx +104 -0
- package/src/reports/moh-711/sections/chanis.component.tsx +367 -0
- package/src/reports/moh-711/sections/family-planning.component.tsx +221 -0
- package/src/reports/moh-711/sections/gbv.component.tsx +115 -0
- package/src/reports/moh-711/sections/maternity.component.tsx +319 -0
- package/src/reports/moh-711/sections/medical-social-work.component.tsx +83 -0
- package/src/reports/moh-711/sections/other.component.tsx +47 -0
- package/src/reports/moh-711/sections/physiotherapy.component.tsx +61 -0
- package/src/reports/moh-711/sections/pnc.component.tsx +118 -0
- package/src/reports/moh-711/sections/post-abortion.component.tsx +42 -0
- package/src/reports/moh-711/sections/rehabilitation.component.tsx +57 -0
- package/src/reports/moh-711/sections/report-compiled-by.component.tsx +42 -0
- package/src/reports/moh-711/sections/tb-screening.component.tsx +57 -0
- package/src/reports/moh-717/moh-717.component.tsx +170 -0
- package/src/reports/moh-717/moh717.scss +154 -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 +119 -0
- package/src/reports/moh-717/sections/medical-records.component.tsx +35 -0
- package/src/reports/moh-717/sections/mortuary.component.tsx +43 -0
- package/src/reports/moh-717/sections/operations.component.tsx +53 -0
- package/src/reports/moh-717/sections/orthopaedic-trauma.component.tsx +98 -0
- package/src/reports/moh-717/sections/outpatient.component.tsx +489 -0
- package/src/reports/moh-717/sections/pharmacy.component.tsx +43 -0
- package/src/reports/moh-717/sections/preparedby.component.tsx +47 -0
- package/src/reports/moh-717/sections/special-services.component.tsx +114 -0
- package/src/reports/moh-740/moh-740.component.scss +120 -0
- package/src/reports/moh-740/moh-740.component.tsx +1263 -0
- package/src/reports/moh-740/moh-740.resource.ts +42 -0
- package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.tsx +6 -0
- package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.scss +18 -0
- package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.tsx +79 -0
- package/src/reports/moh-740/registers/moh-740-patient-list.scss +0 -0
- package/src/reports/moh-740/registers/moh-740-patient-list.tsx +43 -0
- package/src/reports/moh-740/shared/data-cell/data-cell.scss +6 -0
- package/src/reports/moh-740/shared/data-cell/data-cell.tsx +23 -0
- package/src/reports/moh-740/shared/utils/format-indicator.ts +22 -0
- package/src/reports/moh-740/types/index.ts +183 -0
- package/src/reports/moh-745/moh-745.component.tsx +928 -0
- package/src/reports/moh-745/moh-745.scss +74 -0
- package/src/reports/moh-745/registers/moh-412-register.component.tsx +191 -0
- package/src/reports/moh-745/registers/type.ts +29 -0
- package/src/reports/table-wrapper/table-row-mapper.component.tsx +51 -0
- package/src/reports/table-wrapper/table-wrapper.component.tsx +21 -0
- package/src/reports/table-wrapper/table-wrapper.scss +31 -0
- package/src/resources/moh-705.resource.ts +117 -0
- package/src/resources/moh-706.resource.ts +86 -0
- package/src/resources/moh-710.resource.ts +60 -0
- package/src/resources/moh-711.resource.ts +175 -0
- package/src/resources/moh-717.resource.ts +35 -0
- package/src/resources/moh-745.resource.ts +64 -0
- package/src/root.component.tsx +38 -0
- package/src/utils/get-base-url.ts +12 -0
- package/src/utils/utils.ts +36 -0
- package/dist/255.js +0 -1
- package/dist/255.js.map +0 -1
- package/dist/353.js.LICENSE.txt +0 -39
- package/dist/36.js +0 -1
- package/dist/36.js.map +0 -1
- package/dist/734.js +0 -1
- package/dist/734.js.map +0 -1
- package/dist/97.js +0 -1
- package/dist/97.js.map +0 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import styles from '../moh717.scss';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
|
|
6
|
+
interface MedicalRecordsComponentProps {
|
|
7
|
+
moh717ReportData: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const MedicalRecordsComponent: React.FC<MedicalRecordsComponentProps> = ({ moh717ReportData }) => {
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
|
|
14
|
+
<thead>
|
|
15
|
+
<tr>
|
|
16
|
+
<th>F. MEDICAL RECORDS ISSUED</th>
|
|
17
|
+
<th>Number</th>
|
|
18
|
+
</tr>
|
|
19
|
+
</thead>
|
|
20
|
+
<tbody>
|
|
21
|
+
<tr>
|
|
22
|
+
<td>F.1 New Files/Folders</td>
|
|
23
|
+
<td>{moh717ReportData.new_patient_files_issued}</td>
|
|
24
|
+
</tr>
|
|
25
|
+
<tr>
|
|
26
|
+
<td>F.2 Outpatient Cards/booklets</td>
|
|
27
|
+
<td>{moh717ReportData.outpatient_records_cards_issued}</td>
|
|
28
|
+
</tr>
|
|
29
|
+
</tbody>
|
|
30
|
+
</table>
|
|
31
|
+
</>
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export default MedicalRecordsComponent;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import styles from '../moh717.scss';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
|
|
6
|
+
interface MortuaryComponentProps {
|
|
7
|
+
moh717ReportData: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const MortuaryComponent: React.FC<MortuaryComponentProps> = ({ moh717ReportData }) => {
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
|
|
14
|
+
<thead>
|
|
15
|
+
<tr>
|
|
16
|
+
<th>E. MORTUARY</th>
|
|
17
|
+
<th>Number</th>
|
|
18
|
+
</tr>
|
|
19
|
+
</thead>
|
|
20
|
+
<tbody>
|
|
21
|
+
<tr>
|
|
22
|
+
<td>E.1 Body days</td>
|
|
23
|
+
<td>{moh717ReportData.mortuary_body_days}</td>
|
|
24
|
+
</tr>
|
|
25
|
+
<tr>
|
|
26
|
+
<td>E.2 Embalment</td>
|
|
27
|
+
<td>{moh717ReportData.mortuary_embalment}</td>
|
|
28
|
+
</tr>
|
|
29
|
+
<tr>
|
|
30
|
+
<td>E.3 Post-Mortem</td>
|
|
31
|
+
<td>{moh717ReportData.mortuary_postmortem}</td>
|
|
32
|
+
</tr>
|
|
33
|
+
<tr>
|
|
34
|
+
<td>E.4 Unclaimed body days</td>
|
|
35
|
+
<td>{moh717ReportData.mortuary_unclaimed_bodies}</td>
|
|
36
|
+
</tr>
|
|
37
|
+
</tbody>
|
|
38
|
+
</table>
|
|
39
|
+
</>
|
|
40
|
+
);
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export default MortuaryComponent;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import styles from '../moh717.scss';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
|
|
6
|
+
interface OperationsComponentProps {
|
|
7
|
+
moh717ReportData: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const OperationsComponent: React.FC<OperationsComponentProps> = ({ moh717ReportData }: { moh717ReportData: any }) => {
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
|
|
14
|
+
<thead>
|
|
15
|
+
<tr>
|
|
16
|
+
<th className={styles.totals}>B.3 OPERATIONS</th>
|
|
17
|
+
<th className={styles.totals}>No. Booked</th>
|
|
18
|
+
<th className={styles.totals}>No. Operated</th>
|
|
19
|
+
</tr>
|
|
20
|
+
</thead>
|
|
21
|
+
<tbody>
|
|
22
|
+
<tr>
|
|
23
|
+
<td>B.3.1 Minor Surgeries (excluding circumcision)</td>
|
|
24
|
+
<td>{moh717ReportData.minor_surgeries_booked}</td>
|
|
25
|
+
<td>{moh717ReportData.minor_surgeries_operated}</td>
|
|
26
|
+
</tr>
|
|
27
|
+
<tr>
|
|
28
|
+
<td>B.3.1.1 Emergencies</td>
|
|
29
|
+
<td>{moh717ReportData.emergencies_booked}</td>
|
|
30
|
+
<td>{moh717ReportData.emergencies_operated}</td>
|
|
31
|
+
</tr>
|
|
32
|
+
<tr>
|
|
33
|
+
<td>B.3.1.2 Cold Cases</td>
|
|
34
|
+
<td>{moh717ReportData.cold_cases_booked}</td>
|
|
35
|
+
<td>{moh717ReportData.cold_surgical_cases}</td>
|
|
36
|
+
</tr>
|
|
37
|
+
<tr>
|
|
38
|
+
<td>B.3.2 Circumcision</td>
|
|
39
|
+
<td>{moh717ReportData.circumcisions_booked}</td>
|
|
40
|
+
<td>{moh717ReportData.circumcisions_operated}</td>
|
|
41
|
+
</tr>
|
|
42
|
+
<tr>
|
|
43
|
+
<td>B.3.3 Major surgeries</td>
|
|
44
|
+
<td>{moh717ReportData.major_surgeries_booked}</td>
|
|
45
|
+
<td>{moh717ReportData.major_surgeries_operated}</td>
|
|
46
|
+
</tr>
|
|
47
|
+
</tbody>
|
|
48
|
+
</table>
|
|
49
|
+
</>
|
|
50
|
+
);
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export default OperationsComponent;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import styles from '../moh717.scss';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
|
|
6
|
+
interface OrthopaedicTraumaComponentProps {
|
|
7
|
+
moh717ReportData: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const OrthopaedicTraumaComponent: React.FC<OrthopaedicTraumaComponentProps> = ({ moh717ReportData }) => {
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
|
|
14
|
+
<thead>
|
|
15
|
+
<tr>
|
|
16
|
+
<th className={styles.totals}>B4. ORTHOPAEDIC TRAUMA SERVICES</th>
|
|
17
|
+
<th colSpan={2}><5 Years</th>
|
|
18
|
+
<th colSpan={2}>>5 Years</th>
|
|
19
|
+
</tr>
|
|
20
|
+
<tr>
|
|
21
|
+
<th className={styles.alighnLeft}>Description</th>
|
|
22
|
+
<th>New</th>
|
|
23
|
+
<th>Revisit</th>
|
|
24
|
+
<th>New</th>
|
|
25
|
+
<th>Revisit</th>
|
|
26
|
+
</tr>
|
|
27
|
+
</thead>
|
|
28
|
+
<tbody>
|
|
29
|
+
<tr>
|
|
30
|
+
<td>No of Casts fixed</td>
|
|
31
|
+
<td>{moh717ReportData.casts_fixed_less_5_years_new}</td>
|
|
32
|
+
<td>{moh717ReportData.casts_fixed_less_5_years_revisit}</td>
|
|
33
|
+
<td>{moh717ReportData.casts_fixed_over_5_years_new}</td>
|
|
34
|
+
<td>{moh717ReportData.casts_fixed_over_5_years_revisit}</td>
|
|
35
|
+
</tr>
|
|
36
|
+
<tr>
|
|
37
|
+
<td>No of Tractions fixed</td>
|
|
38
|
+
<td>{moh717ReportData.tractions_fixed_less_5_years_new}</td>
|
|
39
|
+
<td>{moh717ReportData.tractions_fixed_less_5_years_revisit}</td>
|
|
40
|
+
<td>{moh717ReportData.tractions_fixed_over_5_years_new}</td>
|
|
41
|
+
<td>{moh717ReportData.tractions_fixed_over_5_years_revisit}</td>
|
|
42
|
+
</tr>
|
|
43
|
+
<tr>
|
|
44
|
+
<td>No of Closed Reductions (Fructures, Dislocation)</td>
|
|
45
|
+
<td>{moh717ReportData.closed_reductions_less_5_years_new}</td>
|
|
46
|
+
<td>{moh717ReportData.closed_reductions_less_5_years_revisit}</td>
|
|
47
|
+
<td>{moh717ReportData.closed_reductions_over_5_years_new}</td>
|
|
48
|
+
<td>{moh717ReportData.closed_reductions_over_5_years_revisit}</td>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<td>No of Orthopeadic cases assisted in theatre</td>
|
|
52
|
+
<td>{moh717ReportData.orthopaedic_assisted_in_theatre_less_5_years_new}</td>
|
|
53
|
+
<td>{moh717ReportData.orthopaedic_assisted_in_theatre_less_5_years_revisit}</td>
|
|
54
|
+
<td>{moh717ReportData.orthopaedic_assisted_in_theatre_over_5_years_new}</td>
|
|
55
|
+
<td>{moh717ReportData.orthopaedic_assisted_in_theatre_over_5_years_revisit}</td>
|
|
56
|
+
</tr>
|
|
57
|
+
<tr>
|
|
58
|
+
<td>No of club foot seen /corrected (Ponsseti method)</td>
|
|
59
|
+
<td>{moh717ReportData.club_foot_seen_less_5_years_new}</td>
|
|
60
|
+
<td>{moh717ReportData.club_foot_seen_less_5_years_revisit}</td>
|
|
61
|
+
<td>{moh717ReportData.club_foot_seen_over_5_years_new}</td>
|
|
62
|
+
<td>{moh717ReportData.club_foot_seen_over_5_years_revisit}</td>
|
|
63
|
+
</tr>
|
|
64
|
+
<tr>
|
|
65
|
+
<td>No of Crepe bandages and arm slings applied</td>
|
|
66
|
+
<td>{moh717ReportData.crepe_bandages_applied_less_5_years_new}</td>
|
|
67
|
+
<td>{moh717ReportData.crepe_bandages_applied_less_5_years_revisit}</td>
|
|
68
|
+
<td>{moh717ReportData.crepe_bandages_applied_over_5_years_new}</td>
|
|
69
|
+
<td>{moh717ReportData.crepe_bandages_applied_over_5_years_revisit}</td>
|
|
70
|
+
</tr>
|
|
71
|
+
<tr>
|
|
72
|
+
<th className={styles.alignLeft}>Removals</th>
|
|
73
|
+
<th colSpan={2}>Casts</th>
|
|
74
|
+
<th colSpan={2}>Tractions</th>
|
|
75
|
+
<th>Ex-Fixator</th>
|
|
76
|
+
</tr>
|
|
77
|
+
<tr>
|
|
78
|
+
<td rowSpan={2}></td>
|
|
79
|
+
<th><5 years</th>
|
|
80
|
+
<th>>5 years</th>
|
|
81
|
+
<th><5 years</th>
|
|
82
|
+
<th>>5 years</th>
|
|
83
|
+
<th>>5 years</th>
|
|
84
|
+
</tr>
|
|
85
|
+
<tr>
|
|
86
|
+
<th>{moh717ReportData.removals_done_cast_less_5_years}</th>
|
|
87
|
+
<th>{moh717ReportData.removals_done_cast_over_5_years}</th>
|
|
88
|
+
<th>{moh717ReportData.removals_done_tractions_less_5_years}</th>
|
|
89
|
+
<th>{moh717ReportData.orthopaedic_removals_tractions_over_5_years}</th>
|
|
90
|
+
<th>{moh717ReportData.ex_fixator_removed_over_5_years}</th>
|
|
91
|
+
</tr>
|
|
92
|
+
</tbody>
|
|
93
|
+
</table>
|
|
94
|
+
</>
|
|
95
|
+
);
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export default OrthopaedicTraumaComponent;
|