@ampath/esm-reports-app 1.0.0-next.2 → 1.0.0-next.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/138.js +2 -0
- package/dist/138.js.LICENSE.txt +20 -0
- package/dist/138.js.map +1 -0
- package/dist/184.js +1 -1
- package/dist/184.js.map +1 -1
- package/dist/205.js +1 -0
- package/dist/205.js.map +1 -0
- package/dist/282.js +1 -1
- package/dist/282.js.LICENSE.txt +3 -3
- package/dist/282.js.map +1 -1
- package/dist/311.js +1 -0
- package/dist/311.js.map +1 -0
- package/dist/353.js +1 -1
- package/dist/353.js.map +1 -1
- package/dist/478.js +2 -0
- package/dist/478.js.LICENSE.txt +9 -0
- package/dist/478.js.map +1 -0
- package/dist/51.js +1 -0
- package/dist/51.js.map +1 -0
- package/dist/540.js +1 -1
- package/dist/540.js.map +1 -1
- package/dist/812.js +1 -0
- package/dist/812.js.map +1 -0
- package/dist/961.js +1 -1
- package/dist/961.js.map +1 -1
- package/dist/ampath-esm-reports-app.js +1 -1
- package/dist/ampath-esm-reports-app.js.buildmanifest.json +128 -151
- package/dist/ampath-esm-reports-app.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +2 -1
- package/src/common/report-filters/report-filters.component.tsx +127 -0
- package/src/common/report-filters/report-filters.scss +49 -0
- package/src/config-schema.ts +6 -37
- package/src/createDashboardLink.tsx +9 -0
- package/src/dashboard/reports-dasboard.tsx +44 -0
- package/src/dashboard/reports-dashboard.module.scss +14 -0
- package/src/dashboard-meta/reports-dashboard.meta.ts +6 -0
- package/src/index.ts +6 -35
- package/src/reports/datatable-wrapper/datatable-wrapper.component.tsx +54 -0
- package/src/reports/moh-240/moh-240-header.component.tsx +61 -0
- package/src/reports/moh-240/moh-240.component.tsx +68 -0
- package/src/reports/moh-240/moh-240.scss +3 -0
- package/src/reports/moh-240/sub-reports/moh-240-register.component.tsx +72 -0
- package/src/reports/moh-240/sub-reports/page-summary.component.tsx +95 -0
- package/src/reports/moh-505/moh-505-header.component.tsx +62 -0
- package/src/reports/moh-505/moh-505.component.tsx +240 -0
- package/src/reports/moh-505/moh-505.scss +3 -0
- package/src/reports/moh-705B/moh-705b.component.tsx +466 -0
- package/src/reports/moh-705B/moh-705b.scss +41 -0
- package/src/reports/moh-705a/moh-705a.component.tsx +473 -0
- package/src/reports/moh-705a/moh-705a.scss +41 -0
- package/src/reports/moh-706/moh-706-header.component.tsx +61 -0
- package/src/reports/moh-706/moh-706.component.tsx +104 -0
- package/src/reports/moh-706/moh-706.scss +30 -0
- package/src/reports/moh-706/sub-reports/bacteriology/bacteriology.component.tsx +124 -0
- package/src/reports/moh-706/sub-reports/blood-chemistry/blood-chemistry.component.tsx +318 -0
- package/src/reports/moh-706/sub-reports/drug-susceptibility-testing/drug-susceptibility-testing.component.tsx +137 -0
- package/src/reports/moh-706/sub-reports/haematology/haematology.component.tsx +179 -0
- package/src/reports/moh-706/sub-reports/histology-and-cytology/histology-and-cytology.component.tsx +88 -0
- package/src/reports/moh-706/sub-reports/parasitology/parasitology.component.tsx +121 -0
- package/src/reports/moh-706/sub-reports/serology/serology.component.tsx +47 -0
- package/src/reports/moh-706/sub-reports/specimen-referral-to-higher-levels/specimen-referral-to-higher-levels.component.tsx +39 -0
- package/src/reports/moh-706/sub-reports/urine-analysis/urine-analysis.component.tsx +108 -0
- package/src/reports/moh-710/moh-710.component.tsx +663 -0
- package/src/reports/moh-710/moh-710.scss +41 -0
- package/src/reports/moh-711/moh-711.component.tsx +121 -0
- package/src/reports/moh-711/moh711.scss +71 -0
- package/src/reports/moh-711/sections/anc.component.tsx +134 -0
- package/src/reports/moh-711/sections/cervical-cancer.component.tsx +104 -0
- package/src/reports/moh-711/sections/chanis.component.tsx +367 -0
- package/src/reports/moh-711/sections/family-planning.component.tsx +221 -0
- package/src/reports/moh-711/sections/gbv.component.tsx +115 -0
- package/src/reports/moh-711/sections/maternity.component.tsx +280 -0
- package/src/reports/moh-711/sections/medical-social-work.component.tsx +83 -0
- package/src/reports/moh-711/sections/other.component.tsx +47 -0
- package/src/reports/moh-711/sections/physiotherapy.component.tsx +61 -0
- package/src/reports/moh-711/sections/pnc.component.tsx +92 -0
- package/src/reports/moh-711/sections/post-abortion.component.tsx +42 -0
- package/src/reports/moh-711/sections/rehabilitation.component.tsx +57 -0
- package/src/reports/moh-711/sections/report-compiled-by.component.tsx +42 -0
- package/src/reports/moh-711/sections/tb-screening.component.tsx +57 -0
- package/src/reports/moh-717/moh-717.component.tsx +152 -0
- package/src/reports/moh-717/moh717.scss +150 -0
- package/src/reports/moh-717/sections/finance.component.tsx +42 -0
- package/src/reports/moh-717/sections/inpatient.component.tsx +374 -0
- package/src/reports/moh-717/sections/maternity.component.tsx +94 -0
- package/src/reports/moh-717/sections/medical-records.component.tsx +35 -0
- package/src/reports/moh-717/sections/mortuary.component.tsx +43 -0
- package/src/reports/moh-717/sections/operations.component.tsx +53 -0
- package/src/reports/moh-717/sections/orthopaedic-trauma.component.tsx +98 -0
- package/src/reports/moh-717/sections/outpatient.component.tsx +489 -0
- package/src/reports/moh-717/sections/pharmacy.component.tsx +43 -0
- package/src/reports/moh-717/sections/preparedby.component.tsx +47 -0
- package/src/reports/moh-717/sections/special-services.component.tsx +114 -0
- package/src/reports/moh-740/moh-740.component.scss +120 -0
- package/src/reports/moh-740/moh-740.component.tsx +907 -0
- package/src/reports/moh-740/moh-740.resource.ts +42 -0
- package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.tsx +6 -0
- package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.tsx +58 -0
- package/src/reports/moh-740/registers/moh-740-patient-list.scss +0 -0
- package/src/reports/moh-740/registers/moh-740-patient-list.tsx +43 -0
- package/src/reports/moh-740/shared/data-cell/data-cell.scss +6 -0
- package/src/reports/moh-740/shared/data-cell/data-cell.tsx +23 -0
- package/src/reports/moh-740/types/index.ts +115 -0
- package/src/reports/moh-745/moh-745.component.tsx +629 -0
- package/src/reports/moh-745/moh-745.scss +69 -0
- package/src/reports/table-wrapper/table-row-mapper.component.tsx +51 -0
- package/src/reports/table-wrapper/table-wrapper.component.tsx +21 -0
- package/src/reports/table-wrapper/table-wrapper.scss +31 -0
- package/src/resources/moh-705.resource.ts +60 -0
- package/src/resources/moh-706.resource.ts +86 -0
- package/src/resources/moh-710.resource.ts +34 -0
- package/src/resources/moh-711.resource.ts +34 -0
- package/src/resources/moh-717.resource.ts +35 -0
- package/src/resources/moh-745.resource.ts +34 -0
- package/src/root.component.tsx +30 -32
- package/src/routes.json +14 -17
- package/src/utils/get-base-url.ts +12 -0
- package/src/utils/utils.ts +36 -0
- package/dist/19.js +0 -2
- package/dist/19.js.LICENSE.txt +0 -39
- package/dist/19.js.map +0 -1
- package/dist/255.js +0 -1
- package/dist/255.js.map +0 -1
- package/dist/389.js +0 -1
- package/dist/389.js.map +0 -1
- package/dist/451.js +0 -1
- package/dist/451.js.map +0 -1
- package/dist/488.js +0 -1
- package/dist/488.js.map +0 -1
- package/dist/557.js +0 -1
- package/dist/557.js.map +0 -1
- package/dist/91.js +0 -1
- package/dist/91.js.map +0 -1
- package/dist/970.js +0 -1
- package/dist/970.js.map +0 -1
- package/src/boxes/extensions/blue-box.component.tsx +0 -15
- package/src/boxes/extensions/box.scss +0 -23
- package/src/boxes/extensions/brand-box.component.tsx +0 -15
- package/src/boxes/extensions/red-box.component.tsx +0 -15
- package/src/boxes/slot/boxes.component.tsx +0 -25
- package/src/boxes/slot/boxes.scss +0 -29
- package/src/greeter/greeter.component.tsx +0 -42
- package/src/greeter/greeter.scss +0 -20
- package/src/greeter/greeter.test.tsx +0 -28
- package/src/patient-getter/patient-getter.component.tsx +0 -40
- package/src/patient-getter/patient-getter.resource.ts +0 -39
- package/src/patient-getter/patient-getter.scss +0 -16
- package/src/patient-getter/patient-getter.test.tsx +0 -40
- package/src/resources/resources.component.tsx +0 -56
- package/src/resources/resources.scss +0 -68
- package/src/root.test.tsx +0 -51
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.tableWrapper {
|
|
2
|
+
overflow-x: auto;
|
|
3
|
+
border: 1px solid #d0d0d0;
|
|
4
|
+
border-radius: 4px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.tableContainer {
|
|
8
|
+
width: 100%;
|
|
9
|
+
border-collapse: collapse;
|
|
10
|
+
|
|
11
|
+
thead {
|
|
12
|
+
background-color: #f4f4f4;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
tbody tr {
|
|
16
|
+
border-bottom: 1px solid #e0e0e0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.reportSections {
|
|
22
|
+
position: relative;
|
|
23
|
+
margin: 0px auto;
|
|
24
|
+
width: 70%;
|
|
25
|
+
padding: 12px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.headerSection {
|
|
29
|
+
padding: 15px;
|
|
30
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import React, { useMemo } from "react";
|
|
2
|
+
import TableWrapper from "../../../table-wrapper/table-wrapper.component";
|
|
3
|
+
import TableRowMapper from "../../../table-wrapper/table-row-mapper.component";
|
|
4
|
+
import { getCell } from "../../../../utils/utils";
|
|
5
|
+
|
|
6
|
+
interface BacteriologyProps {
|
|
7
|
+
data?: any,
|
|
8
|
+
locationUuids?: string,
|
|
9
|
+
startDate?: string,
|
|
10
|
+
endDate?: string
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const Bacteriology: React.FC<BacteriologyProps> = ({ data, locationUuids, startDate, endDate }) => {
|
|
14
|
+
const tableRows = useMemo(() => {
|
|
15
|
+
return [
|
|
16
|
+
{
|
|
17
|
+
tableCells: [getCell("", "5 BACTERIOLOGY", 4, 1, true)]
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
tableCells: [
|
|
21
|
+
getCell("", "Bacteriological Sample", 1, 1, true),
|
|
22
|
+
getCell("", "Total Exam", 1, 1, true),
|
|
23
|
+
getCell("", "Total Cultures", 1, 1, true),
|
|
24
|
+
getCell("", "Number Culture Positive", 1, 1, true),
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{ tableCells: [getCell("", "5.1 Urine"), getCell(), getCell(), getCell()] },
|
|
28
|
+
{ tableCells: [getCell("", "5.2 Pus swabs"), getCell(), getCell(), getCell()] },
|
|
29
|
+
{ tableCells: [getCell("", "5.3 High Vaginal Swabs"), getCell(), getCell(), getCell()] },
|
|
30
|
+
{ tableCells: [getCell("", "5.4 Throat swab"), getCell(), getCell(), getCell()] },
|
|
31
|
+
{ tableCells: [getCell("", "5.5 Rectal swab"), getCell(), getCell(), getCell()] },
|
|
32
|
+
{ tableCells: [getCell("", "5.6 Blood"), getCell(), getCell(), getCell()] },
|
|
33
|
+
{ tableCells: [getCell("", "5.7 Water"), getCell(), getCell(), getCell()] },
|
|
34
|
+
{ tableCells: [getCell("", "5.8 Food"), getCell(), getCell(), getCell()] },
|
|
35
|
+
{ tableCells: [getCell("", "5.9 Urethral swabs"), getCell(), getCell(), getCell()] },
|
|
36
|
+
{
|
|
37
|
+
tableCells: [
|
|
38
|
+
getCell("", "Bacterial enteric pathogens", 2, 1, true),
|
|
39
|
+
getCell("", "Total Exam", 1, 1, true),
|
|
40
|
+
getCell("", "Number Positive", 1, 1, true),
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
tableCells: [
|
|
45
|
+
getCell("", "5.10 Stool Cultures", 2),
|
|
46
|
+
getCell(),
|
|
47
|
+
getCell(),
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
tableCells: [
|
|
52
|
+
getCell("", "Stool Isolates", 3, 1, true),
|
|
53
|
+
getCell("", "Number Positive", 1, 1, true),
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{ tableCells: [getCell("", "5.11 Salmonella typhi", 3), getCell("positive_salmonella")] },
|
|
57
|
+
{ tableCells: [getCell("", "5.12 Shigella - dysenteriae type1", 3), getCell()] },
|
|
58
|
+
{ tableCells: [getCell("", "5.13 E. coli O157:H7", 3), getCell()] },
|
|
59
|
+
{ tableCells: [getCell("", "5.14 V. cholerae O1", 3), getCell()] },
|
|
60
|
+
{ tableCells: [getCell("", "5.15 V. cholerae O139", 3), getCell()] },
|
|
61
|
+
|
|
62
|
+
{
|
|
63
|
+
tableCells: [getCell("", "Bacterial meningitis", 4, 1, true)]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
tableCells: [
|
|
67
|
+
getCell("", "Bacterial meningitis", 1, 1, true),
|
|
68
|
+
getCell("", "Total Exam", 1, 1, true),
|
|
69
|
+
getCell("", "Number Positive", 1, 1, true),
|
|
70
|
+
getCell("", "Number Contaminated", 2, 1, true),
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
tableCells: [
|
|
75
|
+
getCell("", "5.16 CSF"),
|
|
76
|
+
getCell(),
|
|
77
|
+
getCell(),
|
|
78
|
+
getCell(),
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
tableCells: [
|
|
83
|
+
getCell("", "Bacterial meningitis Serotypes", 1, 1, true),
|
|
84
|
+
getCell("", "Number Positive", 3, 1, true),
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{ tableCells: [getCell("", "5.17 Neisseria meningitidis A"), getCell("", "", 3)] },
|
|
88
|
+
{ tableCells: [getCell("", "5.18 Neisseria meningitidis B"), getCell("", "", 3)] },
|
|
89
|
+
{ tableCells: [getCell("", "5.19 Neisseria meningitidis C"), getCell("", "", 3)] },
|
|
90
|
+
{ tableCells: [getCell("", "5.20 Neisseria meningitidis W135"), getCell("", "", 3)] },
|
|
91
|
+
{ tableCells: [getCell("", "5.21 Neisseria meningitidis X"), getCell("", "", 3)] },
|
|
92
|
+
{ tableCells: [getCell("", "5.22 Neisseria meningitidis Y"), getCell("", "", 3)] },
|
|
93
|
+
{ tableCells: [getCell("", "5.23 Neisseria meningitidis (indeterminate)"), getCell("", "", 3)] },
|
|
94
|
+
{ tableCells: [getCell("", "5.24 Streptococcus pneumoniae"), getCell("", "", 3)] },
|
|
95
|
+
{ tableCells: [getCell("", "5.25 Haemophilus influenzae (type b)"), getCell("", "", 3)] },
|
|
96
|
+
{ tableCells: [getCell("", "5.26 Cryptococcal Meningitis"), getCell("", "", 3)] },
|
|
97
|
+
{
|
|
98
|
+
tableCells: [getCell("", "Bacterial Pathogens from other types of specimen", 4, 1, true)]
|
|
99
|
+
},
|
|
100
|
+
{ tableCells: [getCell("", "5.27 B. anthracis"), getCell("", "", 3)] },
|
|
101
|
+
{ tableCells: [getCell("", "5.28 Y. pestis"), getCell("", "", 3)] },
|
|
102
|
+
{ tableCells: [getCell("", "TB SPUTUM", 4)] },
|
|
103
|
+
{
|
|
104
|
+
tableCells: [
|
|
105
|
+
getCell("", "TB SPUTUM", 1, 1, true),
|
|
106
|
+
getCell("", "Total Exam", 1, 1, true),
|
|
107
|
+
getCell("", "Number Positive", 1, 1, true),
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{ tableCells: [getCell("", "5.29 Total TB smears"), getCell(), getCell()] },
|
|
111
|
+
{ tableCells: [getCell("", "5.30 New presumptive TB cases"), getCell(), getCell()] },
|
|
112
|
+
{ tableCells: [getCell("", "5.31 TB Follow up"), getCell(), getCell()] },
|
|
113
|
+
{ tableCells: [getCell("", "5.32 Rifampicin Resistant TB"), getCell(), getCell()] },
|
|
114
|
+
{ tableCells: [getCell("", "5.33 MDR TB"), getCell(), getCell()] },
|
|
115
|
+
]
|
|
116
|
+
}, []);
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
return <TableWrapper>
|
|
120
|
+
<TableRowMapper tableRows={tableRows} data={data} locationUuids={locationUuids} startDate={startDate} endDate={endDate} />
|
|
121
|
+
</TableWrapper>
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export default Bacteriology;
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import React, { useMemo } from "react";
|
|
2
|
+
import TableWrapper from "../../../table-wrapper/table-wrapper.component";
|
|
3
|
+
import styles from '../../../table-wrapper/table-wrapper.scss';
|
|
4
|
+
import TableRowMapper from "../../../table-wrapper/table-row-mapper.component";
|
|
5
|
+
import { getCell } from "../../../../utils/utils";
|
|
6
|
+
|
|
7
|
+
interface BloodChemistryProps {
|
|
8
|
+
data?: any,
|
|
9
|
+
locationUuids?: string,
|
|
10
|
+
startDate?: string,
|
|
11
|
+
endDate?: string
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const BloodChemistry: React.FC<BloodChemistryProps> = ({ data, locationUuids, startDate, endDate }) => {
|
|
15
|
+
const tableRows = useMemo(() => {
|
|
16
|
+
return [
|
|
17
|
+
{
|
|
18
|
+
tableCells: [
|
|
19
|
+
getCell("", "2. BLOOD CHEMISTRY", 4, 1, true),
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
tableCells: [
|
|
24
|
+
getCell("", "", 4),
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
tableCells: [
|
|
29
|
+
getCell("", "Blood Sugar Test", 1, 1, true),
|
|
30
|
+
getCell("", "Total Exam", 1, 1, true),
|
|
31
|
+
getCell("", "Low", 1, 1, true),
|
|
32
|
+
getCell("", "High", 1, 1, true),
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
tableCells: [
|
|
37
|
+
getCell("", "2.1 Blood sugar"),
|
|
38
|
+
getCell("total_exam"),
|
|
39
|
+
getCell("min_blood_sugar"),
|
|
40
|
+
getCell("max_blood_sugar"),
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
tableCells: [
|
|
45
|
+
getCell("", "2.2 OGTT"),
|
|
46
|
+
getCell(),
|
|
47
|
+
getCell("min_ogtt"),
|
|
48
|
+
getCell("max_ogtt"),
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
tableCells: [
|
|
53
|
+
getCell("", "2.3 Renal Function Test", 1, 1, true),
|
|
54
|
+
getCell(),
|
|
55
|
+
getCell(),
|
|
56
|
+
getCell(),
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
tableCells: [
|
|
61
|
+
getCell("", "2.4 Creatinine"),
|
|
62
|
+
getCell(),
|
|
63
|
+
getCell("min_creatinine"),
|
|
64
|
+
getCell("max_creatinine"),
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
tableCells: [
|
|
69
|
+
getCell("", "1.4 Proteins"),
|
|
70
|
+
getCell(),
|
|
71
|
+
getCell(),
|
|
72
|
+
getCell(),
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
tableCells: [
|
|
77
|
+
getCell("", "2.5 Urea"),
|
|
78
|
+
getCell(),
|
|
79
|
+
getCell("min_urea"),
|
|
80
|
+
getCell("max_urea"),
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
|
|
84
|
+
{
|
|
85
|
+
tableCells: [
|
|
86
|
+
getCell("", "2.6 Sodium"),
|
|
87
|
+
getCell(),
|
|
88
|
+
getCell(),
|
|
89
|
+
getCell(),
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
tableCells: [
|
|
94
|
+
getCell("", "2.7 Potassium"),
|
|
95
|
+
getCell(),
|
|
96
|
+
getCell(),
|
|
97
|
+
getCell(),
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
tableCells: [
|
|
102
|
+
getCell("", "2.8 Chlorides"),
|
|
103
|
+
getCell(),
|
|
104
|
+
getCell(),
|
|
105
|
+
getCell(),
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
tableCells: [
|
|
110
|
+
getCell("", "2.8 Liver Function Test", 1, 1, true),
|
|
111
|
+
getCell(),
|
|
112
|
+
getCell(),
|
|
113
|
+
getCell(),
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
tableCells: [
|
|
118
|
+
getCell("", "2.9 Direct bilirubin"),
|
|
119
|
+
getCell(),
|
|
120
|
+
getCell("min_direct_bili"),
|
|
121
|
+
getCell("max_direct_bili"),
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
tableCells: [
|
|
126
|
+
getCell("", "2.10 Total bilirubin"),
|
|
127
|
+
getCell(),
|
|
128
|
+
getCell("min_total_bili"),
|
|
129
|
+
getCell("max_total_bili"),
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
tableCells: [
|
|
134
|
+
getCell("", "2.11 ASAT (SGOT)"),
|
|
135
|
+
getCell(),
|
|
136
|
+
getCell("min_ast"),
|
|
137
|
+
getCell("max_ast"),
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
tableCells: [
|
|
142
|
+
getCell("", "2.12 ALAT (SGPT)"),
|
|
143
|
+
getCell(),
|
|
144
|
+
getCell("min_alt"),
|
|
145
|
+
getCell("max_alt"),
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
tableCells: [
|
|
150
|
+
getCell("", "2.13 Serum Protein"),
|
|
151
|
+
getCell(),
|
|
152
|
+
getCell("min_total_protein"),
|
|
153
|
+
getCell("max_total_protein"),
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
tableCells: [
|
|
158
|
+
getCell("", "2.14 Albumin"),
|
|
159
|
+
getCell(),
|
|
160
|
+
getCell(),
|
|
161
|
+
getCell(),
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
tableCells: [
|
|
166
|
+
getCell("", "2.15 Alkaline Phosphatase"),
|
|
167
|
+
getCell(),
|
|
168
|
+
getCell("min_alk_phos"),
|
|
169
|
+
getCell("max_alk_phos"),
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
tableCells: [
|
|
174
|
+
getCell("", "2.16 Lipid Profile", 1, 1, true),
|
|
175
|
+
getCell(),
|
|
176
|
+
getCell("min_lipid_profile"),
|
|
177
|
+
getCell("max_lipid_profile"),
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
tableCells: [
|
|
182
|
+
getCell("", "2.17 Total cholesterol"),
|
|
183
|
+
getCell(),
|
|
184
|
+
getCell("min_total_cholesterol"),
|
|
185
|
+
getCell("max_total_cholesterol"),
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
|
|
189
|
+
{
|
|
190
|
+
tableCells: [
|
|
191
|
+
getCell("", "2.18 Triglycerides"),
|
|
192
|
+
getCell(),
|
|
193
|
+
getCell("min_triglycerides"),
|
|
194
|
+
getCell("max_triglycerides"),
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
tableCells: [
|
|
199
|
+
getCell("", "2.19 LDL"),
|
|
200
|
+
getCell(),
|
|
201
|
+
getCell("min_ldl"),
|
|
202
|
+
getCell("max_ldl"),
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
tableCells: [
|
|
207
|
+
getCell("", "Hormonal Test", 1, 1, true),
|
|
208
|
+
getCell("", "Total Exam", 1, 1, true),
|
|
209
|
+
getCell("", "Low", 1, 1, true),
|
|
210
|
+
getCell("", "High", 1, 1, true),
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
tableCells: [
|
|
215
|
+
getCell("", "2.20 T3"),
|
|
216
|
+
getCell(),
|
|
217
|
+
getCell("min_t3"),
|
|
218
|
+
getCell("max_t3"),
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
tableCells: [
|
|
223
|
+
getCell("", "2.21 T4"),
|
|
224
|
+
getCell(),
|
|
225
|
+
getCell("min_t4"),
|
|
226
|
+
getCell("max_t4"),
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
tableCells: [
|
|
231
|
+
getCell("", "2.22 TSH"),
|
|
232
|
+
getCell(),
|
|
233
|
+
getCell("min_tsh"),
|
|
234
|
+
getCell("max_tsh"),
|
|
235
|
+
]
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
tableCells: [
|
|
239
|
+
getCell("", "Tumor Markers", 1, 1, true),
|
|
240
|
+
getCell("", "Total Exam", 1, 1, true),
|
|
241
|
+
getCell("", "Number Positive", 2, 1, true),
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
tableCells: [
|
|
246
|
+
getCell("", "2.23 PSA"),
|
|
247
|
+
getCell("total_psa"),
|
|
248
|
+
getCell("positive_psa", "", 2),
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
tableCells: [
|
|
253
|
+
getCell("", "2.24 CA 15-3"),
|
|
254
|
+
getCell(),
|
|
255
|
+
getCell("", "", 2),
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
tableCells: [
|
|
260
|
+
getCell("", "2.25 CA 19-9"),
|
|
261
|
+
getCell(),
|
|
262
|
+
getCell("", "", 2),
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
tableCells: [
|
|
267
|
+
getCell("", "2.26 CA 125"),
|
|
268
|
+
getCell(),
|
|
269
|
+
getCell("", "", 2),
|
|
270
|
+
]
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
tableCells: [
|
|
274
|
+
getCell("", "2.27 CEA"),
|
|
275
|
+
getCell(),
|
|
276
|
+
getCell("", "", 2),
|
|
277
|
+
]
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
tableCells: [
|
|
281
|
+
getCell("", "2.28 AFP"),
|
|
282
|
+
getCell(),
|
|
283
|
+
getCell("", "", 2),
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
tableCells: [
|
|
288
|
+
getCell("", "CSF Chemistry", 1, 1, true),
|
|
289
|
+
getCell("", "Total Exam", 1, 1, true),
|
|
290
|
+
getCell("", "Low", 1, 1, true),
|
|
291
|
+
getCell("", "High", 1, 1, true),
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
tableCells: [
|
|
296
|
+
getCell("", "2.29 Proteins"),
|
|
297
|
+
getCell(),
|
|
298
|
+
getCell(),
|
|
299
|
+
getCell(),
|
|
300
|
+
]
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
tableCells: [
|
|
304
|
+
getCell("", "2.30 Glucose"),
|
|
305
|
+
getCell(),
|
|
306
|
+
getCell(),
|
|
307
|
+
getCell(),
|
|
308
|
+
]
|
|
309
|
+
},
|
|
310
|
+
]
|
|
311
|
+
}, []);
|
|
312
|
+
|
|
313
|
+
return <TableWrapper>
|
|
314
|
+
<TableRowMapper tableRows={tableRows} data={data} locationUuids={locationUuids} startDate={startDate} endDate={endDate} />
|
|
315
|
+
</TableWrapper>
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export default BloodChemistry;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import React, { useMemo } from "react";
|
|
2
|
+
import TableWrapper from "../../../table-wrapper/table-wrapper.component";
|
|
3
|
+
import TableRowMapper from "../../../table-wrapper/table-row-mapper.component";
|
|
4
|
+
import { getCell } from "../../../../utils/utils";
|
|
5
|
+
|
|
6
|
+
const DrugSusceptibilityTesting: React.FC = () => {
|
|
7
|
+
const cells = Array.from({ length: 25 }, (_, i) => getCell());
|
|
8
|
+
|
|
9
|
+
const tableRows = useMemo(() => {
|
|
10
|
+
return [
|
|
11
|
+
{
|
|
12
|
+
tableCells: [getCell("", "9. DRUG SUSCEPTIBILITY TESTING", 12, 1, true)]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
tableCells: [
|
|
16
|
+
getCell("", "Drug Resistance Pattern", 1, 1, true),
|
|
17
|
+
getCell("", "a. Ciprofloxacin", 1, 1, true),
|
|
18
|
+
getCell("", "b. Levofloxacin", 1, 1, true),
|
|
19
|
+
getCell("", "c. Gentamicin", 1, 1, true),
|
|
20
|
+
getCell("", "d. Tetracycline", 1, 1, true),
|
|
21
|
+
getCell("", "e. Ceftazidime", 1, 1, true),
|
|
22
|
+
getCell("", "f. Cefuroxime", 1, 1, true),
|
|
23
|
+
getCell("", "g. Cefotaxime", 1, 1, true),
|
|
24
|
+
getCell("", "h. Ampicillin", 1, 1, true),
|
|
25
|
+
getCell("", "i. Cefazolin", 1, 1, true),
|
|
26
|
+
getCell("", "j. Amoxillin-Clavulanate", 1, 1, true),
|
|
27
|
+
getCell("", "k. Amikacin", 1, 1, true),
|
|
28
|
+
getCell("", "m. Chloramphenicol", 1, 1, true),
|
|
29
|
+
getCell("", "n. Cefepime", 1, 1, true),
|
|
30
|
+
getCell("", "p. Piperacillin-tazobactam", 1, 1, true),
|
|
31
|
+
getCell("", "q. obramycin", 1, 1, true),
|
|
32
|
+
getCell("", "r. Ampicillin Sulbactam", 1, 1, true),
|
|
33
|
+
getCell("", "s. Trimethoprim Sulfamethoxazole", 1, 1, true),
|
|
34
|
+
getCell("", "t. Penicillin", 1, 1, true),
|
|
35
|
+
getCell("", "u. Vancomycin", 1, 1, true),
|
|
36
|
+
getCell("", "v. Meropenem", 1, 1, true),
|
|
37
|
+
getCell("", "w. Clindamycin", 1, 1, true),
|
|
38
|
+
getCell("", "x. Doxycycline/tetracyclin", 1, 1, true),
|
|
39
|
+
getCell("", "y. Ceftazidime-avibactam", 1, 1, true),
|
|
40
|
+
getCell("", "z. Erythromycin", 1, 1, true),
|
|
41
|
+
getCell("", "aa. Gentamicin", 1, 1, true),
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
tableCells: [
|
|
46
|
+
getCell("", "9.1 E. coli O157:H7"),
|
|
47
|
+
...cells
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
tableCells: [
|
|
52
|
+
getCell("", "9.2 Proteus spp"),
|
|
53
|
+
...cells
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
tableCells: [
|
|
58
|
+
getCell("", "9.3 Salmonella spp"),
|
|
59
|
+
...cells
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
tableCells: [
|
|
64
|
+
getCell("", "9.4 Shigella spp"),
|
|
65
|
+
...cells
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
tableCells: [
|
|
70
|
+
getCell("", "9.5 Klebsiella pneumoniae"),
|
|
71
|
+
...cells
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
tableCells: [
|
|
76
|
+
getCell("", "9.6 Pseudomonas spp"),
|
|
77
|
+
...cells
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
tableCells: [
|
|
82
|
+
getCell("", "9.7 Staphylococcus aureus"),
|
|
83
|
+
...cells
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
tableCells: [
|
|
88
|
+
getCell("", "9.8 Vibrio cholerae spp"),
|
|
89
|
+
...cells
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
tableCells: [
|
|
94
|
+
getCell("", "9.9 Neisseria meningitidis"),
|
|
95
|
+
...cells
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
tableCells: [
|
|
100
|
+
getCell("", "9.10 Neisseria gonorrhoeae"),
|
|
101
|
+
...cells
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
tableCells: [
|
|
106
|
+
getCell("", "9.11 Streptococcus pneumoniae"),
|
|
107
|
+
...cells
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
tableCells: [
|
|
112
|
+
getCell("", "9.12 Haemophilus influenzae"),
|
|
113
|
+
...cells
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
tableCells: [
|
|
118
|
+
getCell("", "9.13 Haemophilus parainfluenzae"),
|
|
119
|
+
...cells
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
tableCells: [
|
|
124
|
+
getCell("", "9.14 Bacterial vaginosis"),
|
|
125
|
+
...cells
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
]
|
|
129
|
+
}, []);
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
return <TableWrapper>
|
|
133
|
+
<TableRowMapper tableRows={tableRows} />
|
|
134
|
+
</TableWrapper>
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export default DrugSusceptibilityTesting;
|