@ampath/esm-reports-app 1.0.0-next.4 → 1.0.0-next.40

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.
Files changed (131) hide show
  1. package/dist/110.js +1 -0
  2. package/dist/110.js.map +1 -0
  3. package/dist/{260.js → 205.js} +1 -1
  4. package/dist/{260.js.map → 205.js.map} +1 -1
  5. package/dist/812.js +1 -1
  6. package/dist/812.js.map +1 -1
  7. package/dist/822.js +2 -0
  8. package/dist/822.js.map +1 -0
  9. package/dist/ampath-esm-reports-app.js +1 -1
  10. package/dist/ampath-esm-reports-app.js.buildmanifest.json +95 -74
  11. package/dist/ampath-esm-reports-app.js.map +1 -1
  12. package/dist/main.js +1 -1
  13. package/dist/main.js.map +1 -1
  14. package/dist/routes.json +1 -1
  15. package/package.json +1 -1
  16. package/src/common/report-filters/report-filters.component.tsx +5 -1
  17. package/src/dashboard/reports-dasboard.tsx +21 -0
  18. package/src/reports/datatable-wrapper/datatable-wrapper.component.tsx +54 -0
  19. package/src/reports/moh-240/moh-240-header.component.tsx +61 -0
  20. package/src/reports/moh-240/moh-240.component.tsx +93 -0
  21. package/src/reports/moh-240/moh-240.scss +11 -0
  22. package/src/reports/moh-240/sub-reports/moh-240-register.component.tsx +75 -0
  23. package/src/reports/moh-240/sub-reports/page-summary.component.tsx +98 -0
  24. package/src/reports/moh-505/moh-505-header.component.tsx +62 -0
  25. package/src/reports/moh-505/moh-505.component.tsx +440 -0
  26. package/src/reports/moh-505/moh-505.scss +3 -0
  27. package/src/reports/moh-705B/moh-204b-register.component.tsx +236 -0
  28. package/src/reports/moh-705B/moh-705b.component.tsx +524 -0
  29. package/src/reports/moh-705B/moh-705b.scss +44 -0
  30. package/src/reports/moh-705a/moh-705a.component.tsx +528 -0
  31. package/src/reports/moh-705a/moh-705a.scss +45 -0
  32. package/src/reports/moh-705a/registers/moh-204a-register.component.tsx +321 -0
  33. package/src/reports/moh-705a/type.ts +6 -0
  34. package/src/reports/moh-706/moh-706-header.component.tsx +61 -0
  35. package/src/reports/moh-706/moh-706.component.tsx +117 -0
  36. package/src/reports/moh-706/moh-706.scss +30 -0
  37. package/src/reports/moh-706/sub-reports/bacteriology/bacteriology.component.tsx +124 -0
  38. package/src/reports/moh-706/sub-reports/blood-chemistry/blood-chemistry.component.tsx +318 -0
  39. package/src/reports/moh-706/sub-reports/drug-susceptibility-testing/drug-susceptibility-testing.component.tsx +137 -0
  40. package/src/reports/moh-706/sub-reports/haematology/haematology.component.tsx +179 -0
  41. package/src/reports/moh-706/sub-reports/histology-and-cytology/histology-and-cytology.component.tsx +88 -0
  42. package/src/reports/moh-706/sub-reports/parasitology/parasitology.component.tsx +121 -0
  43. package/src/reports/moh-706/sub-reports/serology/serology.component.tsx +47 -0
  44. package/src/reports/moh-706/sub-reports/specimen-referral-to-higher-levels/specimen-referral-to-higher-levels.component.tsx +39 -0
  45. package/src/reports/moh-706/sub-reports/urine-analysis/urine-analysis.component.tsx +108 -0
  46. package/src/reports/moh-710/moh-710.component.tsx +211 -79
  47. package/src/reports/moh-710/moh-710.scss +5 -1
  48. package/src/reports/moh-710/registers/moh-511-710-register.component.tsx +263 -0
  49. package/src/reports/moh-710/registers/type.ts +31 -0
  50. package/src/reports/moh-711/moh-711.component.tsx +109 -1234
  51. package/src/reports/moh-711/moh711.scss +92 -8
  52. package/src/reports/moh-711/registers/moh-333-register.component.tsx +639 -0
  53. package/src/reports/moh-711/registers/moh-405-register.component.tsx +521 -0
  54. package/src/reports/moh-711/registers/moh-406-register.component.tsx +533 -0
  55. package/src/reports/moh-711/registers/moh-510-register.component.tsx +61 -0
  56. package/src/reports/moh-711/registers/moh-511-register.component.tsx +271 -0
  57. package/src/reports/moh-711/registers/type.ts +192 -0
  58. package/src/reports/moh-711/sections/anc.component.tsx +159 -0
  59. package/src/reports/moh-711/sections/cervical-cancer.component.tsx +148 -0
  60. package/src/reports/moh-711/sections/chanis.component.tsx +367 -0
  61. package/src/reports/moh-711/sections/family-planning.component.tsx +221 -0
  62. package/src/reports/moh-711/sections/gbv.component.tsx +115 -0
  63. package/src/reports/moh-711/sections/maternity.component.tsx +326 -0
  64. package/src/reports/moh-711/sections/medical-social-work.component.tsx +83 -0
  65. package/src/reports/moh-711/sections/other.component.tsx +47 -0
  66. package/src/reports/moh-711/sections/physiotherapy.component.tsx +61 -0
  67. package/src/reports/moh-711/sections/pnc.component.tsx +125 -0
  68. package/src/reports/moh-711/sections/post-abortion.component.tsx +42 -0
  69. package/src/reports/moh-711/sections/rehabilitation.component.tsx +57 -0
  70. package/src/reports/moh-711/sections/report-compiled-by.component.tsx +42 -0
  71. package/src/reports/moh-711/sections/tb-screening.component.tsx +57 -0
  72. package/src/reports/moh-717/moh-717.component.tsx +120 -946
  73. package/src/reports/moh-717/moh717.scss +138 -3
  74. package/src/reports/moh-717/registers/nutrition-register.component.tsx +48 -0
  75. package/src/reports/moh-717/sections/finance.component.tsx +42 -0
  76. package/src/reports/moh-717/sections/inpatient.component.tsx +374 -0
  77. package/src/reports/moh-717/sections/maternity.component.tsx +126 -0
  78. package/src/reports/moh-717/sections/medical-records.component.tsx +35 -0
  79. package/src/reports/moh-717/sections/mortuary.component.tsx +43 -0
  80. package/src/reports/moh-717/sections/operations.component.tsx +53 -0
  81. package/src/reports/moh-717/sections/orthopaedic-trauma.component.tsx +98 -0
  82. package/src/reports/moh-717/sections/outpatient.component.tsx +597 -0
  83. package/src/reports/moh-717/sections/pharmacy.component.tsx +43 -0
  84. package/src/reports/moh-717/sections/preparedby.component.tsx +47 -0
  85. package/src/reports/moh-717/sections/special-services.component.tsx +114 -0
  86. package/src/reports/moh-731/moh-731.component.tsx +181 -0
  87. package/src/reports/moh-731/moh-731.scss +118 -0
  88. package/src/reports/moh-731/registers/moh-366.component.tsx +478 -0
  89. package/src/reports/moh-731/registers/moh-366.scss +45 -0
  90. package/src/reports/moh-731/registers/prep-register.component.tsx +292 -0
  91. package/src/reports/moh-731/registers/prep-registers.scss +45 -0
  92. package/src/reports/moh-731/sections/hiv-and-tb-treatment.component.tsx +932 -0
  93. package/src/reports/moh-731/sections/hiv-testing-and-pre-exposure.component.tsx +569 -0
  94. package/src/reports/moh-731/sections/pmtct.component.tsx +451 -0
  95. package/src/reports/moh-740/moh-740.component.scss +120 -0
  96. package/src/reports/moh-740/moh-740.component.tsx +1271 -0
  97. package/src/reports/moh-740/moh-740.resource.ts +42 -0
  98. package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.scss +18 -0
  99. package/src/reports/moh-740/registers/moh-222-daily-register/moh-222-daily-register.tsx +104 -0
  100. package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.scss +18 -0
  101. package/src/reports/moh-740/registers/moh-270-permanent-register/moh-270-permanent-register.tsx +79 -0
  102. package/src/reports/moh-740/registers/moh-740-patient-list.scss +0 -0
  103. package/src/reports/moh-740/registers/moh-740-patient-list.tsx +66 -0
  104. package/src/reports/moh-740/shared/data-cell/data-cell.scss +6 -0
  105. package/src/reports/moh-740/shared/data-cell/data-cell.tsx +23 -0
  106. package/src/reports/moh-740/shared/utils/format-indicator.ts +22 -0
  107. package/src/reports/moh-740/shared/utils/indicator-register-map.ts +157 -0
  108. package/src/reports/moh-740/types/index.ts +216 -0
  109. package/src/reports/moh-745/moh-745.component.tsx +928 -0
  110. package/src/reports/moh-745/moh-745.scss +74 -0
  111. package/src/reports/moh-745/registers/moh-412-register.component.tsx +191 -0
  112. package/src/reports/moh-745/registers/type.ts +30 -0
  113. package/src/reports/table-wrapper/table-row-mapper.component.tsx +53 -0
  114. package/src/reports/table-wrapper/table-wrapper.component.tsx +21 -0
  115. package/src/reports/table-wrapper/table-wrapper.scss +31 -0
  116. package/src/resources/moh-505.resource.ts +86 -0
  117. package/src/resources/moh-705.resource.ts +117 -0
  118. package/src/resources/moh-706.resource.ts +86 -0
  119. package/src/resources/moh-710.resource.ts +28 -0
  120. package/src/resources/moh-711.resource.ts +146 -0
  121. package/src/resources/moh-717.resource.ts +27 -0
  122. package/src/resources/moh-731.resource.ts +96 -0
  123. package/src/resources/moh-745.resource.ts +64 -0
  124. package/src/root.component.tsx +39 -0
  125. package/src/routes.json +3 -1
  126. package/src/utils/utils.ts +36 -0
  127. package/dist/367.js +0 -2
  128. package/dist/367.js.map +0 -1
  129. package/dist/86.js +0 -1
  130. package/dist/86.js.map +0 -1
  131. /package/dist/{367.js.LICENSE.txt → 822.js.LICENSE.txt} +0 -0
@@ -4,9 +4,8 @@ h3 {
4
4
  }
5
5
 
6
6
  .container {
7
- border: 1px solid #ccc;
8
7
  margin: 0 2rem;
9
- margin-top: 0.5px;
8
+ padding: 1rem;
10
9
  }
11
10
 
12
11
  .tableContainer {
@@ -31,11 +30,147 @@ h3 {
31
30
 
32
31
  .tableBordered td,
33
32
  .tableBordered th {
34
- border: 1px solid #dee2e6;
33
+ border: 1px solid black;
35
34
  padding: 0.3rem;
36
35
  font-size: small;
37
36
  }
38
37
 
38
+ .tableBordered th {
39
+ font-weight: bold;
40
+ }
41
+
39
42
  .tableStriped tbody tr:nth-of-type(odd) {
40
43
  background-color: #f9f9f9;
44
+ }
45
+ .greyBackground {
46
+ background-color: #ccc;
47
+ }
48
+
49
+ .totals {
50
+ font-weight: bold;
51
+ color: #0437F2;
52
+ }
53
+
54
+ .alighnLeft {
55
+ text-align: left;
56
+ }
57
+
58
+ .rotateUp {
59
+ writing-mode: vertical-rl;
60
+ transform: rotate(180deg);
61
+ text-align: center;
62
+ white-space: nowrap;
63
+ }
64
+
65
+ .sectionContainer {
66
+ margin: 2rem 0;
67
+ display: grid;
68
+ grid-template-columns: 1fr 1fr;
69
+ // gap: 1rem;
70
+
71
+ grid-template-areas:
72
+ "left right";
73
+ }
74
+
75
+ .left {
76
+ grid-area: left;
77
+ }
78
+
79
+ .right {
80
+ grid-area: right;
81
+ }
82
+
83
+ .section{
84
+ margin: 2rem 0;
85
+ }
86
+
87
+ .sectionTwoContainer {
88
+ margin: 2rem 0;
89
+ display: grid;
90
+ grid-template-columns: 1fr 1fr 1fr;
91
+ gap: 1rem;
92
+ padding: 0 2rem;
93
+ grid-template-areas:
94
+ "one two three";
95
+ }
96
+
97
+ .one {
98
+ grid-area: one;
99
+ }
100
+
101
+ .two {
102
+ grid-area: two;
103
+ }
104
+
105
+ .three {
106
+ grid-area: three;
107
+ }
108
+
109
+
110
+ /* 📱 Stack on small screens */
111
+ @media (max-width: 768px) {
112
+ .sectionContainer {
113
+ grid-template-columns: 1fr;
114
+ grid-template-areas:
115
+ "left"
116
+ "right";
117
+ }
118
+ }
119
+
120
+ .preparedByContainer {
121
+ margin: 2rem 0;
122
+ }
123
+
124
+
125
+
126
+
127
+ .line {
128
+ display: inline-block;
129
+ width: 150px;
130
+ border-bottom: 1px solid #000;
131
+ margin-left: 4px;
132
+ }
133
+
134
+ .shortLine {
135
+ display: inline-block;
136
+ width: 90px;
137
+ border-bottom: 1px solid #000;
138
+ margin-left: 4px;
139
+ }
140
+
141
+ span {
142
+ font-weight: bold;
143
+ }
144
+
145
+ .buttonContainer {
146
+ margin: 1rem;
147
+ }
148
+
149
+ .headerContainer {
150
+ display: flex;
151
+ justify-content: space-between;
152
+ align-items: flex-start;
153
+ margin-bottom: 10px;
154
+ margin: 2rem;
155
+ }
156
+
157
+ .mainTitleBox {
158
+ border: 2px solid #000;
159
+ padding: 10px;
160
+ text-align: center;
161
+ width: 100%;
162
+ }
163
+
164
+ .mainTitle {
165
+ margin: 0;
166
+ }
167
+
168
+ .subTitle {
169
+ margin: 5px 0;
170
+ }
171
+
172
+ .locationContainer {
173
+ display: flex;
174
+ margin: 1rem;
175
+ justify-content: space-evenly;
41
176
  }
@@ -0,0 +1,48 @@
1
+ import React, { useEffect, useState } from 'react';
2
+ import { getNutritionRegister } from '../../../resources/moh-717.resource';
3
+ import { useLocation, useNavigate, useSearchParams } from 'react-router-dom';
4
+
5
+ const NutritionRegisterComponent: React.FC = () => {
6
+ const [patientlist, setPatientList] = useState<any[]>([]);
7
+ const [isLoading, setIsLoading] = useState<boolean>(false);
8
+ const [searchParams] = useSearchParams();
9
+ const navigate = useNavigate();
10
+ const location = useLocation();
11
+ const startDate = searchParams.get('startDate');
12
+ const endDate = searchParams.get('endDate');
13
+ const locationUuids = searchParams.get('locationUuids');
14
+ const indicator = searchParams.get('indicator');
15
+
16
+ useEffect(() => {
17
+ const fetchData = async () => {
18
+ if (!startDate || !endDate || !locationUuids || !indicator) return;
19
+
20
+ setIsLoading(true);
21
+
22
+ try {
23
+ const params = {
24
+ startDate,
25
+ endDate,
26
+ locationUuids,
27
+ indicator,
28
+ };
29
+
30
+ const data = await getNutritionRegister(params);
31
+ setPatientList(data?.results.results || []);
32
+ } catch (error) {
33
+ console.error('Failed to fetch register data', error);
34
+ } finally {
35
+ setIsLoading(false);
36
+ }
37
+ };
38
+
39
+ fetchData();
40
+ }, [startDate, endDate, locationUuids, indicator]);
41
+
42
+ function navigateBack() {
43
+ navigate(location.state?.from || '/moh-705b');
44
+ }
45
+ return <></>;
46
+ };
47
+
48
+ export default NutritionRegisterComponent;
@@ -0,0 +1,42 @@
1
+ import React from 'react';
2
+
3
+ import styles from '../moh717.scss';
4
+ import classNames from 'classnames';
5
+
6
+ interface FinanceComponentProps {
7
+ moh717ReportData: any;
8
+ }
9
+
10
+ const FinanceComponent: React.FC<FinanceComponentProps> = ({ moh717ReportData }) => {
11
+ return (
12
+ <>
13
+ <table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
14
+ <thead>
15
+ <tr>
16
+ <th colSpan={2}>G. FINANCE</th>
17
+ </tr>
18
+ </thead>
19
+ <tbody>
20
+ <tr>
21
+ <td>G.1 Total Amount Collected (Kshs)</td>
22
+ <td>{}</td>
23
+ <td>G.3 Clients waived</td>
24
+ <td>{}</td>
25
+ <td>Clients exempted</td>
26
+ <td>{}</td>
27
+ </tr>
28
+ <tr>
29
+ <td>G.2 Total Amount Received</td>
30
+ <td>{}</td>
31
+ <td>G.4 Clients waived (Kshs)</td>
32
+ <td>{}</td>
33
+ <td>G.5 Clients Exempted (Kshs)</td>
34
+ <td>{}</td>
35
+ </tr>
36
+ </tbody>
37
+ </table>
38
+ </>
39
+ );
40
+ };
41
+
42
+ export default FinanceComponent;
@@ -0,0 +1,374 @@
1
+ import React from 'react';
2
+
3
+ import styles from '../moh717.scss';
4
+ import classNames from 'classnames';
5
+
6
+ interface InpatientComponentProps {
7
+ moh717ReportData: any;
8
+ }
9
+
10
+ const InpatientComponent = ({ moh717ReportData }: InpatientComponentProps) => {
11
+ return (
12
+ <>
13
+ <table className={classNames(`${styles.table}`, `${styles.tableBordered}`, `${styles.tableStriped}`)}>
14
+ <thead>
15
+ <tr>
16
+ <th colSpan={2}>B.1 INPATIENTS</th>
17
+ <th className={styles.rotateUp}>MEDICAL</th>
18
+ <th className={styles.rotateUp}>SURGICAL</th>
19
+ <th className={styles.rotateUp}>OBST/GYN</th>
20
+ <th className={styles.rotateUp}>PAEDIATRICS</th>
21
+ <th className={styles.rotateUp}>MATERNITY</th>
22
+ <th className={styles.rotateUp}>EYE</th>
23
+ <th className={styles.rotateUp}>
24
+ NURSERY/
25
+ <br />
26
+ NEWBORN
27
+ </th>
28
+ <th className={styles.rotateUp}>ORTHOPAEDIC</th>
29
+ <th className={styles.rotateUp}>ISOLATION</th>
30
+ <th className={styles.rotateUp}>AMENITY</th>
31
+ <th className={styles.rotateUp}>PSYCHIATRY</th>
32
+ <th className={styles.rotateUp}>ICU</th>
33
+ <th className={styles.rotateUp}>RENAL</th>
34
+ <th className={styles.rotateUp}>OTHER</th>
35
+ <th className={styles.rotateUp}>TOTAL</th>
36
+ </tr>
37
+ </thead>
38
+ <tbody>
39
+ <tr>
40
+ <td>B.1.1</td>
41
+ <td>Discharges</td>
42
+ <td>{moh717ReportData.medical_discharges}</td>
43
+ <td>{moh717ReportData.surgical_discharges}</td>
44
+ <td>{moh717ReportData.obst_gyn_discharges}</td>
45
+ <td>{moh717ReportData.paediatrics_discharges}</td>
46
+ <td>{moh717ReportData.maternity_discharges}</td>
47
+ <td>{moh717ReportData.eye_discharges}</td>
48
+ <td>{moh717ReportData.nursery_newborn_discharges}</td>
49
+ <td>{moh717ReportData.orthopaedic_discharges}</td>
50
+ <td>{}</td>
51
+ <td>{}</td>
52
+ <td>{}</td>
53
+ <td>{}</td>
54
+ <td>{}</td>
55
+ <td>{}</td>
56
+ <td>{}</td>
57
+ </tr>
58
+ <tr>
59
+ <td>B.1.2</td>
60
+ <td>Deaths</td>
61
+ <td>{moh717ReportData.medical_deaths}</td>
62
+ <td>{moh717ReportData.surgical_deaths}</td>
63
+ <td>{moh717ReportData.obst_gyn_deaths}</td>
64
+ <td>{moh717ReportData.paediatrics_deaths}</td>
65
+ <td>{moh717ReportData.maternity_deaths}</td>
66
+ <td>{moh717ReportData.eye_deaths}</td>
67
+ <td>{moh717ReportData.nursery_newborn_deaths}</td>
68
+ <td>{moh717ReportData.orthopaedic_deaths}</td>
69
+ <td>{}</td>
70
+ <td>{}</td>
71
+ <td>{}</td>
72
+ <td>{}</td>
73
+ <td>{}</td>
74
+ <td>{}</td>
75
+ <td>{}</td>
76
+ </tr>
77
+ <tr>
78
+ <td>B.1.3</td>
79
+ <td>Abscondees</td>
80
+ <td>{moh717ReportData.medical_abscondees}</td>
81
+ <td>{moh717ReportData.surgical_abscondees}</td>
82
+ <td>{moh717ReportData.obst_gyn_abscondees}</td>
83
+ <td>{moh717ReportData.paediatrics_abscondees}</td>
84
+ <td>{moh717ReportData.maternity_abscondees}</td>
85
+ <td>{moh717ReportData.eye_abscondees}</td>
86
+ <td>{moh717ReportData.nursery_newborn_abscondees}</td>
87
+ <td>{moh717ReportData.orthopaedic_abscondees}</td>
88
+ <td>{}</td>
89
+ <td>{}</td>
90
+ <td>{}</td>
91
+ <td>{}</td>
92
+ <td>{}</td>
93
+ <td>{}</td>
94
+ <td>{}</td>
95
+ </tr>
96
+ <tr>
97
+ <td>B.1.4</td>
98
+ <td>Referrals Out of the Facility</td>
99
+ <td>{moh717ReportData.medical_referrals_out_of_facility}</td>
100
+ <td>{moh717ReportData.surgical_referrals_out_of_facility}</td>
101
+ <td>{moh717ReportData.obst_gyn_referrals_out_of_facility}</td>
102
+ <td>{moh717ReportData.paediatrics_referrals_out_of_facility}</td>
103
+ <td>{moh717ReportData.maternity_referrals_out_of_facility}</td>
104
+ <td>{moh717ReportData.eye_referrals_out_of_facility}</td>
105
+ <td>{moh717ReportData.nursery_newborn_referrals_out_of_facility}</td>
106
+ <td>{moh717ReportData.orthopaedic_referrals_out_of_facility}</td>
107
+ <td>{}</td>
108
+ <td>{}</td>
109
+ <td>{}</td>
110
+ <td>{}</td>
111
+ <td>{}</td>
112
+ <td>{}</td>
113
+ <td>{}</td>
114
+ </tr>
115
+ <tr>
116
+ <td className={styles.totals}>B.1.5</td>
117
+ <td className={styles.totals}>TOTAL DISCHARGES, DEATHS, etc.</td>
118
+ <td className={styles.totals}>{}</td>
119
+ <td className={styles.totals}>{}</td>
120
+ <td className={styles.totals}>{}</td>
121
+ <td className={styles.totals}>{}</td>
122
+ <td className={styles.totals}>{}</td>
123
+ <td className={styles.totals}>{}</td>
124
+ <td className={styles.totals}>{}</td>
125
+ <td className={styles.totals}>{}</td>
126
+ <td className={styles.totals}>{}</td>
127
+ <td className={styles.totals}>{}</td>
128
+ <td className={styles.totals}>{}</td>
129
+ <td className={styles.totals}>{}</td>
130
+ <td className={styles.totals}>{}</td>
131
+ <td className={styles.totals}>{}</td>
132
+ <td className={styles.totals}>{}</td>
133
+ </tr>
134
+ <tr>
135
+ <td className={styles.totals}>B.1.6</td>
136
+ <td colSpan={16} className={styles.totals}>
137
+ Admissions
138
+ </td>
139
+ </tr>
140
+ <tr>
141
+ <td>B.1.7a</td>
142
+ <td>Admissions Under Five</td>
143
+ <td>{moh717ReportData.medical_admissions_under_five}</td>
144
+ <td>{moh717ReportData.surgical_admissions_under_five}</td>
145
+ <td>{moh717ReportData.obst_gyn_admissions_under_five}</td>
146
+ <td>{moh717ReportData.paediatrics_admissions_under_five}</td>
147
+ <td>{moh717ReportData.maternity_admissions_under_five}</td>
148
+ <td>{moh717ReportData.eye_admissions_under_five}</td>
149
+ <td>{moh717ReportData.nursery_newborn_admissions_under_five}</td>
150
+ <td>{moh717ReportData.orthopaedic_admissions_under_five}</td>
151
+ <td>{}</td>
152
+ <td>{}</td>
153
+ <td>{}</td>
154
+ <td>{}</td>
155
+ <td>{}</td>
156
+ <td>{}</td>
157
+ <td>{}</td>
158
+ </tr>
159
+ <tr>
160
+ <td>B.1.7b</td>
161
+ <td>Admissions Over Five</td>
162
+ <td>{moh717ReportData.medical_admissions_over_five}</td>
163
+ <td>{moh717ReportData.surgical_admissions_over_five}</td>
164
+ <td>{moh717ReportData.obst_gyn_admissions_over_five}</td>
165
+ <td>{moh717ReportData.paediatrics_admissions_over_five}</td>
166
+ <td>{moh717ReportData.maternity_admissions_over_five}</td>
167
+ <td>{moh717ReportData.eye_admissions_over_five}</td>
168
+ <td>{moh717ReportData.nursery_newborn_admissions_over_five}</td>
169
+ <td>{moh717ReportData.orthopaedic_admissions_over_five}</td>
170
+ <td>{}</td>
171
+ <td>{}</td>
172
+ <td>{}</td>
173
+ <td>{}</td>
174
+ <td>{}</td>
175
+ <td>{}</td>
176
+ <td>{}</td>
177
+ </tr>
178
+ <tr>
179
+ <td>B.1.8</td>
180
+ <td>Paroles</td>
181
+ <td>{moh717ReportData.medical_paroles}</td>
182
+ <td>{moh717ReportData.surgical_paroles}</td>
183
+ <td>{moh717ReportData.obst_gyn_paroles}</td>
184
+ <td>{moh717ReportData.paediatrics_paroles}</td>
185
+ <td>{moh717ReportData.maternity_paroles}</td>
186
+ <td>{moh717ReportData.eye_paroles}</td>
187
+ <td>{moh717ReportData.nursery_newborn_paroles}</td>
188
+ <td>{moh717ReportData.orthopaedic_paroles}</td>
189
+ <td>{}</td>
190
+ <td>{}</td>
191
+ <td>{}</td>
192
+ <td>{}</td>
193
+ <td>{}</td>
194
+ <td>{}</td>
195
+ <td>{}</td>
196
+ </tr>
197
+ <tr>
198
+ <td>B.1.9</td>
199
+ <td>Occupied Bed Days -NHIF Members/ And other insurers</td>
200
+ <td>{moh717ReportData.medical_occupied_bed_days_sha_members}</td>
201
+ <td>{moh717ReportData.surgical_occupied_bed_days_sha_members}</td>
202
+ <td>{moh717ReportData.obst_gyn_occupied_bed_days_sha_members}</td>
203
+ <td>{moh717ReportData.paediatrics_occupied_bed_days_sha_members}</td>
204
+ <td>{moh717ReportData.maternity_occupied_bed_days_sha_members}</td>
205
+ <td>{moh717ReportData.eye_occupied_bed_days_sha_members}</td>
206
+ <td>{moh717ReportData.nursery_newborn_occupied_bed_days_sha_members}</td>
207
+ <td>{moh717ReportData.orthopaedic_occupied_bed_days_sha_members}</td>
208
+ <td>{}</td>
209
+ <td>{}</td>
210
+ <td>{}</td>
211
+ <td>{}</td>
212
+ <td>{}</td>
213
+ <td>{}</td>
214
+ <td>{}</td>
215
+ </tr>
216
+ <tr>
217
+ <td>B.1.1O</td>
218
+ <td>Occupied Bed Days- Cash</td>
219
+ <td>{moh717ReportData.medical_occupied_bed_days_non_sha_members}</td>
220
+ <td>{moh717ReportData.surgical_occupied_bed_days_non_sha_members}</td>
221
+ <td>{moh717ReportData.obst_gyn_occupied_bed_days_non_sha_members}</td>
222
+ <td>{moh717ReportData.paediatrics_occupied_bed_days_non_sha_members}</td>
223
+ <td>{moh717ReportData.maternity_occupied_bed_days_non_sha_members}</td>
224
+ <td>{moh717ReportData.eye_occupied_bed_days_non_sha_members}</td>
225
+ <td>{moh717ReportData.nursery_newborn_occupied_bed_days_non_sha_members}</td>
226
+ <td>{moh717ReportData.orthopaedic_occupied_bed_days_non_sha_members}</td>
227
+ <td>{}</td>
228
+ <td>{}</td>
229
+ <td>{}</td>
230
+ <td>{}</td>
231
+ <td>{}</td>
232
+ <td>{}</td>
233
+ <td>{}</td>
234
+ </tr>
235
+ <tr>
236
+ <td>B.1.11</td>
237
+ <td>Well Persons Days</td>
238
+ <td>{moh717ReportData.medical_well_persons_days}</td>
239
+ <td>{moh717ReportData.surgical_well_persons_days}</td>
240
+ <td>{moh717ReportData.obst_gyn_well_persons_days}</td>
241
+ <td>{moh717ReportData.paediatrics_well_persons_days}</td>
242
+ <td>{moh717ReportData.maternity_well_persons_days}</td>
243
+ <td>{moh717ReportData.eye_well_persons_days}</td>
244
+ <td>{moh717ReportData.nursery_newborn_well_persons_days}</td>
245
+ <td>{moh717ReportData.orthopaedic_well_persons_days}</td>
246
+ <td>{}</td>
247
+ <td>{}</td>
248
+ <td>{}</td>
249
+ <td>{}</td>
250
+ <td>{}</td>
251
+ <td>{}</td>
252
+ <td>{}</td>
253
+ </tr>
254
+ <tr>
255
+ <td>B.1.12</td>
256
+ <td>Beds- Authorized</td>
257
+ <td>{moh717ReportData.medical_authorised_beds}</td>
258
+ <td>{moh717ReportData.surgical_authorised_beds}</td>
259
+ <td>{moh717ReportData.obst_gyn_authorised_beds}</td>
260
+ <td>{moh717ReportData.paediatrics_authorised_beds}</td>
261
+ <td>{moh717ReportData.maternity_authorised_beds}</td>
262
+ <td>{moh717ReportData.eye_authorised_beds}</td>
263
+ <td>{moh717ReportData.nursery_newborn_authorised_beds}</td>
264
+ <td>{moh717ReportData.orthopaedic_authorised_beds}</td>
265
+ <td>{}</td>
266
+ <td>{}</td>
267
+ <td>{}</td>
268
+ <td>{}</td>
269
+ <td>{}</td>
270
+ <td>{}</td>
271
+ <td>{}</td>
272
+ </tr>
273
+ <tr>
274
+ <td>B.1.13</td>
275
+ <td>Beds- Actual Physical</td>
276
+ <td>{moh717ReportData.medical_actual_physical_beds}</td>
277
+ <td>{moh717ReportData.surgical_actual_physical_beds}</td>
278
+ <td>{moh717ReportData.obst_gyn_actual_physical_beds}</td>
279
+ <td>{moh717ReportData.paediatrics_actual_physical_beds}</td>
280
+ <td>{moh717ReportData.maternity_actual_physical_beds}</td>
281
+ <td>{moh717ReportData.eye_actual_physical_beds}</td>
282
+ <td>{moh717ReportData.nursery_newborn_actual_physical_beds}</td>
283
+ <td>{moh717ReportData.orthopaedic_actual_physical_beds}</td>
284
+ <td>{}</td>
285
+ <td>{}</td>
286
+ <td>{}</td>
287
+ <td>{}</td>
288
+ <td>{}</td>
289
+ <td>{}</td>
290
+ <td>{}</td>
291
+ </tr>
292
+ <tr>
293
+ <td>B.1.14</td>
294
+ <td>Cots- Authorised</td>
295
+ <td>{moh717ReportData.medical_authorised_cots}</td>
296
+ <td>{moh717ReportData.surgical_authorised_cots}</td>
297
+ <td>{moh717ReportData.obst_gyn_authorised_cots}</td>
298
+ <td>{moh717ReportData.paediatrics_authorised_cots}</td>
299
+ <td>{moh717ReportData.maternity_authorised_cots}</td>
300
+ <td>{moh717ReportData.eye_authorised_cots}</td>
301
+ <td>{moh717ReportData.nursery_newborn_authorised_cots}</td>
302
+ <td>{moh717ReportData.orthopaedic_authorised_cots}</td>
303
+ <td>{}</td>
304
+ <td>{}</td>
305
+ <td>{}</td>
306
+ <td>{}</td>
307
+ <td>{}</td>
308
+ <td>{}</td>
309
+ <td>{}</td>
310
+ </tr>
311
+ <tr>
312
+ <td>B.1.15</td>
313
+ <td>Cots- Actual Physical</td>
314
+ <td>{moh717ReportData.medical_actual_physical_cots}</td>
315
+ <td>{moh717ReportData.surgical_actual_physical_cots}</td>
316
+ <td>{moh717ReportData.obst_gyn_actual_physical_cots}</td>
317
+ <td>{moh717ReportData.paediatrics_actual_physical_cots}</td>
318
+ <td>{moh717ReportData.maternity_actual_physical_cots}</td>
319
+ <td>{moh717ReportData.eye_actual_physical_cots}</td>
320
+ <td>{moh717ReportData.nursery_newborn_actual_physical_cots}</td>
321
+ <td>{moh717ReportData.orthopaedic_actual_physical_cots}</td>
322
+ <td>{}</td>
323
+ <td>{}</td>
324
+ <td>{}</td>
325
+ <td>{}</td>
326
+ <td>{}</td>
327
+ <td>{}</td>
328
+ <td>{}</td>
329
+ </tr>
330
+ <tr>
331
+ <td>B.1.16</td>
332
+ <td>Incubator- Authorised</td>
333
+ <td>{moh717ReportData.medical_authorised_incubator}</td>
334
+ <td>{moh717ReportData.surgical_authorised_incubator}</td>
335
+ <td>{moh717ReportData.obst_gyn_authorised_incubator}</td>
336
+ <td>{moh717ReportData.paediatrics_authorised_incubator}</td>
337
+ <td>{moh717ReportData.maternity_authorised_incubator}</td>
338
+ <td>{moh717ReportData.eye_authorised_incubator}</td>
339
+ <td>{moh717ReportData.nursery_newborn_authorised_incubator}</td>
340
+ <td>{moh717ReportData.orthopaedic_authorised_incubator}</td>
341
+ <td>{}</td>
342
+ <td>{}</td>
343
+ <td>{}</td>
344
+ <td>{}</td>
345
+ <td>{}</td>
346
+ <td>{}</td>
347
+ <td>{}</td>
348
+ </tr>
349
+ <tr>
350
+ <td>B.1.17</td>
351
+ <td>Incubator- Actual Physical</td>
352
+ <td>{moh717ReportData.medical_actual_Physical_incubator}</td>
353
+ <td>{moh717ReportData.surgical_actual_Physical_incubator}</td>
354
+ <td>{moh717ReportData.obst_gyn_actual_Physical_incubator}</td>
355
+ <td>{moh717ReportData.paediatrics_actual_Physical_incubator}</td>
356
+ <td>{moh717ReportData.maternity_actual_Physical_incubator}</td>
357
+ <td>{moh717ReportData.eye_actual_Physical_incubator}</td>
358
+ <td>{moh717ReportData.nursery_newborn_actual_Physical_incubator}</td>
359
+ <td>{moh717ReportData.orthopaedic_actual_Physical_incubator}</td>
360
+ <td>{}</td>
361
+ <td>{}</td>
362
+ <td>{}</td>
363
+ <td>{}</td>
364
+ <td>{}</td>
365
+ <td>{}</td>
366
+ <td>{}</td>
367
+ </tr>
368
+ </tbody>
369
+ </table>
370
+ </>
371
+ );
372
+ };
373
+
374
+ export default InpatientComponent;