@ampath/esm-dha-workflow-app 4.0.0-next.15 → 4.0.0-next.151

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 (379) hide show
  1. package/dist/1197.js +1 -0
  2. package/dist/1277.js +1 -0
  3. package/dist/1277.js.map +1 -0
  4. package/dist/1558.js +2 -0
  5. package/dist/1558.js.map +1 -0
  6. package/dist/1729.js +1 -0
  7. package/dist/1729.js.map +1 -0
  8. package/dist/182.js +1 -0
  9. package/dist/182.js.map +1 -0
  10. package/dist/1826.js +1 -0
  11. package/dist/1826.js.map +1 -0
  12. package/dist/1833.js +1 -0
  13. package/dist/1833.js.map +1 -0
  14. package/dist/1856.js +1 -0
  15. package/dist/1856.js.map +1 -0
  16. package/dist/1925.js +1 -0
  17. package/dist/1925.js.map +1 -0
  18. package/dist/2021.js +1 -0
  19. package/dist/2021.js.map +1 -0
  20. package/dist/2054.js +1 -0
  21. package/dist/2054.js.map +1 -0
  22. package/dist/2177.js +2 -0
  23. package/dist/2177.js.map +1 -0
  24. package/dist/2333.js +1 -0
  25. package/dist/2333.js.map +1 -0
  26. package/dist/2364.js +2 -0
  27. package/dist/{388.js.LICENSE.txt → 2364.js.LICENSE.txt} +15 -0
  28. package/dist/2364.js.map +1 -0
  29. package/dist/2801.js +1 -0
  30. package/dist/2801.js.map +1 -0
  31. package/dist/3041.js +1 -0
  32. package/dist/3041.js.map +1 -0
  33. package/dist/3099.js +1 -0
  34. package/dist/3184.js +2 -0
  35. package/dist/3184.js.map +1 -0
  36. package/dist/3654.js +1 -0
  37. package/dist/3654.js.map +1 -0
  38. package/dist/4055.js +1 -0
  39. package/dist/4205.js +1 -0
  40. package/dist/4205.js.map +1 -0
  41. package/dist/4225.js +1 -0
  42. package/dist/4225.js.map +1 -0
  43. package/dist/4300.js +1 -0
  44. package/dist/4335.js +1 -0
  45. package/dist/4353.js +1 -0
  46. package/dist/4353.js.map +1 -0
  47. package/dist/4517.js +1 -0
  48. package/dist/4517.js.map +1 -0
  49. package/dist/4652.js +1 -0
  50. package/dist/4674.js +1 -0
  51. package/dist/4674.js.map +1 -0
  52. package/dist/4947.js +1 -0
  53. package/dist/4947.js.map +1 -0
  54. package/dist/5015.js +1 -0
  55. package/dist/5015.js.map +1 -0
  56. package/dist/5422.js +1 -0
  57. package/dist/5422.js.map +1 -0
  58. package/dist/5428.js +1 -0
  59. package/dist/5428.js.map +1 -0
  60. package/dist/5752.js +1 -0
  61. package/dist/5752.js.map +1 -0
  62. package/dist/5851.js +1 -0
  63. package/dist/5851.js.map +1 -0
  64. package/dist/6260.js +1 -0
  65. package/dist/6260.js.map +1 -0
  66. package/dist/6264.js +1 -0
  67. package/dist/6264.js.map +1 -0
  68. package/dist/6540.js +2 -0
  69. package/dist/6540.js.map +1 -0
  70. package/dist/6606.js +1 -0
  71. package/dist/6606.js.map +1 -0
  72. package/dist/{709.js → 693.js} +1 -1
  73. package/dist/693.js.map +1 -0
  74. package/dist/6991.js +1 -0
  75. package/dist/6991.js.map +1 -0
  76. package/dist/7199.js +1 -0
  77. package/dist/7199.js.map +1 -0
  78. package/dist/7255.js +1 -0
  79. package/dist/7255.js.map +1 -0
  80. package/dist/7258.js +1 -0
  81. package/dist/7258.js.map +1 -0
  82. package/dist/7420.js +1 -0
  83. package/dist/7420.js.map +1 -0
  84. package/dist/8114.js +1 -0
  85. package/dist/8114.js.map +1 -0
  86. package/dist/8235.js +1 -0
  87. package/dist/8235.js.map +1 -0
  88. package/dist/8339.js +1 -0
  89. package/dist/8339.js.map +1 -0
  90. package/dist/8558.js +1 -0
  91. package/dist/8558.js.map +1 -0
  92. package/dist/8865.js +1 -0
  93. package/dist/8865.js.map +1 -0
  94. package/dist/8895.js +1 -0
  95. package/dist/8895.js.map +1 -0
  96. package/dist/9037.js +1 -0
  97. package/dist/9037.js.map +1 -0
  98. package/dist/9091.js +1 -0
  99. package/dist/9091.js.map +1 -0
  100. package/dist/9093.js +1 -0
  101. package/dist/9093.js.map +1 -0
  102. package/dist/9117.js +1 -0
  103. package/dist/9117.js.map +1 -0
  104. package/dist/9721.js +1 -0
  105. package/dist/9721.js.map +1 -0
  106. package/dist/esm-dha-workflow-app.js +1 -1
  107. package/dist/esm-dha-workflow-app.js.buildmanifest.json +990 -215
  108. package/dist/esm-dha-workflow-app.js.map +1 -1
  109. package/dist/main.js +1 -1
  110. package/dist/main.js.map +1 -1
  111. package/dist/routes.json +1 -1
  112. package/package.json +10 -3
  113. package/src/accounting/accounting.component.tsx +13 -0
  114. package/src/admissions/admission-request-list/admission-request-list.scss +0 -0
  115. package/src/admissions/admission-request-list/admission-request-list.tsx +134 -0
  116. package/src/admissions/admissions-dashboard.component.scss +15 -0
  117. package/src/admissions/admissions-dashboard.component.tsx +160 -0
  118. package/src/admissions/admissions.resource.ts +101 -0
  119. package/src/admissions/admitted-list/admitted-patients-list.tsx +141 -0
  120. package/src/admissions/constants/index.ts +33 -0
  121. package/src/admissions/discharged-list/discharged-list.scss +0 -0
  122. package/src/admissions/discharged-list/discharged-list.tsx +58 -0
  123. package/src/admissions/inpatient/admission-history/patient-admission-history.tsx +76 -0
  124. package/src/admissions/inpatient/admission-requests/patient-admission-requests.scss +19 -0
  125. package/src/admissions/inpatient/admission-requests/patient-admission-requests.tsx +72 -0
  126. package/src/admissions/inpatient/inpatient-admissions.component.scss +7 -0
  127. package/src/admissions/inpatient/inpatient-admissions.component.tsx +46 -0
  128. package/src/admissions/modal/admit-elsewhere/admit-elsewhere.modal.scss +23 -0
  129. package/src/admissions/modal/admit-elsewhere/admit-elsewhere.modal.tsx +156 -0
  130. package/src/admissions/modal/admit-patient/admit-patient.modal.scss +0 -0
  131. package/src/admissions/modal/admit-patient/admit-patient.modal.tsx +109 -0
  132. package/src/admissions/modal/bed-swap/bed-swap.modal.scss +0 -0
  133. package/src/admissions/modal/bed-swap/bed-swap.modal.tsx +102 -0
  134. package/src/admissions/modal/cancel-admission-request/cancel-admission-request.scss +11 -0
  135. package/src/admissions/modal/cancel-admission-request/cancel-admission-request.tsx +105 -0
  136. package/src/admissions/modal/discharge/discharge-patient.modal.scss +13 -0
  137. package/src/admissions/modal/discharge/discharge-patient.modal.tsx +84 -0
  138. package/src/admissions/types/index.ts +192 -0
  139. package/src/appointments/appointments.component.tsx +13 -0
  140. package/src/billing/api/billing.api.ts +107 -0
  141. package/src/billing/billing-root.tsx +20 -0
  142. package/src/billing/dashboard/billingDashboard.component.scss +0 -0
  143. package/src/billing/dashboard/billingDashboard.component.tsx +25 -0
  144. package/src/billing/extensions/visit-billing/visit-billing.extension.scss +0 -0
  145. package/src/billing/extensions/visit-billing/visit-billing.extension.tsx +508 -0
  146. package/src/billing/invoice/bill.resource.ts +47 -0
  147. package/src/billing/invoice/invoice-header/header-card/header-card.scss +17 -0
  148. package/src/billing/invoice/invoice-header/header-card/header-card.tsx +21 -0
  149. package/src/billing/invoice/invoice.scss +113 -0
  150. package/src/billing/invoice/invoice.tsx +1441 -0
  151. package/src/billing/invoice/line-items/line-items.scss +0 -0
  152. package/src/billing/invoice/line-items/line-items.tsx +120 -0
  153. package/src/billing/invoice/modal/delete-bill-item/delete-bill-item.modal.scss +23 -0
  154. package/src/billing/invoice/modal/delete-bill-item/delete-bill-item.modal.tsx +114 -0
  155. package/src/billing/invoice/modal/edit-bill-item/edit-bill-item.modal.scss +0 -0
  156. package/src/billing/invoice/modal/edit-bill-item/edit-bill-item.modal.tsx +122 -0
  157. package/src/billing/invoice/payment-details/payment-details.scss +0 -0
  158. package/src/billing/invoice/payment-details/payment-details.tsx +43 -0
  159. package/src/billing/invoice/print-invoice/print-receipt.component.tsx +44 -0
  160. package/src/billing/invoice/print-invoice/print-receipt.scss +14 -0
  161. package/src/billing/types/index.ts +84 -0
  162. package/src/billing/utils/index.ts +17 -0
  163. package/src/billing/widgets/billingTotalsRow.component.scss +0 -0
  164. package/src/billing/widgets/billingTotalsRow.component.tsx +712 -0
  165. package/src/billing/workspaces/create-order-bill-form-workspace/create-order-bill-form.resource.ts +103 -0
  166. package/src/billing/workspaces/create-order-bill-form-workspace/create-order-bill-form.scss +58 -0
  167. package/src/billing/workspaces/create-order-bill-form-workspace/create-order-bill-form.workspace.tsx +349 -0
  168. package/src/billing/workspaces/create-order-bill-form-workspace/schema.ts +11 -0
  169. package/src/bookings/bookings.component.scss +7 -0
  170. package/src/bookings/bookings.component.tsx +31 -0
  171. package/src/bookings/daily/daily-bookings.component.scss +38 -0
  172. package/src/bookings/daily/daily-bookings.component.tsx +138 -0
  173. package/src/bookings/daily/daily-bookings.resource.ts +28 -0
  174. package/src/bookings/daily/filters/daily-bookings-filter.component.scss +15 -0
  175. package/src/bookings/daily/filters/daily-bookings-filter.component.tsx +80 -0
  176. package/src/bookings/daily/patient-list/daily-bookings-patient-list.component.tsx +97 -0
  177. package/src/bookings/types/index.ts +68 -0
  178. package/src/config-schema.ts +91 -1
  179. package/src/createDashboardLink.tsx +9 -0
  180. package/src/dashboard/charts/chart.component.scss +13 -0
  181. package/src/dashboard/charts/chart.component.tsx +56 -0
  182. package/src/dashboard/dashboard.component.scss +7 -0
  183. package/src/dashboard/dashboard.component.tsx +51 -0
  184. package/src/dashboard/overview/overview.component.scss +150 -0
  185. package/src/dashboard/overview/overview.component.tsx +134 -0
  186. package/src/dashboard/patient-list/patient-list.component.tsx +41 -0
  187. package/src/dashboard-meta/accounting-dashboard.meta.ts +6 -0
  188. package/src/dashboard-meta/admissions-dashboard.meta.ts +6 -0
  189. package/src/dashboard-meta/billing-dashboard.meta.ts +6 -0
  190. package/src/dashboard-meta/bookings-dashboard.meta.ts +6 -0
  191. package/src/dashboard-meta/consultation-dashboard.meta.ts +6 -0
  192. package/src/dashboard-meta/dha-workflow-dashboard.meta.ts +6 -0
  193. package/src/dashboard-meta/inpatient-admissions.meta.ts +6 -0
  194. package/src/dashboard-meta/maternity-dashboard.meta.ts +6 -0
  195. package/src/dashboard-meta/mch-dashboard.meta.ts +6 -0
  196. package/src/dashboard-meta/pharmacy-dashboard.meta.ts +6 -0
  197. package/src/dashboard-meta/queue-dashboard.meta.ts +6 -0
  198. package/src/dashboard-meta/registers-dashboard.meta.ts +6 -0
  199. package/src/dashboard-meta/registry-dashboard.meta.ts +6 -0
  200. package/src/dashboard-meta/service-queue-admin.meta.ts +6 -0
  201. package/src/dashboard-meta/triage-dashboard.meta.ts +6 -0
  202. package/src/hooks/useActions.ts +19 -2
  203. package/src/index.ts +110 -15
  204. package/src/laboratory/laboratory.component.tsx +13 -0
  205. package/src/mnch/maternity/maternity-queues.component.scss +7 -0
  206. package/src/mnch/maternity/maternity-queues.component.tsx +28 -0
  207. package/src/mnch/maternity/queues/triage/maternity-triage.tsx +15 -0
  208. package/src/mnch/mch/mch-queues.component.scss +7 -0
  209. package/src/mnch/mch/mch-queues.component.tsx +32 -0
  210. package/src/mnch/mch/queues/consultation/mch-consultation.tsx +18 -0
  211. package/src/mnch/mch/queues/triage/mch-triage.tsx +15 -0
  212. package/src/mnch/mnch-root.tsx +17 -0
  213. package/src/mortuary/mortuary.component.tsx +13 -0
  214. package/src/pharmacy/pharmacy.component.tsx +13 -0
  215. package/src/registers/registers.component.tsx +8 -0
  216. package/src/registry/eligibility/eliigibility-tags/eligibility-tags.scss +6 -0
  217. package/src/registry/eligibility/eliigibility-tags/eligibility-tags.tsx +137 -0
  218. package/src/registry/eligibility/modal/eligibility-details.modal.scss +38 -0
  219. package/src/registry/eligibility/modal/eligibility-details.modal.tsx +131 -0
  220. package/src/registry/modal/client-details-modal/client-details-modal.tsx +9 -26
  221. package/src/registry/modal/otp-verification-modal/otp-verification-modal.scss +31 -1
  222. package/src/registry/modal/otp-verification-modal/otp-verification-modal.tsx +139 -54
  223. package/src/registry/modal/send-to-triage/send-to-triage.modal.scss +9 -1
  224. package/src/registry/modal/send-to-triage/send-to-triage.modal.tsx +665 -45
  225. package/src/registry/payment-details/payment-options/payment-options.scss +13 -0
  226. package/src/registry/payment-details/payment-options/payment-options.tsx +61 -14
  227. package/src/registry/registry.component.scss +6 -0
  228. package/src/registry/registry.component.tsx +94 -27
  229. package/src/registry/registry.resource.ts +10 -6
  230. package/src/registry/types/index.ts +120 -0
  231. package/src/registry/utils/hie-client-adapter.ts +3 -0
  232. package/src/registry/utils/mask-data.ts +11 -0
  233. package/src/resources/dashboard.resource.ts +20 -0
  234. package/src/resources/identifier-types.ts +2 -0
  235. package/src/resources/patient-resource.ts +3 -1
  236. package/src/resources/queue.resource.ts +24 -1
  237. package/src/resources/superset.resource.ts +21 -0
  238. package/src/resources/visit.resource.ts +19 -1
  239. package/src/root.component.tsx +27 -6
  240. package/src/routes.json +222 -15
  241. package/src/{consultation → service-queues}/action-button.component.tsx +2 -2
  242. package/src/{consultation → service-queues}/action-overflow-menu-item.component.tsx +2 -2
  243. package/src/service-queues/admin/queue/modal/create-queue/create-queue.modal.scss +31 -0
  244. package/src/service-queues/admin/queue/modal/create-queue/create-queue.modal.tsx +143 -0
  245. package/src/service-queues/admin/queue/modal/edit-queue/edit-queue.modal.scss +0 -0
  246. package/src/service-queues/admin/queue/modal/edit-queue/edit-queue.modal.tsx +154 -0
  247. package/src/service-queues/admin/queue/queue-list/queue-list.scss +33 -0
  248. package/src/service-queues/admin/queue/queue-list/queue-list.tsx +113 -0
  249. package/src/service-queues/admin/queue-entry/queue-entry-list.component.scss +6 -0
  250. package/src/service-queues/admin/queue-entry/queue-entry-list.component.tsx +137 -0
  251. package/src/service-queues/admin/queue-room/modal/create-queue-room/create-queue-room.modal.scss +31 -0
  252. package/src/service-queues/admin/queue-room/modal/create-queue-room/create-queue-room.modal.tsx +137 -0
  253. package/src/service-queues/admin/queue-room/modal/edit-queue-room/edit-queue-room.modal.scss +0 -0
  254. package/src/service-queues/admin/queue-room/modal/edit-queue-room/edit-queue-room.modal.tsx +146 -0
  255. package/src/service-queues/admin/queue-room/queue-room-list/queue-room-list.scss +22 -0
  256. package/src/service-queues/admin/queue-room/queue-room-list/queue-room-list.tsx +120 -0
  257. package/src/service-queues/admin/service-queue-admin-dashboard.component.scss +6 -0
  258. package/src/service-queues/admin/service-queue-admin-dashboard.component.tsx +34 -0
  259. package/src/service-queues/consultation/consultation.component.scss +7 -0
  260. package/src/service-queues/consultation/consultation.component.tsx +15 -0
  261. package/src/service-queues/extensions/service-queue-patient-banner/service-queue-patient-banner.scss +30 -0
  262. package/src/service-queues/extensions/service-queue-patient-banner/service-queue-patient-banner.tsx +108 -0
  263. package/src/service-queues/metrics/metrics-cards/attended-patients.extension.tsx +38 -0
  264. package/src/service-queues/metrics/metrics-cards/waiting-patients.extension.tsx +34 -0
  265. package/src/service-queues/metrics/metrics-container.component.tsx +23 -0
  266. package/src/{metrics → service-queues/metrics}/metrics.resource.ts +0 -36
  267. package/src/service-queues/modals/daily-report-patient-list/daily-report-patient-list.scss +26 -0
  268. package/src/service-queues/modals/daily-report-patient-list/daily-report-patient-list.tsx +108 -0
  269. package/src/service-queues/modals/move/move-patient.component.scss +35 -0
  270. package/src/service-queues/modals/move/move-patient.component.tsx +152 -0
  271. package/src/service-queues/modals/serve/serve-patient.comppnent.scss +0 -0
  272. package/src/service-queues/modals/serve/serve-patient.comppnent.tsx +80 -0
  273. package/src/service-queues/modals/sign-off/sign-off.modal.scss +0 -0
  274. package/src/service-queues/modals/sign-off/sign-off.modal.tsx +79 -0
  275. package/src/service-queues/modals/transition/transition-patient.component.scss +0 -0
  276. package/src/service-queues/modals/transition/transition-patient.component.tsx +122 -0
  277. package/src/service-queues/queue-list/check-in.service.ts +26 -0
  278. package/src/service-queues/queue-list/queue-list.component.scss +50 -0
  279. package/src/service-queues/queue-list/queue-list.component.tsx +302 -0
  280. package/src/service-queues/queue-room.component.tsx +39 -0
  281. package/src/service-queues/room/room.component.tsx +58 -0
  282. package/src/service-queues/service-queue/service-queue.component.scss +14 -0
  283. package/src/service-queues/service-queue/service-queue.component.tsx +399 -0
  284. package/src/service-queues/service-queue/stats/stat-details/stat-details.component.scss +12 -0
  285. package/src/service-queues/service-queue/stats/stat-details/stat-details.component.tsx +63 -0
  286. package/src/service-queues/service-queue.scss +27 -0
  287. package/src/service-queues/service-queue.tsx +37 -0
  288. package/src/service-queues/service-queues.resource.ts +303 -4
  289. package/src/service-queues/service.resource.ts +28 -0
  290. package/src/shared/constants/concepts.ts +18 -0
  291. package/src/shared/constants/index.ts +1 -2
  292. package/src/shared/constants/patient-category.ts +6 -0
  293. package/src/shared/constants/patient-type.ts +10 -0
  294. package/src/shared/constants/visit-types.ts +7 -0
  295. package/src/shared/services/billing.resource.ts +38 -0
  296. package/src/shared/services/client-payment-mode.resource.ts +27 -0
  297. package/src/shared/services/client-payment.resource.ts +17 -0
  298. package/src/shared/services/eligibility.resource.ts +19 -0
  299. package/src/shared/services/encounters.resource.ts +27 -0
  300. package/src/shared/services/location.resource.ts +9 -0
  301. package/src/shared/types/index.ts +152 -0
  302. package/src/shared/ui/aggregate-stat-card/aggregate-stat-card.scss +42 -0
  303. package/src/shared/ui/aggregate-stat-card/aggregate-stat-card.tsx +42 -0
  304. package/src/shared/ui/confirm-modal/confirm.modal.scss +18 -0
  305. package/src/shared/ui/confirm-modal/confirm.modal.tsx +38 -0
  306. package/src/shared/ui/otp-input/otp-input.component.scss +14 -0
  307. package/src/shared/ui/otp-input/otp-input.component.tsx +90 -0
  308. package/src/shared/ui/stat-card/stat-card.component.scss +10 -0
  309. package/src/shared/ui/stat-card/stat-card.component.tsx +26 -0
  310. package/src/shared/ui/timer/timer.component.scss +5 -0
  311. package/src/shared/ui/timer/timer.component.tsx +40 -0
  312. package/src/shared/utils/get-base-url.ts +27 -0
  313. package/src/shared/utils/get-tag-type.ts +66 -0
  314. package/src/side-nav-menu/mnch-nav-link-config.ts +16 -0
  315. package/src/side-nav-menu/mnch-nav-links.tsx +42 -0
  316. package/src/side-nav-menu/nav-link-config.ts +6 -4
  317. package/src/triage/metrics/attended-patients.extension.tsx +42 -0
  318. package/src/triage/metrics/metrics.scss +36 -0
  319. package/src/triage/metrics/triage-metrics.component.tsx +21 -0
  320. package/src/triage/metrics/waiting-patients.extension.tsx +39 -0
  321. package/src/triage/room/room.scss +29 -0
  322. package/src/triage/triage.component.tsx +15 -0
  323. package/src/triage/triage.resource.ts +19 -0
  324. package/src/triage/types.ts +16 -0
  325. package/src/types/types.ts +82 -2
  326. package/dist/104.js +0 -2
  327. package/dist/104.js.map +0 -1
  328. package/dist/184.js +0 -2
  329. package/dist/184.js.map +0 -1
  330. package/dist/197.js +0 -1
  331. package/dist/255.js +0 -1
  332. package/dist/255.js.map +0 -1
  333. package/dist/300.js +0 -1
  334. package/dist/306.js +0 -1
  335. package/dist/306.js.map +0 -1
  336. package/dist/335.js +0 -1
  337. package/dist/353.js +0 -1
  338. package/dist/353.js.map +0 -1
  339. package/dist/388.js +0 -2
  340. package/dist/388.js.map +0 -1
  341. package/dist/420.js +0 -1
  342. package/dist/420.js.map +0 -1
  343. package/dist/460.js +0 -1
  344. package/dist/460.js.map +0 -1
  345. package/dist/540.js +0 -2
  346. package/dist/540.js.map +0 -1
  347. package/dist/55.js +0 -1
  348. package/dist/560.js +0 -1
  349. package/dist/560.js.map +0 -1
  350. package/dist/635.js +0 -1
  351. package/dist/635.js.map +0 -1
  352. package/dist/652.js +0 -1
  353. package/dist/695.js +0 -1
  354. package/dist/695.js.map +0 -1
  355. package/dist/709.js.map +0 -1
  356. package/dist/710.js +0 -2
  357. package/dist/710.js.map +0 -1
  358. package/dist/91.js +0 -1
  359. package/dist/91.js.map +0 -1
  360. package/dist/93.js +0 -1
  361. package/dist/93.js.map +0 -1
  362. package/dist/978.js +0 -1
  363. package/dist/978.js.map +0 -1
  364. package/dist/99.js +0 -1
  365. package/src/consultation/consultation-room.component.tsx +0 -60
  366. package/src/consultation/consultation.scss +0 -5
  367. package/src/consultation/consultation.tsx +0 -14
  368. package/src/hooks/useQueueEntries.ts +0 -35
  369. package/src/metrics/metrics-cards/attended-patients.extension.tsx +0 -18
  370. package/src/metrics/metrics-cards/waiting-patients.extension.tsx +0 -18
  371. package/src/metrics/metrics-container.component.tsx +0 -16
  372. package/src/registry/mock-client.ts +0 -627
  373. /package/dist/{710.js.LICENSE.txt → 1558.js.LICENSE.txt} +0 -0
  374. /package/dist/{104.js.LICENSE.txt → 2177.js.LICENSE.txt} +0 -0
  375. /package/dist/{184.js.LICENSE.txt → 3184.js.LICENSE.txt} +0 -0
  376. /package/dist/{540.js.LICENSE.txt → 6540.js.LICENSE.txt} +0 -0
  377. /package/src/{metrics → service-queues/metrics}/metrics-cards/metrics-card.component.tsx +0 -0
  378. /package/src/{metrics → service-queues/metrics}/metrics-cards/metrics-card.scss +0 -0
  379. /package/src/{metrics → service-queues/metrics}/metrics-container.scss +0 -0
@@ -1,627 +0,0 @@
1
- export const hieClientRespData = [
2
- {
3
- resourceType: 'Patient',
4
- id: 'CR4098636401452-9',
5
- meta: {
6
- versionId: '1',
7
- creationTime: '2025-06-09 11:19:36.963921',
8
- lastUpdated: '2025-09-15 13:12:55.583802',
9
- source: 'http://cr-nrb.tiberbu.health',
10
- },
11
- originSystem: {
12
- system: 'SAFARICOM-CONSORTIUM-SANDBOX',
13
- record_id: '',
14
- },
15
- title: 'Mr',
16
- first_name: 'Christian',
17
- middle_name: 'Harris',
18
- last_name: 'Gray',
19
- gender: 'Female',
20
- date_of_birth: '1980-06-20',
21
- place_of_birth: 'NAIROBI',
22
- person_with_disability: 0,
23
- citizenship: 'KENYAN',
24
- kra_pin: 'A078188991V',
25
- preferred_primary_care_network: '071200000000',
26
- employment_type: 'Self-Employed',
27
- domestic_worker_type: '',
28
- civil_status: 'Divorced',
29
- identification_type: 'National ID',
30
- identification_number: '10101010',
31
- other_identifications: [
32
- {
33
- identification_number: 'SHA4098636401452-9',
34
- identification_type: 'SHA Number',
35
- },
36
- {
37
- identification_number: 'HH4098636401452-9',
38
- identification_type: 'Household Number',
39
- },
40
- ],
41
- dependants: [
42
- {
43
- date_added: '2025-06-09 11:19:36.963921',
44
- relationship: 'Child',
45
- total: 1,
46
- result: [
47
- {
48
- resourceType: 'Patient',
49
- id: 'CR0300484544546-3',
50
- meta: {
51
- versionId: '1',
52
- creationTime: '2025-07-29 10:09:49.525561',
53
- lastUpdated: '2025-07-29 10:09:49.525561',
54
- source: 'http://cr-nrb.tiberbu.health',
55
- },
56
- originSystem: {
57
- system: 'AFYANGU-00030',
58
- record_id: '',
59
- },
60
- title: '',
61
- first_name: 'hilda',
62
- middle_name: 'test',
63
- last_name: 'jmeter',
64
- gender: 'Male',
65
- date_of_birth: '2025-07-02',
66
- place_of_birth: '',
67
- person_with_disability: 0,
68
- citizenship: '',
69
- kra_pin: '',
70
- preferred_primary_care_network: '',
71
- employment_type: '',
72
- domestic_worker_type: '',
73
- civil_status: '',
74
- identification_type: 'Temporary Dependant ID',
75
- identification_number: 'CR4098636401452-9-2',
76
- other_identifications: [
77
- {
78
- identification_number: 'SHA0300484544546-3',
79
- identification_type: 'SHA Number',
80
- },
81
- {
82
- identification_number: 'CR4098636401452-9',
83
- identification_type: 'Household Number',
84
- },
85
- ],
86
- dependants: [],
87
- is_alive: 1,
88
- deceased_datetime: '',
89
- phone: '',
90
- biometrics_verified: 0,
91
- biometrics_score: 0,
92
- email: '',
93
- country: '',
94
- county: 'NAIROBI',
95
- sub_county: 'STAREHE',
96
- ward: 'STAREHE',
97
- village_estate: '',
98
- building_house_no: '',
99
- latitude: '',
100
- longitude: '',
101
- province_state_country: '',
102
- zip_code: '',
103
- identification_residence: '',
104
- employer_name: '',
105
- employer_pin: '',
106
- disability_category: '',
107
- disability_subcategory: '',
108
- disability_cause: '',
109
- in_lawful_custody: '',
110
- admission_remand_number: '',
111
- document_uploads: [],
112
- alternative_contacts: [],
113
- gross_income: 0,
114
- gross_income_currency: '',
115
- postal_address: '',
116
- estimated_contribution: 0,
117
- estimated_annual_contribution: 0,
118
- city: '',
119
- id_serial: '',
120
- learning_institution_code: '',
121
- learning_institution_name: '',
122
- grade_level: '',
123
- admission_number: '',
124
- expected_year_of_graduation: '',
125
- unconfirmed_dependants: [],
126
- is_agent: 0,
127
- agent_id: '',
128
- },
129
- ],
130
- },
131
- {
132
- date_added: '2025-06-09 11:19:36.963921',
133
- relationship: 'Child',
134
- total: 1,
135
- result: [
136
- {
137
- resourceType: 'Patient',
138
- id: 'CR4677672274543-3',
139
- meta: {
140
- versionId: '1',
141
- creationTime: '2025-08-19 10:17:36.978231',
142
- lastUpdated: '2025-08-19 10:17:36.978231',
143
- source: 'http://cr-nrb.tiberbu.health',
144
- },
145
- originSystem: {
146
- system: 'AFYANGU-00030',
147
- record_id: '',
148
- },
149
- title: '',
150
- first_name: 'filda',
151
- middle_name: 'test',
152
- last_name: 'jmeter2',
153
- gender: 'Male',
154
- date_of_birth: '2025-07-02',
155
- place_of_birth: '',
156
- person_with_disability: 0,
157
- citizenship: '',
158
- kra_pin: '',
159
- preferred_primary_care_network: '',
160
- employment_type: '',
161
- domestic_worker_type: '',
162
- civil_status: '',
163
- identification_type: 'Temporary Dependant ID',
164
- identification_number: 'CR4098636401452-9-6',
165
- other_identifications: [
166
- {
167
- identification_number: 'SHA4677672274543-3',
168
- identification_type: 'SHA Number',
169
- },
170
- {
171
- identification_number: 'CR4098636401452-9',
172
- identification_type: 'Household Number',
173
- },
174
- ],
175
- dependants: [],
176
- is_alive: 1,
177
- deceased_datetime: '',
178
- phone: '',
179
- biometrics_verified: 0,
180
- biometrics_score: 0,
181
- email: '',
182
- country: '',
183
- county: 'NAIROBI',
184
- sub_county: 'STAREHE',
185
- ward: 'STAREHE',
186
- village_estate: '',
187
- building_house_no: '',
188
- latitude: '',
189
- longitude: '',
190
- province_state_country: '',
191
- zip_code: '',
192
- identification_residence: '',
193
- employer_name: '',
194
- employer_pin: '',
195
- disability_category: '',
196
- disability_subcategory: '',
197
- disability_cause: '',
198
- in_lawful_custody: '',
199
- admission_remand_number: '',
200
- document_uploads: [],
201
- alternative_contacts: [],
202
- gross_income: 0,
203
- gross_income_currency: '',
204
- postal_address: '',
205
- estimated_contribution: 0,
206
- estimated_annual_contribution: 0,
207
- city: '',
208
- id_serial: '',
209
- learning_institution_code: '',
210
- learning_institution_name: '',
211
- grade_level: '',
212
- admission_number: '',
213
- expected_year_of_graduation: '',
214
- unconfirmed_dependants: [],
215
- is_agent: 0,
216
- agent_id: '',
217
- },
218
- ],
219
- },
220
- {
221
- date_added: '2025-06-09 11:19:36.963921',
222
- relationship: 'Child',
223
- total: 1,
224
- result: [
225
- {
226
- resourceType: 'Patient',
227
- id: 'CR7417999270872-5',
228
- meta: {
229
- versionId: '1',
230
- creationTime: '2025-09-08 14:49:27.524867',
231
- lastUpdated: '2025-09-08 14:50:37.287849',
232
- source: 'http://cr-nrb.tiberbu.health',
233
- },
234
- originSystem: {
235
- system: 'AFYANGU-00030',
236
- record_id: '',
237
- },
238
- title: '',
239
- first_name: 'OWENS',
240
- middle_name: 'CHILD',
241
- last_name: 'KEVIN',
242
- gender: 'Male',
243
- date_of_birth: '2025-09-02',
244
- place_of_birth: '',
245
- person_with_disability: 0,
246
- citizenship: '',
247
- kra_pin: '',
248
- preferred_primary_care_network: '',
249
- employment_type: '',
250
- domestic_worker_type: '',
251
- civil_status: '',
252
- identification_type: 'Birth Certificate',
253
- identification_number: '258085',
254
- other_identifications: [
255
- {
256
- identification_number: 'SHA7417999270872-5',
257
- identification_type: 'SHA Number',
258
- },
259
- {
260
- identification_number: 'CR4098636401452-9',
261
- identification_type: 'Household Number',
262
- },
263
- ],
264
- dependants: [],
265
- is_alive: 1,
266
- deceased_datetime: '',
267
- phone: '',
268
- biometrics_verified: 0,
269
- biometrics_score: 0,
270
- email: '',
271
- country: '',
272
- county: 'NAIROBI',
273
- sub_county: 'starehe',
274
- ward: 'STAREHE',
275
- village_estate: '',
276
- building_house_no: '',
277
- latitude: '',
278
- longitude: '',
279
- province_state_country: '',
280
- zip_code: '',
281
- identification_residence: '',
282
- employer_name: '',
283
- employer_pin: '',
284
- disability_category: '',
285
- disability_subcategory: '',
286
- disability_cause: '',
287
- in_lawful_custody: '',
288
- admission_remand_number: '',
289
- document_uploads: [],
290
- alternative_contacts: [],
291
- gross_income: 0,
292
- gross_income_currency: '',
293
- postal_address: '',
294
- estimated_contribution: 0,
295
- estimated_annual_contribution: 0,
296
- city: '',
297
- id_serial: '',
298
- learning_institution_code: '',
299
- learning_institution_name: '',
300
- grade_level: '',
301
- admission_number: '',
302
- expected_year_of_graduation: '',
303
- unconfirmed_dependants: [],
304
- is_agent: 0,
305
- agent_id: '',
306
- },
307
- ],
308
- },
309
- {
310
- date_added: '2025-06-09 11:19:36.963921',
311
- relationship: 'Child',
312
- total: 1,
313
- result: [
314
- {
315
- resourceType: 'Patient',
316
- id: 'CR6558518554239-3',
317
- meta: {
318
- versionId: '1',
319
- creationTime: '2025-09-08 14:53:00.542412',
320
- lastUpdated: '2025-09-08 14:53:11.055787',
321
- source: 'http://cr-nrb.tiberbu.health',
322
- },
323
- originSystem: {
324
- system: 'AFYANGU-00030',
325
- record_id: '',
326
- },
327
- title: '',
328
- first_name: 'OWENS',
329
- middle_name: 'HONH',
330
- last_name: 'ALI',
331
- gender: 'Male',
332
- date_of_birth: '2025-09-03',
333
- place_of_birth: '',
334
- person_with_disability: 0,
335
- citizenship: '',
336
- kra_pin: '',
337
- preferred_primary_care_network: '',
338
- employment_type: '',
339
- domestic_worker_type: '',
340
- civil_status: '',
341
- identification_type: 'Birth Certificate',
342
- identification_number: '8588',
343
- other_identifications: [
344
- {
345
- identification_number: 'SHA6558518554239-3',
346
- identification_type: 'SHA Number',
347
- },
348
- {
349
- identification_number: 'CR4098636401452-9',
350
- identification_type: 'Household Number',
351
- },
352
- ],
353
- dependants: [],
354
- is_alive: 1,
355
- deceased_datetime: '',
356
- phone: '',
357
- biometrics_verified: 0,
358
- biometrics_score: 0,
359
- email: '',
360
- country: '',
361
- county: 'NAIROBI',
362
- sub_county: 'starehe',
363
- ward: 'STAREHE',
364
- village_estate: '',
365
- building_house_no: '',
366
- latitude: '',
367
- longitude: '',
368
- province_state_country: '',
369
- zip_code: '',
370
- identification_residence: '',
371
- employer_name: '',
372
- employer_pin: '',
373
- disability_category: '',
374
- disability_subcategory: '',
375
- disability_cause: '',
376
- in_lawful_custody: '',
377
- admission_remand_number: '',
378
- document_uploads: [],
379
- alternative_contacts: [],
380
- gross_income: 0,
381
- gross_income_currency: '',
382
- postal_address: '',
383
- estimated_contribution: 0,
384
- estimated_annual_contribution: 0,
385
- city: '',
386
- id_serial: '',
387
- learning_institution_code: '',
388
- learning_institution_name: '',
389
- grade_level: '',
390
- admission_number: '',
391
- expected_year_of_graduation: '',
392
- unconfirmed_dependants: [],
393
- is_agent: 0,
394
- agent_id: '',
395
- },
396
- ],
397
- },
398
- {
399
- date_added: '2025-06-09 11:19:36.963921',
400
- relationship: 'Child',
401
- total: 1,
402
- result: [
403
- {
404
- resourceType: 'Patient',
405
- id: 'CR4195287270587-4',
406
- meta: {
407
- versionId: '1',
408
- creationTime: '2025-09-08 15:06:17.067875',
409
- lastUpdated: '2025-09-08 15:06:17.067875',
410
- source: 'http://cr-nrb.tiberbu.health',
411
- },
412
- originSystem: {
413
- system: 'AFYANGU-00030',
414
- record_id: '',
415
- },
416
- title: '',
417
- first_name: 'DURAN',
418
- middle_name: 'OWEN',
419
- last_name: 'JOHN',
420
- gender: 'Male',
421
- date_of_birth: '2025-09-08',
422
- place_of_birth: '',
423
- person_with_disability: 0,
424
- citizenship: '',
425
- kra_pin: '',
426
- preferred_primary_care_network: '',
427
- employment_type: '',
428
- domestic_worker_type: '',
429
- civil_status: '',
430
- identification_type: 'Birth Certificate',
431
- identification_number: '45546595948',
432
- other_identifications: [
433
- {
434
- identification_number: 'SHA4195287270587-4',
435
- identification_type: 'SHA Number',
436
- },
437
- {
438
- identification_number: 'CR4098636401452-9',
439
- identification_type: 'Household Number',
440
- },
441
- ],
442
- dependants: [],
443
- is_alive: 1,
444
- deceased_datetime: '',
445
- phone: '',
446
- biometrics_verified: 0,
447
- biometrics_score: 0,
448
- email: '',
449
- country: '',
450
- county: 'NAIROBI',
451
- sub_county: 'starehe',
452
- ward: 'STAREHE',
453
- village_estate: '',
454
- building_house_no: '',
455
- latitude: '',
456
- longitude: '',
457
- province_state_country: '',
458
- zip_code: '',
459
- identification_residence: '',
460
- employer_name: '',
461
- employer_pin: '',
462
- disability_category: '',
463
- disability_subcategory: '',
464
- disability_cause: '',
465
- in_lawful_custody: '',
466
- admission_remand_number: '',
467
- document_uploads: [],
468
- alternative_contacts: [],
469
- gross_income: 0,
470
- gross_income_currency: '',
471
- postal_address: '',
472
- estimated_contribution: 0,
473
- estimated_annual_contribution: 0,
474
- city: '',
475
- id_serial: '',
476
- learning_institution_code: '',
477
- learning_institution_name: '',
478
- grade_level: '',
479
- admission_number: '',
480
- expected_year_of_graduation: '',
481
- unconfirmed_dependants: [],
482
- is_agent: 0,
483
- agent_id: '',
484
- },
485
- ],
486
- },
487
- {
488
- date_added: '2025-06-09 11:19:36.963921',
489
- relationship: 'Child',
490
- total: 1,
491
- result: [
492
- {
493
- resourceType: 'Patient',
494
- id: 'CR2704482932736-2',
495
- meta: {
496
- versionId: '1',
497
- creationTime: '2025-09-09 11:46:36.825641',
498
- lastUpdated: '2025-09-09 11:46:36.825641',
499
- source: 'http://cr-nrb.tiberbu.health',
500
- },
501
- originSystem: {
502
- system: 'AFYANGU-00030',
503
- record_id: '',
504
- },
505
- title: '',
506
- first_name: 'CHRIS',
507
- middle_name: 'RONALDO',
508
- last_name: 'KEVIN',
509
- gender: 'Male',
510
- date_of_birth: '2025-09-02',
511
- place_of_birth: '',
512
- person_with_disability: 0,
513
- citizenship: '',
514
- kra_pin: '',
515
- preferred_primary_care_network: '',
516
- employment_type: '',
517
- domestic_worker_type: '',
518
- civil_status: '',
519
- identification_type: 'Birth Certificate',
520
- identification_number: '454545',
521
- other_identifications: [
522
- {
523
- identification_number: 'SHA2704482932736-2',
524
- identification_type: 'SHA Number',
525
- },
526
- {
527
- identification_number: 'CR4098636401452-9',
528
- identification_type: 'Household Number',
529
- },
530
- ],
531
- dependants: [],
532
- is_alive: 1,
533
- deceased_datetime: '',
534
- phone: '',
535
- biometrics_verified: 0,
536
- biometrics_score: 0,
537
- email: '',
538
- country: '',
539
- county: 'NAIROBI',
540
- sub_county: 'starehe',
541
- ward: 'STAREHE',
542
- village_estate: '',
543
- building_house_no: '',
544
- latitude: '',
545
- longitude: '',
546
- province_state_country: '',
547
- zip_code: '',
548
- identification_residence: '',
549
- employer_name: '',
550
- employer_pin: '',
551
- disability_category: '',
552
- disability_subcategory: '',
553
- disability_cause: '',
554
- in_lawful_custody: '',
555
- admission_remand_number: '',
556
- document_uploads: [],
557
- alternative_contacts: [],
558
- gross_income: 0,
559
- gross_income_currency: '',
560
- postal_address: '',
561
- estimated_contribution: 0,
562
- estimated_annual_contribution: 0,
563
- city: '',
564
- id_serial: '',
565
- learning_institution_code: '',
566
- learning_institution_name: '',
567
- grade_level: '',
568
- admission_number: '',
569
- expected_year_of_graduation: '',
570
- unconfirmed_dependants: [],
571
- is_agent: 0,
572
- agent_id: '',
573
- },
574
- ],
575
- },
576
- ],
577
- is_alive: 1,
578
- deceased_datetime: '',
579
- phone: '070003281486',
580
- biometrics_verified: 0,
581
- biometrics_score: 0,
582
- email: 'akim@coolpeeps.com',
583
- country: 'KENYA',
584
- county: 'NAIROBI',
585
- sub_county: 'starehe',
586
- ward: 'STAREHE',
587
- village_estate: 'KARIOKOR',
588
- building_house_no: 'HSE56',
589
- latitude: '',
590
- longitude: '',
591
- province_state_country: '',
592
- zip_code: '',
593
- identification_residence: '',
594
- employer_name: 'KNS',
595
- employer_pin: 'KN509990881',
596
- disability_category: '',
597
- disability_subcategory: '',
598
- disability_cause: '',
599
- in_lawful_custody: '',
600
- admission_remand_number: '',
601
- document_uploads: [],
602
- alternative_contacts: [
603
- {
604
- contact_type: 'Phone',
605
- contact_id: '+254010101010',
606
- contact_name: 'HASSAN-TEST-WEB',
607
- relationship: 'Father',
608
- remarks: 'Next Of Kin',
609
- },
610
- ],
611
- gross_income: 300000,
612
- gross_income_currency: 'KES',
613
- postal_address: '',
614
- estimated_contribution: 0,
615
- estimated_annual_contribution: 0,
616
- city: '',
617
- id_serial: '',
618
- learning_institution_code: '',
619
- learning_institution_name: '',
620
- grade_level: '',
621
- admission_number: '',
622
- expected_year_of_graduation: '',
623
- unconfirmed_dependants: [],
624
- is_agent: 0,
625
- agent_id: '',
626
- },
627
- ];