@kenyaemr/esm-express-workflow-app 5.4.4-pre.43 → 5.4.4-pre.430
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/.turbo/turbo-build.log +14 -7
- package/dist/1084.js +1 -0
- package/dist/1084.js.map +1 -0
- package/dist/1278.js +1 -0
- package/dist/1278.js.map +1 -0
- package/dist/1324.js +1 -0
- package/dist/1324.js.map +1 -0
- package/dist/1375.js +66 -0
- package/dist/1375.js.map +1 -0
- package/dist/1402.js +1 -0
- package/dist/1402.js.map +1 -0
- package/dist/1442.js +1 -0
- package/dist/1442.js.map +1 -0
- package/dist/1520.js +1 -0
- package/dist/1520.js.map +1 -0
- package/dist/1559.js +1 -0
- package/dist/1559.js.map +1 -0
- package/dist/1593.js +1 -0
- package/dist/1593.js.map +1 -0
- package/dist/162.js +1 -0
- package/dist/162.js.map +1 -0
- package/dist/1620.js +1 -0
- package/dist/1620.js.map +1 -0
- package/dist/1658.js +1 -0
- package/dist/1658.js.map +1 -0
- package/dist/1659.js +1 -0
- package/dist/1659.js.map +1 -0
- package/dist/1789.js +1 -0
- package/dist/1789.js.map +1 -0
- package/dist/1827.js +1 -0
- package/dist/1827.js.map +1 -0
- package/dist/1831.js +1 -0
- package/dist/1831.js.map +1 -0
- package/dist/1854.js +1 -0
- package/dist/1854.js.map +1 -0
- package/dist/196.js +1 -0
- package/dist/196.js.map +1 -0
- package/dist/2127.js +1 -0
- package/dist/2127.js.map +1 -0
- package/dist/2152.js +1 -0
- package/dist/2152.js.map +1 -0
- package/dist/2202.js +1 -0
- package/dist/2202.js.map +1 -0
- package/dist/221.js +1 -0
- package/dist/221.js.map +1 -0
- package/dist/2269.js +1 -0
- package/dist/2269.js.map +1 -0
- package/dist/2293.js +1 -0
- package/dist/2293.js.map +1 -0
- package/dist/234.js +1 -0
- package/dist/234.js.map +1 -0
- package/dist/2412.js +1 -1
- package/dist/2412.js.map +1 -1
- package/dist/2466.js +1 -0
- package/dist/2466.js.map +1 -0
- package/dist/2534.js +1 -1
- package/dist/2534.js.map +1 -1
- package/dist/2553.js +1 -0
- package/dist/2553.js.map +1 -0
- package/dist/2556.js +1 -0
- package/dist/2556.js.map +1 -0
- package/dist/2648.js +1 -0
- package/dist/2648.js.map +1 -0
- package/dist/274.js +1 -0
- package/dist/274.js.map +1 -0
- package/dist/2788.js +1 -0
- package/dist/2788.js.map +1 -0
- package/dist/2842.js +1 -0
- package/dist/2842.js.map +1 -0
- package/dist/2874.js +1 -0
- package/dist/2874.js.map +1 -0
- package/dist/2916.js +1 -0
- package/dist/2916.js.map +1 -0
- package/dist/2947.js +1 -1
- package/dist/2947.js.map +1 -1
- package/dist/3012.js +1 -0
- package/dist/3012.js.map +1 -0
- package/dist/3087.js +1 -0
- package/dist/3087.js.map +1 -0
- package/dist/3335.js +1 -0
- package/dist/3335.js.map +1 -0
- package/dist/3378.js +1 -0
- package/dist/3378.js.map +1 -0
- package/dist/3504.js +1 -0
- package/dist/3504.js.map +1 -0
- package/dist/3509.js +1 -1
- package/dist/3509.js.map +1 -1
- package/dist/356.js +1 -0
- package/dist/356.js.map +1 -0
- package/dist/3690.js +1 -0
- package/dist/3690.js.map +1 -0
- package/dist/371.js +1 -0
- package/dist/371.js.map +1 -0
- package/dist/3747.js +1 -0
- package/dist/3747.js.map +1 -0
- package/dist/3819.js +1 -0
- package/dist/3819.js.map +1 -0
- package/dist/3820.js +1 -0
- package/dist/3820.js.map +1 -0
- package/dist/3910.js +1 -0
- package/dist/3910.js.map +1 -0
- package/dist/393.js +6 -0
- package/dist/393.js.map +1 -0
- package/dist/3933.js +1 -0
- package/dist/3933.js.map +1 -0
- package/dist/3989.js +1 -0
- package/dist/3989.js.map +1 -0
- package/dist/3995.js +1 -0
- package/dist/3995.js.map +1 -0
- package/dist/4032.js +1 -0
- package/dist/4032.js.map +1 -0
- package/dist/4145.js +1 -1
- package/dist/4145.js.map +1 -1
- package/dist/4178.js +1 -1
- package/dist/4178.js.map +1 -1
- package/dist/4191.js +1 -0
- package/dist/4191.js.map +1 -0
- package/dist/4212.js +1 -0
- package/dist/4212.js.map +1 -0
- package/dist/4215.js +1 -0
- package/dist/4215.js.map +1 -0
- package/dist/4523.js +1 -0
- package/dist/4523.js.map +1 -0
- package/dist/4588.js +1 -0
- package/dist/4588.js.map +1 -0
- package/dist/4617.js +1 -0
- package/dist/4617.js.map +1 -0
- package/dist/466.js +1 -1
- package/dist/466.js.map +1 -1
- package/dist/4688.js +1 -0
- package/dist/{7288.js.map → 4688.js.map} +1 -1
- package/dist/470.js +1 -0
- package/dist/470.js.map +1 -0
- package/dist/4759.js +1 -0
- package/dist/4759.js.map +1 -0
- package/dist/4818.js +1 -1
- package/dist/4818.js.map +1 -1
- package/dist/5086.js +1 -1
- package/dist/5086.js.map +1 -1
- package/dist/5093.js +1 -0
- package/dist/5093.js.map +1 -0
- package/dist/5097.js +1 -0
- package/dist/5097.js.map +1 -0
- package/dist/510.js +1 -0
- package/dist/510.js.map +1 -0
- package/dist/5117.js +1 -0
- package/dist/5117.js.map +1 -0
- package/dist/5279.js +1 -0
- package/dist/5279.js.map +1 -0
- package/dist/5434.js +1 -0
- package/dist/5434.js.map +1 -0
- package/dist/5514.js +1 -0
- package/dist/5514.js.map +1 -0
- package/dist/5568.js +1 -0
- package/dist/5568.js.map +1 -0
- package/dist/5576.js +1 -1
- package/dist/5576.js.map +1 -1
- package/dist/5630.js +1 -0
- package/dist/5630.js.map +1 -0
- package/dist/5676.js +1 -1
- package/dist/5676.js.map +1 -1
- package/dist/5695.js +1 -0
- package/dist/5695.js.map +1 -0
- package/dist/5697.js +1 -1
- package/dist/5697.js.map +1 -1
- package/dist/5728.js +1 -0
- package/dist/5728.js.map +1 -0
- package/dist/5809.js +1 -1
- package/dist/5809.js.map +1 -1
- package/dist/585.js +1 -0
- package/dist/585.js.map +1 -0
- package/dist/5887.js +1 -0
- package/dist/5887.js.map +1 -0
- package/dist/5958.js +1 -0
- package/dist/5958.js.map +1 -0
- package/dist/5964.js +1 -0
- package/dist/5964.js.map +1 -0
- package/dist/6008.js +1 -0
- package/dist/602.js +1 -0
- package/dist/602.js.map +1 -0
- package/dist/6020.js +1 -0
- package/dist/6020.js.map +1 -0
- package/dist/6161.js +1 -0
- package/dist/6161.js.map +1 -0
- package/dist/6273.js +1 -0
- package/dist/6273.js.map +1 -0
- package/dist/6337.js +1 -0
- package/dist/6337.js.map +1 -0
- package/dist/6427.js +1 -1
- package/dist/6427.js.map +1 -1
- package/dist/6429.js +1 -0
- package/dist/6429.js.map +1 -0
- package/dist/6478.js +7 -0
- package/dist/6478.js.map +1 -0
- package/dist/6508.js +1 -0
- package/dist/6508.js.map +1 -0
- package/dist/6634.js +1 -0
- package/dist/6634.js.map +1 -0
- package/dist/6767.js +1 -0
- package/dist/6767.js.map +1 -0
- package/dist/6783.js +1 -0
- package/dist/6783.js.map +1 -0
- package/dist/6868.js +1 -1
- package/dist/6868.js.map +1 -1
- package/dist/688.js +1 -0
- package/dist/688.js.map +1 -0
- package/dist/689.js +1 -1
- package/dist/689.js.map +1 -1
- package/dist/694.js +1 -0
- package/dist/694.js.map +1 -0
- package/dist/6987.js +1 -0
- package/dist/6987.js.map +1 -0
- package/dist/7061.js +1 -0
- package/dist/7061.js.map +1 -0
- package/dist/7078.js +1 -0
- package/dist/7078.js.map +1 -0
- package/dist/710.js +1 -0
- package/dist/710.js.map +1 -0
- package/dist/7128.js +1 -0
- package/dist/7128.js.map +1 -0
- package/dist/7209.js +1 -0
- package/dist/7209.js.map +1 -0
- package/dist/7424.js +1 -0
- package/dist/7424.js.map +1 -0
- package/dist/770.js +1 -0
- package/dist/770.js.map +1 -0
- package/dist/7707.js +1 -0
- package/dist/7707.js.map +1 -0
- package/dist/7784.js +1 -0
- package/dist/7784.js.map +1 -0
- package/dist/781.js +1 -1
- package/dist/781.js.map +1 -1
- package/dist/7824.js +1 -0
- package/dist/7824.js.map +1 -0
- package/dist/7832.js +1 -0
- package/dist/7832.js.map +1 -0
- package/dist/8178.js +1 -0
- package/dist/8178.js.map +1 -0
- package/dist/820.js +1 -0
- package/dist/820.js.map +1 -0
- package/dist/8224.js +1 -0
- package/dist/8224.js.map +1 -0
- package/dist/8225.js +1 -0
- package/dist/8225.js.map +1 -0
- package/dist/8240.js +1 -1
- package/dist/8240.js.map +1 -1
- package/dist/8258.js +1 -0
- package/dist/8258.js.map +1 -0
- package/dist/8702.js +1 -0
- package/dist/8702.js.map +1 -0
- package/dist/8725.js +1 -0
- package/dist/8725.js.map +1 -0
- package/dist/8762.js +1 -0
- package/dist/8762.js.map +1 -0
- package/dist/8763.js +1 -0
- package/dist/8763.js.map +1 -0
- package/dist/8815.js +1 -0
- package/dist/8815.js.map +1 -0
- package/dist/8882.js +1 -0
- package/dist/8882.js.map +1 -0
- package/dist/8924.js +1 -1
- package/dist/8924.js.map +1 -1
- package/dist/8937.js +1 -0
- package/dist/8937.js.map +1 -0
- package/dist/9.js +1 -1
- package/dist/9.js.map +1 -1
- package/dist/9061.js +1 -0
- package/dist/9061.js.map +1 -0
- package/dist/9087.js +1 -0
- package/dist/9087.js.map +1 -0
- package/dist/9301.js +1 -0
- package/dist/9301.js.map +1 -0
- package/dist/9324.js +1 -0
- package/dist/9324.js.map +1 -0
- package/dist/9497.js +1 -0
- package/dist/9497.js.map +1 -0
- package/dist/9520.js +1 -1
- package/dist/9520.js.map +1 -1
- package/dist/9526.js +1 -0
- package/dist/9526.js.map +1 -0
- package/dist/9621.js +1 -0
- package/dist/9621.js.map +1 -0
- package/dist/9676.js +17 -0
- package/dist/9676.js.map +1 -0
- package/dist/977.js +1 -0
- package/dist/977.js.map +1 -0
- package/dist/9771.js +1 -0
- package/dist/9771.js.map +1 -0
- package/dist/9806.js +1 -0
- package/dist/9806.js.map +1 -0
- package/dist/989.js +1 -0
- package/dist/989.js.map +1 -0
- package/dist/kenyaemr-esm-express-workflow-app.js +6 -5
- package/dist/kenyaemr-esm-express-workflow-app.js.buildmanifest.json +1407 -809
- package/dist/kenyaemr-esm-express-workflow-app.js.map +1 -1
- package/dist/main.js +22 -5
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +4 -6
- package/src/components/admissions/admissions-dashboard.component.tsx +2 -2
- package/src/components/anaesthetic/anaesthetic-dashboard.meta.ts +8 -0
- package/src/components/anaesthetic/anaesthetic-data-form.component.tsx +442 -0
- package/src/components/anaesthetic/anaesthetic-data-form.scss +278 -0
- package/src/components/anaesthetic/anaesthetic-link.component.tsx +21 -0
- package/src/components/anaesthetic/anaesthetic.component.tsx +618 -0
- package/src/components/anaesthetic/anaesthetic.resource.ts +1503 -0
- package/src/components/anaesthetic/anaesthetic.scss +1885 -0
- package/src/components/anaesthetic/forms/anaesthetic-form.component.tsx +304 -0
- package/src/components/anaesthetic/forms/anaesthetic-record-form.component.tsx +707 -0
- package/src/components/anaesthetic/forms/icd11-diagnosis-search.component.tsx +178 -0
- package/src/components/anaesthetic/forms/icd11-diagnosis-search.scss +126 -0
- package/src/components/anaesthetic/forms/index.ts +2 -0
- package/src/components/anaesthetic/forms/interoperative-record-drug-given-form.component.tsx +231 -0
- package/src/components/anaesthetic/forms/post-operative-summary-form.component.tsx +171 -0
- package/src/components/anaesthetic/forms/time-picker-dropdown.component.tsx +202 -0
- package/src/components/anaesthetic/forms/time-picker-dropdown.scss +107 -0
- package/src/components/anaesthetic/forms/time-picker-with-clock.component.tsx +174 -0
- package/src/components/anaesthetic/forms/time-picker-with-clock.scss +178 -0
- package/src/components/anaesthetic/forms/useAnaestheticData.ts +16 -0
- package/src/components/anaesthetic/graphs/anaesthetic-graph-wrapper.component.tsx +266 -0
- package/src/components/anaesthetic/graphs/anaesthetic-graph.component.tsx +185 -0
- package/src/components/anaesthetic/graphs/index.ts +2 -0
- package/src/components/anaesthetic/graphs/interoperative-record-drug-given-graph-wrapper.component.tsx +197 -0
- package/src/components/anaesthetic/graphs/interoperative-record-drug-given-graph.component.tsx +93 -0
- package/src/components/anaesthetic/resources/anaesthetic-amniotic-fluid.resource.ts +277 -0
- package/src/components/anaesthetic/resources/anaesthetic-form.resource.ts +716 -0
- package/src/components/anaesthetic/resources/anaesthetic.resource.ts +378 -0
- package/src/components/anaesthetic/types/index.ts +1349 -0
- package/src/components/consultation/clinical-encounter/clinical-encounter.component.tsx +4 -20
- package/src/components/consultation/clinical-encounter/encounter-details.component.tsx +9 -9
- package/src/components/consultation/clinical-encounter/encounter-details.test.tsx +19 -18
- package/src/components/consultation/consultation.utils.tsx +1 -1
- package/src/components/consultation/dashboard.component.tsx +0 -2
- package/src/components/consultation/index.ts +1 -1
- package/src/components/consultation/tabs/index.ts +67 -0
- package/src/components/facility-dashboard/components/header/home-header.component.tsx +8 -13
- package/src/components/laboratory/index.ts +11 -0
- package/src/components/laboratory/lab-table.component.tsx +46 -12
- package/src/components/laboratory/laboratory-tabs.component.tsx +3 -17
- package/src/components/mch/dashboard.component.tsx +0 -2
- package/src/components/mch/mch.component.tsx +1 -3
- package/src/components/pharmacy/index.ts +1 -1
- package/src/components/pharmacy/orders/pharmacy-orders.component.tsx +44 -6
- package/src/components/pharmacy/orders/pharmacy-orders.test.tsx +8 -7
- package/src/components/pharmacy/pharmacy-tabs.component.tsx +4 -20
- package/src/components/pharmacy/tabs/index.ts +21 -0
- package/src/components/preauth/index.ts +22 -0
- package/src/components/preauth/preauth-dashboard.component.tsx +20 -0
- package/src/components/procedures/index.ts +16 -0
- package/src/components/procedures/procedure-queues/index.ts +13 -0
- package/src/components/procedures/procedure-queues/procedure-form-extras.component.tsx +33 -0
- package/src/components/procedures/procedure-queues/procedure-form-extras.scss +5 -0
- package/src/components/procedures/procedure-queues/procedure-queues.component.tsx +35 -0
- package/src/components/procedures/procedure-queues/procedure-queues.resources.ts +37 -0
- package/src/components/procedures/procedure-queues/procedure-room-tabs.component.tsx +80 -0
- package/src/components/procedures/procedure-queues/procedure-rooms.scss +13 -0
- package/src/components/procedures/procedure-queues/queue-procedure-tabs.component.tsx +34 -0
- package/src/components/procedures/procedure-queues/summary-cards.component.tsx +81 -0
- package/src/components/procedures/procedure-queues/summary-cards.scss +35 -0
- package/src/components/procedures/procedures-table.component.tsx +77 -19
- package/src/components/procedures/procedures-tabs.component.test.tsx +57 -0
- package/src/components/procedures/procedures-tabs.component.tsx +3 -18
- package/src/components/radiology-and-imaging/index.ts +11 -0
- package/src/components/radiology-and-imaging/radiology-and-imaging-table.component.tsx +73 -21
- package/src/components/radiology-and-imaging/radiology-and-imaging.component.tsx +3 -19
- package/src/components/registration/card/HIE-card/hie-card.component.tsx +32 -44
- package/src/components/registration/card/Local-card/local-card.component.tsx +22 -24
- package/src/components/registration/checkin-form-extra/checkin-form-extra.extension.tsx +8 -2
- package/src/components/registration/checkin-form-extra/queue-fields.component.tsx +18 -19
- package/src/components/registration/dependants/dependants.component.tsx +37 -60
- package/src/components/registration/dependants/dependants.resource.ts +75 -46
- package/src/components/registration/end-visit-modal/end-visit-dialog.modal.tsx +320 -0
- package/src/components/registration/end-visit-modal/end-visit-dialog.scss +12 -0
- package/src/components/registration/end-visit-modal/end-visit.resource.tsx +59 -0
- package/src/components/registration/end-visit-modal/sha-end-visit.resource.ts +285 -0
- package/src/components/registration/search-bar/search-bar.resource.ts +32 -93
- package/src/components/registration/start-visit-form/hooks/useDefaultFacilityLocation.tsx +15 -0
- package/src/components/registration/start-visit-form/hooks/useDefaultVisitLocation.tsx +24 -0
- package/src/components/registration/start-visit-form/hooks/useOfflineVisitType.tsx +18 -0
- package/src/components/registration/start-visit-form/hooks/useRecommendedVisitTypes.tsx +36 -0
- package/src/components/registration/start-visit-form/hooks/useVisitAttributeType.tsx +102 -0
- package/src/components/registration/start-visit-form/overflow-menu-extension/custom-end-active-visit.extension.tsx +44 -0
- package/src/components/registration/start-visit-form/overflow-menu-extension/overflow-menu-item.extension.tsx +67 -0
- package/src/components/registration/start-visit-form/overflow-menu-extension/overflow-menu-item.scss +3 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/base-visit-type.component.tsx +126 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/base-visit-type.scss +75 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/exported-visit-form.workspace.tsx +778 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/location-selector.component.tsx +86 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/recommended-visit-type.component.tsx +32 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/visit-attribute-type.component.tsx +257 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/visit-attribute-type.scss +5 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/visit-date-time.component.tsx +193 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/visit-form.resource.ts +390 -0
- package/src/components/registration/start-visit-form/start-visit-workspace/visit-form.scss +144 -0
- package/src/components/registration/start-visit-form/visit-form-workspace/visit-form.workspace.tsx +48 -0
- package/src/components/registration/type/index.ts +101 -0
- package/src/components/reports/index.ts +1 -0
- package/src/components/triage/dashboard.component.tsx +0 -2
- package/src/config-schema.ts +476 -0
- package/src/hooks/useOrders.tsx +2 -2
- package/src/hooks/useServiceQueues.tsx +1 -1
- package/src/index.ts +81 -15
- package/src/routes.json +298 -32
- package/src/shared/dashboard-link/dashboard-link.component.tsx +11 -8
- package/src/shared/orders/OrderTable.scss +7 -0
- package/src/shared/orders/OrderTable.tsx +68 -8
- package/src/shared/orders/print-order/print-order.component.tsx +158 -0
- package/src/shared/orders/print-order/print-order.scss +225 -0
- package/src/shared/orders/print-prescription/print-prescription.component.tsx +65 -0
- package/src/shared/orders/print-prescription/print-prescription.resource.ts +45 -0
- package/src/shared/orders/print-prescription/print-prescription.scss +25 -0
- package/src/shared/otp-verification/index.ts +112 -29
- package/src/shared/otp-verification/otp-verification.modal.tsx +1110 -122
- package/src/shared/otp-verification/otp-verification.scss +374 -0
- package/src/shared/patient-chart/patient-summary-dashboard/patient-summary-dashboard.component.tsx +5 -84
- package/src/shared/pin-put/pinput.component.test.tsx +7 -6
- package/src/shared/tabs/create-tab-extension.tsx +33 -0
- package/src/shared/tabs/extension-tabs.component.tsx +51 -33
- package/src/shared/utils/index.ts +140 -5
- package/src/types/index.ts +12 -0
- package/translations/am.json +443 -131
- package/translations/en.json +327 -15
- package/translations/fr.json +372 -63
- package/translations/sw.json +347 -35
- package/tsconfig.json +1 -0
- package/dist/1049.js +0 -1
- package/dist/1049.js.map +0 -1
- package/dist/1072.js +0 -1
- package/dist/1072.js.map +0 -1
- package/dist/1091.js +0 -1
- package/dist/1091.js.map +0 -1
- package/dist/1172.js +0 -1
- package/dist/1172.js.map +0 -1
- package/dist/132.js +0 -1
- package/dist/132.js.map +0 -1
- package/dist/1354.js +0 -1
- package/dist/1354.js.map +0 -1
- package/dist/1704.js +0 -1
- package/dist/1704.js.map +0 -1
- package/dist/1729.js +0 -17
- package/dist/1729.js.map +0 -1
- package/dist/1757.js +0 -1
- package/dist/1757.js.map +0 -1
- package/dist/1761.js +0 -1
- package/dist/1761.js.map +0 -1
- package/dist/1809.js +0 -7
- package/dist/1809.js.map +0 -1
- package/dist/1842.js +0 -1
- package/dist/1874.js +0 -1
- package/dist/1874.js.map +0 -1
- package/dist/1962.js +0 -1
- package/dist/1962.js.map +0 -1
- package/dist/2007.js +0 -1
- package/dist/2007.js.map +0 -1
- package/dist/2024.js +0 -1
- package/dist/2024.js.map +0 -1
- package/dist/2045.js +0 -1
- package/dist/2045.js.map +0 -1
- package/dist/2163.js +0 -1
- package/dist/2163.js.map +0 -1
- package/dist/2191.js +0 -1
- package/dist/2191.js.map +0 -1
- package/dist/2267.js +0 -1
- package/dist/2267.js.map +0 -1
- package/dist/231.js +0 -1
- package/dist/231.js.map +0 -1
- package/dist/236.js +0 -1
- package/dist/236.js.map +0 -1
- package/dist/2367.js +0 -1
- package/dist/2367.js.map +0 -1
- package/dist/2463.js +0 -1
- package/dist/2463.js.map +0 -1
- package/dist/2561.js +0 -1
- package/dist/2561.js.map +0 -1
- package/dist/2810.js +0 -2
- package/dist/2810.js.map +0 -1
- package/dist/2867.js +0 -1
- package/dist/2867.js.map +0 -1
- package/dist/2909.js +0 -1
- package/dist/2909.js.map +0 -1
- package/dist/2949.js +0 -1
- package/dist/2949.js.map +0 -1
- package/dist/3040.js +0 -1
- package/dist/3119.js +0 -1
- package/dist/3119.js.map +0 -1
- package/dist/3215.js +0 -1
- package/dist/3215.js.map +0 -1
- package/dist/322.js +0 -1
- package/dist/322.js.map +0 -1
- package/dist/3228.js +0 -1
- package/dist/3228.js.map +0 -1
- package/dist/330.js +0 -1
- package/dist/330.js.map +0 -1
- package/dist/3472.js +0 -1
- package/dist/3472.js.map +0 -1
- package/dist/351.js +0 -1
- package/dist/351.js.map +0 -1
- package/dist/3576.js +0 -1
- package/dist/3576.js.map +0 -1
- package/dist/397.js +0 -1
- package/dist/397.js.map +0 -1
- package/dist/4007.js +0 -66
- package/dist/4007.js.map +0 -1
- package/dist/4200.js +0 -1
- package/dist/4200.js.map +0 -1
- package/dist/4224.js +0 -1
- package/dist/4224.js.map +0 -1
- package/dist/43.js +0 -1
- package/dist/43.js.map +0 -1
- package/dist/4308.js +0 -1
- package/dist/4308.js.map +0 -1
- package/dist/4399.js +0 -1
- package/dist/4399.js.map +0 -1
- package/dist/4505.js +0 -1
- package/dist/4505.js.map +0 -1
- package/dist/4724.js +0 -1
- package/dist/4724.js.map +0 -1
- package/dist/498.js +0 -1
- package/dist/498.js.map +0 -1
- package/dist/509.js +0 -1
- package/dist/509.js.map +0 -1
- package/dist/5096.js +0 -1
- package/dist/5096.js.map +0 -1
- package/dist/5159.js +0 -13
- package/dist/5159.js.map +0 -1
- package/dist/5184.js +0 -1
- package/dist/5184.js.map +0 -1
- package/dist/5270.js +0 -1
- package/dist/5270.js.map +0 -1
- package/dist/5361.js +0 -1
- package/dist/5361.js.map +0 -1
- package/dist/5537.js +0 -1
- package/dist/5537.js.map +0 -1
- package/dist/566.js +0 -1
- package/dist/566.js.map +0 -1
- package/dist/5733.js +0 -1
- package/dist/5733.js.map +0 -1
- package/dist/5854.js +0 -1
- package/dist/5854.js.map +0 -1
- package/dist/5882.js +0 -1
- package/dist/6004.js +0 -1
- package/dist/6004.js.map +0 -1
- package/dist/6121.js +0 -3
- package/dist/6121.js.map +0 -1
- package/dist/6137.js +0 -1
- package/dist/6137.js.map +0 -1
- package/dist/6356.js +0 -1
- package/dist/6356.js.map +0 -1
- package/dist/6571.js +0 -1
- package/dist/6571.js.map +0 -1
- package/dist/6721.js +0 -1
- package/dist/6721.js.map +0 -1
- package/dist/6858.js +0 -1
- package/dist/6858.js.map +0 -1
- package/dist/6925.js +0 -1
- package/dist/6925.js.map +0 -1
- package/dist/6960.js +0 -1
- package/dist/6960.js.map +0 -1
- package/dist/7085.js +0 -1
- package/dist/7085.js.map +0 -1
- package/dist/7127.js +0 -1
- package/dist/7176.js +0 -1
- package/dist/7176.js.map +0 -1
- package/dist/7237.js +0 -1
- package/dist/7237.js.map +0 -1
- package/dist/725.js +0 -1
- package/dist/725.js.map +0 -1
- package/dist/7288.js +0 -1
- package/dist/7329.js +0 -1
- package/dist/7329.js.map +0 -1
- package/dist/7334.js +0 -1
- package/dist/7334.js.map +0 -1
- package/dist/7461.js +0 -1
- package/dist/7461.js.map +0 -1
- package/dist/7517.js +0 -1
- package/dist/7517.js.map +0 -1
- package/dist/7837.js +0 -1
- package/dist/7837.js.map +0 -1
- package/dist/8103.js +0 -1
- package/dist/8103.js.map +0 -1
- package/dist/8110.js +0 -1
- package/dist/8110.js.map +0 -1
- package/dist/8179.js +0 -6
- package/dist/8179.js.map +0 -1
- package/dist/8189.js +0 -1
- package/dist/8189.js.map +0 -1
- package/dist/8209.js +0 -1
- package/dist/8209.js.map +0 -1
- package/dist/8249.js +0 -1
- package/dist/8249.js.map +0 -1
- package/dist/8285.js +0 -1
- package/dist/8285.js.map +0 -1
- package/dist/8470.js +0 -1
- package/dist/8470.js.map +0 -1
- package/dist/8502.js +0 -1
- package/dist/8502.js.map +0 -1
- package/dist/866.js +0 -1
- package/dist/866.js.map +0 -1
- package/dist/8889.js +0 -11
- package/dist/8889.js.map +0 -1
- package/dist/8990.js +0 -1
- package/dist/8990.js.map +0 -1
- package/dist/8994.js +0 -1
- package/dist/8994.js.map +0 -1
- package/dist/9049.js +0 -1
- package/dist/9049.js.map +0 -1
- package/dist/9054.js +0 -1
- package/dist/9054.js.map +0 -1
- package/dist/916.js +0 -1
- package/dist/9231.js +0 -1
- package/dist/9231.js.map +0 -1
- package/dist/9408.js +0 -1
- package/dist/9408.js.map +0 -1
- package/dist/9425.js +0 -1
- package/dist/9466.js +0 -1
- package/dist/9466.js.map +0 -1
- package/dist/9919.js +0 -1
- package/dist/9919.js.map +0 -1
- package/dist/9931.js +0 -1
- package/dist/9931.js.map +0 -1
- package/jest.config.js +0 -3
- package/src/shared/orders/OrdersTabs.tsx +0 -58
- package/src/shared/patient-chart/patient-chart.component.tsx +0 -61
- package/src/shared/patient-chart/patient-chart.resources.ts +0 -180
- package/src/shared/patient-chart/patient-chart.scss +0 -15
- package/src/shared/patient-chart/useInitialize.ts +0 -24
- /package/src/shared/{patient-chart/patient-summary-dashboard → tabs}/patient-summary-dashboard.scss +0 -0
package/src/config-schema.ts
CHANGED
|
@@ -71,6 +71,7 @@ export const configSchema = {
|
|
|
71
71
|
_default: {
|
|
72
72
|
triageService: '167411AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
73
73
|
consultationService: '167410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
74
|
+
procedureService: '164164AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
74
75
|
},
|
|
75
76
|
},
|
|
76
77
|
queueStatusConceptUuids: {
|
|
@@ -140,6 +141,26 @@ export const configSchema = {
|
|
|
140
141
|
_description: 'Concept class UUID for procedures orders',
|
|
141
142
|
_default: '8d490bf4-c2cc-11de-8d13-0010c6dffd0f',
|
|
142
143
|
},
|
|
144
|
+
maintenanceAgentOptions: {
|
|
145
|
+
_type: Type.Array,
|
|
146
|
+
_elements: {
|
|
147
|
+
_type: Type.Object,
|
|
148
|
+
properties: {
|
|
149
|
+
value: { _type: Type.ConceptUuid },
|
|
150
|
+
label: { _type: Type.String },
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
_description:
|
|
154
|
+
'Configurable list of maintenance-of-anaesthesia agents shown in the interoperative drug form (e.g. Halothane, Isoflurane). Override per deployment.',
|
|
155
|
+
_default: [
|
|
156
|
+
{ value: '77343AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', label: 'Halothane' },
|
|
157
|
+
{ value: '83872AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', label: 'Sevoflurane' },
|
|
158
|
+
{ value: '78258AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', label: 'Isoflurane' },
|
|
159
|
+
{ value: '82726AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', label: 'Propofol' },
|
|
160
|
+
{ value: '78467AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', label: 'Ketamine' },
|
|
161
|
+
{ value: '74640AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', label: 'Dexmedetomidine' },
|
|
162
|
+
],
|
|
163
|
+
},
|
|
143
164
|
proceduresOrderTypeUuid: {
|
|
144
165
|
_type: Type.String,
|
|
145
166
|
_description: 'Procedure Order type UUID',
|
|
@@ -165,6 +186,16 @@ export const configSchema = {
|
|
|
165
186
|
_description: 'Concept UUID for radiology service',
|
|
166
187
|
_default: '160463AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
167
188
|
},
|
|
189
|
+
inpatientDrugOrderTypeUuid: {
|
|
190
|
+
_type: Type.String,
|
|
191
|
+
_description: 'Order type UUID for inpatient drug orders.',
|
|
192
|
+
_default: '131168f4-15f5-102d-96e4-000c29c2a5d7',
|
|
193
|
+
},
|
|
194
|
+
inpatientCareSettingUuid: {
|
|
195
|
+
_type: Type.String,
|
|
196
|
+
_description: 'Care setting UUID for inpatient orders.',
|
|
197
|
+
_default: '6f0c9a92-6f24-11e3-af88-005056821db0',
|
|
198
|
+
},
|
|
168
199
|
inpatientLocationTags: {
|
|
169
200
|
_default: {
|
|
170
201
|
maternityWard: 'b95dd376-fa35-40a6-b140-d144c5f22f62',
|
|
@@ -181,6 +212,230 @@ export const configSchema = {
|
|
|
181
212
|
_description: 'The UUID of the in-patient visit type.',
|
|
182
213
|
_default: 'a73e2ac6-263b-47fc-99fc-e0f2c09fc914',
|
|
183
214
|
},
|
|
215
|
+
defaultFacilityUrl: {
|
|
216
|
+
_type: Type.String,
|
|
217
|
+
_default: '',
|
|
218
|
+
_description: 'Custom URL to load default facility if it is not in the session',
|
|
219
|
+
},
|
|
220
|
+
offlineVisitTypeUuid: {
|
|
221
|
+
_type: Type.UUID,
|
|
222
|
+
_description: 'The UUID of the visit type to be used for the automatically created offline visits.',
|
|
223
|
+
_default: '',
|
|
224
|
+
},
|
|
225
|
+
showRecommendedVisitTypeTab: {
|
|
226
|
+
_type: Type.Boolean,
|
|
227
|
+
_description: 'Whether start visit form should display recommended visit type tab. Requires `visitTypeResourceUrl`',
|
|
228
|
+
_default: false,
|
|
229
|
+
},
|
|
230
|
+
visitTypeResourceUrl: {
|
|
231
|
+
_type: Type.String,
|
|
232
|
+
_default: '',
|
|
233
|
+
_description: 'Custom URL to load resources required for showing recommended visit types',
|
|
234
|
+
},
|
|
235
|
+
disableChangingVisitLocation: {
|
|
236
|
+
_type: Type.Boolean,
|
|
237
|
+
_description: 'Whether the visit location field in the Start Visit form should be view-only.',
|
|
238
|
+
_default: false,
|
|
239
|
+
},
|
|
240
|
+
visitAttributeTypes: {
|
|
241
|
+
_type: Type.Array,
|
|
242
|
+
_elements: {
|
|
243
|
+
_type: Type.Object,
|
|
244
|
+
uuid: {
|
|
245
|
+
_type: Type.UUID,
|
|
246
|
+
_description: 'UUID of the visit attribute type',
|
|
247
|
+
},
|
|
248
|
+
required: {
|
|
249
|
+
_type: Type.Boolean,
|
|
250
|
+
_description: 'Whether the attribute type field is required or not',
|
|
251
|
+
_default: false,
|
|
252
|
+
},
|
|
253
|
+
displayInThePatientBanner: {
|
|
254
|
+
_type: Type.Boolean,
|
|
255
|
+
_description: "Whether we should show this visit attribute's value in the patient banner",
|
|
256
|
+
_default: true,
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
_description: 'List of visit attribute types shown when filling the visit form',
|
|
260
|
+
_default: [],
|
|
261
|
+
},
|
|
262
|
+
showUpcomingAppointments: {
|
|
263
|
+
_type: Type.Boolean,
|
|
264
|
+
_description: 'Whether start visit form should display upcoming appointments',
|
|
265
|
+
_default: false,
|
|
266
|
+
},
|
|
267
|
+
excludedVisitTypeUuids: {
|
|
268
|
+
_type: Type.Array,
|
|
269
|
+
_elements: {
|
|
270
|
+
_type: Type.UUID,
|
|
271
|
+
},
|
|
272
|
+
_default: ['02b67c47-6071-4091-953d-ad21452e830c'],
|
|
273
|
+
_description: 'List of visit type UUIDs to exclude from the start visit form',
|
|
274
|
+
},
|
|
275
|
+
isDHAWorkflow: {
|
|
276
|
+
_type: Type.Boolean,
|
|
277
|
+
_description: 'Whether the workflow is DHA Workflow',
|
|
278
|
+
_default: true,
|
|
279
|
+
},
|
|
280
|
+
crIdentificationNumberUUID: {
|
|
281
|
+
_type: Type.String,
|
|
282
|
+
_description:
|
|
283
|
+
'The patient identifier type UUID for the SHA Client Registry (CR) number, used for virtual claims and OTP/biometric authentication.',
|
|
284
|
+
_default: '24aedd37-b5be-4e08-8311-3721b8d5100d',
|
|
285
|
+
},
|
|
286
|
+
providerNationalIdUuid: {
|
|
287
|
+
_type: Type.String,
|
|
288
|
+
_description: 'The provider attribute type UUID for the national ID, used in SHA biometric authorization requests.',
|
|
289
|
+
_default: '3d152c97-2293-4a2b-802e-e0f1009b7b15',
|
|
290
|
+
},
|
|
291
|
+
nationalIdUUID: {
|
|
292
|
+
_type: Type.String,
|
|
293
|
+
_description: 'The patient identifier type UUID for the national ID, used for SHA eligibility checks.',
|
|
294
|
+
_default: '49af6cdc-7968-4abb-bf46-de10d7f4859f',
|
|
295
|
+
},
|
|
296
|
+
|
|
297
|
+
anaesthetic: {
|
|
298
|
+
_type: Type.Object,
|
|
299
|
+
_description: 'Anaesthetic module configuration',
|
|
300
|
+
_default: {
|
|
301
|
+
conceptMappings: {
|
|
302
|
+
'fetal-heart-rate': ['1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
|
|
303
|
+
'blood-pressure': ['5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', '5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
|
|
304
|
+
'maternal-pulse': ['5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
|
|
305
|
+
temperature: ['5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
|
|
306
|
+
'cervical-dilation': ['162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
|
|
307
|
+
'descent-of-head': ['1810AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
|
|
308
|
+
'uterine-contractions': ['163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
|
|
309
|
+
'urine-analysis': [
|
|
310
|
+
'161442AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
311
|
+
'887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
312
|
+
'165438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
313
|
+
],
|
|
314
|
+
'drugs-fluids': ['1282AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', '161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
|
|
315
|
+
'progress-events': [
|
|
316
|
+
'162879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
317
|
+
'160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
318
|
+
'1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
319
|
+
'162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
320
|
+
'163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
321
|
+
],
|
|
322
|
+
},
|
|
323
|
+
stationDisplayMapping: {
|
|
324
|
+
'160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': '0/5',
|
|
325
|
+
'162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': '1/5',
|
|
326
|
+
'166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': '2/5',
|
|
327
|
+
'166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': '3/5',
|
|
328
|
+
'166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': '4/5',
|
|
329
|
+
'163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': '5/5',
|
|
330
|
+
},
|
|
331
|
+
stationValueMapping: {
|
|
332
|
+
'160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 0,
|
|
333
|
+
'162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 1,
|
|
334
|
+
'166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 2,
|
|
335
|
+
'166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 3,
|
|
336
|
+
'166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 4,
|
|
337
|
+
'163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 5,
|
|
338
|
+
},
|
|
339
|
+
encounterPatterns: [
|
|
340
|
+
'mch-partograph',
|
|
341
|
+
'partography',
|
|
342
|
+
'fetal-monitoring',
|
|
343
|
+
'maternal-monitoring',
|
|
344
|
+
'obstetric-vitals',
|
|
345
|
+
'labor-monitoring',
|
|
346
|
+
'labour-monitoring',
|
|
347
|
+
],
|
|
348
|
+
fallbackEncounterMapping: {
|
|
349
|
+
'fetal-heart-rate': ['mch-mother-consultation', 'vitals', 'obstetric', 'maternal', 'consultation', 'clinical'],
|
|
350
|
+
'cervical-dilation': ['mch-mother-consultation', 'obstetric', 'maternal', 'consultation', 'clinical'],
|
|
351
|
+
'maternal-pulse': ['vitals', 'maternal', 'consultation', 'clinical'],
|
|
352
|
+
'blood-pressure': ['vitals', 'maternal', 'consultation', 'clinical'],
|
|
353
|
+
temperature: ['vitals', 'consultation', 'clinical'],
|
|
354
|
+
'urine-analysis': ['vitals', 'laboratory', 'consultation', 'clinical'],
|
|
355
|
+
'drugs-fluids': ['medication', 'treatment', 'consultation', 'clinical'],
|
|
356
|
+
'progress-events': ['obstetric', 'maternal', 'consultation', 'clinical'],
|
|
357
|
+
},
|
|
358
|
+
defaultFallbackSequence: ['consultation', 'clinical'],
|
|
359
|
+
retryFallbackTypes: ['vitals', 'consultation', 'clinical'],
|
|
360
|
+
defaultEncounterProviderRole: 'a0b03050-c99b-11e0-9572-0800200c9a66',
|
|
361
|
+
defaultLocationUuid: '1',
|
|
362
|
+
storage: {
|
|
363
|
+
maxLocalEntries: 100,
|
|
364
|
+
storageKeyPrefix: 'partography_',
|
|
365
|
+
cacheKeyPrefix: 'partography_encounters_',
|
|
366
|
+
},
|
|
367
|
+
timeConfig: {
|
|
368
|
+
defaultEncounterOffset: 300000,
|
|
369
|
+
retryEncounterOffset: 3600000,
|
|
370
|
+
cacheInvalidationDelay: 1000,
|
|
371
|
+
},
|
|
372
|
+
progressEventConceptNames: {
|
|
373
|
+
'1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': {
|
|
374
|
+
name: 'Fetal Heart Rate',
|
|
375
|
+
unit: 'BPM',
|
|
376
|
+
},
|
|
377
|
+
'162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': {
|
|
378
|
+
name: 'Cervical Dilation',
|
|
379
|
+
unit: 'cm',
|
|
380
|
+
},
|
|
381
|
+
'163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': {
|
|
382
|
+
name: 'Uterine Contractions',
|
|
383
|
+
unit: 'per 10min',
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
|
|
387
|
+
uuids: {
|
|
388
|
+
timeSlot: 'a1b2c3d4-1111-2222-3333-444455556666',
|
|
389
|
+
mchPartographyEncounterUuid: 'd14dde5b-95dc-40a1-8ff0-acad34fb58b2',
|
|
390
|
+
drugsFluidsEncounterUuid: '39da3525-afe4-45ff-8977-c53b7b359158',
|
|
391
|
+
contractionStrongConceptUuid: '4b90b73a-ad11-4650-91b0-baea131974e0',
|
|
392
|
+
},
|
|
393
|
+
graphTypeDisplayNames: {
|
|
394
|
+
'fetal-heart-rate': 'Fetal Heart Rate',
|
|
395
|
+
'cervical-dilation': 'Cervical Dilation',
|
|
396
|
+
'descent-of-head': 'Descent of Head',
|
|
397
|
+
'uterine-contractions': 'Uterine Contractions',
|
|
398
|
+
'maternal-pulse': 'Maternal Pulse',
|
|
399
|
+
'blood-pressure': 'Blood Pressure',
|
|
400
|
+
temperature: 'Temperature',
|
|
401
|
+
'urine-analysis': 'Urine Analysis',
|
|
402
|
+
'drugs-fluids': 'Drugs & Fluids',
|
|
403
|
+
'progress-events': 'Progress & Events',
|
|
404
|
+
},
|
|
405
|
+
amnioticFluidMap: {
|
|
406
|
+
'Membrane intact': '164899AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
407
|
+
'Clear liquor': '159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
408
|
+
'Meconium Stained': '134488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
409
|
+
Absent: '163747AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
410
|
+
'Blood Stained': '1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
411
|
+
},
|
|
412
|
+
mouldingMap: {
|
|
413
|
+
'0': '1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
414
|
+
'+': '1362AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
415
|
+
'++': '1363AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
416
|
+
'+++': '1364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
|
417
|
+
},
|
|
418
|
+
testData: {
|
|
419
|
+
testGraphTypes: ['fetal-heart-rate', 'cervical-dilation', 'maternal-pulse', 'temperature', 'blood-pressure'],
|
|
420
|
+
sampleDataPoints: [
|
|
421
|
+
{ value: 120, time: '10:00' },
|
|
422
|
+
{ value: 125, time: '11:00' },
|
|
423
|
+
{ value: 130, time: '12:00' },
|
|
424
|
+
{ value: 128, time: '13:00' },
|
|
425
|
+
],
|
|
426
|
+
valueIncrement: 10,
|
|
427
|
+
bloodPressureDecrement: 40,
|
|
428
|
+
},
|
|
429
|
+
descentOfHeadUuidToValue: {
|
|
430
|
+
'160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 0,
|
|
431
|
+
'162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 1,
|
|
432
|
+
'166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 2,
|
|
433
|
+
'166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 3,
|
|
434
|
+
'166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 4,
|
|
435
|
+
'163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 5,
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
},
|
|
184
439
|
};
|
|
185
440
|
|
|
186
441
|
export type ExpressWorkflowConfig = {
|
|
@@ -204,6 +459,7 @@ export type ExpressWorkflowConfig = {
|
|
|
204
459
|
queueServiceConceptUuids: {
|
|
205
460
|
triageService: string;
|
|
206
461
|
consultationService: string;
|
|
462
|
+
procedureService: string;
|
|
207
463
|
};
|
|
208
464
|
queueStatusConceptUuids: {
|
|
209
465
|
waitingStatus: string;
|
|
@@ -231,10 +487,230 @@ export type ExpressWorkflowConfig = {
|
|
|
231
487
|
labServiceConceptUuid: string;
|
|
232
488
|
pharmacyServiceConceptUuid: string;
|
|
233
489
|
radiologyServiceConceptUuid: string;
|
|
490
|
+
inpatientDrugOrderTypeUuid: string;
|
|
491
|
+
inpatientCareSettingUuid: string;
|
|
234
492
|
inpatientLocationTags: {
|
|
235
493
|
maternityWard: string;
|
|
236
494
|
labourWard: string;
|
|
237
495
|
};
|
|
238
496
|
outpatientVisitTypeUuid: string;
|
|
239
497
|
inPatientVisitTypeUuid: string;
|
|
498
|
+
defaultFacilityUrl: string; //done
|
|
499
|
+
offlineVisitTypeUuid: string;
|
|
500
|
+
nationalIdUUID: string;
|
|
501
|
+
showRecommendedVisitTypeTab: boolean;
|
|
502
|
+
visitTypeResourceUrl: string;
|
|
503
|
+
disableChangingVisitLocation: boolean;
|
|
504
|
+
restrictByVisitLocationTag: boolean;
|
|
505
|
+
visitAttributeTypes: Array<{
|
|
506
|
+
displayInThePatientBanner: boolean;
|
|
507
|
+
required: boolean;
|
|
508
|
+
showWhenExpression?: string;
|
|
509
|
+
uuid: string;
|
|
510
|
+
}>; // done
|
|
511
|
+
showUpcomingAppointments: boolean; //done
|
|
512
|
+
excludedVisitTypeUuids: Array<string>;
|
|
513
|
+
isDHAWorkflow: boolean;
|
|
514
|
+
crIdentificationNumberUUID: string;
|
|
515
|
+
providerNationalIdUuid: string;
|
|
240
516
|
};
|
|
517
|
+
export interface ConfigObject {
|
|
518
|
+
requireMaritalStatusOnAgeGreaterThanOrEqualTo: number;
|
|
519
|
+
peerEducatorRelationship: string;
|
|
520
|
+
morgueVisitTypeUuid: string;
|
|
521
|
+
morgueDischargeEncounterUuid: string;
|
|
522
|
+
caseManagementForms: Array<{ id: string; title: string; formUuid: string; encounterTypeUuid: string }>;
|
|
523
|
+
peerCalendarOutreactForm: string;
|
|
524
|
+
htsClientTracingConceptsUuids: {
|
|
525
|
+
modeOfClienttracingConceptUuid: string;
|
|
526
|
+
reasonNotContactedConceptUuid: string;
|
|
527
|
+
tracingStatusConceptUuid: string;
|
|
528
|
+
remarksConceptUuid: string;
|
|
529
|
+
};
|
|
530
|
+
encounterTypes: {
|
|
531
|
+
mchMotherConsultation: string;
|
|
532
|
+
hivTestingServices: string;
|
|
533
|
+
kpPeerCalender: string;
|
|
534
|
+
htsEcounterUuid: string;
|
|
535
|
+
triage: string;
|
|
536
|
+
};
|
|
537
|
+
formsList: {
|
|
538
|
+
labourAndDelivery: string;
|
|
539
|
+
antenatal: string;
|
|
540
|
+
postnatal: string;
|
|
541
|
+
admissionRequestFormUuid: string;
|
|
542
|
+
htsScreening: string;
|
|
543
|
+
htsInitialTest: string;
|
|
544
|
+
htsRetest: string;
|
|
545
|
+
defaulterTracingFormUuid: string;
|
|
546
|
+
clinicalEncounterFormUuid: string;
|
|
547
|
+
peerCalendarOutreactForm: string;
|
|
548
|
+
autopsyFormUuid: string;
|
|
549
|
+
htsClientTracingFormUuid: string;
|
|
550
|
+
complaintsFormUuid: string;
|
|
551
|
+
};
|
|
552
|
+
defaulterTracingEncounterUuid: string;
|
|
553
|
+
autopsyEncounterFormUuid: string;
|
|
554
|
+
clinicalEncounterUuid: string;
|
|
555
|
+
registrationEncounterUuid: string;
|
|
556
|
+
registrationObs: {
|
|
557
|
+
encounterTypeUuid: string | null;
|
|
558
|
+
encounterProviderRoleUuid: string;
|
|
559
|
+
registrationFormUuid: string | null;
|
|
560
|
+
};
|
|
561
|
+
openmrsIDUuid: string;
|
|
562
|
+
openmrsIdentifierSourceUuid: string;
|
|
563
|
+
maritalStatusUuid: string;
|
|
564
|
+
hivProgramUuid: string;
|
|
565
|
+
kvpProgramUuid: string;
|
|
566
|
+
concepts: Record<string, string>;
|
|
567
|
+
specialClinics: Array<{ id: string; formUuid: string; encounterTypeUuid: string; title: string }>;
|
|
568
|
+
contactPersonAttributesUuid: {
|
|
569
|
+
telephone: string;
|
|
570
|
+
baselineHIVStatus: string;
|
|
571
|
+
contactCreated: string;
|
|
572
|
+
preferedPnsAproach: string;
|
|
573
|
+
livingWithContact: string;
|
|
574
|
+
contactIPVOutcome: string;
|
|
575
|
+
};
|
|
576
|
+
relationshipTypesList: Array<{
|
|
577
|
+
uuid: string;
|
|
578
|
+
display: string;
|
|
579
|
+
category: Array<'sexual' | 'pns' | 'family'>;
|
|
580
|
+
}>;
|
|
581
|
+
partography: {
|
|
582
|
+
conceptMappings: Record<string, string[]>;
|
|
583
|
+
stationDisplayMapping: Record<string, string>;
|
|
584
|
+
stationValueMapping: Record<string, number>;
|
|
585
|
+
encounterPatterns: string[];
|
|
586
|
+
fallbackEncounterMapping: Record<string, string[]>;
|
|
587
|
+
defaultFallbackSequence: string[];
|
|
588
|
+
retryFallbackTypes: string[];
|
|
589
|
+
defaultEncounterProviderRole: string;
|
|
590
|
+
defaultLocationUuid: string;
|
|
591
|
+
storage: {
|
|
592
|
+
maxLocalEntries: number;
|
|
593
|
+
storageKeyPrefix: string;
|
|
594
|
+
cacheKeyPrefix: string;
|
|
595
|
+
};
|
|
596
|
+
timeConfig: {
|
|
597
|
+
defaultEncounterOffset: number;
|
|
598
|
+
retryEncounterOffset: number;
|
|
599
|
+
cacheInvalidationDelay: number;
|
|
600
|
+
};
|
|
601
|
+
progressEventConceptNames: Record<string, { name: string; unit: string }>;
|
|
602
|
+
graphTypeDisplayNames: Record<string, string>;
|
|
603
|
+
testData: {
|
|
604
|
+
testGraphTypes: string[];
|
|
605
|
+
sampleDataPoints: Array<{ value: number; time: string }>;
|
|
606
|
+
valueIncrement: number;
|
|
607
|
+
bloodPressureDecrement: number;
|
|
608
|
+
};
|
|
609
|
+
uuids?: {
|
|
610
|
+
timeSlot: string;
|
|
611
|
+
mchPartographyEncounterUuid: string;
|
|
612
|
+
drugsFluidsEncounterUuid: string;
|
|
613
|
+
contractionStrongConceptUuid: string;
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
caseManagerRelationshipType: string;
|
|
617
|
+
complaintsConceptUuids: Array<string>;
|
|
618
|
+
complaints: {
|
|
619
|
+
chiefComplaintConceptUuid: string;
|
|
620
|
+
complaintMemberConceptUuid: string;
|
|
621
|
+
durationConceptUuid: string;
|
|
622
|
+
onsetConceptUuid: string;
|
|
623
|
+
};
|
|
624
|
+
icd11DataSourceUuid: string;
|
|
625
|
+
proceduresConceptClassUuid: string;
|
|
626
|
+
maintenanceAgentOptions: Array<{ value: string; label: string }>;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
// Maintenance of Anaesthesia options – configurable so each deployment (Kenya, DRC, Congo …) can specify its own agents
|
|
630
|
+
export const DEFAULT_MAINTENANCE_AGENT_OPTIONS = [
|
|
631
|
+
{ value: '77343AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', label: 'Halothane' },
|
|
632
|
+
{ value: '83872AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', label: 'Evoflurane' },
|
|
633
|
+
{ value: '78258AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', label: 'Isoflurane' },
|
|
634
|
+
];
|
|
635
|
+
|
|
636
|
+
// Fetal Heart Rate Graph
|
|
637
|
+
export const FETAL_HEART_RATE_CONCEPT = '1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
638
|
+
export const FETAL_HEART_RATE_TIME_CONCEPT = 'bb3724c9-fbcc-49c5-9702-6cde0be325ca';
|
|
639
|
+
export const FETAL_HEART_RATE_HOUR_CONCEPT = '160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
640
|
+
|
|
641
|
+
// Membrane Amniotic Fluid Graph
|
|
642
|
+
export const AMNIOTIC_FLUID_CONCEPT = '162653AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
643
|
+
export const RUPTURED_MEMBRANES_CONCEPT = '164900AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
644
|
+
export const AMNIOTIC_CLEAR_LIQUOR_CONCEPT = '159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
645
|
+
export const AMNIOTIC_MECONIUM_STAINED_CONCEPT = '134488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
646
|
+
export const AMNIOTIC_ABSENT_CONCEPT = '163747AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
647
|
+
export const AMNIOTIC_BLOOD_STAINED_CONCEPT = '1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
648
|
+
export const AMNIOTIC_MEMBRANE_INTACT_CONCEPT = 'd1787a76-7310-4223-a645-9fd410d418c1';
|
|
649
|
+
|
|
650
|
+
//Contractions Graph
|
|
651
|
+
export const UTERINE_CONTRACTIONS_CONCEPT = '163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
652
|
+
export const CONTRACTION_LEVEL_MILD_CONCEPT = '1498AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
653
|
+
export const CONTRACTION_LEVEL_MODERATE_CONCEPT = '1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
654
|
+
export const CONTRACTION_LEVEL_STRONG_CONCEPT = '166788AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
655
|
+
export const UTERINE_CONTRACTION_FREQUENCY_CONCEPT = '166529AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
656
|
+
export const UTERINE_CONTRACTION_DURATION_CONCEPT = '159368AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
657
|
+
|
|
658
|
+
// Oxytocin Graph
|
|
659
|
+
|
|
660
|
+
export const OXYTOCIN_TIME_CONCEPT = 'bb3724c9-fbcc-49c5-9702-6cde0be325ca';
|
|
661
|
+
export const OXYTOCIN_DROPS_PER_MINUTE_CONCEPT = '1d109b10-7b30-4bfa-8a7c-6ecb73357fc2';
|
|
662
|
+
export const OXYTOCIN_DOSE_CONCEPT = '81369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
663
|
+
export const ROUTE_CONCEPT = '8878f9c0-a1ce-47ec-a88f-69ef0f6576ba';
|
|
664
|
+
export const FREQUENCY_CONCEPT = 'fd9f82fd-f327-4502-ac8e-5d9144dbd504';
|
|
665
|
+
|
|
666
|
+
// Drugs IV Fluids Graph
|
|
667
|
+
export const MEDICATION_CONCEPT = 'c3082af8-f935-40c5-aa5b-74c684e81aea';
|
|
668
|
+
export const IV_FLUIDS_CONCEPT = '161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
669
|
+
export const DOSAGE_CONCEPT = 'b71ddb80-2d7f-4bde-a44b-236e62d4c1b6';
|
|
670
|
+
export const DRUG_DOSE_CONCEPT = '162384AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
671
|
+
|
|
672
|
+
// Pulse BP Graph
|
|
673
|
+
export const MATERNAL_PULSE_CONCEPT = '5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
674
|
+
export const SYSTOLIC_BP_CONCEPT = '5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
675
|
+
export const DIASTOLIC_BP_CONCEPT = '5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
676
|
+
export const PULSE_BP_TIME_CONCEPT = 'bb3724c9-fbcc-49c5-9702-6cde0be325ca';
|
|
677
|
+
|
|
678
|
+
// Urine Test Graph
|
|
679
|
+
export const PROTEIN_LEVEL_CONCEPT = '161442AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
680
|
+
export const GLUCOSE_LEVEL_CONCEPT = '887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
681
|
+
export const KETONE_LEVEL_CONCEPT = '165438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
682
|
+
export const URINE_VOLUME_CONCEPT = '159660AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
683
|
+
export const URINE_CHARACTERISTICS_CONCEPT = '56AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
684
|
+
export const TIME_RESULTS_RETURNED = '67c3d4c6-465e-4c12-9b7f-d8587ca90603';
|
|
685
|
+
export const TIME_SAMPLE_COLLECTED = 'c554f157-2e16-4585-af29-c48f5e765ce0';
|
|
686
|
+
|
|
687
|
+
// Cervix / Cervical Monitoring During Labor
|
|
688
|
+
export const CERVIX_CONCEPT = '162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
689
|
+
export const DESCENT_OF_HEAD_CONCEPT = '1810AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
690
|
+
export const STATION_0_CONCEPT = '160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
691
|
+
export const STATION_1_CONCEPT = '162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
692
|
+
export const STATION_2_CONCEPT = '166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
693
|
+
export const STATION_3_CONCEPT = '166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
694
|
+
export const STATION_4_CONCEPT = '166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
695
|
+
export const STATION_5_CONCEPT = '163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
696
|
+
|
|
697
|
+
export const DRUG_ORDER_TYPE_UUID = '131168f4-15f5-102d-96e4-000c29c2a5d7';
|
|
698
|
+
export const ENCOUNTER_ROLE = '240b26f9-dd88-4172-823d-4a8bfeb7841f';
|
|
699
|
+
export const MOULDING_NONE_CONCEPT = '1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
700
|
+
export const MOULDING_SLIGHT_CONCEPT = '1362AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
701
|
+
export const MOULDING_MODERATE_CONCEPT = '1363AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
702
|
+
export const MOULDING_SEVERE_CONCEPT = '1364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
703
|
+
export const TEMPERATURE_CONCEPT = '5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
704
|
+
export const CONTRACTION_COUNT_CONCEPT = '159682AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
705
|
+
export const MEDICATION_NAME_CONCEPT = '164231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
706
|
+
export const EVENT_TYPE_CONCEPT = '162879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
707
|
+
export const EVENT_DESCRIPTION_CONCEPT = '160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
708
|
+
export const MOULDING_CONCEPT = '166527AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
709
|
+
export const BLOOD_GROUP_CONCEPT = '300AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
710
|
+
export const TIME_SLOT_CONCEPT = '163286AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
711
|
+
export const LABOR_PATTERN_CONCEPT = '164135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
712
|
+
export const HOURS_SINCE_RUPTURE_CONCEPT = '167149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
713
|
+
export const DATE_OF_ADMISSION_CONCEPT = '1640AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
714
|
+
export const GESTATION_WEEKS_CONCEPT = '1789AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
715
|
+
export const ESTIMATED_DELIVERY_DATE_CONCEPT = '5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
|
716
|
+
export const LAST_MENSTRUAL_PERIOD_CONCEPT = '1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA';
|
package/src/hooks/useOrders.tsx
CHANGED
|
@@ -8,7 +8,7 @@ export const careSettingUuid = '6f0c9a92-6f24-11e3-af88-005056821db0';
|
|
|
8
8
|
const patientChartAppModuleName = '@openmrs/esm-patient-chart-app';
|
|
9
9
|
|
|
10
10
|
export const drugCustomRepresentation =
|
|
11
|
-
'custom:(uuid,dosingType,orderNumber,accessionNumber,' +
|
|
11
|
+
'custom:(uuid,dosingType,orderNumber,accessionNumber,orderReason:(uuid,display)' +
|
|
12
12
|
'patient:ref,action,careSetting:ref,previousOrder:ref,dateActivated,scheduledDate,dateStopped,autoExpireDate,' +
|
|
13
13
|
'orderType:ref,encounter:ref,orderer:(uuid,display,person:(display)),orderReason,orderReasonNonCoded,orderType,urgency,instructions,' +
|
|
14
14
|
'commentToFulfiller,drug:(uuid,display,strength,dosageForm:(display,uuid),concept),dose,doseUnits:ref,' +
|
|
@@ -16,7 +16,7 @@ export const drugCustomRepresentation =
|
|
|
16
16
|
'duration,durationUnits:ref,route:ref,brandName,dispenseAsWritten)';
|
|
17
17
|
|
|
18
18
|
const orderCustomRepresentation =
|
|
19
|
-
'custom:(uuid,orderNumber,patient,concept:full,action,careSetting,dateActivated,encounter,orderer,orderType,urgency,fulfillerStatus)';
|
|
19
|
+
'custom:(uuid,orderNumber,patient,concept:full,action,careSetting,dateActivated,encounter,orderer,orderType,urgency,fulfillerStatus,orderReason:(uuid,display))';
|
|
20
20
|
|
|
21
21
|
export function usePatientOrders(
|
|
22
22
|
patientUuid: string,
|
|
@@ -33,7 +33,7 @@ export const useQueues = () => {
|
|
|
33
33
|
export const useQueueEntries = (filters?: QueueEntryFilters, defaultPageSize: number = 10) => {
|
|
34
34
|
const { outpatientVisitTypeUuid } = useConfig<ExpressWorkflowConfig>();
|
|
35
35
|
const repString =
|
|
36
|
-
'custom:(uuid,queue:(uuid,display,name,location:(uuid,display)),status:(uuid,display),patient:(uuid,person
|
|
36
|
+
'custom:(uuid,display,queue:(uuid,display,name,location:(uuid,display)),status:(uuid,display),patient:(uuid,person,identifiers:(uuid,display,identifier,identifierType:(uuid,display))),visit:(uuid,visitType:(uuid),attributes:(uuid,value,attributeType:(uuid))),priority:(uuid,display),priorityComment,startedAt,previousQueueEntry:(uuid,queue:(uuid,display)))';
|
|
37
37
|
|
|
38
38
|
const queryString = useMemo(() => {
|
|
39
39
|
const params = new URLSearchParams();
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
import { defineConfigSchema, getAsyncLifecycle } from '@openmrs/esm-framework';
|
|
1
|
+
import { defineConfigSchema, getAsyncLifecycle, registerFeatureFlag } from '@openmrs/esm-framework';
|
|
2
2
|
import { configSchema } from './config-schema';
|
|
3
|
-
|
|
3
|
+
export * from './components/accounting';
|
|
4
|
+
export * from './components/admissions';
|
|
5
|
+
export * from './components/appointments';
|
|
6
|
+
export * from './components/consultation';
|
|
7
|
+
export * from './components/facility-dashboard';
|
|
8
|
+
export * from './components/laboratory';
|
|
9
|
+
export * from './components/mch';
|
|
10
|
+
export * from './components/pharmacy';
|
|
11
|
+
export * from './components/preauth';
|
|
12
|
+
export * from './components/procedures';
|
|
13
|
+
export * from './components/procedures/procedure-queues';
|
|
14
|
+
export * from './components/radiology-and-imaging';
|
|
15
|
+
export * from './components/registration';
|
|
16
|
+
export * from './components/reports';
|
|
17
|
+
export * from './components/triage';
|
|
4
18
|
const moduleName = '@kenyaemr/esm-express-workflow-app';
|
|
5
19
|
|
|
6
20
|
const options = {
|
|
@@ -12,20 +26,12 @@ export const importTranslation = require.context('../translations', false, /.jso
|
|
|
12
26
|
|
|
13
27
|
export function startupApp() {
|
|
14
28
|
defineConfigSchema(moduleName, configSchema);
|
|
29
|
+
registerFeatureFlag(
|
|
30
|
+
'procedureQueues',
|
|
31
|
+
'Procedure Queues',
|
|
32
|
+
'Enable/Disable procedure queue in procedure pannel and procedure form',
|
|
33
|
+
);
|
|
15
34
|
}
|
|
16
|
-
export * from './components/facility-dashboard';
|
|
17
|
-
export * from './components/registration';
|
|
18
|
-
export * from './components/triage';
|
|
19
|
-
export * from './components/accounting';
|
|
20
|
-
export * from './components/consultation';
|
|
21
|
-
export * from './components/mch';
|
|
22
|
-
export * from './components/reports';
|
|
23
|
-
export * from './components/pharmacy';
|
|
24
|
-
export * from './components/laboratory';
|
|
25
|
-
export * from './components/radiology-and-imaging';
|
|
26
|
-
export * from './components/procedures';
|
|
27
|
-
export * from './components/admissions';
|
|
28
|
-
export * from './components/appointments';
|
|
29
35
|
|
|
30
36
|
export const root = getAsyncLifecycle(() => import('./root.component'), options);
|
|
31
37
|
export const otpVerificationModal = getAsyncLifecycle(
|
|
@@ -41,7 +47,62 @@ export const patientSummaryDashboard = getAsyncLifecycle(
|
|
|
41
47
|
options,
|
|
42
48
|
);
|
|
43
49
|
|
|
50
|
+
export const customStartVisitOverflowMenuItem = getAsyncLifecycle(
|
|
51
|
+
() => import('./components/registration/start-visit-form/overflow-menu-extension/overflow-menu-item.extension'),
|
|
52
|
+
{
|
|
53
|
+
featureName: 'patient-actions-slot-start-visit-button',
|
|
54
|
+
moduleName,
|
|
55
|
+
},
|
|
56
|
+
);
|
|
57
|
+
export const customStopVisitOverflowMenuItem = getAsyncLifecycle(
|
|
58
|
+
() => import('./components/registration/start-visit-form/overflow-menu-extension/custom-end-active-visit.extension'),
|
|
59
|
+
{
|
|
60
|
+
featureName: 'patient-actions-slot-stop-visit-button',
|
|
61
|
+
moduleName,
|
|
62
|
+
},
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
export const printOrderPreviewModal = getAsyncLifecycle(
|
|
66
|
+
() => import('./shared/orders/print-order/print-order.component'),
|
|
67
|
+
{
|
|
68
|
+
featureName: 'print-order-preview',
|
|
69
|
+
moduleName,
|
|
70
|
+
},
|
|
71
|
+
);
|
|
72
|
+
|
|
73
|
+
export const printPrescriptionModal = getAsyncLifecycle(
|
|
74
|
+
() => import('./shared/orders/print-prescription/print-prescription.component'),
|
|
75
|
+
{
|
|
76
|
+
featureName: 'print-prescription',
|
|
77
|
+
moduleName,
|
|
78
|
+
},
|
|
79
|
+
);
|
|
80
|
+
|
|
81
|
+
export const visitFormWorkspace = getAsyncLifecycle(
|
|
82
|
+
() => import('./components/registration/start-visit-form/visit-form-workspace/visit-form.workspace'),
|
|
83
|
+
options,
|
|
84
|
+
);
|
|
85
|
+
|
|
86
|
+
export const customEndVisitModal = getAsyncLifecycle(
|
|
87
|
+
() => import('./components/registration/end-visit-modal/end-visit-dialog.modal'),
|
|
88
|
+
{
|
|
89
|
+
featureName: 'custom-patient-actions-end-visit-modal',
|
|
90
|
+
moduleName,
|
|
91
|
+
},
|
|
92
|
+
);
|
|
93
|
+
|
|
94
|
+
export const anaestheticFormWorkspace = getAsyncLifecycle(
|
|
95
|
+
() => import('./components/anaesthetic/forms/anaesthetic-form.component'),
|
|
96
|
+
options,
|
|
97
|
+
);
|
|
98
|
+
|
|
99
|
+
export const interoperativeDrugGivenFormWorkspace = getAsyncLifecycle(
|
|
100
|
+
() => import('./components/anaesthetic/forms/interoperative-record-drug-given-form.component'),
|
|
101
|
+
options,
|
|
102
|
+
);
|
|
103
|
+
|
|
44
104
|
export const queuesAdminHome = getAsyncLifecycle(() => import('./shared/queue/queues-home.component'), options);
|
|
105
|
+
|
|
45
106
|
export const homepageDashboardLink = getAsyncLifecycle(
|
|
46
107
|
() =>
|
|
47
108
|
Promise.all([import('./shared/dashboard-link/dashboard-link.component'), import('@carbon/react/icons')]).then(
|
|
@@ -55,3 +116,8 @@ export const homepageDashboardLink = getAsyncLifecycle(
|
|
|
55
116
|
),
|
|
56
117
|
options,
|
|
57
118
|
);
|
|
119
|
+
|
|
120
|
+
export const procedureAndOrdersTab = getAsyncLifecycle(
|
|
121
|
+
() => import('./shared/tabs/create-tab-extension').then((mod) => ({ default: mod.createTabExtension() })),
|
|
122
|
+
options,
|
|
123
|
+
);
|